Search content:

 

Personal Menu
Username:
Password:
Save password

Become a member

Forgot Password?

 

Don't miss these
Text scrolling effect
Sound pan, rate shift
Marks button, 4 picts with rollover, rolloff
SunTek TEKsearch
Easy Templates Flash Website Kit
Go to Different Movie
Play/Pause/Rewind a Animated Gif Sprite
Set Reveal Method-Alphamania
Scale Vertexlist
Multiple Monitors with Director
MediaMacros Xtras Mall
 

 

 

FAQ Sprite generation

Added on 4/3/2001

 

Compatibilities:

Rating:

Author: BrentMoseley

How do I generate sprites on the fly?

Use the puppetsprite command to gain complete control over a sprite channel with Lingo. You can then add behaviors to the sprite with the scriptinstancelist property. So a script to setup sprites would look something like this:

on makesprite sNum, mName, sLoc
puppetsprite sNum, true --puppet the sprite
add sprite(sNum).scriptinstancelist, new(script "myBehavior") --add behavior
sprite(sNum).member = mName --set member
sprite(sNum).ink = 36 --set background transparent ink
sprite(sNum).loc = sloc --place sprite
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