didou           Wed Jul 16 13:22:26 2003 EDT

  Modified files:              
    /phpdoc/en/reference/swf/functions  swf-addbuttonrecord.xml 
  Log:
  adding PHP tags in the examples
  
Index: phpdoc/en/reference/swf/functions/swf-addbuttonrecord.xml
diff -u phpdoc/en/reference/swf/functions/swf-addbuttonrecord.xml:1.2 
phpdoc/en/reference/swf/functions/swf-addbuttonrecord.xml:1.3
--- phpdoc/en/reference/swf/functions/swf-addbuttonrecord.xml:1.2       Wed Apr 17 
02:44:27 2002
+++ phpdoc/en/reference/swf/functions/swf-addbuttonrecord.xml   Wed Jul 16 13:22:26 
2003
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.2 $ -->
+<!-- $Revision: 1.3 $ -->
 <!-- splitted from ./en/functions/swf.xml, last change in rev 1.8 -->
   <refentry id="function.swf-addbuttonrecord">
    <refnamediv>
@@ -28,17 +28,19 @@
      button in the current frame.
      <example>
       <title>
-       <function>swf_addbuttonrecord</function> function example
+       <function>swf_addbuttonrecord</function> example
       </title>
       <programlisting role="php">
 <![CDATA[
-swf_startButton ($objid, TYPE_MENUBUTTON);
-    swf_addButtonRecord (BSDown|BSOver, $buttonImageId, 340);
-    swf_onCondition (MenuEnter);
-        swf_actionGetUrl ("http://www.designmultimedia.com";, "_level1");
-    swf_onCondition (MenuExit);
-        swf_actionGetUrl ("", "_level1");
-swf_endButton ();
+<?php
+swf_startButton($objid, TYPE_MENUBUTTON);
+swf_addButtonRecord(BSDown|BSOver, $buttonImageId, 340);
+swf_onCondition(MenuEnter);
+swf_actionGetUrl("http://www.designmultimedia.com";, "_level1");
+swf_onCondition(MenuExit);
+swf_actionGetUrl("", "_level1");
+swf_endButton();
+?>
 ]]>
       </programlisting>
      </example>



-- 
PHP Documentation Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to