I just confirmed/reproduced this error with FF3.0.11 on WinXP SP3, with FP 8.0.22 installed. I simply went to the first dynamic embed test suite page:
http://www.bobbyvandersluis.com/swfobject/testsuite_2_2/test_dynamic.html And the error was reported. The error also occurred with FP 8.0.42 installed. But did *not* occur with FP 9.0.16 installed. I also tried the above tests with the 2.1 test suite, and no errors occurred. So this is definitely a regression. Not sure why though. But we should look into it. --Kyle -------------------------------------------------- From: "MartijnStevenson" <[email protected]> Sent: Monday, July 06, 2009 8:13 AM To: "SWFObject" <[email protected]> Subject: NPObject error (swfobject v2.2, Flash 8, FF3) > > Bobby van der Sluis recommended I repost my bug report (+ suggested > fix) here: > * http://code.google.com/p/swfobject/issues/detail?id=332 > > Error details + fix: > * Firebug reports a JavaScript error like: "Error calling method on > NPObject!" > * Stack trace goes to this line: var d = t.GetVariable("$version"); > * I fixed this by surrounding the line with a try/catch > > Steps to reproduce: > * minimal case: call swfobject.getFlashPlayerVersion() > * the test suite, when targeted at Flash 9 (as it is), does not show > the alternative content > * the test suite, when targeted at Flash 8, also shows the error > > Problem appears in Firefox: > * Flash Player 8.0.22 (first v8 player) > * Flash Player 8.0.42 (last v8 player) > > Problem does not appear in: > * Flash Player 9.0.15 (first v9 player) > * Internet Explorer (7) > * Chrome (2) > * Safari (3) > > Thanks, let me know if I can provide more information! > Martijn > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "SWFObject" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/swfobject?hl=en -~----------~----~----~----~------~----~------~--~---
