Thanks a lot, Cory, this helps, but only partially.
//code in main class extending Application
var triangle:FlexSprite = new FlexSprite( );
//draw triangle
rawChildren.addChild(triangle);
shows a triangle in SWF, but also shows an error:
(output)
[Fault] exception, information=ArgumentError: Erro
Flex apps override addChild to only allow things that implement
IUIComponent. If you need to add a child that's just a plain display
object, manipulate the rawChildren property instead.
On 2/14/08, Gregory N <[EMAIL PROTECTED]> wrote:
> Glen,
> > ...you can have your class in the app folder
>
> >
Glen,
> ...you can have your class in the app folder
> called SystemCore.as this looks like it extends a display object
Not exactly :-)
If It extends Sprite, the result is "grey-gradient" standard flex bg,
w/o any traces of my objects. Trace commands are executed nice,
however.
If I make the main
Hi,
Sorry was getting confused with what you were trying to do...
You can write pure AS3 files for Flex - all MXML gets "compiled
down" to AS3 before it is compiled to bytecode.
(I had done followed an example online which has a pure AS3
component - once it is written, you add the p
Glen, thanks for your reply.
Previously with AS2, I have used the Linkage / AS2 class file
> method, so this is a similar thing. Look at Keith Peter's post here for
> some direction:
>http://www.bit-101.com/blog/?p=853
I'd like to mention one thing here about embedding symbols (movieclip
Hi,
I had similar problems - I have been developing with FD3 (nice) to
write AS3 code and using Embed to add graphics / sounds at compile
time. Graphics were created as MovieClips in Flash 8 - I have one file
and set Linkages.
Previously with AS2, I have used the Linkage / AS2 class f
Hi all,
As far as I know, so called "pure AS3 project" typically uses flash classes,
intristics and others that come along with Flash IDE.
>From the other side, "Flex2 project" can be built with Flex2 SDK , but
*based on .mxml file*.
Frankly, I'd prefer to use flash-like class structure, instead o
7 matches
Mail list logo