Search content:

 

Personal Menu
Username:
Password:
Save password

Become a member

Forgot Password?

 

Don't miss these
Swap Language Cast Libraries
cXtraWebBrowser
OnStage DVD for Director
Send E-mail using Buddy API
Colour Conversions Galore!
Play MPEG with MCI commands
PDFCreator Xtra
Combinations and Permutations
DirSaver
MPEG Video
MediaMacros Xtras Mall
 

 

 

Behavior Wait for Flash to finish

Added on 5/26/2000

 

Compatibilities:
behavior D7 D8 Mac PC Shockwave

Rating:

Author: MediaMacros (website)

Drop this on a frame to have it hold until a flash file finishes playing.

--Copyright 2000 Chuck Neal
--chuck@mediamacros.com
--If you find this code helpful, send me an e-mail and let me know. :-)

property whatOne

on getPropertyDescriptionList me
p_list = [:]
p_list.addProp(#whatOne, [#format : #integer, #default : 2, #comment : "What sprite for flash:"])
return p_list
end

on exitFrame me
if ([#flash]).getOne(sprite(whatOne).member.type) <> 0 then
if sprite(whatOne).frame < sprite(whatOne).member.frameCount then
go the frame
end if
end if
end

on getBehaviorDescription me
return "Drop this on a frame and assign the sprite number of the flash sprite to hold on the frame until the flash movie is done."
end

 


Upload Provided by ABCUpload ASP

Contact

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

Fax - (206) 339-5833

Send e-mail