[SWFObject] Problem with multiple Flash animations on the page

Geoff Stearns geoff at deconcept.com
Tue Jul 25 12:46:26 PDT 2006


sounds like the same 'jumping' issue that we were just discussing..

have you done any other testing of this?

does it only happen when using swfobject?

what about using other js methods, or just using document.write() to  
write the swfs to the page?

what about using the normal object/embed tags that flash spits out?

does it only happen when one movie is directly under another one?

does it only affect swf files, or quicktime and wmv as well? - maybe  
try putting a quicktime movie on the page with a swf under it and see  
if the swf jumps up onto the quicktime movie...

try putting more space between the banners, does the lower one jump  
up to the top one, or does it slide up at all? or does it only happen  
when they are close to eachother?


On Jul 25, 2006, at 3:37 PM, MJJAIXEN at up.com wrote:

>
> We're trying to add a second Flash animation to a page, and having a
> problem with the two apparantly colliding.  (Both are Flash banner  
> ads that
> redirect the user to another page)
>
> Here's some sample code:
>
> <script type="text/javascript" src="swfobject.js"></script>
> <div id='swfcontent1'></div>
> <script type='text/javascript'>
>    var fo = new SWFObject('employment_omtp.swf', 'omtFlash', '297',  
> '90',
> '7');
>    fo.write('swfcontent1');
> </script>
> <div id='swfcontent2'></div>
> <script type='text/javascript'>
>    var fo = new SWFObject('hot_jobs.swf', 'hotJobsFlash', '88',  
> '56', '7');
>   fo.write('swfcontent2');
> </script>
>
> Both Flash movies launch right away, but when I click on either  
> Flash, the
> second Flash movie appears over the first Flash movie for a brief  
> second
> before the 2nd Flash can direct the user to another page.
>
> Any thoughts as to what we're doing wrong?
>
> Mike Jaixen
> Union Pacific
>
> _______________________________________________
> SWFObject mailing list
> SWFObject at lists.deconcept.com
> http://lists.deconcept.com/listinfo.cgi/swfobject-deconcept.com




More information about the Swfobject mailing list