note 88147 added to class.swfmovie
| From: | askypcom at gmail dot com | Date: | Tue, 13 Jan 2009 03:16:54 +0000 |
| Subject: | note 88147 added to class.swfmovie | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-149118@lists.php.net to get a copy of this message | ||
<?php
$myShape1=new SWFShape();
$myShape1->setLine(5,0,0,255);
$myShape1->setRightFill(255,255,0);
$myShape1->movePen(-30,-30);
$myShape1->drawLine(60,0);
$myShape1->drawLine(0,60);
$myShape1->drawLine(-60,0);
$myShape1->drawLine(0,-60);
$myMovie=new SWFMovie();
$myMovie->setDimension(460,80);
$myMovie->setBackground(255,0,0);
$movingSquare=$myMovie->add($myShape1);
$movingSquare->moveTo(40,40);
$myMovie->nextFrame();
$movingSquare->move(40,0);
$myMovie->nextFrame();
$movingSquare->move(40,0);
$myMovie->nextFrame();
$movingSquare->move(40,0);
$myMovie->nextFrame();
$movingSquare->move(40,0);
$myMovie->nextFrame();
$movingSquare->move(40,0);
$myMovie->nextFrame();
$movingSquare->move(40,0);
$myMovie->nextFrame();
$movingSquare->move(40,0);
$myMovie->nextFrame();
$movingSquare->move(40,0);
$myMovie->nextFrame();
$movingSquare->move(40,0);
$myMovie->nextFrame();
$movingSquare->move(40,0);
$myMovie->nextFrame();
$movingSquare->move(40,0);
$myMovie->nextFrame();
$movingSquare->move(40,0);
$myMovie->save("lesson.swf");
?>
Sachin Akhani
http://www.askyp.com
----
Server IP: 203.199.69.133
Probable Submitter: 124.125.245.172
----
Manual Page -- http://www.php.net/manual/en/class.swfmovie.php
Edit -- https://master.php.net/note/edit/88147
Del: integrated -- https://master.php.net/note/delete/88147/integrated
Del: useless -- https://master.php.net/note/delete/88147/useless
Del: bad code -- https://master.php.net/note/delete/88147/bad+code
Del: spam -- https://master.php.net/note/delete/88147/spam
Del: non-english -- https://master.php.net/note/delete/88147/non-english
Del: in docs -- https://master.php.net/note/delete/88147/in+docs
Del: other reasons-- https://master.php.net/note/delete/88147
Reject -- https://master.php.net/note/reject/88147
Search -- https://master.php.net/manage/user-notes.php