 |
 |
Javascript To Flash Calls (LoadMovie) not working on any Mac Browser, but works on PC
|
 |
|
 |
|
Fresh-Faced Recruit
Join Date: Jan 2003
Location: North Bergen,NJ
Status:
Offline
|
|
Im coding a page that loads 4 different swfs into the onto the main window using HTML links. I can get the swfs to switch on IE Win and Mozilla Win, but nothing works on Safari, or IE Mac or Mozilla Mac. All my browsers are at the latest versions. I've also been browsing alot of Flash sites that have include samples of the type of functionality im trying to reproduce, and they all seem to be non-functional on Mac as well. Is something amiss with Javascript to Flash interaction on Macs?
|
|
|
| |
|
|
|
 |
|
 |
|
Fresh-Faced Recruit
Join Date: Jan 2003
Location: North Bergen,NJ
Status:
Offline
|
|
Here;s some snippets of relevant code for reference cause the whole script is fairly long:
Code:
<SCRIPT LANGUAGE="JavaScript">
function movieLoad(layerNum,movieURL,objNum)
{flashObj[objNum].LoadMovie(layerNum,movieURL);}
</SCRIPT>
<BODY bgcolor="#ccffcc" onLoad="setMovieRef('moviename',0)">
<a href="javascript:movieLoad(0,'movie1.swf',0)">a</a>
<a href="javascript:movieLoad(0,'movie2.swf',0)">b</a>
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" ID=moviename width="570" height="464">
<param name="movie" value="movie1.swf" />
<param name="quality" value="high" />
<embed name=moviename src="movie1.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="570" height="464" swLiveConnect="true">
</embed>
</object>
</BODY>
ive also tried making my links like this
Code:
<a href="javascript:;" onClick="movieLoad(0,'movie1.swf',0)">a</a>
|
|
|
| |
|
|
|
 |
|
 |
|
Grizzled Veteran
Join Date: Jun 2001
Location: Melbourne, Australia
Status:
Offline
|
|
Originally posted by MetalArtist:
Im coding a page that loads 4 different swfs into the onto the main window using HTML links. I can get the swfs to switch on IE Win and Mozilla Win, but nothing works on Safari, or IE Mac or Mozilla Mac. All my browsers are at the latest versions. I've also been browsing alot of Flash sites that have include samples of the type of functionality im trying to reproduce, and they all seem to be non-functional on Mac as well. Is something amiss with Javascript to Flash interaction on Macs?
Yep. 'Liveconnect' for Macs is non-existent for Mac IE and most popular modern mac browsers. Yer out of luck. 
|
|
Computer thez nohhh...
|
| |
|
|
|
 |
|
 |
|
Fresh-Faced Recruit
Join Date: Jan 2003
Location: North Bergen,NJ
Status:
Offline
|
|
man well that explains things alot, its amazing macromedia wouldnt put up a technote on this cnsidering its a fairly common practice. the id and liveconnect attributes are netscape specific tho... i would imagine IE for mac would ignore it entirely, but im not sure about how ie mac renders a page at all so i have no idea how it would interpret the javascript or the flash methods or even the name attribute in the object tag. This is all pretty frustrating. i suppose i have two alternatives... use html links to trigger an actionscript within one swf that loads the other movies as movieclips, or screw the html nav links entirely and make a flash nav bar instead, but that would make for a bigger flash movie and im already rather large as it is
|
|
|
| |
|
|
|
 |
 |
|
 |
|
|
|
|
|

|
|
 |
Forum Rules
|
 |
 |
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
|
HTML code is Off
|
|
|
|
|
|
 |
 |
 |
 |
|
 |
|