Closed
Bug 232308
Opened 21 years ago
Closed 21 years ago
Javascript to Flash communication fails under Mozilla on Mac OS X
Categories
(Core Graveyard :: Plug-ins, defect)
Tracking
(Not tracked)
RESOLVED
DUPLICATE
of bug 212687
People
(Reporter: Eddy.DeClercq, Assigned: peterlubczynski-bugs)
References
()
Details
User-Agent:
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6) Gecko/20040113
Hi,
Typical Javascript to Flash communication doesn't work anymore under Mozilla on
Lunix (in my example RH 8) and Mac OS X. Both browser are up to date (1.6) and
have the latest falsh players (6.0.79.0 on Linux and 7.0.19 on OS X).
I'm speaking of calls like TCallLabel and GetVariable in my example. The all
give things like TCallLabel is not a function.
The example above is the example from Macromedia itself on how to do Javascript
to Flash communication
(http://www.macromedia.com/support/flash/ts/documents/java_script_comm.htm).
The strange thing is that all works well under Windows/Moz/Flash.
Eddy
Reproducible: Always
Steps to Reproduce:
1. Just use the URL above
2. fill anything in and enter, the text should appear in the flash
3. view the JS console
Actual Results:
it blansk out and gets errors in the console
Expected Results:
the text should appear in the flash
Comment 1•21 years ago
|
||
Is this a gtk1 or gtk2 build? Did you put the .xpt file for the plugin in the
right place?
In any case, this is not JS engine...
Assignee: general → peterlubczynski-bugs
Component: JavaScript Engine → Plug-ins
Comment 2•21 years ago
|
||
with linux trunk 2004012508 and flash 6.0 r79, I get:
Error: window.document.myFlash.SetVariable is not a function
Source File:
http://www.macromedia.com/support/flash/ts/documents/java_script_comm/javascript_to_flash.html?sendText=sdfas#
Line: 9
from the 1.4 release notes (and every release since):
http://www.mozilla.org/releases/mozilla1.4/README.html
If you're using the Linux GCC 3.2 binaries compiled by mozilla.org then
JavaScript access to Flash will not work.
also does not block Mozilla development
Severity: blocker → major
QA Contact: PhilSchwartau → nobody
Hardware: Other → PC
Comment 3•21 years ago
|
||
Oh, right. If this is compiled with GCC 3.2 (see about:buildconfig) then it's
invalid -- you can't make the cross-dll calls needed to implement JS access to
flash with the ABI incompatibilities GCC introduced between 2.x (what Flash is
compiled with) and 3.x.
Reporter | ||
Comment 4•21 years ago
|
||
Hi,
Id didn't compile it at all. I've downloaded the full version from
http://ftp.mozilla.org/pub/mozilla.org/mozilla/releases/mozilla1.6/mozilla-i686-
pc-linux-gnu-1.6-installer.tar.gz
So let's pretend that it's 'wrongely' compiled too. Can you provide a good
version on the site (not all our users know how to compile)?
And what about Mac OS X? It doesn't work there either.
Eddy
Comment 5•21 years ago
|
||
If that's what you downloaded, then no, it does not work. A "good" version will
not work with current Java plugins and will be a lot slower and more bloated.
It's unfortunate that GCC had to break the ABI, but they did; at this point it's
a matter of waiting for the stragglers (Macromedia) to catch up to the rest of
the world.
Setting the OS appropriately for the OSX issue.
OS: Linux → MacOS X
Hardware: PC → Macintosh
Summary: Javascript to Flash communication fails under Mozilla on Linux and Mac OS X → Javascript to Flash communication fails under Mozilla on Mac OS X
Reporter | ||
Comment 6•21 years ago
|
||
Ok, strange that thsi problem doesn't occur on Windows.
The flash player is v7 over there, but that's also the case fro Mac OS X, where
it doesn't work either.
Comment 7•21 years ago
|
||
(In reply to comment #6)
> Ok, strange that thsi problem doesn't occur on Windows.
I'm getting this problem too and it is occuring on both windows and linux. I've
tried on three different computers, all with the same result. Javascript to
flash communication is terminally broken in mozilla 1.5 and 1.6. I can't even
get the examples on the macromedia website to work.
Comment 8•21 years ago
|
||
I've done some more digging on this problem and have made a discovery which
relates to my problems with the windows build. If you upgrade mozilla (say
from 1.4 to 1.6) then this will break the flash-javascript interaction, if you
then re-install the flash plugin, this seems to fix the problem. Haven't
worked out whats going on with linux yet though, i'm using official mandrake
rpms for mozilla and mandrake club rpms for flash.
Comment 9•21 years ago
|
||
LiveConnect doesn't work on Mach-O build.
# It works on 1.2.1 CFM/carbon build.
*** This bug has been marked as a duplicate of 232652 ***
Status: UNCONFIRMED → RESOLVED
Closed: 21 years ago
Resolution: --- → DUPLICATE
Comment 11•21 years ago
|
||
*** This bug has been marked as a duplicate of 212687 ***
Status: UNCONFIRMED → RESOLVED
Closed: 21 years ago → 21 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
•