Animated GIF Commands

Top  Previous  Next

AGifPlay("ObjectLabel")

Description

 

Play gif (for example if autoplay feature is off).

Code Example

 

** Start playing animated gif

AGifPlay("AniGif")

 

AGifStop("ObjectLabel")

Description

 

Stop gif. The next play will continue from this frame.

Code Example

 

** Stop playing animated gif

AGifStop("AniGif")

 

AGifReset("ObjectLabel")

Description

 

Reset gif. Set the first frame.

Code Example

 

** Reset animated gif

AGifReset("AniGif")

Although using GIF is an easy way to add the image animations to MMB project, we would suggest you to use some more scripting to animate bitmap/hotspot objects. See for example giflikeanim_frommasterpage.mbd example project.