Search content:

 

Personal Menu
Username:
Password:
Save password

Become a member

Forgot Password?

 

Don't miss these
Shadow Maker
merge sorting including accent marked strings
Stop MPEG with MCI commands
RoboHelp 5 Review
Initialize QuickTime Video (no white flash)
UltimateNet Xtra
Russian site
Lingo Library
Image capture Xtra
Hierarchcal Menu using Imaging Lingo
MediaMacros Xtras Mall
 

 

 

Behavior Wait for X seconds, go to marker

Added on 3/16/2000

 

Compatibilities:
behavior D7 D8 Mac PC Shockwave

This item has not yet been rated

Author: MediaMacros (website)

Drop this on a frame and it will loop for the defined number of seconds and then go to the chosen marker.

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

property theTime, howLong, goWhere

on getPropertyDescriptionList me
  p_list = [:]
  p_list.addProp(#howLong, [#format : #float, #default : 2, #comment : "How long in seconds to wait:"])
  p_list.addProp(#goWhere, [#format : #marker, #default : #next, #comment : "What marker to go to after time has elapsed:"])
  return p_list
end


on exitFrame me
  if theTime = void then
    theTime = the timer + (howLong * 60)
    go the frame  
  else
    if the timer < theTime then
      go the frame
    else
      go goWhere
    end if
  end if
end

on getBehaviorDescription me
  return "Place this on a frame script and assign it a number of seconds and a marker.  It will loop on that frame until the time is up and then jump to the specified marker."
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