A Flash Developer Resource Site

Results 1 to 5 of 5

Thread: Stubborn Dynamic Text

  1. #1
    Junior Member
    Join Date
    Aug 2008
    Posts
    5

    Stubborn Dynamic Text

    I'm, once again, thinking that my problem is easily solved. I'm also hoping this...
    (this is in AS 3.0 btw)

    I have a dynamic text field, that I am changing as need be, inside a movieclip. Theres no problem in that. Though, when I scale the movieclip, the text will not scale properly.
    I, for instance, say: the_mc.scaleY = 0.5;
    and the text field acts as though both its scaleY and scaleX to 0.5, thusly refusing to deform and not keeping the same scale in its movieclip.
    I want it to scale appropriately. But it wont...

    I'm clueless as to why. Any ideas?


    Thanks in advance.


    P.S. Did a test with static text. That deforms properly. Just not dynamic text....
    Last edited by Mir0ku; 10-29-2008 at 09:40 AM.

  2. #2
    Senior Member jweeks123's Avatar
    Join Date
    Mar 2006
    Posts
    1,124
    I don't think you can scale dynamic text fields dynamically to deform them. You have to scale them proportionately.

  3. #3
    AKA [ Paul Bainbridge] webdreamer's Avatar
    Join Date
    Aug 2001
    Location
    Glasgow, Scotland, UK
    Posts
    3,320
    when using the dynamic textfield did you make sure to embed the font?
    .: To me AS is like LEGO, Only for the big Kids :.
    - Site - Blog - Twitter - Linkedin
    bringmadeleinehome.com

  4. #4
    Junior Member
    Join Date
    Aug 2008
    Posts
    5
    To when I first tried it, by creating it on the stage. No...

    Though, now I am creating the text field dynamically. (in as3).

    I would think the default font would be already embedded. I may be wrong. Please tell me if so, and what I should do to fix..



    >>I don't think you can scale dynamic text fields dynamically to deform them. You have to scale them proportionately.

    Damn. I know you're probably right, that's what I was thinking. But for now I wanna play optimist and try anything I can. Just in case. Thanks though. ^^;;

  5. #5
    Senior Member jweeks123's Avatar
    Join Date
    Mar 2006
    Posts
    1,124
    No Problem.

    Sorry i didn't have a better answer for you.

    Although I do have a theory. That being that perhaps theres a way to populate a dynamic text field and then render it as a bitmap, then it should scale. Although I'm unsure on this. May be worth looking into though.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center