RE: [Flashcoders] Simulated load time and preloading XML

2010-03-08 Thread Merrill, Jason
>><> >>How would I do that? package utils { import events.XMLFileLoaderEvent; import flash.events.Event; import flash.events.EventDispatcher; import flash.net.URLLoader; import flash.net.URLRequest; public class XMLFileLoader extends Event

RE: [Flashcoders] Simulated load time and preloading XML

2010-03-08 Thread Lehr, Theodore
<> How would I do that? From: flashcoders-boun...@chattyfig.figleaf.com [flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Kerry Thompson [al...@cyberiantiger.biz] Sent: Monday, March 08, 2010 3:05 PM To: Flash Coders List Subject: Re: [Flashcoders

Re: [Flashcoders] Simulated load time and preloading XML

2010-03-08 Thread Kerry Thompson
Theodore Lehr wrote: > Can I put a pre-loader on XML? I'm not sure this is what you're looking for, but yes, you can preload your XML. I've done it often--I load the XML from the server, and when it's done I go about my other business. Often I'll have an XML loader running simultaneously with oth

[Flashcoders] Simulated load time and preloading XML

2010-03-08 Thread Lehr, Theodore
Can I put a pre-loader on XML? Also, is there a way to slowdown load time to test a preloader? I looked at a movie on another machine and it loaded slowly causing things to go ascue... I want to be able to test it on my machine - mine is faster so I am finding it hard to duplicate

Re: [Flashcoders] Re: swf doesn't work the same online

2010-03-08 Thread Glen Pike
Hi, You are creating your sprites inside your nav function as local variables - they are probably getting garbage collected because as soon as nav returns nsprite will cease to exist in your code and will be "reaped" by the gc at any time the Flash Player chooses after that. I recommen

RE: [Flashcoders] swf doesn't work the same online

2010-03-08 Thread Mattheis, Erik (MIN - WSW)
What's broken about it? I recently had an issue with filters working differently in the browser than the authoring environment ... _ _ _ Erik Mattheis Senior Web Developer Minneapolis T  952 346 6610 C 612 377 2272 Weber Shandwick Advocacy starts here. PRWeek Global Agency Report Card 2009 - Go

[Flashcoders] Re: swf doesn't work the same online

2010-03-08 Thread John Singleton
Here's the complete code. Again, all this works fine in my swf in Flash, but when I upload the swf it breaks when I roll over "Home". The color changes and won't change back when I roll out. No other nav widget works at all. function nav(nname:String, nurl:String, myX:int, bgcolor:uint):void

Re: [Flashcoders] swf doesn't work the same online

2010-03-08 Thread John Singleton
From: Valentin Schmidt To: Flash Coders List Sent: Mon, March 8, 2010 1:48:18 PM Subject: Re: [Flashcoders] swf doesn't work the same online > Hi; I built a swf that works the way I want it in Flash, but when I > upload it, it acts differently! I built butto

Re: [Flashcoders] swf doesn't work the same online

2010-03-08 Thread Valentin Schmidt
> Hi; I built a swf that works the way I want it in Flash, but when I > upload it, it acts differently! I built buttons in as3 like this: your code is corrupted: > function onRollOutHandler(e:MouseEvent) > { > if (e.currentTarget.name == ' Home ') > { >

[Flashcoders] swf doesn't work the same online

2010-03-08 Thread John Singleton
Hi; I built a swf that works the way I want it in Flash, but when I upload it, it acts differently! I built buttons in as3 like this: function nav(nname:String, nurl:String, myX:int, bgcolor:uint):void { myfont2 = 'Arial'; mydize = 15; mytxtcolor = 0x00

Re: [Flashcoders] OOP Books (OT)

2010-03-08 Thread Mark Burvill
Advanced Actionscript 3 with Design Patterns by Joey Lott and Danny Patterson is excellent for good solid AS3 applications of standard patterns http://www.amazon.co.uk/gp/product/0321426568/ref=oss_product -- Mark Burvill Antifuzz www.antifuzz.com twitter.com/anti

Re: [Flashcoders] OOP Books (OT)

2010-03-08 Thread Geografiek
Hi Susan, I liked 'The Object-Oriented Thought Process' by Matt Weisfeld (not Actionscript) and of course Colin Moock's 'Essential Actionscript 3.0' HTH Willem van den Goorbergh On 5-mrt-2010, at 18:55, Susan Day wrote: I'm going to start another thread on this, a bit OT. What are the best