cvs: phpdoc-fr /reference/ming/functions swfaction.xml
| From: | Mehdi Achour | Date: | Tue, 02 Mar 2004 16:02:38 +0000 |
| Subject: | cvs: phpdoc-fr /reference/ming/functions swfaction.xml | ||
| Groups: | php.doc.fr | ||
| Request: | Send a blank email to doc-fr+get-1937@lists.php.net to get a copy of this message | ||
didou Tue Mar 2 11:02:38 2004 EDT
Modified files:
/phpdoc-fr/reference/ming/functions swfaction.xml
Log:
parse error
http://cvs.php.net/diff.php/phpdoc-fr/reference/ming/functions/swfaction.xml?r1=1.5&r2=1.6&ty=u
Index: phpdoc-fr/reference/ming/functions/swfaction.xml
diff -u phpdoc-fr/reference/ming/functions/swfaction.xml:1.5
phpdoc-fr/reference/ming/functions/swfaction.xml:1.6
--- phpdoc-fr/reference/ming/functions/swfaction.xml:1.5 Tue Feb 24 13:11:38 2004
+++ phpdoc-fr/reference/ming/functions/swfaction.xml Tue Mar 2 11:02:38 2004
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.5 $ -->
+<!-- $Revision: 1.6 $ -->
<!-- EN-Revision: 1.1 Maintainer: nobody Status: partial -->
<!-- splitted from ./fr/functions/ming.xml, last change in rev 1.7 -->
@@ -417,36 +417,36 @@
<programlisting role="php">
<![CDATA[
<?php
- $s = new SWFShape();
- $f = $s->addFill(0xff, 0, 0);
- $s->setRightFill($f);
- $s->movePenTo(-500,-500);
- $s->drawLineTo(500,-500);
- $s->drawLineTo(500,500);
- $s->drawLineTo(-500,500);
- $s->drawLineTo(-500,-500);
- $p = new SWFSprite();
- $i = $p->add($s);
- $i->setDepth(1);
+$s = new SWFShape();
+$f = $s->addFill(0xff, 0, 0);
+$s->setRightFill($f);
+$s->movePenTo(-500, -500);
+$s->drawLineTo(500, -500);
+$s->drawLineTo(500, 500);
+$s->drawLineTo(-500, 500);
+$s->drawLineTo(-500, -500);
+$p = new SWFSprite();
+$i = $p->add($s);
+$i->setDepth(1);
+$p->nextFrame();
+for($n=0; $n<5; ++$n) {
+ $i->rotate(-15);
$p->nextFrame();
- for($n=0; $n<5; ++$n)
- {
- $i->rotate(-15);
- $p->nextFrame();
- }
- $m = new SWFMovie();
- $m->setBackground(0xff, 0xff, 0xff);
- $m->setDimension(6000,4000);
- $i = $m->add($p);
- $i->setDepth(1);
- $i->moveTo(-500,2000);
- $i->setName("box");
- $m->add(new SWFAction("/box.x += 3;"));
- $m->nextFrame();
- $m->add(new SWFAction("gotoFrame(0); play();"));
- $m->nextFrame();
- header('Content-type: application/x-shockwave-flash');
- $m->output();
+}
+$m = new SWFMovie();
+$m->setBackground(0xff, 0xff, 0xff);
+$m->setDimension(6000,4000);
+$i = $m->add($p);
+$i->setDepth(1);
+$i->moveTo(-500,2000);
+$i->setName("box");
+$m->add(new SWFAction("/box.x += 3;"));
+$m->nextFrame();
+$m->add(new SWFAction("gotoFrame(0); play();"));
+$m->nextFrame();
+header('Content-type: application/x-shockwave-flash');
+$m->output();
+?>
]]>
</programlisting>
</example>