A Flash Developer Resource Site

Results 1 to 6 of 6

Thread: checking for variables

  1. #1
    Member
    Join Date
    Oct 2000
    Location
    London
    Posts
    59
    Hey all,

    ..Ok. I've got this links engine, it loads variables (correctly URL encoded) into a swf that uses em to displat text and links.

    Locally it's fine.

    It don't work online.. it seems to freeze in the frame that checks for the final variable, 'hello' it'll loop untill hello is equel to "yes":

    If "/:hello" eq "yes"
    Go to and play 'start'
    End if
    Play

    The timeline then continues and gets sent back.

    I've avoided frame 1 actions. The flash seems to just stop on the frame with the above actions.. it's odd.

    http://www.openup.net/test/local - the site
    http://www.openup.net/test/openbase.zip - the source

    Anyone got any ideas?

    Skut.

  2. #2
    Senior Member
    Join Date
    Jun 2000
    Posts
    108
    You're loading your variables onto level 5, but you're looking for the "hello" variable on level 0.

    Change it to this:

    If (_level5:hello eq "yes")
    Go to and Play ("setup")
    Else
    Play
    End If


    and it will work (i downloaded it.)

    Hope this helps,

    Bryan

  3. #3
    Member
    Join Date
    Oct 2000
    Location
    London
    Posts
    59

    variables & levels

    Cheers for the reply.

    This action is called from _level5.. so I thought calling /:yes would be enuff. No?

    Skut.

  4. #4
    Senior Member
    Join Date
    Jun 2000
    Posts
    108
    when i downloaded it - it didn't work.

    When i changed it to _level5: blah, blah

    it worked.

    Hope this helps,

    bryan

  5. #5
    Member
    Join Date
    Oct 2000
    Location
    London
    Posts
    59

    cheers

    thanks for your help and attention..

    skut.

  6. #6
    Senior Member
    Join Date
    Jun 2000
    Posts
    108
    no problem,

    i hope it helps.

    rgds,

    bryan

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