Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User narender_raul's Avatar
    Join Date
    Nov 2007
    Location
    India
    Posts
    10
    I can load text into a dynamic text box when it is on the main
    timeline. It's work fine. I want to rotate dynamic text box. I don't want use the XML. Only text file.

    But when I place the dynamic text box inside a movieclip, I can't get
    the text too load into the dynamic text box which is inside a
    movieclip. I want to rotate the dynamic text box, but not show the
    external text. I am using fl 3.0. I have use character embedding, it's work, but make file size large.Any other way to do that.
    How i can solve the problem. please provide any sample or url.


    Thanks
    Raul
    Last edited by narender_raul; 2008-12-04 at 10:02.

  2. #2
    Nokia Developer Champion sajisoft's Avatar
    Join Date
    Jul 2008
    Location
    Pakistan
    Posts
    1,062
    Umm...Its Easy ...Just Put That Dynamic Text Into A Movie Clip And Place This Code in the main timeline :

    Code:
    loadVariables("data.txt", _root.mc);
    Suppose data.txt is the file from which u hav to load a variable (And It is placed in ur swf file directory) .And mc is the movie clip in which ur dynamic text is placed.


    It works fine for a text file not sure about XML but it Have to work...


    Regards ,

    SajiSoft

  3. #3
    Nokia Developer Champion mariamDh's Avatar
    Join Date
    Nov 2006
    Location
    Mumbai, India
    Posts
    48
    Dynamic text will not show correctly when rotated. The solution to this is to embed the glyphs for that field from the Properties Panel.

    The reason given for this is that the Flash Lite player understands the outlines of device fonts only.

    So if you are using a font (lets say Arial) that doesn't exist in the device, the player won't render it, and automatically change it to display a device font. And if your text field is rotated, the phone won't even display the device font, as FL does not support device fonts on rotated text. So to make your font show correctly, it is best to embed the glyphs.

    Embedding will increase file size..but the solution is to use light weight pixel fonts rather than the fancier ones which not only take up more memory while rendering, but also increase file size and don't guarantee complete legibility when seen on device in smaller sizes.

    Mariam
    Mariam Dholkawala
    http://www.igamestudio.com

    Blog - http://www.mariamdholkawala.com/mobile
    MaD UG - http://www.indimadgroup.com

Similar Threads

  1. default string in Text box of S60 3rd ed..
    By lalitjadiya in forum Symbian C++
    Replies: 2
    Last Post: 2008-04-11, 13:58
  2. Dynamic Inputter box?
    By ss1969 in forum Symbian C++
    Replies: 3
    Last Post: 2007-07-31, 08:26
  3. how to add two text box in series 60
    By pravesh99_sw in forum Python
    Replies: 0
    Last Post: 2006-01-23, 06:10
  4. writing text over an image in dialog box
    By girish sharma in forum Symbian User Interface
    Replies: 1
    Last Post: 2005-06-07, 05:56
  5. Replies: 0
    Last Post: 2003-07-06, 11:13

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved