Internet Commerce

Partners & Affiliates

Developer Channel


Featured Flash FLA
Gallery Downloads 11401 Flash Movies | 5 New Flash Movies Added
What's New | Top 100

Featured FLA

»  Author: Nick Kouvaris
»  Title: Znax
»  Description: Znax is a board game. Click 4 tiles of the same color and form squares as big as you can. You will erase all the tiles inside the square and collect points. Get maximum score if you make a square with game edges.
»  More by: Nick Kouvaris


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

Featured Site

»  Author Agence WOP Digital Agency
»  Title: Electricdrum
»  Description: French WOP Agency, 3D websites, Flash (Papervision, Away 3D), event or institutional projects. The agency operates on all digital projects: consulting, design, graphic design, development, online communication. The WOP agency follows you on the implementation of original, creative and optimized digital projects.


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

» How To Make A Simple Animation Using Christmas Clips
» Simple Step by step flash game tutorial Spot the diffrence
» How To Make A Moving Text Slide
» Create Flash Banner With Text Float Effect
» How To Make Zoo Photos Slideshow
» How To Make A Dolphin Photos Slideshow
» How To Make A Fathers Day Slideshow
» How To Make A Transparent Background of Your Flash File
» Create Flash Banner With Text Disco Light Effect Today we will introduce you a Text Disco Light eff
» Unknown Tag: Title10
Random Tutorial | Add Site


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: 479
Hits: 4035
» 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