The SitePoint Forums have moved.

You can now find them here.
This forum is now closed to new posts, but you can browse existing content.
You can find out more information about the move and how to open a new account (if necessary) here.
If you get stuck you can get support by emailing forums@sitepoint.com

If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

It seems they all start off with a common script available - Image Trail script- By JavaScriptKit.com. I'm taking this idea a few steps further and attempting to allow it to handle images, flash video (.flv), and native flash files (swf). I have it functioning flawlessly for both images and FLV's. My problems are with swf's.

Issues to note: because I know nothing about the dimensions of the swf samples, I load my samples into a swfPlayer (of sorts). This allows me to import the sample, grab its dimensions, send them back to the page, and make the necessary adjustments to display the swf properly. Because of this unknown, I set the swf embed to display at 100% of the area it occupies. If this swf were embedded in its own page & displayed in its own window it would be constrained only by the browser; occupying the entire browser stage. To reign this in the size properties sent to the page are then assigned to the div containing the swf which then constrains it within the proper dimensions.

I actually have this process functioning. However there are glitches. In FF (2.0) the swf height is not setting to 100%. This is actually a documented issue but the only solution I seem to have found that works calls for removal of the page’s <!DOCTYPE> declaration. Unfortunately this is not a solution I can implement. So I'm currently stuck, still tiring to solve this issue. Additionally, the div resizing that occurs when a swf is loaded is glitchy. I am able to eliminate this by hiding the div (visibility=hidden), exposing it only after the sample swf has loaded and it's size attributes are consumed and assigned to the div holding it. This works great in FF but seems to stop the entire process from executing in IE.