Click to See Complete Forum and Search --> : odd question: using URL to specify a movie clip
badporcupine
06-15-2009, 10:49 AM
Is it possible, with AS3, to set up an URL string that will open a Flash page with a particular movie clip showing, rather than having the Flash just start at the beginning of the main movie?
cancerinform
06-15-2009, 11:15 AM
If you use php and the url to lead to the php page has a variable at the end
http://xxxx.com/yyy.php?frameVar=3
Then in the php page with your movie you get the variable value
$frameVar = $_GET['frameVar'];
In your movie in the php page you add Flashvars with the variable
'movie', 'myMovie?myFrame=$frameVar',
Finally you need a line in your movie to load parameters to get the Flashvars
var myFrame:int = int(root.loaderInfo.parameters.myFrame);
gotoAndStop(myFrame);
5TonsOfFlax
06-15-2009, 11:17 AM
I believe this does what you're looking for http://www.asual.com/swfaddress/
flashkit.com
Copyright Internet.com Inc., All Rights Reserved.