A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: change alignment dynamic tekstfield

  1. #1
    Senior Member
    Join Date
    Oct 2002
    Location
    belgium
    Posts
    611

    change alignment dynamic tekstfield

    Hi there,

    Is there a way to change the alignment of a dynamic tekstfield?Like when hitting a button the textfield changes from align 'left' to 'right'?

    And another one. How scale an mc proportional when hitting a button like onrelease mc1 .x=50%y=50%?

    Big thx in advance

    Grtz,

  2. #2
    Denied ACCESSORIES
    Join Date
    Dec 2000
    Location
    Rio de Janeiro
    Posts
    208

    Re: change alignment dynamic tekstfield

    Originally posted by modulater
    Hi there,

    Is there a way to change the alignment of a dynamic tekstfield?Like when hitting a button the textfield changes from align 'left' to 'right'?

    And another one. How scale an mc proportional when hitting a button like onrelease mc1 .x=50%y=50%?

    Big thx in advance

    Grtz,
    scale mc by using
    mc._xscale =50;
    mc._yscale =50;

    textfield properties can be changed by using TextFormat()

    just do a search plenty here already

    hope that helps
    ..,,;:'""':;,,..ASTRO

  3. #3
    Senior Member
    Join Date
    Oct 2002
    Location
    belgium
    Posts
    611
    Hi astro_sk,

    Thx for the scale action.Simple

    Only for the change of alignment for dynamic textfiles how?

    I've done something like this without any result. Pleace help me out:s

    button.onRelease = function() {
    _root.subtitel_txt.align="center";
    }

    Grtz,

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