Flasher Archive
[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]
Subject: | Re: FLASH: A simple url variable pass |
From: | Robert Bleeker |
Date: | Sat, 24 Jun 2000 03:44:18 +0100 |
Hi Sean,
If you have this link in HTML:
<a href="urltest.html?x=3">test 3</a>
Then you only make a slight change to your code:
If ("x" eq "1")
Go to and Stop ("test")
Else If ("x" eq "2")
Go to and Stop ("test2")
Else If ("x" eq "3")
Go to and Stop ("test3")
Else
Go to and Stop ("failure")
End If
Then you might have to check if the movie is completely loaded or the movie
will not go to any of the section if they are not there.
I would set up a 2 frame loop that keeps looping until all the necessary
frames are loaded.
Robert
Robert Bleeker
CADRE design
http://www.cadre.com.au
+61-2-96859889
-+-
on 24/6/00 6:04 AM, Sean Renet at seanbroadcastdynamics [dot] com wrote:
> I would like to do a simple query string pass like this....
> <a href="urltest.html?x=1">test</a><br>
> <a href="urltest.html?x=2">test 2</a><br>
> <a href="urltest.html?x=3">test 3</a><br>
>
> I would like my action script to read that variable and do something with
> it.
> If ("x" = 1)
> Go to and Stop ("test")
> Else If ("x" = 2)
> Go to and Stop ("test2")
> Else If ("x" = 3)
> Go to and Stop ("test3")
> Else
> Go to and Stop ("failure")
> End If
>
> Can some give me an action script that performs this?
> this is what I have so far Assuming the swf is on urltest.html....
>
> Load Variables ("urltest.html", 1, vars=GET)
> If Frame Is Loaded (1)
> If ("x" = 1)
> Go to and Stop ("test")
> Else If ("x" = 2)
> Go to and Stop ("test2")
> Else If ("x" = 3)
> Go to and Stop ("test3")
> Else
> Go to and Stop ("failure")
> End If
> End Frame Loaded
flasher is generously supported by...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
flashforward2000 and the Flash(tm) Film Festival
July 24-26, 2000, NEW YORK CITY, Hammerstein Ballroom
www.flashforward2000.com
Produced by United Digital Artists and lynda.com
Sponsored by Macromedia, Adobe Systems, Fusion, Inc, AtomFilms,
shockwave.com and Electric Rain.
1.877.4.FLASH.4 or (1.805.640.6679 outside the US and Canada)
Register before June 30 and save $200!!-- www.flashforward2000.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email helpchinwag [dot] com
Replies
FLASH: A simple url variable pass, Sean Renet
[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]