1 Star2 Stars3 Stars4 Stars5 Stars
Loading ... Loading ...

Link: Actionscript 3 – Don’t User the Timer to Make Timers

An interesting bug in the Timer class -http://flexandair.com/?p=32

Turn’s out it can’t count properly – helpful eh?

1 Star2 Stars3 Stars4 Stars5 Stars
Loading ... Loading ...

Tutorial link: Getting started in Papervision 3D

This tutorial goes from the basics and is really comprehensive.

http://www.marcpelland.com/2009/01/22/guide-to-getting-started-in-papervision-3d/

1 Star2 Stars3 Stars4 Stars5 Stars
Loading ... Loading ...

Add undo/redo functionality to your textfields

http://jacwright.com/blog/112/undo-redo-for-all-textfields/

1 Star2 Stars3 Stars4 Stars5 Stars
Loading ... Loading ...

Saving Images Out of Flash/Flex Without Losing Quality

Flash Player 10 comes with a nifty new method for the flash.net.FileReference class called “save“. What’s dope is that you can send it a ByteArray, and it’ll write it verbatim. This means, saving images out of your Flash & Flex Applications is wicked fast now AND gets around that lamesauce security restriction that plagued a lot of older Flash Player 9 code…

http://jessewarden.com/2009/01/saving-images-out-of-flashflex-without-losing-quality.html

1 Star2 Stars3 Stars4 Stars5 Stars
Loading ... Loading ...

Access SVN repositories with Actionscript

http://dougmccune.com/blog/2009/01/20/accessing-svn-repositories-with-actionscript/

1 Star2 Stars3 Stars4 Stars5 Stars
Loading ... Loading ...

Using [Bindable] & ChangeWatcher in ActionScript-only classes

What are you talking about?

Recently I’ve been toying around with using [Bindable] Metadata in Flex and AS3, namely trying to not only make it so that my static variables can be used as bindings in Flex, but also that I can detect when the variables change.

How do you do that?

There’s a few ways you can do that, and a whole plethora of other blogs that will give you rundowns on how.  What you need to look for are the ChangeWatcher and BindingUtils classes [livedocs].  There doesn’t seem to be anything in particular thats different between them, ChangeWatcher lets you define a variable and function to call on changes, and BindingUtils lets you define functions to call when variables are set or properties change – all in all, not much difference.

But…

Continue reading Using [Bindable] & ChangeWatcher in ActionScript-only classes…

1 Star2 Stars3 Stars4 Stars5 Stars
Loading ... Loading ...

Code Completion and other Flex Metadata tricks…

Ryan Stewart blogged earlier about getting code completion in Flex Builder with the aid of Metadata in your actionscript, and it’s all very interesting – so take a look!  Flash CS4 also now supports the Flex-style Metadata tags in your actionscript, although it still doesn’t give very good code completion, but it does work with ASDoc, apparently.