Update of /cvsroot/dynapi/dynapi3x/docs/docs
In directory sc8-pr-cvs1:/tmp/cvs-serv12044/docs/docs

Modified Files:
        examples.html quickref.datasource.html quickref.ioelement.html 
        quickref.soda.html revision.html 
Added Files:
        quickref.imageclip.html 
Log Message:
uploaded by raymond

--- NEW FILE ---
<!doctype html public "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<title>DynAPI - Quick Reference</title>
<link rel="stylesheet" type="text/css" href="../include/quickref.css" media="screen">
<link rel="stylesheet" type="text/css" href="../include/quickref.css" media="print">
</head>

<body>
        <div id="header">
                <img src="../images/dynapi.gif" width="139" height="37">
                <div>
                        <a href="../index.html"><img src="../images/home.gif" 
width="22" height="19">Home</a> | <a href="quickref.html">Quick Reference</a>
                </div>
        </div>
    <h1><span class="object">dynapi.gui.ImageClip</span> - Quick Reference</h1>
        <div id="inherit"><span>Inherit:</span>  DynLayer</div>
        <h2>Constructor</h2>
        <dl>
        <dt>ImageClip(clipImage,x,y,w,h,color,cols,rows,speed)</dt>
                <dd>clipImage - clipImage can be&nbsp;
          either a string or an image object
                <dd>Dictionary Input supported
        </dl>
        <h2>Events</h2>
        <dl>
                <dt>frameplay</dt>
                <dd>...</dd>

        <dt>framestop</dt>
                <dd>...</dd>
                
                <dt>framechange</dt>
                <dd>...</dd>

        </dl>
        <h2>Public Methods</h2>
        <dl>
                <dt>Remarks</dt>
        <dd>The ImageClip widget is used to create canvas animations using a
          sequence of animated frames from a still image.&nbsp;This widget
          inherits all methods and properties from DynLayer.</dd>
        <dt>&nbsp;</dt>

                <dt>addImage(img,col,row)</dt>
        <dd>...</dd>
        <dt>getFrame()</dt>
        <dd>...</dd>

                <dt><b>playAnimation</b>(boolean loop, string sequence)</dt>
        <dd>...</dd>
        <dt><b>setClipImage(clipImage, cols, rows)</b></dt>
                <dd>...</dd>

        <dt><b>setSpeed</b>(int sp)</dt>
        <dd>...</dd>
        <dt><b>setFrame</b>(int fn)</dt>
        <dd>...</dd>
        <dt><b>setFrameMartix</b>(int col, int row)</dt>
        <dd>...</dd>
        <dt><b>stopAnimation</b>()</dt>
        <dd>...</dd>
        </dl>
        <h2>Private Methods</h2>
        <dl>
        <dt>nextSEQ</dt>
                <dd>...</dd>

                <dt>playSEQ</dt>
                <dd>...</dd>

        </dl>
        <h2>Static Methods</h2>
        <p>[none]</p>
    <b>What is Canvas Animation?<br>
    </b><br>
    This means that all the frames used by the animation stored in one image.
    The frames are separated by rows and columns and must be of the same height
    and width. Below is an example showing the layout of animated frames (rows
    by columns):
    <p>(2x4 layout)<br>
    <br>
    [01][03][05][07]&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br>
    [02][04][06][08]<br>
    <br>
    Or<br>
    <br>
    (1x8 layout)<br>
    <br>
    [01][02][03][04][05][06][07][08]&nbsp;<br>
    <p>Animations are played in sequences starting from the lowest to the
    highest frames (e.g. 1 to 8). The widget uses a set of commands which tells
    it how to display the frames:</p>
    <p>x&gt;y&nbsp; - show frame x to y<br>
    x&lt;y&nbsp; - show frame y to x<br>
    x&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; - show frame x<br>
    pN&nbsp;&nbsp;&nbsp; - sleep for N milliseconds</p>
    <p><b>Example:</b></p>
    <pre>var img=dynapi.functions.getImage('penguin.gif');
myclip= new ImageClip(img,10,10,64,64,null,11,2,150)
myclip.playAnimation(false,'1&gt;22,p500,1&lt;22,11')
dynapi.document.addChild(myclip)</pre>
</body>
</html>

Index: examples.html
===================================================================
RCS file: /cvsroot/dynapi/dynapi3x/docs/docs/examples.html,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -r1.6 -r1.7
*** examples.html       5 Mar 2003 04:36:17 -0000       1.6
--- examples.html       9 Mar 2003 22:21:46 -0000       1.7
***************
*** 80,83 ****
--- 80,84 ----
        <li>------------------------------
        <li><a href="../../examples/dynapi.gui.graphics.html">Graphics</a>
