Closed
Bug 160511
Opened 22 years ago
Closed 22 years ago
Error with scriptable Flash 6 plugin: "plugin.SetWindow is not a function "
Categories
(Core Graveyard :: Plug-ins, defect)
Tracking
(Not tracked)
VERIFIED
DUPLICATE
of bug 159393
People
(Reporter: aleksander.adamowski, Assigned: rubydoo123)
References
()
Details
Attachments
(1 file)
10.32 KB,
application/zip
|
Details |
Build id: 2002073118 trunk, Windows 2000 See this address for all files that comprise the testcase: http://olo.office.altkom.com.pl/domowa/mozilla/2002_08_01_flash_js/ The jscomm.fla file there is a Flash 5 movie that tries to invoke JS method on the page where it is embedded. The jscomm.swf is its compiled form. The testcase works fine in Internet Explorer 6 with Flash plugin: after clicking the round, red button in the SWF movie, the "text" word switches its color between red and green (by means of simple JavaScript function). In Mozilla, there's no effect when clicking the button, instead there's an error message in the JavaScript console: Error: plugin.SetWindow is not a function Source File: javascript: function jsScriptObject(obj) { this.wrappedJSObject = obj; } jsScriptObject.prototype = { evaluate : function(expression) { return new jsScriptObject(eval(expression)); } }; var plugin = document.embeds['jscomm']; plugin.SetWindow(new jsScriptObject(window),589361028); Line: 1
Reporter | ||
Comment 1•22 years ago
|
||
Just in case my server goes down.
Comment 2•22 years ago
|
||
wfm using build 2002073118 on Win2k (trunk) + Flash 6.0.40 and the flash xpt file.
Reporter | ||
Comment 3•22 years ago
|
||
What's this flash xpt file? I can't find it anywhere on my local filesystems.
Comment 4•22 years ago
|
||
xpt allows scriptability. unless u have it..this testcase will not work. pls download the plugin from macromedia (latest/scriptable flash) and try this..it will work. pls let me know, thx!
Comment 5•22 years ago
|
||
flashplayer.xpt is only installed in Netscape 7 components directory Mozilla is not recognized (np*.dll is copied but components dir is missing flashplayer.xpt) try installing netscape 7 then flash then copy flashplayer.xpt to tour moz components dir
Reporter | ||
Comment 6•22 years ago
|
||
Confirming that Netscape browser is required to get hold of flashplayer.xpt. Macromedia player's installer issue. Any suggestions how to inform Macromedia of this issue (seek help of Netscape tech evangelists probably)? I've already tried to report the problem with Linux Flash plugin (bug 58339) to them through their standard bug reporting web form, through e-mail, and comments to support documents on their site, and never got a response - they basically seem to ignore any input from users.
Reporter | ||
Comment 7•22 years ago
|
||
Should this bug have Product -> Tech Evangelism ?
Reporter | ||
Comment 8•22 years ago
|
||
BTW copyinf flashplayer.xpt to Mozilla's plugins directory also fixes the problem. In my opinion, placing it in plugins dir is more consistent (it's a part of the plugin, so it should go there) than placing it in components (which is full of xpt's already and it's harder to vgrep for flashplayer there).
Comment 9•22 years ago
|
||
*** This bug has been marked as a duplicate of 159393 ***
Status: NEW → RESOLVED
Closed: 22 years ago
Resolution: --- → DUPLICATE
Updated•2 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•