Mailing List
Home
Forum Home
Flash Pro
Subjects
Firework Effect
setInterval bug identified and fixed
setInterval bug identified and fixed
ScrollPane component doesn 't auto update
Help: MX 2004 How to script a print button to print the entire sli
Event Dispatcher between classes
memory management removeMovieClip /
MX2004 Dataset itemClassName
Order of events per frame
XML to Object help
Textfield prototype question
Flash and QuickTime VR
Reading and displaying RSS feeds in Flash MX
Flash MX 2004 Sucks
AW: [Flashcoders] Switch/Case vs If/else
AW: [Flashcoders] Switch/Case vs If/else
Flash Interface with 10mb xml file
Web Service Results
Listener Object 's best practice
 
Search:  
Power your search with and, or, +, -, or "some phrase" operators.
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.