PDA

View Full Version : help! passing variables from flash to flash


flyrod
12-07-2001, 06:07 PM
i'm trying to pass variables from a flash movie into another flash movie in a pop-up window. i've tried using GET and POST, and while they are passed to the .asp page, they are not passed into the second flash movie.

how do i get the variables from the querystring to load into the movie?

thanks.

tg
12-07-2001, 09:39 PM
here (http://www.actionscripts.org/tutorials/intermediate/passing_variables_around/index2.shtml) is the toot for passing variables, make sure you have included the vars in the parameters on your web page containing the swf.

flyrod
12-08-2001, 06:06 AM
i'm using asp to pass the variables between flash movies.

any suggestions on that?

thanks!

flyrod
12-08-2001, 03:39 PM
<param name=movie value="order.swf?cartname0=<%=cartname0 %>">
<param name=quality value=high>
<param name=bgcolor value=#FFFFFF>
<embed src="order.swf?cartname0=<%=cartname0 %>"...

this should work (i think) but all that's returned is:

<%=cartname0 %>

thanks!

tg
12-10-2001, 06:59 PM
your flash file should be embedded in a .asp file not a .htm file (looks like the server is not processing your asp script).