;

PDA

Click to See Complete Forum and Search --> : checking for variables


skut2k
10-27-2000, 12:43 PM
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.

bryan_mahoney
10-29-2000, 04:58 PM
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

skut2k
10-30-2000, 06:08 AM
Cheers for the reply.

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

Skut.

bryan_mahoney
10-30-2000, 10:57 AM
when i downloaded it - it didn't work.

When i changed it to _level5: blah, blah

it worked.

Hope this helps,

bryan

skut2k
10-30-2000, 11:11 AM
thanks for your help and attention..

skut.

bryan_mahoney
10-30-2000, 11:28 AM
no problem,

i hope it helps.

rgds,

bryan