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] 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
Reply:     1     2     3  

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.