Daily Dish of Dominey Design
{  April 24, 2007  }

Flash CS3 changes SWF embedding

I've been messing around with Flash CS3 on my Macbook Pro, and thus far it's a fantastic upgrade. Not because of new features or the "Adobe interface" (which honestly is just Adobe tabs wrapping old Macromedia UI elements), but because Flash CS3 is a Universal Binary for Intel powered Macs. And...wow. What a difference. CS3 launches in barely a second, the publishing of SWFs is incredibly fast, and the application UI feels much more responsive.

Anyway, on to the point of my post. Interestingly, CS3 changes the default way the app publishes content. In addition to the HTML / SWF it has always created, it now creates a separate Javascript file that the HTML file must use in order for the SWF to appear in a browser.

Embedding with Javascript has been something most seasoned Flash developers have been doing for years, but until now its been kept away from general Flash users. CS3 changes all that. Every Flash user, from beginner on up, will be required to upload this JS file, as well as copy plenty more player embed code if they want to embed movies in a separate HTML document (and then figure out how to change the embed src link to the requisite JS file).

Was there a way around this? Not really. Macromedia/Adobe were caught between a rock and a hard place with the whole Eolas/Internet Explorer lawsuit - which forced a change to how the most popular browser on the planet (grrrr) embeds rich media content - and prevented Flash movies all over the web from auto-playing, not to mention those heinous "Click here to activate" confirmation dialogs. Including a Javascript file resolves these issues, but it'll undoubtedly make life more difficult for Flash beginners.

archives

You are reading "Flash CS3 changes SWF embedding" in the individual archives.

Check out other recent posts in the Flash category

Return to the front page.