Perhaps you can post a working example somewhere or at least a stack trace? That'll make it easier to follow.
On 4/25/07, Troy A. Binford <[EMAIL PROTECTED]> wrote: > This is a little complex, but I'll try to describe what's going on to > the best of my ability. > > 1. Create a new Flex Application. > 2. Add a Canvas or whatever and give it an id. > 3. Create a new Custom Control that is a DataGrid. > 4. Make the DataGrid editable and give it a dataProvider and at least > one column. > 5. Add itemEditEnd event. > 6. Have the listener method fire an Alert.show("test") > 7. close the Custom Control. > 8. Create a mx:Script section in the main app. > 9. create a private var (x) that is an instance of the Custom Control. > 10. Add initialize event. > 11. Have the listener assign x = new <Custom Control Name>() > 12. addChild(x) > > Run the program and edit a column (making itemEditEnd fire). If done > correctly, the Alert.show() will result in a large stack dump and an > undefined error. > > My question is: Is this my fault? What did I do wrong? > > > > -- > 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 > > > >