  | |  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 Alan Rafael Bleiweiss
Back Jim,
You're awesome... Interestingly enough, I just hacked and hacked and for the FIRST problem at least, I came up with the same fixes. DOH. If I'd thought this all through earlier (like six hours ago)...
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.
I know - loadvars is something I WILL eventually try. It's just that I've busted my butt to even get loadvariablesnum to work, so I ain't runnin away from it just yet! :-)
NOW - As for the SECOND problem - where do I slide that AS in?
As you saw, I'm using a timeline (other than the layer I had temporarily slapped in for that ONE actionscript for the loadvariablesnum, I'm running all my scripts on the top layer, it's just that things jump all over the place.
What's the proper location for this code, regardless of where people click to LEAVE this page?
To answer your second question:
>>SECOND PROBLEM - After this page opens, when I navigate to HOME, or ABOUT >>or SALES REPS, the loaded mc remains on the stage as the top level... How >>do I unload >>this page when clicking on any other button? > >Try something like _root.txtField.removeMovieClip() to undo >your earlier attachMovie(...) that loaded the movieClip. > >Wow. This one was kind of tough...it took me about an hour >to figure everything out and then write down my findings. >However, I think it's a good refresher for everyone on the >list as to how levels work in Flash and why they can be a >source of a good bit of confusion. I rather dislike levels >myself. > >If you're using Flash MX or higher, a better choice might >be to use the LoadVars class instead of loadVariablesNum(), >as you can then define a callback function to be triggered >when the data arrives, rather than having to poll for it >every so often. > >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.
|
|
 |