This content has been marked as final. Show 3 replies
contentPah is used to specify linkageID's only, and will not work for a URL. you correctly used the load method to get the picture in there, now you just have to scale it. if you set the loader's scaleContent to true, your image will scale to the loader's size, and vice versa if you set the property to false. if you need to do some custom scaling based on the size of the image, you can grab those properties like so:
not that the above property, and any scaling commands, will only work after the loader finishes loading, so you'll need to put that stuff in an event handler for the loader.complete event...
hope that helps
thanks for the tips.
although i did get it to work, by simply putting....
...in the script for the Loader instance on the stage, basically just give it a dummy image to load. now all my images load up fine dynamically. go figure.
matter of fact doesnt matter what you put in that script, just as long as it is one character long....on the instance on the stage.
i put ...a;....on line one, and it works.