hi,

just found a way to send variables to a pop up (or similar) without
having to use a server side language like php or asp.

it's a java script property called document.location.search and is
"The sub string that follows the question mark is the query string or
form data."


example:

example getURL in the mother swf:

getURL('javascript:OpenWin("popup.html?someVar=' + someVar + ', 700, 400");')

and the code inside popup.html

var fo = new FlashObject("main.swf" + document.location.search,
"fotester", "700", "400", "7");

as i have been using php like a sucker all these years, this can make
it simpler for me to work. perhaps it can help someone else.


kalle



--
www.inlovewith.com
inlovewith ltd.
kalle thyselius
linnégatan 76, stockholm, sweden
+ 46 707 602 600
inlovewith you
_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to