Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

ANN: Javascript Users - New JS32 Build Available

0 views
Skip to first unread message

Glenn Bull

unread,
Mar 2, 2007, 1:10:22 AM3/2/07
to
Hello fellow awarians,
 
For those of you who are using JavaScript in Authorware, there is some great news!  When the AW team integrated the ability for us to use JavaScript, by keeping the actual DLL related to the language unaltered, we have been able to download the source code to updated versions of the language, compile it to a new DLL, and replace the existing JS32.dll with the new one. We then instantly get access to bug fixes within the language, and new functionality as it becomes available rather than having to wait for a new version of Authorware.
 
AW7 was released with an early revision of JavaScript 1.5 - which turned out to have a lot of issues!  My own company struck several of these, including a garbage collection issue that meant some variables were referencing old values. A new final version of the language was released recently (version 1.6), and 1.7 is also due out shortly. We have compiled version 1.6 and found that some of the advantages, for example, the inclusion of E4X - a powerful technology for creating and processing XML content within JavaScript, will most certainly bring a smile to your face.
 
I've uploaded the new DLL to our company site, and you can retrieve it here...
 
 
Also, here are some other useful links...
 
 
 
When version 1.7 is final, I'll post again. Check out the new 'let' statement/expression for scoping in this release - woohooo!!!
 
Regards, Glenn.

Glenn Bull
Hand Multimedia
P.O Box 12-116
Christchurch
New Zealand
Ph: 64 3 379-8959
Cell: 64 21 2233-040
Web:
www.hand-multimedia.co.nz
Skype: callto://glennbull

Andrew Poulos

unread,
Mar 2, 2007, 1:54:53 AM3/2/07
to
Glenn Bull wrote:

> I've uploaded the new DLL to our company site, and you can retrieve it
> here...
>
> http://dev.hand-multimedia.co.nz/js32.dll
>

Thanks Glenn

Andrew Poulos

Erik **AdobeCommunityExpert**

unread,
Mar 2, 2007, 9:28:39 AM3/2/07
to
If this is the only way Authorware is going to advance, at least in the
foreseeable future, I may just have to finally buckle-down and learn how
to do jscript in Authorware!
Thanks Glenn.
Erik

Glenn Bull wrote:
> Hello fellow awarians,
>
> For those of you who are using JavaScript in Authorware, there is some
> great news! When the AW team integrated the ability for us to
> use JavaScript, by keeping the actual DLL related to the language
> unaltered, we have been able to download the source code to updated
> versions of the language, compile it to a new DLL, and replace the
> existing JS32.dll with the new one.

--
Erik Lord
http://www.capemedia.net
Adobe Community Expert - Authorware
http://www.adobe.com/communities/experts/
------------------------------------------------------------------------
http://www.awaretips.net - samples, tips, products, faqs, and links!
*Search the A'ware newsgroup archives*
http://groups.google.com/group/macromedia.authorware

Ron Lubensky

unread,
Mar 2, 2007, 6:52:43 PM3/2/07
to
Glenn, nice work!

I'm off doing other things besides Javascripting these days. But could you can
shoot me over a quick list of new JS features? I'll use it as a starting guide
to update to my JavaScript Quick Reference.

Glenn Bull

unread,
Mar 2, 2007, 7:12:44 PM3/2/07
to
No problem. Actually this brings up a good point - does your JSQR have a
way to identify what version a function is available from? In 1.6 there are
7 new functions (listed below), but there is also E4X support. I don't think
your JSQR will really deal with that will it? It's more a syntactical
thing. Anyway, there are more new things in JS 1.7 - once this is final I'll
put a compiled list of those up, for a preview, check out
http://developer.mozilla.org/en/docs/New_in_JavaScript_1.7
JavaScript 1.6 - New Functions

There are seven new Array methods that can be separated into two categories,
item location methods and iterative methods. The item location methods are:

a.. indexOf() - returns the index of the given item's first occurrence.
b.. lastIndexOf() - returns the index of the given item's last occurrence.
The iterative methods are:

a.. every() - runs a function on every item in the array and returns true
if the function returns true for every item.
b.. filter() - runs a function on every item in the array and returns an
array of all items for which the function returns true.
c.. forEach() - runs a function on every item in the array.
d.. map() - runs a function on every item in the array and returns the
results in an array.
e.. some() - runs a function on every item in the array and returns true
if the function returns true for any item.
Regards, Glenn.

"Ron Lubensky" <webfor...@macromedia.com> wrote in message
news:esadcb$sl7$1...@forums.macromedia.com...

Ron Lubensky

unread,
Mar 2, 2007, 7:56:16 PM3/2/07
to
Nice! Of course I'll have to add JS version to the reference detail. BTW, make sure the updated JS dll gets promoted at TAACs.

Ron Lubensky

unread,
Mar 2, 2007, 8:26:12 PM3/2/07
to
Oh man, how easy it with E4X to work with XML *inline*, access child nodes at any depth with .. syntax and reference XML attributes with @ prefixes. Too cool.

Glenn Bull

unread,
Mar 4, 2007, 6:06:54 PM3/4/07
to
Ah-huh, I'm hearing yuh! I'm also really hanging out for JS 1.7, the new
'let' statement in that version is going to make life so much simpler.

Glenn.


"Ron Lubensky" <webfor...@macromedia.com> wrote in message

news:esairk$58h$1...@forums.macromedia.com...

0 new messages