I'm not sure why it broke; I don't think we had to adjust the drawing code in our components between Beta 2 and Beta 3. Can you simplify the problem and post some code?
BTW, why are you creating a separate child Sprite to draw into? Why aren't BoxTypeA, etc. overriding updateDisplayList() to do their own drawing?
- Gordon
-----Original Message-----
From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Tim Hoff
Sent: Wednesday, May 10, 2006 2:22 PM
To: [email protected]
Subject: [flexcoders] Re: Beta3 Please Help
Did you change target to relativeTo in the addChild?
--- In [email protected], "sufibaba" <[EMAIL PROTECTED]> wrote:
>
> Hello Everyone,
>
> I am migrating from Beta2 to Beta3.
>
> I have a custom component that draws a series of boxes on the
screen
> from an XML file. The boxes are attached to one another according
to
> their parent child relationship that is defined in the XML.
>
> The boxes have different object types that extend UIComponent:
> BoxTypeA, BoxTypeB, BoxTypeC
>
> within each of the box object is code that creates a sprite (draws
the
> shape of the box), which is then attached to the parent box object
> using the addchild().
>
> In Beta2, the entire app works perfectly but somehow in Beta3, the
> boxes are not drawn within the box Objects.
>
> Is this a bug in beta3 do you think?
>
> Help on this is so much appreciated.
>
> Cheers,
>
> Tim
>
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
Yahoo! Groups Links
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
SPONSORED LINKS
| Web site design development | Computer software development | Software design and development |
| Macromedia flex | Software development best practice |
YAHOO! GROUPS LINKS
- Visit your group "flexcoders" on the web.
- To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
- Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.

