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
Google Going Native With Chrome
Mozilla Fixes Firefox Flaws as 3.5 Release Nears
Microsoft and Novell Still Bosom Buddies

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

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 shift a movie sideways or up and down, how to scale a movie frame along the x or y direction, and how to find the currently playing frame. In this column we improve the way we embed flash movies. After reading this column, you'll know how to embed two different movies on the same page, and how to embed a movie by a single JavaScript statement.

In this column we use two SWFs: swift3d.swf, courtesy of www.swift3d.com, and 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, the swift3d.swf SWF example, and the opener.swf SWF example. You can also find these files in one zipped file.

Next: How to embed multiple flash movies

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 >
XML and PHP Simplified · Creating a ASP.NET Contact Form · Data Filtering with PHP
Sitemap · Experts · Tools · Services · Email a Colleague · Contact FREE Newsletters 
 The latest from internet.com
Intel to Host Live Nehalem Q&A · 12 Tips to Troubleshoot Network File-Sharing · 10 Tips for Selling on Kijiji


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/index.html