Flasher Archive
[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]
Subject: | Re: FLASH: Actionscript in F5 |
From: | John Dowdell |
Date: | Thu, 10 Aug 2000 00:52:58 +0100 |
At 1:19 PM 8/9/0, Matt Spiegler wrote:
> So I keep hearing that Actionscript in Flash 5 will be based
> on Javascript. What does this mean exactly?
The technote search engine is having hiccups at the moment (not all records
are being returned), but here's a synopsis from Friday. (From other
threads, sure, you can use ActionScript just as you do in Flash 4...
migrate over as it's comfortable for you.)
Date: Fri, 4 Aug 2000 12:20:16 -0700
To: flasherchinwag [dot] com
From: jdowdellmacromedia [dot] com (John Dowdell)
Subject: Re: FLASH: Flash 5 scripting?
At 11:32 AM 8/4/0, Brad Merritt wrote:
> From what I saw at FF2k, it looks like F5 scripting is basically
> JavaScript. Can any Flash5 users enlighten me if it would be a
> good idea for me to get a JavaScript book or go through the
> webmonkey tutorials so I can have a better grip on the new F5
> scripting? Does the new scripting have the same JS functions,
> syntax etc?
Yes, a JavaScript book can be a useful resource. Details:
-- The new ActionScript is modeled as closely as possible on JavaScript.
This was a key design goal.
-- However, ActionScript is not JavaScript... these scripts are processed
entirely within the Macromedia Flash 5 Player, and do not use external
JavaScript interpreters. These languages merely share syntax and structure.
-- You don't have to worry about browser differences in the Document
Object Model (DOM). With JavaScript every browser exposes different
properties and events to each type of object. In the Macromedia Flash
Player everything is predictable, regardless of which browser the SWF
happens to be playing in.
-- Any third-party book on JavaScript can likely be useful, because it
shows code structures and technique for achieving goals. Scripts within
such books may or may not be applicable... logic routines are easily
brought over, but DOM manipulations may be irrelevant in the Macromedia
Flash Player.
Summary: ActionScript uses JavaScript syntax and structure whenever
possible, so it should be easy to leverage JavaScript experience. These
scripts are executed by the Macromedia Flash Player rather than the varying
JavaScript interpreters, however, so they are not actually JavaScript
routines.
jd
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Full flasher archive now available online at:
http://www.chinwag.com/flasher/archive.shtml
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email helpchinwag [dot] com
[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]