Dear all,
I’ve a problem here. Using one of the tutorial under “Best of Kirupa thread”, I managed to modify the script and get a resizable dynamic photo gallery working perfectly. Now, I have an external swf with the following script. It works fine independently but when I load it in the container MC of my photo gallery, it don’t. What’s wrong with the script and what do I need to double check and change? Thanks for any help in advance!
[AS]
onClipEvent (load) {
_x = 0;
_y = 0;
div = 5;
onClipEvent (enterFrame) {
_x += (endX-_x)/div;
_y += (endY-_y)/div;
_root.home.onRelease = function() {
endX = 0;
endY = 0;
};
_root.works.onRelease = function() {
endX = -250;
endY = 0;
};
_root.skills.onRelease = function() {
endX = -500;
endY = 0;
};
_root.bio.onRelease = function() {
endX = 0;
endY = -200;
};
_root.links.onRelease = function() {
endX = -250;
endY = -200;
};
_root.contact.onRelease = function() {
endX = -500;
endY = -200;
};
}
[/AS]