Thanks for your response. I have to weigh whether or not I want to jump
through the extra hoop or not (I can create a non-MXML app where I can do
things straight away).

Thanks again,
Eric


On Wed, Sep 21, 2011 at 1:11 PM, <[email protected]>wrote:

> (I hate webmail apps... resent)
>
> addElement() is meant for display objects that extend the
> SpriteVisualElement class, which are a part of the Flex libraries. What
> you need to do if you want to use Sphere as you have made it, is to
> create a wrapper display object that extends SpriteVisualElement and
> have the wrapper add your Sphere object via an addChild(). You would do
> an addElement() on your wrapper.
>
>
> jord
> -------- Original Message --------
> Subject: Re: [Flashcoders] Question about SWC elements for use in Flex
> From: "Eric E. Dolecki" <[email protected]>
> Date: Wed, September 21, 2011 11:04 am
> To: Flash Coders List <[email protected]>
>
> If I make an ActionScript Project - things work fine. I link the SWC,
> import
> the asset's stub class & I can use it. However I can't figure how to do
> the
> same for a Flex Project or Flex Mobile Project yet.
>
>
> _______________________________________________
> Flashcoders mailing list
> [email protected]
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to