PDA

View Full Version : will this be possible?


j-image
08-19-2002, 01:22 PM
can a movieclip evolve into another movieclip??


ex: first movie clip is a circle and then by pressing on a letter from the keyborad it becomes an oval.


will that be possible??

xxlm
08-20-2002, 12:24 AM
Yep, it is possible. You have to use actionscript drawing.
Still in the tuts section!
;)

vosgien
08-20-2002, 08:26 AM
Hi,
you could do it by placing this code on your circle mc :

onClipEvent (keyDown) {
this._xscale=50(or whatever size you want your oval to be );
}

Cheers

Vosgien

farafiro
08-20-2002, 09:15 AM
there is a lotta ways do that??

where is the drawing tut XXLM

xxlm
08-21-2002, 12:20 AM
OOppps, I though I've seen it...
But if it's not here, I think you can find it in another site, like bit-101 or others.. No?

The way I've look is to redefine the shape with actionscript. So don't use scale or what. Simply change the shape... (curveTo..?)
:confused: