I am loading a jpg in _level20
I am trying to get the _width and _height values but I cannot. Here is the code. Can I use getProperty for this?
Thanks,
var myMCL:Object = new MovieClipLoader();
for (b=1; b<21; b++) {
this.button.onRelease = function() {
myMCL.loadMovie("gallery/photo10.jpg", 20);
picWidth = myMCL._width;
picHeight = myMCL._height;
trace(picWidth);
trace(picHeight);
};
}
[/color red]
I am trying to get the _width and _height values but I cannot. Here is the code. Can I use getProperty for this?
Thanks,
var myMCL:Object = new MovieClipLoader();
for (b=1; b<21; b++) {
this.button.onRelease = function() {
myMCL.loadMovie("gallery/photo10.jpg", 20);
picWidth = myMCL._width;
picHeight = myMCL._height;
trace(picWidth);
trace(picHeight);
};
}
[/color red]