beautypg.com

Fl.clearpublishcache(), Fl.clipcopystring() – Adobe Extending Flash Professional CS5 User Manual

Page 245

background image

223

EXTENDING FLASH PROFESSIONAL

flash object (fl)

Last updated 5/2/2011

Example
The following example lets the user select a folder and then displays a list of files in that folder:

var folderURI = fl.browseForFolderURL("Select a folder.");

var folderContents = FLfile.listFolder(folderURI);

See also

fl.browseForFileURL()

,

FLfile object

fl.clearPublishCache()

Availability
Flash CS5.5 Professional.

Usage

fl.clearPublishCache()

Parameters
None.

Returns
Nothing.

Description
Method; empties the publish cache.

Example
The following code empties the publish cache:

fl.clearPublishCache()

See also

fl.publishCacheDiskSizeMax

,

fl.publishCacheEnabled

,

fl.publishCacheMemoryEntrySizeLimit

” on

page 246,

fl.publishCacheMemorySizeMax

” on page 247

fl.clipCopyString()

Availability
Flash CS3 Professional.

Usage

fl.clipCopyString(string)

Parameters

string

A string to be copied to the Clipboard.

This manual is related to the following products: