Search Tutorials
Adding ActionScriptNow.. this time to wrap it up together... Yap, we need to put a simple actioscript that drives it all.In Channel button, add action as follows:
on(release){
gotoAndStop(subchannel);
}
In subchannel layers, at stage, there are 4 buttons left. Each button have to be added actionscript. I will explain it one by one. For hill button, the actionscripts is:
on(release){
gotoAndStop(hill);
}
For wfall button, the actionscripts is:
on(release){
gotoAndStop(wfall);
}
For beach button, the actionscripts is:
on(release){
gotoAndStop(beach);
}
For lake button, the actionscripts is:
on(release){
gotoAndStop(lake);
}
In layer action & label at keyframe 1, add the action: stop()
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
![]() |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|