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, H

Re: [Flashnewbie] External data - What am I Doing Wrong? I 'm at
a deadline, H

2004-02-06       - By Jim Cheng

 Back
Alan Rafael Bleiweiss wrote:

> In any event, it's great to see that my fix wasn't some wacked
> hack, but it's actually the proper level loading way.

It's the simplest and most elegant fix.

I suppose someone who's really wacked out could do it in raw
bytecodes with something like the undocumented __bytecode__()
function.  I was playing with that a few days ago and got
some *really* odd bugs.

> NOW - As for the SECOND problem - where do I slide that AS in?

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)





Earn $52 per hosting referral at Lunarpages.