From: Raymond I. <xw...@ya...> - 2003-05-19 18:07:33
|
DynAPI 3.0 is not 100% backward compatible with 2.5.x. Please see the changelog.html in the /docs folder for the list of changes. -- Raymond Irving --- Jesse Vitrone <je...@6t...> wrote: --------------------------------- I got the source from CVS, and I'm trying to set up my existing DynAPI2.5 stuff to work with it, but I'm getting errors that I don'tunderstand. I have this: <script language="Javascript"src="../dynapi/src/dynapi.js"></script> <script language="JavaScript"src="../js/6thgear.js"></script> In my 6thgear.js, I'm doing this at the top: DynAPI.library.setPath('../dynapi/src/'); DynAPI.library.include('dynapi.api.*'); DynAPI.library.include('dynapi.event.*'); DynAPI.library.include('dynapi.ext.inline.js'); now if I do this, right after that: alert(dynapi.document.getWidth()); I get this JS error: Error: dynapi.document has no properties Source File: http://localhost/6thgear/js/6thgear.js Line: 23 I don't get it, when I look at the docs for 3.0, I see in the examplethat you're using dynapi.document to add the child layers. Why is ittelling me that it has no properties? I was able to do this in 2.5 without a problem, what changed? Thanks in advance, Jesse Vitrone -------------------------------------------------------This SF.net email is sponsored by: If flattening out C++ or Javacode to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software.http://www.objectstore.net/sourceforge_______________________________________________Dynapi-Help mailing lis...@li...https://lists.sourceforge.net/lists/listinfo/dynapi-help __________________________________ Do you Yahoo!? The New Yahoo! Search - Faster. Easier. Bingo. http://search.yahoo.com |