Sunday, 2 May 2010

SWFobject

This is not a new but new feature for alot of designers. This function helps create a alternative html page when a browser flash plugin is not available check out Aurora Designs while your flash is disabled.

This is how to use it.

Embedding

SWFObject provides the most reliable method of embedding Flash content into a webpage by internally handling the various practices that one must follow in order for different web browsers to display Flash content correctly, and isolating them from the web designer. The developer may interface with the library in a standardized manner, the minimum being a single line of JavaScript code. Therefore even inexperienced web designers without knowledge of the ideal HTML code to embed Flash content, can easily insert Flash content into web pages, and have them reliably work for the widest possible audience (excepting those with JavaScript disabled).[citation needed] Flash content inserted using SWFObject will also work on devices that support JavaScript execution (and Flash Player), such as the Wii, PlayStation 3 and Nokia N800, unlike the PlayStation Portable.

Limitation

The biggest disadvantage of relying on SWFObject to embed Flash content without using any compatible HTML markup, is that visitors with JavaScript disabled in their web browsers will not be able to view the Flash content, and will instead see alternate HTML content provided by the web page. For websites that aim to reach the widest possible audience an alternate method is available, by using standards-compliant HTML markup to embed the Flash movie (typically using the tags for the best browser compatibility[10]), and using the registerObject() function within the library's API to register the Flash content enabling usage of the other features that the library provides.

still having problems contact Aurora Designs for assistance

No comments:

Post a Comment