Hmm. I wonder what I am doing wrong.
I am using the SDK and a text editor to create my .as files.
I have succeeded in compiling and running some custom classes that I have built.
I have succeeded in using some of the flex components by copying the component
source files to my source directory and changing the package names in the
component source files.
I tried pointing the compiler to the source files themselves by adding the path
to the source path in the flex-config.mxml file like this:
<source-path>
<path-element>
/Users/Tom/flex/flex_sdk_3/frameworks/projects/framework/src
</path-element>
</source-path>
It looks like the library-path is set properly, pointing to the SWC files.
My program using the flex components will compile with no errors, but when I
try to run it I get
TypeError: Error #1009: Cannot access a property or method of a null object
reference.
and a list of the mx components in the program.
Thanks for any advice. In the meantime, I will keep reading.
--- In [email protected], David Pariente <xxmapach...@...> wrote:
>
> Yes, i think from flex you can perfectly use them using only AS3.
>
> No secret about that.
>
> If you mean using them in flash, i thing it's also possible using the special
> packaged flex component kit for flash, available at flex website.
>
> ------------------------------
> David Pariente
> RIA consultor
> ------------------------------
>
> El 04/01/2010, a las 03:14, "ztpi1" <zt...@...> escribió:
>
> Is it possible to use the components in the flex framework without using mxml?
>