spacer
Yehuda Shiran April 1, 2001
The Timeline Approach in SWF
Tips: April 2001

Yehuda Shiran, Ph.D.
Doc JavaScript

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

SWF files may include both sound and animation. They can also be sound-only files. The SWF file consists of frames which are ordered along a timeline. Therefore, these sound files are sometimes referred to as sound only timelines. Each frame has a label and may include sound and labels (start and stop). You control the playback of an SWF file by specifying the frame name and the label inside the frame (start or stop). Imagine that the Flash player (or any other compatible players) is a playhead. You have a control over the playhead. But the control is limited to a very limited set of commands. You can ask it to go to a certain frame and to a certain label in that frame (start or stop). Once the playhead is in motion, you cannot interfere with it. The sound will stop only after the playhead will reach a stop label inside the frame. For example, you cannot command the playhead to stop or to play. You don't have a control over the playhead other than asking it to go to a certain frame and a certain label inside the frame. Once the sound starts, the playhead continues down the timeline. The sound, on the other hand, continues to completion, without regard for what is happening to the playhead.


People who read this tip also read these tips:

Look for similar tips by subject:

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