1 person found this helpful
You can solve your problem by assiging name to your dynamic page and then try using myViewStackId.getChildByName(name) like:
var myCanvas:Canvas = new Canvas;
myCanvas.name = "someUniqueIdentifier"; //Also you can save this to a Object map to access data faster;
myCanvas.id = "someUniqueIdentifier"; //If you required some thing [optional]
//now you can access your viewStack child by saying :
var mCanvas:Canvas = myViewStackId.getChildByName("someUniqueIdentifier") as Canvas; // as you know this is Canvas
Hope this helps you.
It solved my problem.
It helped me.