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
myScreenSaver
FileXtra
Wait for a Keypress
base64 encode/decode
Domicilia
Scriptzorz
Blur Rollover-Alphamania
Image Mover
ControlXtra
Impressario Find Dialog
 

 

 

Behavior Vector Shape - Create Rectangle

Added on 2/7/2006

 

Compatibilities:
D8 D8_5 D9 Mac PC

This item has not yet been rated

Author: Chunick (website)

Pass the width and height and a vertexList will be returned which consists of a retangular vector shape.

on createRectangle (width, height)
  vertList = [[#vertex: point(0, 0)], [#vertex: point(width, 0)], [#vertex: point(width, height)], [#vertex: point(0, height)]]
  
  return vertList

end

 


Contact

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

Send e-mail