EasyManua.ls Logo

MACROMEDIA FLASH 8-LEARNING ACTIONSCRIPT 2.0 IN FLASH - About Creating Progress Animations for Media Files

MACROMEDIA FLASH 8-LEARNING ACTIONSCRIPT 2.0 IN FLASH
830 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
624 Working with Images, Sound, and Video
About targeting local FLV files on Macintosh
If you attempt to play a local FLV from a non-system drive on a Macintosh computer by
using a path that uses a relative slash (
/), the video will not play. Non-system drives include, but
are not limited to, CD-ROMs, partitioned hard disks, removable storage media, and
connected storage devices.
For an FLV file to play from a non-system drive on a Macintosh, refer to it with an absolute
path using a colon-based notation (
:) rather than slash-based notation (/). The following list
shows the difference in the two kinds of notation:
Slash-based notation myDrive/myFolder/myFLV.flv
Colon-based notation (Macintosh) myDrive:myFolder:myFLV.flv
You can also create a projector file for a CD-ROM you intend to use for Macintosh playback.
For the latest information on Macintosh CD-ROMs and FLV files, see
www.macromedia.com/go/3121b301.
About creating progress animations for
media files
ActionScript provides several ways to preload or track the downloading progress of external
media. You can create progress bars or animations to visually show the loading progress or the
amount of content that has loaded.
To preload SWF and JPEG files, use the MovieClipLoader class, which provides an event
listener mechanism for checking downloading progress. For more information, see
“Preloading SWF and JPEG files” on page 427.
To track the downloading progress of MP3 files, use the
Sound.getBytesLoaded() and
Sound.getBytesTotal() methods; to track the downloading progress of FLV files, use the
NetStream.bytesLoaded and NetStream.bytesTotal properties. For more information,
see “Preloading MP3 files” on page 420.
NOTE
The reason for this failure is a limitation of the operating system, not a limitation in Flash
or Flash Player.

Table of Contents

Related product manuals