Search content:

 

Personal Menu
Username:
Password:
Save password

Become a member

Forgot Password?

 

Don't miss these
Director and online database interaction
Opening and closing a CD-door behaviour
Imaging Lingo - Hyporoid Illusion
Check For Previous Open
Random Sprite Swap
Check QuickTime info
Set Cast member Properties of a QuickTime
MasterApp
qwiScriptStyler
Dither Black and White Image - Imaging Lingo
MediaMacros Xtras Mall
 

 

 

Behavior blending on casts

Added on 4/27/2004

 

Compatibilities:

This item has not yet been rated

Author: spiderman3388

the behavior enables u to blend on two diffrent casts members the cast to fade must be preceeded by the original one

--This Code is my FIRST CODE but ithink it is a good one
--This code is from ur friendly nieghbour *Spiderman*
--I hope u like it


property f
property Mysprite
property i
property icastnum
on mousewithin me
  Mysprite=me.spritenum
  i=me.spritenum -1
  put(1) into f
  if f=1 then
    if the blend of sprite(mysprite)>0 then
      the castnum of sprite(i) =the castnum of sprite(mysprite)+1
      sprite(i).locH = sprite(mysprite).loch
      sprite(i).locV = sprite(mysprite).locv
      sprite(i).type = 1
      sprite(i).foreColor = 255
      set the blend of sprite(mysprite) to the blend of sprite(mysprite) -5
    end if
  end if
end



on mouseleave me
  put(0) into f
end
on exitframe me
  if f=0 then
    if the blend of sprite(mysprite)<100 then
      set the blend of sprite(mysprite)to the blend of sprite(mysprite)+5
    end if
  end if
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