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
XML to OBJ with lingo
Animate Text Shadow
simComportIOCP Xtra
A* Pathfinder in Lingo
Moving tool tip
Wait for Mouseclick
ZGTSB-Shape Or Vector Shape Slider Scroll
OSControl Xtra Review
Delete a file
Play/Pause/Rewind a Animated Gif Sprite
 

 

 

Behavior Morph a Vector graphics

Added on 6/13/2000

 

Compatibilities:
behavior D7 D8 Mac Shockwave

This item has not yet been rated

Author: KumarK

Morphs Vector Graphics.

---- written for Director 8 ---
---- Kumar.K kumark@icode.com ----

--- Custom Properties ---
property Source_List,Traget_List,MorphStart,sourcemember,Targetmember,themember,Frame_Duration,Morph_frames,Flagformorph,WhereTo,zoompercent

--- Get Behavior Description List ---
on getPropertyDescriptionList me
  VectorMembersList=searchVectorMember (me)
  descriptionlist = [:]
  assignlist=["Mouse Up","Mouse Down", "Mouse Enter","Mouse Leave"]
  if the currentspritenum = 0 then exit
  if VectorMembersList.count >= 2 then
    addprop descriptionlist,#sourcemember,[#comment:"Source Vector Shape Cast member :",  
    #format:#String,#range:VectorMembersList,#default:VectorMembersList[1]]
    addprop descriptionlist, #Targetmember, [#comment:"Target Vector Shape Cast member :",
    #format:#String,#range:VectorMembersList,#default:VectorMembersList[2]]
  else
    addprop descriptionlist,#sourcemember,[#comment:"Source Vector Shape Cast member :",  
    #format:#Graphic,#default:1]
    addprop descriptionlist, #Targetmember, [#comment:"Target Vector Shape Cast member :",
    #format:#Graphic,#default:1]
  end if
  addprop descriptionlist, #Frame_Duration, [#comment:"Frame Duration for Morph", #format:#integer, #range:[#min:1,#max:120],#default:50]
  addprop descriptionlist, #zoompercent, [#comment:"Zoom Percentage while Morphing", #format:#integer, #range:[100,200,300,400,500],#default:100]    
  addprop descriptionlist, #WhereTo, [#comment:"Where To Assign this Script ?", #format:#String,#range:assignlist,#default:assignlist[1]]
  return descriptionlist
end getPropertyDescriptionList
---  

 


Contact

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

Send e-mail