Search content:

 

Personal Menu
Username:
Password:
Save password

Become a member

Forgot Password?

 

Don't miss these
Cuebert
Command Line Arguments, 3 State Buttons, and Limited Fields
bkMixer
RTF files using free FileIOXtra
alt.multimedia.director
Vector Shapes - Create Donut
Alphamania
Scroll Sprite by MouseLoc Behavior
SpriTec Xtra! - Export your Cast and Score
Copy and Paste inside editable fields
MediaMacros Xtras Mall
 

 

 

Behavior FrameReady()

Added on 1/21/2002

 

Compatibilities:

This item has not yet been rated

Author: tushonline (website)

checks if frame is reay

--------------------------------------------- tushar
-- ----------------------------------------------tushonline.8m.com
----------------------------------------------------www.imepl.com
------------------------------------------------------ www.run4fx.com

property pmarker, pframe, ploop

on getpropertydescriptionlist me
  list = [:]
  addprop list, #pframe, [#comment: "Select Frame up to which you want data to be ready", #format: #string,#default: "MyFrame"]
  addprop list, #pmarker, [#comment: "Select marker where you want to jump after loading", #format: #marker,#default: #mymarkers]
  return list
end

on myMarkers me -- see ^getPropertyDescriptionList^
  localMarkerList = []
  duplicatesList = []
  markerString = the labelList
  delete the last char of markerString
  markerCount = the number of lines of markerString
  repeat with i = 1 to markerCount
    theMarker = markerString.line [i]
    if localMarkerList.getPos(theMarker) then
      -- Duplicate marker name
      if not duplicatesList.getPos(theMarker) then
        duplicatesList.append(theMarker)
      end if
    else
      localMarkerList.append(theMarker)
    end if
  end repeat
  if duplicatesList.count() then
    return [localMarkerList, duplicatesList]
  else
    return [localMarkerList]
  end if
end GetMarkers

on enterframe me
  if frameready (pframe) then go to pmarker
  else
    go loop
  end if
end

on getbehaviordescription me
  return "This behavior make a loop at current marker till the frame specified is ready."&return& "tushonline.8m.com"&return&"www.imepl.com"
  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