AS3 Garbage Collector Note

September 8, 2008

AS3 Garbage Collector Note

 

Best Practices while developing in Flex/ActionScript 3.0

FLEX OPTIMIZATION TIP: ARRAYCOLLECTION.REMOVEALL() VS. ARRAYCOLLECTION.SOURCE = NEW ARRAY(). IS THIS A BUG ?

September 8, 2008

FLEX OPTIMIZATION TIP: ARRAYCOLLECTION.REMOVEALL() VS. ARRAYCOLLECTION.SOURCE = NEW ARRAY(). IS THIS A BUG ?

 

source : http://www.arpitonline.com/blog/?p=114

AIR LocalStorage Location

August 29, 2008

File.applicationStorageDirectory

Description Application storage directory. For every AIR application, there is a unique associated path that defines the application storage directory. This directory is unique to each application and user.
Windows In the documents and Settings directory, in user name/Application Data/applicationID.publisherID/Local Store/ (C:\Documents and Settings\babbage\Application Data\com.example.TestApp. 02D88EEED35F84C264A183921344EEA353A629FD.1\ Local Store)
Mac OS In /Users/user name/Library/Preferences/applicationID.publisherID/Local Store/ (/Users/babbage/Library/Preferences/ com.example.TestApp.02D88EEED35F84C264A183921344EEA353A629FD.1 /Local Store)
Notes The URL (and url property) for a File object created with File.applicationStorageDirectory uses the app-storage URL scheme. 

var dir = File.applicationStorageDirectory;
dir = dir.resolvePath("prefs.xml");
trace(dir.url); // app-storage:/preferences

From :  http://www.flexer.info/2008/05/08/air-applications-file-and-directory/

Hello world!

August 29, 2008

Welcome to WordPress.com. This is your first post. Edit or delete it and start blogging!


Follow

Get every new post delivered to your Inbox.