A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: FlashVars

  1. #1
    Member
    Join Date
    Jul 2003
    Location
    ROMANIA
    Posts
    68

    FlashVars

    Hello,
    i have a problem with FlashVars from a html file

    In html page i have <param name="Flashvars" value="val=asdfas aksdf as" />

    I can read this variable in level0 Stage 1 like this txt = _level0.val

    But i need it inside a movie clip named main. This movie is in stage 1 .

    The problem is that i can`t read this val in main

    Do you know what can i do?

    Thanks,
    Florin

  2. #2
    Senior Member
    Join Date
    Nov 2000
    Location
    Allentown PA
    Posts
    350
    This is one way:
    _level0.main = _level0.val


    Or...

    On frame 1 of the root: blah = _level0.val
    On frame 1 of main: txt = _level0.blah
    http://www.Freq-Fest.com

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