MACROMEDIA FLASH 8-EXTENDING FLASH Manual page 326

Extending flash
Table of Contents

Advertisement

library.updateItem()
Availability
Flash MX 2004.
Usage
library.updateItem( [ namePath ] )
Parameters
A string that specifies the name of the item. If the item is in a folder, specify its
namePath
name and path using slash notation. This is the same as right-clicking on an item and
selecting Update from the menu in the user interface. If no name is provided, the current
selection is updated. This parameter is optional.
Returns
A Boolean value:
if Flash updated the item successfully;
otherwise.
true
false
Description
Method; updates the specified item.
Example
The following example displays a dialog box that shows whether the currently selected item is
updated (
) or not (
):
true
false
alert(fl.getDocumentDOM().library.updateItem());
326
Objects

Advertisement

Table of Contents
loading

This manual is also suitable for:

Flash 8

Table of Contents