Flasher Archive
[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]
Subject: | FLASH: A simple url variable pass |
From: | Sean Renet |
Date: | Fri, 23 Jun 2000 21:16:59 +0100 |
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
Re: FLASH: A simple url variable pass, Robert Bleeker
[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]