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

search for in the

swf_endbutton> <swf_definerect
[edit] Last updated: Fri, 24 Jun 2011

view this page in

swf_definetext

(PHP 4)

swf_definetextتعریف رشته متن

Description

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

تعریف رشته متن با استفاده از فونت فعلی و اندازه فونت.

Parameters

objid

id شی.

str

متن به عنوان رشته.

docenter

docenter محل مرکزیت کلمه اگر docenter برابر با 1 باشد کلمه در x مرکزیت می‌یابد.

Return Values

No value is returned.

Examples

Example #1 مثال متن افقی

<?php

$Xposition 
50;
$Yposition 50;
$Zposition 0;
$Obj_depth 1;

$char 'THIS IS THE TEXT';

swf_pushmatrix();

swf_definefont (swf_nextid(), "Mod");
swf_fontsize(10);

$secondid swf_nextid();
swf_definetext($secondid$char1);
swf_translate($Xposition$YpositionZposition);
swf_placeobject($secondid$Obj_depth);
swf_popmatrix();

?>

See Also



add a note add a note User Contributed Notes swf_definetext - [0 notes]
There are no user contributed notes for this page.

 
show source | credits | stats | sitemap | contact | advertising | mirror sites