Your Account
Community
Topics (Upcoming)
More |
Everyone: AS 3 - Upcoming
Fastest numeric datatype?
http://lab.polygonal.de/2007/06/06/int-uint-and-number-data-...
Submitted by arpit
29 months, 3 weeks, 4 days, 8 hours ago
There has been some debate on the efficiency of the new number types in AS3: int, uint and Number. So whats the most efficient? Answer: They are all almost the same. Performance difference only occurs when you convert the datatype (via casting) in code.
Join discussion...
darron schall :: ActionScript 3.0 Tip: Date Constructor
http://www.darronschall.com/weblog/archives/000253.cfm
Submitted by arpit
29 months, 3 weeks, 5 days, 5 hours ago
There are some interesting undocumented Date methods that can be used (pretty neat). For example, getting the last day of the previous month by getting the date for the 0th day of the current month.
Join discussion...
Cannot use var n:Number == null to test if the number exists or not
The Number datatype's initial value is NaN. You cannot use n==null to test if that value has been set or not (it'll always return false). Instead use isNaN(n)
Join discussion...
Using enterDebugger()
Explicitly call enterDebugger to break into the debugger from within code.
Join discussion...
Embed Javascript in mxml
http://flextips.corank.com/tech/story/embed-Javascript-in-mx...
Submitted by arpit
30 months, 1 day, 22 hours ago
Embed javascript that swf calls within your mxml. The code does an eval to evaluate the js and then call it via external interface.
Join discussion...
Using \ in String
Using \ in a string will cause it to be deleted. Use \\ instead
Join discussion...
fladdict.net: Loading AVM1 swf as AVM2 swf
http://www.fladdict.net/blog-en/2007/05/loading_avm1_swf_as_...
Submitted by arpit
30 months, 6 days, 23 hours ago
How to load a flash 8 or previous swf into a as3 swf to access UI elements. Pretty neat
Join discussion...
Dynamically calling a Singleton at runtime
A good approach for instantiating Singletons by dynamic lookup. This technique is great if you are loading in a module into a swf that already has a class compiled in.
Join discussion...
|