PHP: SWFButton->addShape() - Manual

downloads | documentation | faq | getting help | mailing lists | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

SWFButton->setAction() SWFButton->addASound()

Last updated: Fri, 26 Jan 2007

view this page in

# SWFButton->addShape()

(no version information, might be only in CVS)

SWFButton->addShape() -- Adds a shape to a button

## Описание

class SWFButton {
void addShape ( SWFShape shape, int flags )
}

Внимание
Эта функция является ЭКСПЕРИМЕНТАЛЬНОЙ. Поведение этой функции, ее имя и относящаяся к ней документация могут измениться в последующих версиях PHP без уведомления. Используйте эту функцию на свой страх и риск.

Adds the given `shape` to the button.

## Список параметров

`shape`

  An SWFShape instance

`flags`

  The following `flags` are valid: `SWFBUTTON_UP`, `SWFBUTTON_OVER`, `SWFBUTTON_DOWN` and `SWFBUTTON_HIT`.

  `SWFBUTTON_HIT` isn't ever displayed, it defines the hit region for the button. That is, everywhere the hit shape would be drawn is considered a "touchable" part of the button.

## Возвращаемые значения

Эта функция не возвращает значения после выполнения.

add a note User Contributed Notes
SWFButton->addShape()
There are no user contributed notes for this page.
SWFButton->setAction() SWFButton->addASound()

Last updated: Fri, 26 Jan 2007
show source | credits | stats | sitemap | contact | advertising | mirror sites
Copyright © 2001-2007 The PHP Group
All rights reserved.
This mirror generously provided by: Yahoo! Inc.
Last updated: Sat Mar 10 10:36:09 2007 PST