  | |  | AttachMovie | AttachMovie
2004-02-17 - By Ladislav Zigo
Back MovieClip.prototype.$attachMovie = MovieClip.prototype.attachMovie;
MovieClip.prototype.attachMovie = function(id, name, depth, init){
// add here depth manipulation
return this.$attachMovie(id, name, depth, init);
}
// hide from for in loops
ASSetPropFlags(MovieClip.prototype, "$attachMovie ",1);
-- -- Original Message -- --
From: "Pedro Furtado " <pedro@(protected) >
To: <flashcoders@(protected) >
Sent: 17. februára 2004 16:59
Subject: Re: [Flashcoders] AttachMovie
> My point is to remove the depth from attachMovie/removeMovieclip
> methods, thus creating and independent manager, this works great for me
> as i only work in one place,
> So extending MC, even tough i inherit from it, is not an option, as the
> depth is defined in the method.
>
>
> Johan Nel wrote:
>
> >if u inherit from MC then u can handle that if u want to and just call
super.sttachMovie etc to do the attach.
> >
> >-- --Original Message-- --
> >From: Pedro Furtado [mailto:pedro@(protected)]
> >Sent: Tuesday, February 17, 2004 5:41 PM
> >To: flashcoders@(protected)
> >Subject: Re: [Flashcoders] AttachMovie
> >
> >
> >no no :d
> >
> >To add for example a $depth++ and $depth-- respectively
> >
> >Johan Nel wrote:
> >
> >
> >
> > >huh?
> > >what u mean? overriding the method?
> > >
> > >-- --Original Message-- --
> > >From: Pedro Furtado [mailto:pedro@(protected)]
> > >Sent: Tuesday, February 17, 2004 5:29 PM
> > >To: flashcoders@(protected)
> > >Subject: [Flashcoders] AttachMovie
> > >
> > >
> > >Cheers,
> > >Is it possible to add functionality to attachMovie and RemoveMovieClip?
> > >How?
> > >tia!
> > >
> > >
> > >
> > >
> > >
> >
> >
> >
>
> --
> Kindest Regards
> -- ---- ---- ---- --
> Pedro Furtado
> www.silikonski.com
>
>
>
> =-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --
> Supported by Fig Leaf Software
> =-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --
> Be sure to check the archives and the wiki:
> http://chattyfig.figleaf.com/
> =-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --
> http://chattyfig.figleaf.com/cgi-bin/ezmlm-cgi?1:mss:104468
> =-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --
> To unsubscribe send a blank e-mail to:
> Normal Mode: flashcoders-unsubscribe@(protected)
> Digest Mode: flashcoders-digest-unsubscrive@(protected)
>
>
>
> -- ---- --
> * www.inMail.sk - Vasa emailova adresa na cely zivot ZDARMA
> * Mail neobsahuje virusy. Skontrolovane antivirusom NOD32 (www.eset.sk)
> * www.SlovakNET.sk - profesionalny webhosting, domena .SK ZADARMO
> * Zoner Media Explorer 6 - stiahnite si pomocnika pre digitalnu fotografiu
(http://www.zoner.sk/zme6)
>
>
>
-- ---- --
* www.inMail.sk - Vasa emailova adresa na cely zivot ZDARMA
* Mail neobsahuje virusy. Skontrolovane antivirusom NOD32 (www.eset.sk)
* www.SlovakNET.sk - profesionalny webhosting, domena .SK ZADARMO
* Zoner Media Explorer 6 - stiahnite si pomocnika pre digitalnu fotografiu (http://www.zoner.sk/zme6)
=-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --
Supported by Fig Leaf Software
=-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --
Be sure to check the archives and the wiki:
http://chattyfig.figleaf.com/
=-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --
http://chattyfig.figleaf.com/cgi-bin/ezmlm-cgi?1:mss:104473
=-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --
To unsubscribe send a blank e-mail to:
Normal Mode: flashcoders-unsubscribe@(protected)
Digest Mode: flashcoders-digest-unsubscrive@(protected)
|
|
 |