Optimizing SWF files with Flex Optimizer

I found a reference to optimizing SWC files with Flex Optimizer and I figured I would run some tests through SWF files and see what effects it had in it. To my surprise the Optimizer tool did optimize the SWF files but just by a few bytes: Test 1: …_concept1_v1_alt.swf (56569 bytes) …_concept1_v1_alt_optimized.swf (56456 bytes) […]

PureMVC Framework from The Flex Show podcast

These are notes that I took while listening to the podcast, by no means the information should be taken as final. Feel free to listen to the podcast and let me know if you notice any discrepancies from what it was said on the podcast and what was written here. Notes from PureMVC Framework – […]

Mike Chambers asks: Are you still using ActionScript 2? (or 1)?

Mike Chambers posted the question on his site: Are you still using ActionScript 2? (or 1)? Many people have placed their 2 cents to answer and I wanted to take a stab at it: Short Answer : AS1 = No, AS2 = Yes. Long Answer: I haven’t touched AS1 for years now and I haven’t […]

Papervision AS2 reflected bitmap

I have been working on a paper vision in AS2, as you know the AS2 version was dropped as soon as AS3 was out so many of the PPV2 features were never applied to the first version. Anyways, if you ever wanted to portrait a bitmap on one side reflected directly from the library, this […]

The benefit of always cleaning after yourself (AS Analogy)

When we were kids we had the pleasure of having mom, dad or an older sibling cleaning after ourselves. So if we left any dirty clothes on the floor or any dirty dishes on the table after eating any older mature adult would come up and clean up the mess. As we grew old hopefully […]

Documenting your classes with ASDoc in a MAC

After following different tutorials of how to run ASDoc on your computer and failing I finally was able to figure out a way to have it running with almost no issues at all, so I thought I would share my steps here for those of you still struggling with he situation. 1. First and most […]

Stop sound of loaded SWFs in AS3

Until now I didn’t have any issue when removing an item from the display list until the item had sound in it. This has to do with an application I am working on which loads several SWFs and they have to be turned “on” and “off”. When the SWF has to be turned off the […]

Error #1063 When loading XML

If you get the following error when loading XML and trying to get the node attribute: ArgumentError: Error #1063: Argument count mismatch. It could be that you typed attributes instead of attribute.

DescribeType for AS 3.0

Use describeType rather than a for-loop to enlist an object properties.

Setmask fails with movieclip

f your setmask(mask) fails make sure the movieclip you are masking is not too long or the set masking will fail, even if you set cacheAsBitmap = true.