I’m working on a new photogallery and even though I haven’t worked that much in flash it turns out quite well.
Anyway, I need some help with a few actionscript solutions that seems to be hard to figure out.
In the main timeline a have a movieclip with a few buttons.
When I press the buttons, the pictures are loaded externally from sfw files.
Now I want a loader to appear in the movieclip in the main timeline, right beside the button which is linked to the sfw file. I don’t want a loadbar or any detailed movieclip rolling, just the numbers and %.
I also need some help with the picture sfw:s. I can’t figure out how to make the picture to a link without put a button on top of it. I want the clickable area to have the same size as the picture and I want the pictures size to be relative (20% of the original size).
Enough of explaining, here’s the code I thought would work out.
this.createEmptyMovieClip(“holder”,1)
holder._x = 50;
holder._y = 40;
holder._xscale = 20;
holder._yscale = 20;
holder.loadMovie(“pics/1.jpg”);
holder.onRelease = function(){
gotoAndPlay(5);
}
Any help is appreciated.