Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 4 of 4
  1. #1
    New to the CF scene
    Join Date
    May 2004
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    java setVariables, for flash, not working on mac

    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?

  • #2
    Master Coder
    Join Date
    Feb 2003
    Location
    Umeå, Sweden
    Posts
    5,575
    Thanks
    0
    Thanked 83 Times in 74 Posts
    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.
    Last edited by liorean; 05-31-2004 at 11:46 PM.
    liorean <[lio@wg]>
    Articles: RegEx evolt wsabstract , Named Arguments
    Useful Threads: JavaScript Docs & Refs, FAQ - HTML & CSS Docs, FAQ - XML Doc & Refs
    Moz: JavaScript DOM Interfaces MSDN: JScript DHTML KDE: KJS KHTML Opera: Standards

  • #3
    New to the CF scene
    Join Date
    May 2004
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts
    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">

  • #4
    New to the CF scene
    Join Date
    Apr 2005
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Thumbs down

    Crap... crap crap crap crap crap..


    Anybody know of any workarounds to that?


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •