A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: [AS3] Declaring Variables

  1. #1
    Junior Member
    Join Date
    Feb 2009
    Posts
    17

    Question [AS3] Declaring Variables

    Hey FlashKit,
    I was just crossing over from AS2 to AS3 (CS4 WOOT), and I was looking to make a dynamic textbox.
    I noticed the variable textbox in the bottom right hand corner was greyed out. I clicked on it. It said that feature wasn't supported anymore in AS3.

    How do I declare variables for textboxes?

  2. #2
    5+5=55 Schfifty Five's Avatar
    Join Date
    Jun 2006
    Posts
    698
    You don't, instead you change its text with
    my_textfield.text = "Text";

  3. #3
    Junior Member
    Join Date
    Feb 2009
    Posts
    17

    Smile

    Oh thanks that works great.

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