...

View Full Version : java setVariables, for flash, not working on mac



domerdel
05-31-2004, 09:52 PM
Using this code to communicate through flash
<script language = "JavaScript">

<!--
function setVariables() {
document.mdimaging.SetVariable("sectionParent", "Services");
document.mdimaging.SetVariable("sectionTitle", "X-Ray");
}
//-->
</script>

added namd and id tags on embed and param "mdimaging"

in body i put OnLoad="setVariables()"

can't seem to get it to pull the dynamic content in flash on the mac browsers, can anyone help?

liorean
05-31-2004, 10:25 PM
Your problem lies in one large deficiency among Mac browsers: They in general lack liveconnect/xpconnect facilities from most plugins. Browsers using the Netscape Mozilla engine; that is Netscape Navigator 3 and Netscape Communicator 4.x; supports an older liveconnect version fully, but are OS9 only browsers.
Browsers using the Mozilla Gecko engine; that is mainly Mozilla, FireFox and Camino, as well as Netscape6/7 and AOL on the Mac; have full liveconnect/xpconnect capabilities.
Tasman based browsers; tha is Internet Explorer :Mac and MSN/OSX; lacks liveconnect entirely, but somewhat compensates by ActiveX capabilities. However, they lack most Internet Explorer for Windows native ActiveX components, and I don't think there are especially many third part such for the Mac, either, not to speak of specifically Macromedia Flash interactive ones.
KHTML/KJS browsers exists of two kinds for the Mac: WebKit and WebCore based browsers. Browsers based on the WebKit; that is Safari and Shiira; have liveconnect support for Java, but no other plug-ins, only in the latest versions. Browsers based on WebCore; that is OmniWeb; has no liveconnect support.
Presto based browsers; that is Opera 7.50; have no liveconnect support at the moment, but you can expect it to appear in some future Opera 7.5x release, as they only left it out in an effort to get the browser out of the house earlier.
So, "What is liveconnect?", you ask? Well, liveconnect is the Netscapian way of making JavaScript and plug-ins using the Netscape plug-in architecture to work together. XPConnect is the newer Mozillan way of making JavaScript and plug-ins using the Mozilla plug-in architechture (which is a development of the Netscapian one) to work together. Without support for either, there is no support for plug-ins and JavaScript to communicate.

Microsoft's ActiveX system competes with the liveconnect system, and Tasman has support for it. However, all plug-ins (that I know of) for the Mac platform use the Netscapian/Mozillan plug-in architecture.

domerdel
05-31-2004, 10:36 PM
helpful, yet depressing lol. Thank you for the elaborative information... i guess i'll just have to stick to this code value="flash_nav.swf?sectionParent=Services&sectionTitle=X-Ray">

dabs
04-28-2005, 05:12 AM
Crap... crap crap crap crap crap..


Anybody know of any workarounds to that?



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum