# SWFDisplayItem->addAction()

(PHP 4 >= 4.2.0)

SWFDisplayItem->addAction() — Adds this SWFAction to the given SWFSprite instance

### Description

SWFDisplayItem
void addAction ( SWFAction `$action` , int `$flags` )
Warning

This function is currently not documented; only the argument list is available.

### Parameters

`action`

  An SWFAction, returned by SWFAction->__construct().

`flags`

### Return Values

No value is returned.

### See Also

- SWFAction