Embedding Movies with Flash, Part III: More Properties - Doc JavaScript | WebReference

Embedding Movies with Flash, Part III: More Properties - Doc JavaScript


Embedding Movies with Flash, Part III: More Properties

In this column we conclude our series on embedding Flash objects in Web pages. We presented the basics of Flash and the FlashSound JavaScript API in Column 81, Embedding Sound with Flash, Part I: The Basics. We extended our coverage to multiple tracks and the interaction between them in Column 82, Embedding Sound with Flash, Part II: Playing Variations, and we concluded our coverage of the FlashSound JavaScript API in Column 83, Embedding Sound with Flash, Part III: Streams. We then turned our attention to native JavaScript support of Flash in Column 84, Embedding Sound with Flash, Part IV: Native JavaScript. In Column 85, Embedding Movies with Flash, Part I: Basic Methods we started a mini-series on embedding Flash movies, with emphasis on the Flash movie's methods. In Column 86, Embedding Movies with Flash, Part II: Basic Properties, we focused on how to set and get the Flash movie's properties. In this column we extend our coverage of properties to those that allow advanced effects, such as dimming and rotating.

In this column we'll demonstrate a batch of Flash properties. Many Flash properties are geared towards movies, so you must have a Flash movie to see the effect of these properties. We'll show you how to find the length of a movie, and its width and height; how to hide and reveal a movie; how to rotate and dim it; how to find the loading progress of a movie, its URL, and its name; and how to set its quality.

In this column we use opener.swf, courtesy of www.associatesinscience.com.

In this column you will learn:

You can download the Flash Player, the Flash Embedding JavaScript include file and the opener.swf SWF example. You can also find these files in one zipped file.

Next: How to find the movie's length in frames

http://www.internet.com


Produced by Yehuda Shiran and Tomer Shiran
All Rights Reserved. Legal Notices.
Created: July 2, 2001
Revised: July 2, 2001

URL: http://www.webreference.com/js/column87/index.html