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 Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Using the FScommand to call JavaScript

Status
Not open for further replies.

Uturn

Programmer
Mar 10, 1999
1
CA
I have created a new window that my flash plays in. I am trying to us the FScommand to call an command that will close the open window when the flash ends. I seem to have problems getting the javascript to see the command. I can open the window and close the window using JavaScript but If I open the window play the Flash send the command it doesn't close the window
 
try window.close() or parent.close() or self.close()
any one of these should work.
 
Flash swf file
-------------------
a = new Array(300);
fscommand("vendor");

I declare an array in flash.
I then call javascript using the fscommand


Html File (calls the above swf file)
-------------------------------------
The swf file (fscommand) properly calls my javascript
function. How do i fill my "a" array in flash.
movie.SetProperty() and TSetProperty don't work
...or maybe i haven't found the correct syntax.

thankyou,
supernovabliss

howdididothat@hotmail.com

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top