Hi i don' t kown if it a bug but i used swfobject.embedSWF with an
absolute div and works fine.
If i set attribute.id , swfobject created swf out the div in the
bottom of the website.

This is the code

    <div id="train"></div>
        <script>
var flashvars = {};
var params = {
  menu: "false",
  wmode: "transparent"

};
var attributes = { id: "ExternalInterfaceExample", name:
"ExternalInterfaceExample" };

swfobject.embedSWF("train.swf", "train", "991", "200", "8", true,
flashvars, params, attributes);

function sendToFlash() {
        var text = document.htmlForm.sendField.value;
  var swf = document.getElementById("ExternalInterfaceExample");
  swf.sendTextToFlash(text);
}
v
</script>
css
#train{
        height:200px;
        width:991px;
        padding-left: 300px;
        position: absolute;
        left: 20px;
        top: 367px;
        z-index: auto;

}

if i set var attributes = { };
swfobject ' ll create the swf inside  train div !

Why ?

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"SWFObject" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/swfobject?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to