PDA

View Full Version : js triger flash ff works ie dosnt


Paul Ferrie
11-03-2008, 01:06 PM
Hi guys,

I switched over to swfObject 2.1 and since doing so i cant seem to trigger flash functions from html javascript.

I have spent the past 3 hours messing around with various things found on http://code.google.com/p/swfobject/

the closest i came to find what i was looking for was http://www.bobbyvandersluis.com/swfobject/testsuite_2_1/test_com.html

but there is no flash source.
Here's the error i get what i try to trigger a flash function form js
Error: uncaught exception: Error calling method on NPObject! [plugin exception: Error in Actionscript. Use a try/catch block to find error.].
dose anyone know of a working example source i can look at?

asf8
11-03-2008, 03:50 PM
The closest i came to find what i was looking for was http://www.bobbyvandersluis.com/swfobject/testsuite_2_1/test_com.html ....
but there is no flash source. dose anyone know of a working example source i can look at?

Hi Paul,

I think this is the FLA source for that example
http://www.bobbyvandersluis.com/swfobject/testsuite_2_1/test8_com.fla

More at the bottom of this page
http://code.google.com/p/swfobject/wiki/test_suite
Also found here
http://www.bobbyvandersluis.com/swfobject/testsuite_2_1/

This guy has some good examples you might like as well.
http://www.pipwerks.com/lab/swfobject/ExternalInterface/2.0/index.html

Hope that helps.

Paul Ferrie
11-03-2008, 03:52 PM
ah nice one. cheers buddy:)