Back to blogging, working on a couple of projects: I was importing an XML file using the standard technique of using a URLLoader, and in the result handler, setting the XML file with: var result:XML = new XML(event.target.data); But I…
Back to blogging, working on a couple of projects: I was importing an XML file using the standard technique of using a URLLoader, and in the result handler, setting the XML file with: var result:XML = new XML(event.target.data); But I…
Went to the Latin Flash tour last week in Bogotá, and met Lee Brimelow. He went over and demonstrated some of the latest updates to Flash CS5 and the FlashPlayer 10.2. Features that got my interest: code snippets panel(frequently used…
There´s been not much movement in this blog for a while because I´ve been travelling South America for a few months and am currently in Bogotá, Colombia. If by chance anyone in Bogotá is reading this, give me a shout.…
I guess I hadn’t thought too deeply about it, but I always thought that the ‘as’ Operator was the equivalent of typing a variable. pseudo code example: or to give a real world example: or alternatively: But this code will…
I never really understood why when you define a component parameter, you can define its type. Wouldn’t the variable type that the parameter is related to, always define the type of the parameter? Aren’t parameter and variable types synonymous? Well,…
A little addition to a previous post on adding symbols dynamically from the library. I was having difficulty adding classes(that weren’t in the library) dynamically – they weren’t being recognised. var classRef:Class = getDefinitionByName(“Square”) as Class; var shape:IShape= new classRef()…
I’ve been wondering why items in my library disappear occasionally – including the library buttons and column headers! I’ve narrowed the problem down to a CS4 bug. Steps to reproduce bug: 1.Create a MovieClip 2. Select ‘Component Definition’ 3. Add…
It has always bothered me that animations of raster images are always jerky when they get to the point of animating less than a pixel per frame. Flash assumes that rasters should only live on the exact pixel. This can…
You must be logged in to post a comment.