Loading external image into a movieClip - HTML5 Canvas
I have a function that is to populate a movie clip with the values of variables.
this.pd_PTSVBBEVA=function(){
// This all works fine:
exportRoot.PTSVBBEVA.pDisplay.pName.text = t_PTSVBBEVA;
exportRoot.PTSVBBEVA.pDisplay.pDesc.text = c_PTSVBBEVA;
PP_URL = u_PTSVBBEVA;
// this bit does not:
var pPic = new createjs.Bitmap(p_PTSVBBEVA);
exportRoot.PTSVBBEVA.PDisplay.pic.addChild(pPic);
exportRoot.PTSVBBEVA.PDisplay.pic.scaleX = .2; exportRoot.PTSVBBEVA.PDisplay.pic.scaleY = .2;
}
The error produced: Uncaught TypeError: Cannot read properties of undefined (reading 'pic')

'pic' is certainly there in my MC, it is an empty MC:

Looks like it should work, I have a similar function that populates another type of MC in other applications that displays the image just fine, what might I be missing here?
Thanks!
