Not signed in (Sign In)

Vanilla 1.0.3 is a product of Lussumo. More Information: Documentation, Community Support.

    • CommentAuthorjosh
    • CommentTimeJan 9th 2007
     
    Hello!

    I have a flash file that is called from a remote script
    there is already a div covering the script

    I have tried everthing and am unable to get this to work

    on my html page I have two calls to remote .js files
    the first one calls swfobject.js
    the second one calls steptest.js

    here is some of the code in steptest.jst

    var obHTML = '<div id="floater" style="position:absolute; left:0px; top:0px; z-index:999;">'+
    '<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="75" height="75" id="trg" align="middle" style="position:absolute;">'+
    '<param name="allowScriptAccess" value="always" />'+
    '<param name="wmode" VALUE="transparent">'+
    '<param name="movie" value="'+src+'" />'+
    '<PARAM NAME=FlashVars VALUE="'+queries+tracker+tracker3+'">'+
    '<param name="quality" value="high" />' +
    '<embed src="'+src+'" FlashVars="'+queries+tracker+tracker3+'" wmode="transparent" quality="high" width="75" height="75" name="trg" swLiveConnect="true" align="middle" allowScriptAccess="always" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" style="position:absolute;"></embed>'+
    '</object>'+
    '</div>';
    document.write (obHTML);

    so I switched to the so code
    put document write on the div tags
    changed my layer name to flash content and still had a problem

    then next issue is going to be that I pass values to the flash file constantly with this code:

    var fl = window.document[name];

    //where name is the ID of my flash file

    fl.SetVariable("temp1", temp1);
    fl.SetVariable("temp2", temp2);

    since this value is constantly changing I am not sure how to make it work

    I dont think a simple so.addVariable("variable1", "value1");

    will work?

    any ideas anyone?
    • CommentAuthorGeoff
    • CommentTimeJan 10th 2007
     
    You should try using ExternalInterface instead.... that amight help you out a bit