  | |  | Passing variable and opening new browser window | Passing variable and opening new browser window
2004-02-23 - By Andrew Clark
Back
Hi,
I wish to click on a Flash chart in mySource.html and drill down to a
datagrid
which opens in a small browser window myTarget.html
getURL( "http://www.mySite.com/myTarget.swf?myData= "+theData);
works fine opening the swf in a new window
Attempting to place the swf in a new window directly is probably not
possible:-
getURL( "javascript:openNewWindow( 'http://www.mySite.com/myTarget.swf?MatchDa
te= "+theDate, 'thewin ', 'height=400,width=400,toolbar=no,scrollbars=no ') ");
produces an error ' Method name must be GET or POST '
Also
getURL( "javascript:openNewWindow( 'http://www.mySite.com/myTarget.html ', 'thew
in ', 'height=400,width=400,toolbar=no,scrollbars=no ') ");
opens a window but does not pass the data
Entering http:/www.mySite.com/myTarget.html?myData=theData directly in the
address bar also fails
I have attempted to change the param movie value and embedded src in
myTarget.html without result, though am unclear what
exactly I should be entering
Is there a solution, please
Cheers
Andrew Clark
=-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --
Supported by Fig Leaf Software
=-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --
Be sure to check the archives and the wiki:
http://chattyfig.figleaf.com/
=-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --
http://chattyfig.figleaf.com/cgi-bin/ezmlm-cgi?1:mss:104974
=-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --
To unsubscribe send a blank e-mail to:
Normal Mode: flashcoders-unsubscribe@(protected)
Digest Mode: flashcoders-digest-unsubscrive@(protected)
|
|
 |