  | |  Re: [Flashnewbie] External data - What am I Doing Wrong? I 'm
at a deadline, | Re: [Flashnewbie] External data - What am I Doing Wrong? I 'm
at a deadline, 2004-02-06 - By Alan Rafael Bleiweiss
Back OH Sure - now you're challenging me to bring up an even bigger question...
If I put the on(press) removemovieclip code in every one of them buttons, AND if I want to have dynamic CF generated text on almost every page, can I get away with using that one textfield on all those pages? I figure I can because the script will be doing the loadvariablesnum for a unique file on each page. Make sense?
I sure have NO desire to have sixteen uniquely named text fields and sixteen corresponding removemovieclip calls!
Anyway, rather than waiting for your reply I'm going to attempt this because it just sits right in my brain.
I'd place it in the button handlers for the buttons that a >user would push to leave the "Staff Roster" page. Since the >reference is derived from the _root, that line of code should >work regardless of where it's called. > >I'd place something like the following inside each button's >Actionscript code block (e.g. click the button and then open >the Actions panel): > ><code> > >on(press) { > > // Get rid of the Staff Roster text if it's still there > if (_root.txtField) { > _root.txtField.removeMovieClip(); > } > > // Modify this for each button to go the right frame > gotoAndPlay(1084); >} > ></code> > >Regards, >Jim > > > >-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------ >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.
|
|
 |