google-code-export / swfobject

Automatically exported from code.google.com/p/swfobject
1 stars 1 forks source link

Externally loaded images within flash movie will not load when javascript is used with swfobject #523

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. I am using this script to change a div height. This is a seperate code from 
swfobject.
<script type="text/javascript">
        function changeHeight(windowHeight) {
            var flashContentDiv=document.getElementById("flashContent"); 
            flashContentDiv.style.height= windowHeight;
        }
</script>

What is the expected output? What do you see instead?
I have externally loaded images and when I add the code above the images are no 
longer visible.

What version of the product are you using? On what operating system?
MAC OS X TIGER

Please provide any additional information below.
If I remove either line from the function posted above my swf will load the 
externally loaded images as expected.

Original issue reported on code.google.com by jaridwo...@gmail.com on 5 Dec 2010 at 2:10

GoogleCodeExporter commented 9 years ago
I am calling the javascript function with as3:

var eiEnabled:Object = ExternalInterface.call("changeDivHeight", newDivHeight);

this appears to be where the problem is actually coming from.

Original comment by jaridwo...@gmail.com on 5 Dec 2010 at 3:02

GoogleCodeExporter commented 9 years ago
This sounds like an implementation issue, not a bug. Please post implementation 
issues to the SWFObject Google Group: http://groups.google.com/group/swfobject

Original comment by platelu...@gmail.com on 16 May 2011 at 5:26