  | |  Re: [Flashnewbie] multiple instance of txtfield- retrieves
prev. data | Re: [Flashnewbie] multiple instance of txtfield- retrieves
prev. data 2004-02-08 - By Alan Rafael Bleiweiss
Back
OK Now I'm all screwy... _level2 doesn't work....
Here's the code for loading the txtfield movieclip:
attachMovie("txtField","txtField",2); _root.txtField._x = 38; _root.txtField._y = 95;
and here's the code I'm using on the button events to remove it:
on(press) { if (_root.txtField) { _root.txtField.removeMovieClip(2); } }
This does clear the textfield, but doesn't squash the data previously added to it SO I tried: on(press) { if (_level2.txtField) { _level2.txtField.removeMovieClip(2); } }
But doing that results in the txtfield remaining on the stage overlaying anything else that I go to.
>if (_level2.txtField) { > _level2.txtField.removeMovieClip(); > >Richard > > > > > > > How do I change the _root. to look on level 2? > > > > > > > > >-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------ >Supported by Fig Leaf Software >-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------ >Lower Prices for Certified Training! Check out new lower prices for >Certified Macromedia Training from Fig Leaf Software. Expand your >skill set with courses in ColdFusion, Flash, Rich Internet >Applications and .NET in the new year. Fig Leaf Software provides >the highest caliber instruction at our training centers in Washington >D.C., Atlanta, Chicago, Baltimore, Northern Virginia, or on-site at >your location. > >Get the details at http://training.figleaf.com/ >-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- -- >To unsubscribe, e-mail: flashnewbie-unsubscribe@(protected) >For additional commands, e-mail: flashnewbie-help@(protected)
-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------ Supported by Fig Leaf Software -- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------ Lower Prices for Certified Training! Check out new lower prices for Certified Macromedia Training from Fig Leaf Software. Expand your skill set with courses in ColdFusion, Flash, Rich Internet Applications and .NET in the new year. Fig Leaf Software provides the highest caliber instruction at our training centers in Washington D.C., Atlanta, Chicago, Baltimore, Northern Virginia, or on-site at your location.
Get the details at http://training.figleaf.com/ -- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- -- To unsubscribe, e-mail: flashnewbie-unsubscribe@(protected) For additional commands, e-mail: flashnewbie-help@(protected)
Earn $52 per hosting referral at Lunarpages.
|
|
 |