A Flash Developer Resource Site














Internet Commerce

Partners & Affiliates














Developer Channel

internet.com


Featured Flash FLA
Gallery Downloads 11303 Flash Movies | 7 New Flash Movies Added
What's New | Top 100

Featured FLA

» Author: Nitin Tikhe
» Title: Cart
» Description: This Animation Tut is a fun and useful for kids below 15 years. Watch the Flag, Doors, Stick and Horse movements.
» More by Nitin Tikhe


Random FLAs | Add Flash Movie
Featured Flash Site
Gallery Downloads 6008 Flash Sites | 0 New Flash Links
What's New | Top 100 Flash Site

Featured Site

» Posted in the Flash Kit Links section
» Title: Banana Swimwear
» Description: This is a banana swim wear interactive catalog we designed and animated in Flash


Random Links | Add your own Flash Related Links
Flash Tutorials 1255 Tutorials 7 New Tutorials Added!
What's New | Top100

» Make flash video player for broadcasting live streaming video / TV on website
» How to convert the project file of Flash Demo Builder 2.0 into FLV file
» FLV to PSP for Mac - How to convert YouTube video to PSP on mac
» How to Convert FLV to MP4 for Playback on iPod
» how to download and convert youtube video to AVI with Leawo Free FLV converter
» Flash Multi-player Game Tutorial - TicTacToe
» How to make Flash elearning tutorials with screen recorder?
» Fader API:Slideshow with MovieClips on stage
» How to convert MS PPT file into an FLV File
» Unknown Tag: Title10
Random Tutorial | Add Site

Network Design Manager
The Computer Merchant, Ltd
US-VA-Hampton

Justtechjobs.com Post A Job | Post A Resume


Tutorials Home What's New Top Rated Submit myTutes Random!

Search Tutorials


Tutorials Tutorials » Tips_And_Techniques

Categories Introduction to Flash Usability
Author: Jeremy Riga | Website: http://home.columbus.rr.com/jeremyriga |

 
Page 2
«prev 1 2 3 4 5 next»

To HTML, or not to HTML?

Embedding your SWF file in an HTML page using the publish feature in Flash, or by simply using a WYSIWYG tool like Dreamweaver or GoLive has several advantages. Of course, it also has disadvantages.

Advantages:

A major advantage of embedding your SWF within an HTML document is the auto-detect Flash script that can be used. Don't just assume your user has Flash. Some people are truly behind when it comes to technology. Publishing your Flash Movie from Flash itself and specifying that you want an HTML page created will automatically add a Flash detect script and ensure everyone can see your site. This is a good thing.

Another advantage is control of window size and placement on the HTML page. Maybe your movie is 700pixels X 400pixels and you only want what is in the Flash movie displayed. This can be accomplished using a little JavaScript that Dreamweaver or GoLive will write for you…all you do is specify what size you want. It's simple and it ensures that you have total control of what the end-user sees of your movie.

I usually like to create a static HTML page that has my flash-detect script on it, as well as some blurb of copy about having Flash, and maybe a link to Macromedia's site as well (although Flash will automatically direct the user to Macromedia's site if no Flash plugin is present…). In addition, you can then add an 'Enter Here' link which will open your SWF movie in a new browser window of the exact proportions you specified.

Disadvantages:

Scalability goes to hell and back. It's important to have a movie that everyone can see and use. Start to tackle this task by having a movie that scales. Huh? When you resize your browser window, your Flash movie should scale with the window. Your user enlarges the browser window, the SWF movie gets bigger with it. User shrinks window…you get the picture. This is important because we can't make everyone use Macintosh *J* and display at some fixed resolution. We'll talk more about this later in the tutorial, but the short of it is that opening a site and linking directly to the SWF file (ie: index.html links to tutorials.swf) allows the movie to scale to almost any size big or small.

In the long run, it will always be better for the user to be forced into an HTML/SWF setup. Linking to the SWF is a neat little trick, but you lose too much control of the movie and it's attributes.


«prev 1 2 3 4 5 next»

» Level Basic

Added: : 2000-10-05
Rating: 8.07 Votes: 474
Hits: 4025
» Author
Jeremy is part of the online brand building team of marchFIRST in Columbus, Ohio.
» Download
Download the files used in this tutorial.
Download (0 kb)
Get conversion and unzipping tools for PC and Mac here!

» Forums
More help? Search our boards for quick answers!

Please rate this tutorial, 10 is the top rating, you can also click the comments link to read/write a review.
10 9 8 7 6 5 4 3 2 1
Read or Post Comments