(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

