spacer

Webref WebRef   Sitemap · Experts · Tools · Services · Newsletters · About i.com

home / experts / javascript / column86


Embedding Movies with Flash, Part II: Basic Properties

Developer News
News Flash: Adobe Has iPhone Workaround
Adobe's Flash 10.1 Goes Mobile (Minus iPhone)
A Salute to Visionary CEOs

A Final Word

In this column we continued 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 this column we continued this mini-series, focusing on how to set and get the Flash movie's properties.

In this column we first showed you how to extend your JavaScript include file to allow multiple Flash objects on the same page. We also enhanced the include file to return a Flash object, so you can now embed an object using a single JavaScript statement. We demonstrated a Flash method to pause a movie and dedicated the rest of the column to some of the Flash movie's properties. You can use these properties to change the x or y position of the movie frame, to scale the movie the frame along the x or y direction, and to find the currently playing frame.

In this column we used two SWFs: swift3d.swf, courtesy of www.swift3d.com, and opener.swf, courtesy of www.associatesinscience.com.

In this column you have learned:

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

More Resources from Doc JavaScript
Columns Popular Columns Tips Tools
Latest Columns
41-50 | 31-40 | 21-30
11-20 | 1-10
Working with Windows
JavaScript and Frames
Bookmarklets
Random Tips
Personalized Tips
RSS Channels
Menu Builder
Rollover Builder
Rotation Builder
Reference Tip Categories (want one?)
Links
For Your Site
Did you learn something? Do you like this site? Please link to us!

http://www.internet.com

internet.commediabistro.comJusttechjobs.comGraphics.com

Search:

WebMediaBrands Corporate Info

Legal Notices, Licensing, Reprints, Permissions, Privacy Policy.
Advertise | Newsletters | Shopping | E-mail Offers | Freelance Jobs

webref The latest from WebReference.com Browse >
Building a Banking Application Home Page with OOP · Mixing Scripting Languages · Review: phpFox, a Social Networking CMS with all the Bells and Whistles
Sitemap · Experts · Tools · Services · Email a Colleague · Contact FREE Newsletters 
 The latest from internet.com
Enterprise 2.0: Social Networking in the Cloud · BroadSoft Marketplace Hastens Pace of Telephony Innovation · Review: HTC Hero for Sprint


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

URL: http://www.webreference.com/js/column86/10.html