You should import dynapi.event before dynapi.gui, because files in dynapi.gui required events to be imported.
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Digital Strider
Sent: 10 April 2001 23:20
To: [EMAIL PROTECTED]
Subject: Re: [Dynapi-Help] Problem Using the DynAPI 2.51 Release...

You also need to load the primary file and set the library path.
 
// <SCRIPT LANGUAGE="JavaScript" src="js/src/dynapi.js"></SCRIPT>
// <SCRIPT LANGUAGE="JavaScript">
DynAPI.setLibraryPath('js/src/lib/');
DynAPI.include('dynapi.api.*') 
DynAPI.include('dynapi.gui.*'); 
DynAPI.include('dynapi.event.*'); 
DynAPI.include('dynapi.ext.*'); 
DynAPI.include('dynapi.util.*');
// </SCRIPT>
 
delete //

 
----- Original Message -----
Sent: Tuesday, April 10, 2001 7:56 AM
Subject: Re: [Dynapi-Help] Problem Using the DynAPI 2.51 Release...

Ok, so previous release (Version 2001.01.25) loaded all the files on startup, bu now I can load only a set of files.
Tell me if I mistake, but Now, the files to load (in case that u want to load the entire API) are the following:

  DynAPI.include('dynapi.api.*')
  DynAPI.include('dynapi.gui.*');
  DynAPI.include('dynapi.event.*');
  DynAPI.include('dynapi.ext.*');
  DynAPI.include('dynapi.util.*');

Thanks,
Nicolas

Cameron Hart wrote:

It might be because events are not part of the core API, you should make sure you are including events as well, egDynAPI.include('dynapi.event.*');
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Nicolas MASSART
Sent: 10 April 2001 14:56
To: dynapi-help
Subject: [Dynapi-Help] Problem Using the DynAPI 2.51 Release...
Hi !

I downloaded the 2.51 Release an tryed to update my old version (Version 2001.01.25).
But it does not work !!!
The new version shows alerts such as (see attachment)

This errors never happend before. So my code never changed too... Where is the bug ? Does it mean that I didn't use the API correctly or that the API is not compatible...

Please Help !!!

If the DynAPI changed it's use, where should I find an up to date documentation ?

Thanks,
Nicolas

--
----------------------------------------
Nicolas MASSART
mail : [EMAIL PROTECTED]

Coleebris
12, av de Versailles 75016 PARIS
web : http://www.coleebris.com/
tel : 01 40 50 60 47
fax : 01 40 50 67 66
----------------------------------------
 

Reply via email to