+       <li><a href="../../examples/dynapi.gui.imageclip.htm">ImageClip</a>
        <li><a href="../../examples/dynapi.gui.loadpanel.html">LoadPanel</a>
        <li>------------------------------
***************
*** 152,155 ****
--- 153,158 ----
      MotionX &amp; PathAnimation Combo</li>
    <li><a href="../../examples/dynapi.util.ioelement-soda-tester.html">SODA-RPC Web 
Service Test Page</a></li>
+   <li><a href="../../examples/dynapi.functions.fadecolor.htm">Color Fade</a></li>
+   <li><a href="../../examples/demo.slideshow.html">Image Slide Show</a></li>
  </ul>
  <p>&nbsp;</p>

Index: quickref.datasource.html
===================================================================
RCS file: /cvsroot/dynapi/dynapi3x/docs/docs/quickref.datasource.html,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -C2 -r1.1.1.1 -r1.2
*** quickref.datasource.html    10 Feb 2003 22:35:31 -0000      1.1.1.1
--- quickref.datasource.html    9 Mar 2003 22:21:46 -0000       1.2
***************
*** 32,36 ****
  
  <p align="right"><i><b><font color="#008000">Inherit: </font></b>EventObject, 
<b><font color="#008000">Requirements: </font></b>IOElement,
! IOElementSODA</i></p>
      </td>
    </tr>
--- 32,36 ----
  
  <p align="right"><i><b><font color="#008000">Inherit: </font></b>EventObject, 
<b><font color="#008000">Requirements: </font></b>IOElement,
! IOElementSoda</i></p>
      </td>
    </tr>

Index: quickref.ioelement.html
===================================================================
RCS file: /cvsroot/dynapi/dynapi3x/docs/docs/quickref.ioelement.html,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -C2 -r1.1.1.1 -r1.2
*** quickref.ioelement.html     10 Feb 2003 22:35:33 -0000      1.1.1.1
--- quickref.ioelement.html     9 Mar 2003 22:21:46 -0000       1.2
***************
*** 40,47 ****
  <h2>Add-Ons</h2>
  <blockquote>
!   <p><b>IOElementSODA</b><br>
    &nbsp;Enable RPC/Web Service connections to the server<br>
    <br>
!   <b>IOElementSYNC<br>
    &nbsp;</b>Enable Synchronous connections&nbsp;</p>
  </blockquote>
--- 40,47 ----
  <h2>Add-Ons</h2>
  <blockquote>
!   <p><b>IOElementSoda</b><br>
    &nbsp;Enable RPC/Web Service connections to the server<br>
    <br>
!   <b>IOElementSync<br>
    &nbsp;</b>Enable Synchronous connections&nbsp;</p>
  </blockquote>
***************
*** 82,86 ****
  <p><b>activateSyncMode</b>(fn,useJava) - Activate Synchronous Transfers
  Mode.&nbsp;<span style="background-color: #EEEEEE"><font color="#000080">
! IOElementSYNC </font></span>&nbsp;</p>
  <pre><u>fn</u>        � callback or returned function
  useJava       - forces the use of a java applet for synchronous communication
--- 82,86 ----
  <p><b>activateSyncMode</b>(fn,useJava) - Activate Synchronous Transfers
  Mode.&nbsp;<span style="background-color: #EEEEEE"><font color="#000080">
! IOElementSync </font></span>&nbsp;</p>
  <pre><u>fn</u>        � callback or returned function
  useJava       - forces the use of a java applet for synchronous communication
***************
*** 105,109 ****
  <p><b>createWebService</b>(name, url, fn, useSync, uid, pwd, method) - Creates a
        connection to a SODA-RPC web service.&nbsp;<span style="background-color: 
#EEEEEE"><font color="#000080">
! IOElementSODA&nbsp;</font></span></p>
  <pre>name � (String) local name used to identify the service
  url � (String) SODA web service url
--- 105,109 ----
  <p><b>createWebService</b>(name, url, fn, useSync, uid, pwd, method) - Creates a
        connection to a SODA-RPC web service.&nbsp;<span style="background-color: 
#EEEEEE"><font color="#000080">
! IOElementSoda&nbsp;</font></span></p>
  <pre>name � (String) local name used to identify the service
  url � (String) SODA web service url
***************
*** 126,130 ****
        &nbsp;Calls a remote method on the server. This method is available&nbsp;
  to newly create web services.&nbsp;<span style="background-color: #EEEEEE"><font 
color="#000080">
! IOElementSODA&nbsp;</font></span></p>
  <pre><u>name</u> � name of method(s) on the server
  <u>params</u> � parameters to pass to the method(s);
--- 126,130 ----
        &nbsp;Calls a remote method on the server. This method is available&nbsp;
  to newly create web services.&nbsp;<span style="background-color: #EEEEEE"><font 
