Web студия "GrandView"
  Главная   Написать Контакты
   
   
О проекте
Руководство php
 

swf_definetext

(PHP 4, PECL)

swf_definetext -- Define a text string

Description

void swf_definetext ( int objid, string str, int docenter )

Define a text string (the str parameter) using the current font and font size. The docenter is where the word is centered, if docenter is 1, then the word is centered in x.



add a note add a note User Contributed Notes
swf_definetext
zarek at jazdesign dot com
22-Jun-2001 09:28
Horizontal Text Example
//setting up variables

$Xposition = 50;
$Yposition = 50;
$Zposition = 0;
$Obj_depth = 1;
$char = THIS IS THE TEXT;
// begin swf

swf_pushmatrix ();
$firstid = swf_nextid ();
swf_definefont ($firstid, "Mod");
swf_fontsize (10);
$secondid = swf_nextid ();
swf_definetext ($secondid, $char, 1);
swf_translate ($Xposition, $Yposition, Zposition);
swf_placeobject ($secondid, $Obj_depth);
swf_popmatrix ();

swf_endbutton> <swf_definerect
Last updated: Fri, 26 Jan 2007
 
 
Новости
11 июля 2007
Сайт запущен
© 2007 info@grandviewstudio.com

Deprecated: Function set_magic_quotes_runtime() is deprecated in /home/sites/grandviewstudiocom/www/65f67d67a94ad980786580ae69e11c07/sape.php on line 324

Deprecated: Function set_magic_quotes_runtime() is deprecated in /home/sites/grandviewstudiocom/www/65f67d67a94ad980786580ae69e11c07/sape.php on line 330
Z058440144362 Z348613067571