button release example


/ Published in: ActionScript
Save to your folder(s)



Copy this code and paste it in your HTML
  1. on (release) {
  2. if (_level0.current_project < _level0.project_arr.length - 1)
  3. {
  4. _level0.current_project++;
  5. }else{
  6. _level0.current_project = 0;
  7. }
  8. loadMovie(_level0.project_arr[_level0.current_project], _root.projectsMain.projectMc);
  9. _root.projectName = _level0.projectName[current_project];
  10. }

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.