esiegel i can't do that because not all JPEGs have the same dimensions.
poab i will try what you said. Note that i did try this way too and it still didn't work:
function releace(whichPic){
var clipLoader = new MovieClipLoader();
var myListener = new Object();
clipLoader.addListener(myListener);
clipLoader.loadClip("pictures/recentPaintings/picture" + whichPic + ".jpg", "image");
myListener.onLoadComplete = function(){
image._x = 290 - (image._width / 2);
}
}
can't understand why
thanks for the help guys i will let you know if it worked
__________________
Web Hosting by HostoSapiens - 5,95€/month
1000MB storage, 40GB bandwidth, 500 emails, PHP, MySQL, FrontPage and more
|