A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: Help with Variables

  1. #1
    Senior Member
    Join Date
    Oct 2000
    Location
    California
    Posts
    149
    If I have

    _level0.var01 = ""
    _level0.var02 = ""
    _level0.var03 = ""

    on the main timeline, how can I dynamically set what var01 or var02 or var03
    equal with out using if/else?
    I have a variable catching var01 locally in a movieclip. What I need to do
    is something like

    "_root." + "_root.dynamicVar" == "myCapture";

    PLEASE HELP!!!!
    Thanx

  2. #2
    proud new daddy! LuxFX's Avatar
    Join Date
    May 2000
    Location
    Dunsinane
    Posts
    1,148
    Try this:

    _level0[dynamicVar] = ""

    cheers!

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