Flash with URL Vars
- Started
- Last post
- 6 Responses
- thirtytwo
Is it possible to have a url like http://somesite.com/flash.asp?ID…
then in flash load the 4th flash file or JPG?
this would same me some time if I could...
Thanks in advance
- finnpimp0
the getURL action handles variables in URL-fields also (I think, haven't worked on it that much), just use the GET or POST method.
maybe. dunno?
- Mick0
It's more likely you would do it the other way, make an ASP page that loads the relevant flash file depending on the ID you gave it.
- netizen0
as simple as
loadMovieNum('movie.swf?theVar=t... level, method)
- netizen0
my bad, i misunderstood.
- thirtytwo0
Nevermind, that was way to simple. I think I was trying to make it harder than it was...
Thanks anyway...
- arlo0
That can be done. Make a scripted page of your choice (ASP, PHP, whatever) that takes the url param and tacks it on to the end of the object + embed tags. in this case, it would append something like this: 'whatever.swf?ID=4'