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
Quit Message
Import image (at runtime)
LEAP YEAR
Sharpen Filter - Imaging Lingo
Format Image
Video Codecs
Director in Other Programs
Toggle Static Property of a Flash sprite
Mouse Clicks: left, left double, right, right double
UltimateMUI
 

 

 

Behavior SM scroll slowdown

Added on 4/15/2000

 

Compatibilities:
behavior D7 D8 Mac PC Shockwave

This item has not yet been rated

Author: BrentMoseley

Part 3/3 of the Scrolling menu set. This behavior requires all 3 parts to use.SM Sprite Scroll, SM Scroll Control, and SM Slowdown.

Download PC Source    Download Mac Source
--Scroll slow down part 3/3 of the Scroll Menu set.
--Created by Brent Moseley April 2000
--brent099@xoommail.com

property slowspeed

on mouseenter me
  sendallsprites(#goslow, 1)
end

on mouseleave me
  sendallsprites(#gonormal)
end


on getPropertyDescriptionList me
  set pdlist to [:]
  addprop pdlist, #slowspeed, [#comment:"Speed to slow scroll sprites to", #format:#integer, #default:1]
  return pdlist
end getPropertyDescriptionList


on getBehaviorDescription
  return "Optional behavior for use with "SCROLL SPRITE"." & RETURN & RETURN &
  "Slows down scrolling sprites to selected speed." & RETURN &
  "Attach to any sprite, but, you will get best results if you attach it to the scrolling sprites themselves."
  & RETURN & RETURN & "Actions are called on mouseenter and moueleave.  You can change them to something else, if you wish."
end

 


Contact

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

Send e-mail