Hi
I didn't try yet to code in AS3 with Flash9. I choose to develop with Flex2.
I don't know now all about AS3 but:
With Flex, I build a kind of main class, like all other classes, but without
constructor. My app in MXML (only 4 lines of code) just define what is the
main class and whitch method of this class it does to call first. After
that, all is in AS3. My classes and also my main class are coded in *.as
files.
I've seen in Flash9 that with File>Publish settings>Flash>ActionsScript
version: ActionScript3.0>Settings, you can define a single "document class".
It seem's to be the main class whitch start playing the swf.
I tryed quickly to build an app with it, but it didn't start... sorry to
can't help you more...
I hope I bring a few light in your mind...
David Buff
----- Original Message -----
From: "Lori Hutchek" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Tuesday, November 14, 2006 8:24 PM
Subject: [Flashcoders] Letting go of AS2 for AS3
Okay im in the middle of reading AS3 Cookbook, and Essential AS3. And i'm
having some trouble grasping the concept of the main class file {as in the
root package for the program you are constructing}, both books talk about
this. But are they talking about constructing applications using MTASC/mxmlc
compilers or is there a way using the Flash 9 IDE to create a main class
file that the IDE needs to look for. I know u can write code on the
timeline, of course, but just wondering if there some other way which they
are elluding to, and me being slow am just not gettin'...
Thanks!
Lori-
_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com
_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com