Search content:

 

Personal Menu
Username:
Password:
Save password

Become a member

Forgot Password?

 

Don't miss these
cXtraSoundRec
SmoothMove ActiveX
Toggle ButtonsEnabled Property of a Flash Member
Change ShapeType of a Shape cast member
Read Text from a file
Custom Scroll Bars
Using Director 7 (Special Edition)
Particle Explosion Effect
ScrnXtra
FileFlex
MediaMacros Xtras Mall
 

 

 

Behavior Color Fader-Alphamania

Added on 6/10/1999

 

Compatibilities:
D6_5 D7 D8 Mac PC Script

This item has not yet been rated

Author: MediaLab (website)

These behaviors are for use with the Alphamania Xtra and its add-on effector sets. Requires Effector Set 1 Behavior Support Scripts

Property pStart,pEnd,pSpeed

on getPropertyDescriptionList
  if not alphamaniacCheck(the currentSpriteNum) then exit
  
  set pList=[:]
  addProp pList,#pStart,[format:#integer,comment:"Start Saturation %:",¬
                         Default:0, range:[min:-255,max:255]]
  addProp pList,#pEnd,[format:#integer,comment:"End Saturation %:",¬
                       Default:0, range:[min:-255,max:255]]
  addProp pList,#pSpeed,[format:#integer,comment:"Frames:", Default:30]
  return pList
end

on beginSprite me
  set s=the spriteNum of me
  if not alphaManiac(s) then exit
  
  hsb(sprite s,[animMode:#Range,numFrames:pSpeed, startSat:pStart, endSat:pEnd])
end

on getBehaviorDescription me
  set msg= "Fade the color on your AlphaManiac!"
  put return & return after msg
  put "Parameters:" & return & "-----------" & return  after msg
  put "*  Start Saturation %: -255 to 255" & return after msg
  put "*     End Saturation %: -255 to 255" & return after msg
  put "*                    Frames: Lower numbers are faster"  after msg
  put return & "-----------" & return & return  & ">>>" && amTip()  after msg
  return msg
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