2 Replies Latest reply on Apr 5, 2007 9:59 AM by blastbeat

    Instantiation of Custom Component in Flex

    blastbeat
      All,

      I have a page, (main.mxml) with a reference to a component I created which displays a list of severity's. I simply reference <custom:SeverityList>. However, in my main.mxml I already have a creationComplete event happening. I need to run the init function of the SeverityList component for it to populate the list from the database. My question is where should I run the init event? Should I stuff another initapp for my custom component after the present initapp in my main.mxml?

      Let me know if you need code samples and I'll post.