// we can add properties just like a normal PHP var, // as long as the names aren’t already used. // e.g., we can’t set $i->scale, because that’s a function
SWFDisplayItem->rotateTo — Rotates the object in global coordinates
Description vo >swfdisplayitem->rotateto ( float degrees )
Внимание
Эта функция является ЭКСПЕ� ИМЕНТАЛЬНОЙ . Поведение этой функции, ее имя и относящаяся к ней документация могут измениться в последующих версиях PHP без уведомления. Используйте эту функцию на свой страх и риск.
swfdisplayitem->rotateto() set the current object rotation to degrees degrees in global coordinates.
This example bring three rotating string from the background to the foreground. Pretty nice.
// we can add properties just like a normal PHP var, // as long as the names aren’t already used. // e.g., we can’t set $i->scale, because that’s a function
SWFDisplayItem->rotateTo — Rotates the object in global coordinates
Description vo >swfdisplayitem->rotateto ( float degrees )
Warning
This function is EXPERIMENTAL . The behaviour of this function, the name of this function, and anything else documented about this function may change without notice in a future release of PHP. Use this function at your own risk.
swfdisplayitem->rotateto() set the current object rotation to degrees degrees in global coordinates.
This example bring three rotating string from the background to the foreground. Pretty nice.
Example 1. swfdisplayitem->rotateto() example
SWFDisplayItem::rotateTo
Rotates the object in global coordinates
Description
This function is EXPERIMENTAL. The behaviour of this function, its name, and surrounding documentation may change without notice in a future release of PHP. This function should be used at your own risk.
swfdisplayitem::rotateto set the current object rotation to angle degrees in global coordinates.
The object may be a swfshape , a swfbutton , a swftext or a swfsprite object. It must have been added using the swfmovie::add .
Return Values
No value is returned.
Examples
This example bring three rotating string from the background to the foreground. Pretty nice.
// we can add properties just like a normal PHP var, // as long as the names aren’t already used. // e.g., we can’t set $i->scale, because that’s a function
(No version information available, might be only in CVS)
SWFDisplayItem->rotateTo � Rotates the object in global coordinates
Description
This function is EXPERIMENTAL. The behaviour of this function, its name, and surrounding documentation may change without notice in a future release of PHP. This function should be used at your own risk.
swfdisplayitem->rotateto() set the current object rotation to angle degrees in global coordinates.
The object may be a swfshape(), a swfbutton(), a swftext() or a swfsprite() object. It must have been added using the swfmovie->add().
Return Values
No value is returned.
Examples
This example bring three rotating string from the background to the foreground. Pretty nice.
// we can add properties just like a normal PHP var, // as long as the names aren’t already used. // e.g., we can’t set $i->scale, because that’s a function
(PHP 5 SWFDisplayItem::rotateTo � Rotates the object in global coordinates
Description
This function is EXPERIMENTAL. The behaviour of this function, its name, and surrounding documentation may change without notice in a future release of PHP. This function should be used at your own risk.
swfdisplayitem::rotateto() set the current object rotation to angle degrees in global coordinates.
The object may be a swfshape() , a swfbutton() , a swftext() or a swfsprite() object. It must have been added using the swfmovie::add() .
Return Values
No value is returned.
Examples
This example bring three rotating string from the background to the foreground. Pretty nice.
// we can add properties just like a normal PHP var, // as long as the names aren’t already used. // e.g., we can’t set $i->scale, because that’s a function
(PHP 5 SWFDisplayItem::rotateTo � Rotates the object in global coordinates
Description
This function is EXPERIMENTAL. The behaviour of this function, its name, and surrounding documentation may change without notice in a future release of PHP. This function should be used at your own risk.
swfdisplayitem::rotateto() set the current object rotation to angle degrees in global coordinates.
The object may be a swfshape() , a swfbutton() , a swftext() or a swfsprite() object. It must have been added using the swfmovie::add() .
Return Values
No value is returned.
Examples
This example bring three rotating string from the background to the foreground. Pretty nice.
// we can add properties just like a normal PHP var, // as long as the names aren’t already used. // e.g., we can’t set $i->scale, because that’s a function
// we can add properties just like a normal PHP var, // as long as the names aren’t already used. // e.g., we can’t set $i->scale, because that’s a function
// we can add properties just like a normal PHP var, // as long as the names aren’t already used. // e.g., we can’t set $i->scale, because that’s a function