Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

AS3 classes source file location?

New Here ,
Dec 07, 2011 Dec 07, 2011

Can anyone tell where the AS3 package source files (*.as) are located?

Besides for looking up class definitions in the AS3 framework in the Actionscript 3 Language Reference site, I'd like to open specific class files to look at them in their entirety. But I can't seem to find them, nor can I find any documentation specifying their location.

Any information on where the core AS3 package files are located locally would be appreciated.

Thanks.

AS3 Reference

( http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/index.html

TOPICS
ActionScript
3.2K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Dec 07, 2011 Dec 07, 2011

If you go into your Flash Folder in your program files, go into Common, Configuration, Actionscript 3.0, you will find most of the classes in there I think.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Dec 07, 2011 Dec 07, 2011

Thanks Nick2Price.

I did find as3 classes there, but none the core ones. ex - where is the Event or Object class?

Many of the *.as files are bucketed under display or interface related directories.

I'm trying to get a good grasp of the fundamentals, but I'm finding cursory explanations of how to extend a specific core class not enough, and would like to view a class in its entirety. It would be helpful to have a brief outline of where precompiled classes are, and how they are organized. I find it frustrating that this is brief yet important piece of info is not available in introductory documentation, say under 'Packages'. Why the opaqueness Adobe??

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Dec 07, 2011 Dec 07, 2011

This has actually started to bugger me now, as I cant find anything online, and I cant find the location of flash.display.Movieclip.  My thinking is that the library is packaged within the sdk or built into the player.  I have found some other code under  Adobe/Common/First Run

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Dec 07, 2011 Dec 07, 2011
LATEST

Well Nick, I think you were right..

The following summarizes add/modify classpaths (as2) and 'source path' (as3) :

http://help.adobe.com/en_US/flash/cs/using/WS3e7c64e37a1d85e1e229110db38dec34-7fa4a.html

Under Flash Preferences menu ->ActionScript->Language->ActionScript 3.0 Settings you find at the top level :

Filed labeled "Flex SDK Path : $(AppConfig)/ActionScript 3.0/flex_sdk/4.0.0/"

Found the flex_sdk folder in the Flash application folder (mac), Programs file on PC I imagine.

Therein is a 'flex.swc' file, which I'm guessing has all the core classes.

I'm guessing one needs to download the Flex SDK source code here; you may need to download & learn how to use a Subversion (versioning app) client ?? :

http://opensource.adobe.com/wiki/display/flexsdk/Flex+SDK

Seems like a lot of hoops to jump through just to access those source files for a beginner.

Frustrated.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines