Oh... fixed it..never mind my last post :D
Thanks all!
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Brought to you by Fig Leaf Software
Premie
Jesse i got a problem with the static methods u wrote... a second box
overrides the first...
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Broug
continued...
just the same way when in actionsript 1 i write:
MovieClip.prototype.myEffect = function () {
//some code here
}
myMC.myEffect();
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http:
thanks :D but why should i use static methods I am trying to create some
color effect shortcuti wont need to create new instances. If i have a
movieClip on my stage i wouldlike to have it
myMC.someEffect(par);
___
Flashcoders@chattyfig.figleaf.c
-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Glen Pike
Sent: Friday, June 08, 2007 3:58 PM
To: flashcoders@chattyfig.figleaf.com
Subject: Re: [Flashcoders] Having MovieClip behaviours in a class..
Hi,
If you are extending a movie-clip, why can't you just draw in t
this is just an example..
u know i wanted to apply some custom effect to a movieClip and using
mc.applyFX(bla bla) instead of applyFX(mc, bla bla);
Just like mc_tween's mc.alphaTo() for example...
--
O.Fouad - Digital Emotions
___
Flashcoders@chattyfig
Hi,
If you are extending a movie-clip, why can't you just draw in there??
e.g.
class DrawBox extends MovieClip {
public function drawBox() {
beginFill(0xFF,100);
moveTo(0,0);
lineTo(100,0);
lineTo(100,100);
lineTo(0,100);
lineTo(0,0);
Ok, this is just frustrating me... somebody help me please :(
i've got this class DrawBox that as it says, draws a box on the stage..
class DrawBox extends MovieClip {
var myMC:MovieClip;
public function DrawBox(boxName:String) {
this.myMC =
_root.createEmptyMovieClip(boxName,_root
8 matches
Mail list logo