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
Select It
Change bitmap brightness and contrast behaviour
Mouse Clicks: left, left double, right, right double
Print Dialog Behavior
Bevel Follow Mouse or Sprite-Alphamania
Hide mouse on idle
RC4 Encryption Algorithm Script
Morph a Vector graphics
Wait for a Keypress
Director Showcase Site - Behaviors, interactive examples, Lingo to ActionScript translator & more
 

 

 

Behavior Pause Button

Added on 6/19/2000

 

Compatibilities:
behavior D7 D8 Mac PC Shockwave

This item has not yet been rated

Author: StuartAcklam (website)

Wait in frame and pause in one if global gStopStart = "STOP" then in will stop(pause) in the frame this can be used for pause an automatic slide show

property ptimeToWait
property endtime
global gStopStart

on prepareframe me
   if voidP(endtime) then
      endtime = the ticks + ptimeToWait
   end if
end

on exitframe me
   if gStopStart = "STOP" then
     go the frame
     abort
   end if
   if the ticks > endtime then
     go the frame + 1
   end if
   go the frame
end

on getPropertyDescriptionList
   set p_list = [
     #ptimeToWait: [ #comment:   "timeToWait:",
                     #format:   #integer,
                     #default:   60 ]]
   return p_list
end

 


Contact

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

Send e-mail