| NSurveyor 2004-02-22, 11:28 pm |
| This may work:
Create a new movie clip and put it over your filmstrip movieclip. Open the new
movie clip. Now, add invisible buttons (buttons with no Up frame but having the
Hit frame have the area on where the button can get activated from) ontop of
the pictures you can see. Add the following actionscript to each button with
the correct website:
on (release) {
getURL("www.yoursite.com", "_parent");
}
Now go back out of editing the movieclip. Select the movieclip and change the
instance name (from the properties panel) to "buttons". Change the instance
name of your filmstrip movie clip to "filmstrip". Select filmstrip and add the
following actionscript:
on (press) {
beginy = getProperty("filmstrip",_y);
beginx = getProperty("filmstrip",_x);
buty = getProperty("buttons",_y);
butx = getProperty("buttons",_x);
startDrag("", true, A, C, B, D);
//A,B,C,D should be replaced with what your ;
//parameters were before;
}
on (release) {
endx = getProperty("filmstrip",_x);
endy = getProperty("filmstrip",_y);
disx = getProperty("filmstrip",_x);
disy = beginy - endy;
disx = beginx - endx;
setProperty("buttons", _y, buty+disy);
setProperty("buttons", _x, butx+disx);
}
Hope this works out for you :-)
By the way add a loader, I could only see white for awhile
|