color="#000080">
! IOElementSoda&nbsp;</font></span></p>
  <pre><u>name</u> � name of method(s) on the server
  <u>params</u> � parameters to pass to the method(s);
***************
*** 156,160 ****
  <p><b>disconnectWebService</b>(name, fn) - Disconnects the web service object
  band triggers the logout event on the server.&nbsp;<span style="background-color: 
#EEEEEE"><font color="#000080">
! IOElementSODA&nbsp;</font></span></p>
  <pre>name � (String) local name used to identify the service
  fn - (Function) Callback function
--- 156,160 ----
  <p><b>disconnectWebService</b>(name, fn) - Disconnects the web service object
  band triggers the logout event on the server.&nbsp;<span style="background-color: 
#EEEEEE"><font color="#000080">
! IOElementSoda&nbsp;</font></span></p>
  <pre>name � (String) local name used to identify the service
  fn - (Function) Callback function
***************
*** 187,191 ****
     if(r) {
        // display custom error message
!       // return false to cancel the request session and 
        // preserve the request object
        return false;    }
--- 187,191 ----
     if(r) {
        // display custom error message
!       // return false to cancel the request session and
        // preserve the request object
        return false;    }
***************
*** 248,252 ****
  response object containing the returned value from the server and and error
  object.&nbsp;<span style="background-color: #EEEEEE"><font color="#000080">
! IOElementSODA&nbsp;</font></span></p>
  <b>isBusy</b>()&nbsp;- Returns
        true if the calling threads are busy.
--- 248,252 ----
  response object containing the returned value from the server and and error
  object.&nbsp;<span style="background-color: #EEEEEE"><font color="#000080">
! IOElementSoda&nbsp;</font></span></p>
  <b>isBusy</b>()&nbsp;- Returns
        true if the calling threads are busy.

Index: quickref.soda.html
===================================================================
RCS file: /cvsroot/dynapi/dynapi3x/docs/docs/quickref.soda.html,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -C2 -r1.1.1.1 -r1.2
*** quickref.soda.html  10 Feb 2003 22:35:34 -0000      1.1.1.1
--- quickref.soda.html  9 Mar 2003 22:21:46 -0000       1.2
***************
*** 93,97 ****
  &nbsp;&nbsp;&nbsp; dynapi.library.include('dynapi.library');
  &nbsp;&nbsp;&nbsp; dynapi.library.include('dynapi.util.IOElement');
! &nbsp;&nbsp;&nbsp; dynapi.library.include('dynapi.util.IOElementSODA');
  &lt;/script&gt;</pre>
  <p>The first line must point to the location of your
--- 93,97 ----
  &nbsp;&nbsp;&nbsp; dynapi.library.include('dynapi.library');
  &nbsp;&nbsp;&nbsp; dynapi.library.include('dynapi.util.IOElement');
! &nbsp;&nbsp;&nbsp; dynapi.library.include('dynapi.util.IOElementSoda');
  &lt;/script&gt;</pre>
  <p>The first line must point to the location of your
***************
*** 434,438 ****
  method can also be used to help debug server-side code:&nbsp;</p>
  <pre>function setDate(dt){
!    if(!dt) wsRaiseError(null,'You've entered:'+dt); 
     else {
        // code to set date
--- 434,438 ----
  method can also be used to help debug server-side code:&nbsp;</p>
  <pre>function setDate(dt){
!    if(!dt) wsRaiseError(null,'You've entered:'+dt);
     else {
        // code to set date

Index: revision.html
===================================================================
RCS file: /cvsroot/dynapi/dynapi3x/docs/docs/revision.html,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -r1.7 -r1.8
*** revision.html       5 Mar 2003 04:36:17 -0000       1.7
--- revision.html       9 Mar 2003 22:21:46 -0000       1.8
***************
*** 40,43 ****
--- 40,49 ----
  Version in CVS
  ---------------
+ [+] Rename IOElementSODA, IOElementSYNC to IOElementSoda, IOElementSync respectively.
+       ^ This is in keeping with standard library names
+ [+] Add ImageClip to dynapi.gui - See ImageClip &amp; Slide Show examples
+ [+] Add fadeColor to dynapi.functions.Color - see Color Fade exmaple
+ [+] Remove oncreate and onprecreate events, please use onCreate and onPrecreate 
instead
+ [+] Add dictionary support to dynapi constructor 
  [+] Add Fader Class - needs more testing in gecko browsers
  [-] Fix NS4/NS6 Drag event bug



-------------------------------------------------------
This SF.net email is sponsored by: ValueWeb: 
Dedicated Hosting for just $79/mo with 500 GB of bandwidth! 
No other company gives more support or power for your dedicated server
http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/
_______________________________________________
Dynapi-CVS mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dynapi-cvs

Reply via email to