Jag försöker följa denna tuten: http://www.tutorialized.com/view/tut...und-menu/22298 och jag lyckades ta mig igenom hela, och gjorde klart min första "knapp". Sedan antar jag att "reapeat all the steps for next link/button" gäller, och jag gjorde det, men något är fel. Den första knappen funkar fint, när man hovrar, så hörs et klick ljud och den spelar upp sin effect, men den andra knappen fortsätter "loopa", även fast man inte ens håller musen över den.
Jag undrar varför och hur man skall fixa det? Jag har jobbat med flash i ung. en vecka så tänk på det när ni förklarar - jag kan inte mycket. Jag misstänker att det kanske har något att göra med actionscriptet:
Step 32
Take the Selection Tool (V), click once on the Invisible Button to select it, open the Action Script Panel (F9) and enter the following Action Script code inside the Actions panel:
on (rollOver) {
_root.mouse_over_HomePage = true;
}on (rollOut) {
_root.mouse_over_HomePage = fstartlse;
}on (release){
getURL("http://www.toxiclab.org/");
}Step 33
Create a new layer above layer I.B.1 and name it action script. Then, click on the first frame of layer action script and enter the following Action Script code inside the Actions panel:
_root.HomePage.onEnterFrame = function() {
if (mouse_over_HomePage) {
_root.HomePage.nextFrame();
} else {
_root.HomePage.prevFrame();
}
};We're done!