Search content:

 

Personal Menu
Username:
Password:
Save password

Become a member

Forgot Password?

 

Don't miss these
GetInfoFromAIFF
Set Volume - Buddy API
Inconsistent Buttons
cXtraCD
Set WarpMode of a QTVR Sprite
Wait for a DirectMedia CuePoint(Name as Reference)
Graphic Puzzle Dragger
rescale
Font Pool
ProjectorLook Xtra
MediaMacros Xtras Mall
 

 

 

Behavior Put stream percentage

Added on 2/15/2000

 

Compatibilities:
behavior D7 D8 Mac PC Shockwave

This item has not yet been rated

Author: Macromedia (website)

From Technote #8249 at Macromedia.com

-- get stream status of the movie
property pMovieUrl

on beginSprite me
    pMovieUrl = the moviePath & the movieName
end

on exitFrame
    checkStatus
    go to the frame
end

on checkStatus me
    statList = getStreamStatus(pMovieUrl)
    if (statList.state <> "Complete") then
        if (statList.bytesSoFar > 0) then
            percentDone = (statList.bytesSoFar * 100) / statList.bytesTotal
            put percentDone
        end if
    else
         go to the frame + 1
    end if
end checkStatus me

 


Upload Provided by ABCUpload ASP

Contact

MMI
22 West Court Sq
Suite 2C
Newnan, GA 30263
USA

Fax - (206) 339-5833

Send e-mail