mApplication.getFolder()

Availability

Windows: Flash 8 or 9 AS2.0 SWF + mProjector 3.0; Windows 98/ME/NT Support: Flash 7 SWF + mProjector 2.0;

Macintosh: Flash 8 or 9 AS2.0 SWF + mProjector 2.0; replacing mProjector 1.0 async

Usage

mApplication.getFolder() : String

Parameters

None.

Returns

A string.; ;

Description

Method; Returns the full path of the folder the application is running from. The path does not include end in the system path delimiter.

Example

The following example opens a PDF from the application's folder.

var applicationFolder:String = mApplication.getFolder() + mSystem.getPathDelimiter();
mApplication.openDocument(applicationFolder + "manual.pdf");

See Also

mApplication.getWorkingDirectory(), mApplication.getMyPath()

Code Examples

Working with Included Files, mProjector Class Basics -- mApplication