View Full Version : Loading Flash GET variables
03-31-2005, 09:39 PM
Right, I'm sure this is very simple but I'm not sure how to do it.
I want to load a flash file e.g. "file.swf" but call a variable when loading the file e.g. "file.swf?number=2" and then display that number in flash.
We need a bit more information to give you appropriate help. Are you talking about loading this variable from one flash movie into another? If so, you could just load the movie ( loadMovieNum("file.swf", 1, POST); ) and have a conditional statement on the first frame of the newly loaded "file.swf," which would look something like this:
This is assuming that the "number" variable exists on level 0 of your original movie (hence, the _level0).
Hope this helps!
Powered by vBulletin® Version 4.2.2 Copyright © 2015 vBulletin Solutions, Inc. All rights reserved.