Simple. Use the addChild() method of the Panel and add the canvas to it as a child.
-- Jeethu Karthik J http://jeethukarthik.com Robert Orben - "Older people shouldn't eat health food, they need all the preservatives they can get." On Fri, Dec 12, 2008 at 3:46 PM, Lord <[email protected]> wrote: > > Thank, > > ok it's ok... > > i created myclass that extend LayoutContainer > > also i've a panel mypanel tahat extends panel and here i would use > myclass... > > how can i rich this? > > regards > Lord > > On 12 Dic, 10:55, "Jeethu Karthik" <[email protected]> wrote: > > As you said, create a class extending the LayoutContainer class. > > > > Next override the protected function updateDisplayList. Call the > > super.updateDisplayList function. Then write your own custom layout > logic. > > > > -- Jeethu Karthik J > > http://jeethukarthik.com > > > > Jay Leno - "The reason there are two senators for each state is so that > one > > can be the designated driver." > > > > On Fri, Dec 12, 2008 at 2:30 PM, Lord <[email protected]> wrote: > > > > > Hi all, > > > > > i would create a custom layout container? > > > > > for example my class customcontainer extends LayoutContainer.. > > > > > how do this? > > > > > thanks > > > > > Lord > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Flex India Community" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/flex_india?hl=en -~----------~----~----~----~------~----~------~--~---

