Bugs item #559627, was opened at 2002-05-23 15:41
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=105757&aid=559627&group_id=5757
Category: DynAPI 2 API
Group: Verified
Status: Open
Resolution: None
Priority: 5
Submitted By: Juan Pablo Rojas Jim�nez (jprojas2001)
Assigned to: Nobody/Anonymous (nobody)
Summary: include fails if * not used (dynapi.api)
Initial Comment:
While trying out the example of animation suggested in
the tutorial, i got a couple of errors as 'is' is not
defined...
The thing is that replacing de explicit include of
dynapi.api packages by a dynapi.api.* include, they
stopped appearing.
The code that makes it fail is in the tutorial, but here you
have it also. Ive removed the animation stuff :):
Notes: i have moved the dynapi stuff into a js/dynapi dir
in my "webapp". The version i'm currently using is 2.5.6.
It fails in netscape (4.7) and explorer(5.0)
-------------code begin----------
<html>
<head>
<Script language="Javascript"
src="../js/dynapi/dynapi.js"></script>
<Script language="Javascript">
DynAPI.setLibraryPath('../js/')
DynAPI.include('dynapi.api.*')
</script>
<script language="Javascript">
DynAPI.onLoad=function() {
myLayer=new DynLayer()
myLayer.setSize(100,100)
myLayer.moveTo
((DynAPI.document.w/2)-50,50)
myLayer.setHTML('DXCP
ANIMATION')
DynAPI.document.addChild
(myLayer)
}
</script>
</head>
<body>
</body>
</html>
-------------code end-------------
----------------------------------------------------------------------
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=105757&aid=559627&group_id=5757
_______________________________________________________________
Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm
_______________________________________________
Dynapi-Dev mailing list
[EMAIL PROTECTED]
http://www.mail-archive.com/[email protected]/