I have run into some strange behaviour in Flash and Firefox recently. We had a Flash movie (AS3) that loads up, in its document classes constructor it sets a few event handlers on loaderInfo: this.loaderInfo.addEventListener(Event.COMPLETE, loadComplete); this.loaderInfo.addEventListener(ProgressEvent.PROGRESS, progress); this.loaderInfo.addEventListener(IOErrorEvent.IO_ERROR, ioErrorHandler); this.loaderInfo.addEventListener(HTTPStatusEvent.HTTP_STATUS, httpStatusHandler); The problem taht seemed to be happening (most of the time, ie not… Read more »
Monthly Archives: December 2009
A minor point – but if you can’t set the dimensions or x,y of an element in the Size inspector (the boxes appear to be disabled) check the Attributes inspector and make sure that all the ‘Simulated Interface Elements’ (e.g. status bar, toolbar etc) are set to none. That should fix it!
Don’t forget, this method actually embeds an <img> tag in the document, so the path to the image in your CSS file needs to be relative to the actual webpage, and not the CSS file. So if you’re copying and pasting the CSS for a background image from your main CSS file, don’t forget to… Read more »
If you tell the Location Manager to start updating, it will keep returning updates indefinitely until it’s told to stop. It returns the new location to its delegate method: didUpdateToLocation (Like a callback). It will keep trying to get you the most accurate location it can – when you create the Location Manager you can… Read more »