I’m trying to run 2+ flash movies in the same html page. You can see the essential files here: http://www.vgfx4.com/test/[color=#003366]embedVideo.htm[/color]
[color=#003366]If you view source you’ll see what’s going on. It shoud pull in: [/color][color=#003366]http://www.vgfx4.com/test/loader.swf & [url=“http://www.vgfx4.com/test/loader2.swf%20which”]http://www.vgfx4.com/test/[color=#003366]loader2.swf[/color] which, in turn, test real-world modem speed by loading a random small image: [url=“http://www.vgfx4.com/test/testModem.jpg”]http://www.vgfx4.com/test/testModem.jpg & [url=“http://www.vgfx4.com/test/testModem2.jpg”]http://www.vgfx4.com/test/[color=#003366]testModem2[/color].jpg
Depending on the modem speed the swfs then pull in a video from a folder identified in the path variable sent to the swf file in the src attribute/param:
<object classid=“clsid:D27CDB6E-AE6D-11cf-96B8-444553540000” codebase=“http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0” width=“100%” height=“100%”>
<param name=“movie” value=“loader.swf?path=themes”>
<param name=“autoplay” value=“true”/>
<param name=“salign” value=“LT”>
<param name=“quality” value=“high”>
<param name=“scale” value=“noscale”>
<embed src=“loader.swf?path=themes” width=“100%” height=“100%” autoplay=“true” salign=“LT” quality=“high” scale=“noscale” type=“application/x-shockwave-flash” pluginspage=“http://www.macromedia.com/go/getflashplayer”>
</embed>
</object>
An example video that eventually gets played might be: http://www.vgfx4.com/test/themes/videoBB.swf and it works fine when one video is loaded in, eg:
http://www.vgfx4.com/test/[color=#003366]embedVideo_oneOnly[/color].htm
But Internet Explorer crashes (IE 6, WIN XP or 2000) with a memory read error, as you may have got from the first link, when trying to load 2 movies I suspect this is due to the two movies trying to read the same bit of data: ie, one locks it and the other crashes. But I’ve changes all the files so they actually reference different files (hence testModem ¦ testModem2 etc).
Can’t work out what the problem is: which is irritating, given this follows lots of careful planning of how to set this up as these files are just tests which need to be coded into a content management system which must be able to output webpages with more than one video! Otherwise I’m out of a job…
Can you help!? Thanks in advance,
James.
[/color]