Layer Style Menu help?


hi,
what i'm creating visual building plan.
the basic core of 30 stages of build in form of 30 images on 30 different frame, linked 30 months (buttons across top) have left , right arrow function cycle through frames.

what need ability show items cranes etc on build (toggle on or off)
so have 30 new frames have building + cranes on them.

now need way switch 30 standard frames, the 30 crane frames @ given point eg. if im on frame 10 (month 10) , turn on cranes, i'll see frame 10 (month 10) cranes included. carry on cycling through crane frames, until decide turn off cranes , switch normal mode, again current frame.

thanks :)

alright.

you can use same type of logic put in response other thread.

i create 2 movie clips on stage, 1 30 standard frames. other 30 crane frames, both stop() in first frame.

then, give each of them instance names (say "normframes" , "craneframes").

now, need 3 total buttons. "forwardbtn" "backbtn" , "togglebtn". first move forward, second move back, , third toggle crane frames on , off.

in first frame of root timeline place following code:

craneframes._visible = false;

forwardbtn.onrelease = function(){
craneframes.gotoandstop(craneframes._currentframe + 1);
normframes.gotoandstop(normframes._currentframe + 1);
}

backbtn.onrelease = function(){
craneframes.gotoandstop(craneframes._currentframe - 1);
normframes.gotoandstop(normframes._currentframe - 1);
}

togglebtn.onrelease = function(){
craneframes._visible = !craneframes._visible;
}


More discussions in Adobe Animate CC - General


adobe

Comments

Popular posts from this blog

Convierte tu Raspberry en un NAS. Firmware fvdw-sl 15.3 - Raspberry Pi Forums

How to format a Get Request

avrdude: verification error, first mismatch at byte 0x0000 0x0c != 0x62