Contents
Articles
Behaviors
Books
Director News
Director Web Sites
FAQ
Games
Mailing Lists
News Groups
Project Examples
Reviews
Software
Tools
Useful Web Sites
Utilities
Xtras

Don't miss these
Direct-L
PowerPoint Import Xtra (FREE)
Camtasia
EXE Screen Saver
Hierarchcal Menu using Imaging Lingo
Set the blend of Sprite
Print a file with associated program
Installer Vise
A shooting game
ScrnXtra
 

 

 

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

 


Contact

MMI
36 South Court Sq
Suite 300
Newnan, GA 30263
USA

Send e-mail