CreateLocation (Adobe AIR only)

Package:
Class:
Inheritance:
biz.flashscript.adobeAir
public class CreateLocation
N/A
The CreateLocation class allows to create a new folder and file on different locations on the computer. Use the constructor to create a new CreateLocation().
Public Methods
Method Defined By
CreateLocation()
Creates a new instance of the CreateLocation class.
CreateLocation
makeFolder(directLoc:String, obUrl:String)  :File
Returns a new folder and file.
CreateLocation
Constructor Detail
CreateLocation ()  Constructor
public function CreateLocation()
Intializes a new CreateLocation instance.
Method Detail

CreateLocation()  method
public function CreateLocation():void

Creates a new instance of the CreateLocation.

makeFolder(directLoc:String, obUrl:String):File   method

Creates a new folder and file.

Parameters

  • directLoc:String ____ The location on the computer, "desktop", "documents", "user", "storage".
  • obUrl:String ____ The path including folder(s) name and object name with file extension.
Examples
See SaveBArrayLocal for an example.