Re: [FlashCoders] textfield swapDepths

2006-03-08 Thread Tyler Wright
I have a DepthManager that will take care of this. It adds the .swapDepths() method to TextField and Button. More specifically, it replaces the MovieClip.removeMovie() and TextField.removeTextField() methods so that they work at whatever depth. The DepthManager is self-instantiating, but you have

Re: [FlashCoders] textfield swapDepths

2006-03-01 Thread Serge
Accidentally discovered a workaround: although you could not apply swapDepth to textField directly, you could do it with help of mc dummy: //text_txt - text field on a timeline var newTFdepth = 1; mc = this.createEmptyMovieClip(dummy, newTFdepth); trace(1 t: + text_txt.getDepth())

Re: [FlashCoders] textfield swapDepths

2006-02-10 Thread Dimitrios Bendilas
and discussion. Regards, Dimitrios - Original Message - From: Tareq AlJaber [EMAIL PROTECTED] To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Sent: Thursday, February 09, 2006 8:56 PM Subject: RE: [FlashCoders] textfield swapDepths So this code is not what you are trying

Re: [FlashCoders] textfield swapDepths

2006-02-09 Thread sarah
swapDepths can only be applied to movieclips. Put the textfield inside a movieclip and then apply swapdepths to that. -sarah Hello everyone, I'm using .swapDepths() on a textfield on the stage, that was not created dynamically, but was placed there from iside the Flash IDE. It's depth

Re: [FlashCoders] textfield swapDepths

2006-02-09 Thread Dimitrios Bendilas
:44 PM Subject: Re: [FlashCoders] textfield swapDepths swapDepths can only be applied to movieclips. Put the textfield inside a movieclip and then apply swapdepths to that. -sarah Hello everyone, I'm using .swapDepths() on a textfield on the stage, that was not created dynamically

Re: [FlashCoders] textfield swapDepths

2006-02-09 Thread Scott Fanetti
Dimitirios, Have you considered loading a blank movieclip into the textfields depth then removing the movieclip? Loading the mc into that depths should clear that depth then removing the mc should clear that memory ___ Flashcoders mailing list

Re: [FlashCoders] textfield swapDepths

2006-02-09 Thread Jeff Earhart
i dont think removeMovieClip or swapDepths works if the object is on a negative level On 2/9/06, Scott Fanetti [EMAIL PROTECTED] wrote: Dimitirios, Have you considered loading a blank movieclip into the textfields depth then removing the movieclip? Loading the mc into that depths should

Re: [FlashCoders] textfield swapDepths

2006-02-09 Thread Scott Fanetti
WOW! I never knew Flash would not remove _mcs with negative depth. I just tried it and it and it won't work. I guess you learn something new every day. import flash.geom.Rectangle import flash.display.BitmapData _mc = _root.createEmptyMovieClip(rect_mc,3); _bdm = new

Re: [FlashCoders] textfield swapDepths

2006-02-09 Thread Dimitrios Bendilas
PROTECTED] To: 'Flashcoders mailing list' flashcoders@chattyfig.figleaf.com Sent: Thursday, February 09, 2006 7:51 PM Subject: RE: [FlashCoders] textfield swapDepths someone posted a function the other day on here that means you can remove clips on a negative depth. the basis

Re: [FlashCoders] textfield swapDepths

2006-02-09 Thread JesterXL
, 2006 12:51 PM Subject: RE: [FlashCoders] textfield swapDepths someone posted a function the other day on here that means you can remove clips on a negative depth. the basis of it was a swapdepths before the remove as I recall, have a look. might even have been yesterday... -Original Message

RE: [FlashCoders] textfield swapDepths

2006-02-09 Thread Tom Rhodes
oops, sorry, I'd wrap it in a clip then... -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dimitrios Bendilas Sent: 09 February 2006 19:04 To: Flashcoders mailing list Subject: Re: [FlashCoders] textfield swapDepths Hey, Thanks everyone for your

RE: [FlashCoders] textfield swapDepths

2006-02-09 Thread Tareq AlJaber
Why in the first place you want to use negative depth? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dimitrios Bendilas Sent: Thursday, February 09, 2006 10:04 AM To: Flashcoders mailing list Subject: Re: [FlashCoders] textfield swapDepths Hey

Re: [FlashCoders] textfield swapDepths

2006-02-09 Thread Dimitrios Bendilas
mailing list flashcoders@chattyfig.figleaf.com Sent: Thursday, February 09, 2006 8:28 PM Subject: RE: [FlashCoders] textfield swapDepths Why in the first place you want to use negative depth? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dimitrios

RE: [FlashCoders] textfield swapDepths

2006-02-09 Thread Tareq AlJaber
mailing list flashcoders@chattyfig.figleaf.com Sent: Thursday, February 09, 2006 8:28 PM Subject: RE: [FlashCoders] textfield swapDepths Why in the first place you want to use negative depth? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dimitrios

RE: [FlashCoders] textfield swapDepths

2006-02-09 Thread Francis Cheng
- From: [EMAIL PROTECTED] [mailto:flashcoders- [EMAIL PROTECTED] On Behalf Of JesterXL Sent: Thursday, February 09, 2006 10:14 AM To: Flashcoders mailing list Subject: Re: [FlashCoders] textfield swapDepths function removeMofo(mc) { var theD = mc.getDepth(); if ( mc.getDepth() -1

Re: [FlashCoders] textfield swapDepths

2006-02-09 Thread JesterXL
Tag team baby! Thanks Francis. - Original Message - From: Francis Cheng [EMAIL PROTECTED] To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Sent: Thursday, February 09, 2006 3:55 PM Subject: RE: [FlashCoders] textfield swapDepths A couple corrections: 1. Use instead

RE: [FlashCoders] textfield swapDepths

2006-02-09 Thread Scott Hyndman
Ah, gotcha -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of JesterXL Sent: February 9, 2006 4:52 PM To: Flashcoders mailing list Subject: Re: [FlashCoders] textfield swapDepths Although you can put mc's in depths higher than 1048575, you cannot remove