Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

querystring --> actionscript

Status
Not open for further replies.

link9

Programmer
Nov 28, 2000
3,387
US
Ok --

Easy one for you guys --

<script language=javascript>
var queryString;
queryString = <%=request.querystring(&quot;projectNum&quot;)%>;
</script>

The above gives me what I want in javascript, but I THEN need to get that into my flash movie so that I can once again, redirect based on it's value --

Please post up some actionScript that would do this for me -- the movie will be embedded on the same page that the above javascript variable is declared...

Thanks alot -- :)
Paul Prewett
 
If anyone is interested, I found the solution at another site...

function loadIt(input){
document.movieID.SetVariable(&quot;number1&quot;, input);
}

call this function at body onLoad--

makes the value in the flash movie, 'number1' = whatever you pass as 'input'

enjoy!
Paul Prewett

 
nice one paul ;-) davdesign@pinkzeppelin.com

^^^^^^^^^^^^^^^^^^^^^
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top