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
Authorware 5 Attain Authorized
Macromedia Director 7 Lingo training CD
Larger Graphics in Director than outside
Checking for an internet connection
Drag Light-Alphamania
myPrint
Internet Explorer 4 - Mac
DeadC Scroll
Vector Shape - Create Sine Wave
Imaging Lingo Table
 

 

 

Behavior Rollover Shift Hue-Alphamania

Added on 6/10/1999

 

Compatibilities:
D6_5 D7 D8 Mac PC Script

Required Xtras:
Alphamania
Effector Set I for Alphamania

This item has not yet been rated

Author: MediaLab (website)

Requires Effector Set 1 Behavior Support Scripts

Property pOff,pOn,pSpeed

on getPropertyDescriptionList
  if not alphamaniacCheck(the currentSpriteNum) then exit
  
  set pList=[:]
  addProp pList,#pOff,[format:#integer,comment:"Off Hue (degrees):",¬
                         Default:0, range:[min:0,max:360]]
  addProp pList,#pOn,[format:#integer,comment:"On Hue (degrees):",¬
                       Default:0, range:[min:0,max:360]]
  addProp pList,#pSpeed,[format:#integer,comment:"Frames:", Default:10]
  return pList
end

on beginSprite me
  set s=the spriteNum of me
  if not alphaManiac(s) then exit
  
  hsb(sprite s,[hueShift:pOff])
end

on mouseEnter me
  set s=the spriteNum of me
  if not alphaManiac(s) then exit
  
  hsb(sprite s,[animMode:#Range,numFrames:pSpeed, startHue:pOff, endHue:pOn])
end

on mouseLeave me
  set s=the spriteNum of me
  if not alphaManiac(s) then exit
  
  hsb(sprite s,[animMode:#Range,numFrames:pSpeed, startHue:pOn, endHue:pOff])
  
end

 


Contact

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

Send e-mail