Search content:

 

Personal Menu
Username:
Password:
Save password

Become a member

Forgot Password?

 

Don't miss these
DragNDrop Behaviour
Vector Shapes - Create Spiral & Create Spiral Twist
Director 8 & Lingo Fast and Easy Web Development (With CD-ROM)
Rotate Image Algorithm - Imaging Lingo
LineHiLiter
Returns Rect of visible PDF doc within an Impressario sprite
Cache Loaded - Valentina
System Info into a field member
XTinyadoDB xtra
Scroll Up/Down
MediaMacros Xtras Mall
 

 

 

Behavior RGB Shifter-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 Red,Grn,Blu

on getPropertyDescriptionList
  if not alphamaniacCheck(the currentSpriteNum) then exit
  
  set pList=[:]
  addProp pList,#Red,[format:#integer,comment:"Red:",¬
                      Default:0,range:[min:-255,max:255]]
  addProp pList,#Grn,[format:#integer,comment:"Green:",¬
                      Default:0,range:[min:-255,max:255]]
  addProp pList,#Blu,[format:#integer,comment:"Blue :",¬
                      Default:0,range:[min:-255,max:255]]
  return pList
end

on beginSprite me
  set s=the spriteNum of me
  if not alphaManiac(s) then exit
  
  rgb(sprite s,[redShift:Red,greenShift:Grn,blueShift:Blu])
end

on getBehaviorDescription me
  set msg= "Use this simple shifter to adjust the color values of any AlphaMania Sprite."
  put return & return after msg
  put "Parameters:" & return & "-----------" & return  after msg
  put "* Red:  Shift the Red" & return after msg
  put "* Green:  Adjust the Green" & return after msg
  put "* Blue:  Adjust the blue" 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