  | |  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
BINGO - I'm attaching the clip to level 2 !!!
So instead of if (_root.txtField) { _root.txtField.removeMovieClip();
How do I change the _root. to look on level 2?
At 03:23 PM 2/8/04, you wrote: >Properly applied removeMovieClip() deletes the clip instanteneously - there >must be some other reason for the behavior you are describing. > >What puzzles me a bit is that you say 'attachmovie to place a dynamic text >field'. >What you are attaching is a MovieClip called 'txtField' that has a textfield >with some other instance-name on its timeline, right? > >2 reasons why removeMovieClip() can fail: >A) Wrong target-path. Check wether you really have a MovieClip on _root with >the instance name 'txtField'. >Does this > _root.txtField._x +=100; >kick the field you have in mind 100 pixels to the right? > >B) the clip is on a depth negative depth (< 0). In this case you would first >have to apply swapDepths() to move it to a positive depth and then call >removeMovieClip(). >As you are attaching the clip, you can easily verify wether you pass in a >negative depth value when calling attachMovie(); > >HTH >-- ---- ------ >Andreas Weber >motiondraw.com > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > >-- --Original Message-- -- >From: Alan Rafael Bleiweiss [mailto:visionary@(protected)] >Sent: Sunday, February 08, 2004 9:00 PM >To: flashnewbie@(protected) >Subject: [Flashnewbie] multiple instance of txtfield- retrieves prev. >data > > >I'm using multiple instances of attachmovie to place a dynamic text field >on the stage, one for >each of several "pages" on the site. > >When the user clicks a button to go to another page, I have >a _root.txtField.removeMovieClip(); >function on each button. > >The problem is that a lot of the time, the removeMovieClip action >apparantly has not yet executed >by the time the new page loads, so the other page's content (pulled from a >Cold Fusion script) >shows up again after it does the loading of the variables. > >How can I ensure the old content has been successfully dumped first? > > >-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------ >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)
-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------ 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.
|
|
 |