Tagged with 'actionscript'
Snippets
-
"Dump" an Actionscript Custom Object by pmolaro
In ColdFusion you can "trace" out any variable or object by using the <cfdump> tag. I wanted to do something similar with my Actionscript objects I created for my Flex projects. Below is a nice solution. Be aware I have read that this sometimes crashes your apps with super complicated objects, but I have not encountered that myself.
Save as Favorite | Tags: actionscript, Flex, air, object oriented, objectUtil, utils, trace, toString, dump
-
Creating an Array of Objects in Actionscript by pmolaro
This is pretty basic stuff, but I use it all the time. This is an example of how to load an Array of Objects; the benefit is that when you want to reference them, you can just call MyArray.ObjectName
Save as Favorite | Tags: array, object, push, array.push, actionscript
-
Flex Alert box by pmolaro
Cheat sheet of settings you can use to customize your Alert boxes in Flex 3.
Save as Favorite | Tags: Alert, Flex, Alert.show, actionscript


