|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
URL as a variables to populate dynamically
help!
hey guys..i was wondering if there is any actionscript that would read a URL, and use that to populate text boxes in the movie. I am not sure if I am clear but what I am looking to do is email a Url. What I am wondering is if when the Url gets clicked can that URL be read by an swf to populate text boxes dynamically? ???????????????????????????????????????????????????? ![]() |
|
#2
|
|||
|
|||
|
to get variables into flash this way then need to be appended as a querystring onto the embed and object tags in your page, or flashparam tags, so you would need to use a server side language or javascript to dynamically write the page with the querystring variables in the right place in the html.......eg consider I have a php page with a movie in it and I load it with
mysite/movie.php?name=jamieB then I can make use of that variable in flash by going: Code:
//the html generated when I published the movie........ < OBJECT classid="clsid:.........." WIDTH=550 HEIGHT=400> <PARAM NAME=movie VALUE="breakout.swf?<?=$_GET["name"]?>"> <PARAM NAME=quality VALUE=low> <PARAM NAME=bgcolor VALUE=#CCCCCC> <EMBED src="breakout.swf?<?=$_GET["name"]?>" quality=low bgcolor=#CCCCCC WIDTH=550 HEIGHT=400 TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://........."> </EMBED> </OBJECT> |
![]() |
| Viewing: Dev Shed Forums > Web Design > Flash Help > URL as a variables to populate dynamically |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|