What steps will reproduce the problem?
1. Create a new MXML component.
2. Place a ButtonScrollingCanvas instance in the component.
3. Place some additional controls within the ButtonScrollingCanvas.
4. Place the newly created MXML component in your application.
5. When the ButtonScrollingCanvas creates its children it will fail deep in
the mx.core.Container code with an error related to finding child "id's" on
documents.
What version of the product are you using? Latest.
This is fixed by adding this line when the innerCanvas is new'd:
innerCanvas.document = this.document;
Otherwise innerCanvas has a null document, which causes it to use the root
document, the application, to find all ID properties.
Original issue reported on code.google.com by troy.gil...@gmail.com on 11 Aug 2007 at 3:16
Original issue reported on code.google.com by
troy.gil...@gmail.com
on 11 Aug 2007 at 3:16