How do I configure which symbol to play upon release of a button?


i installed flash template has "read more" buttons.  see actionscript button is:

 

header 1
onclipevent (load) {
num = 1;
this.title2.num = 4;  // line frame number of symbol button links to
this.title2.name1 = "more 04";
}

 

after experimenting, realize 3rd line controls page (ie/ frame number) button links to.  in above example, button link frame 4 of symbol.  in button same line reads:  this.title2.num = 5 , clicking button link frame 5 of symbol.  

 

nowhere in above code shows symbol go - seems know go (it goes symbol called 'content movie y6').  question is, how know symbol link to?  i'd know in case want change link in future.

 

more info:  of these "read more" buttons have roll-over effect movie clip symbol called 'button_more'.  actionscript code button_more symbol is:

 

header 1
on (rollover) {
if (_root.link<>6) {
  _parent.gotoandplay("s1");
}
}
on (releaseoutside, rollout) {
if (_root.link<>6) {
  _parent.gotoandplay("s2");
}
}
on (release) {
if (_root.link<>6 , _root.animation == 1) {
  _root.animation = 0;
  _root.link_prev = _root.link;
  _root.menu["item"+_root.link].gotoandplay("s2");
  _root.link = 6;
  _root.img = 0;
  _root.more = num;
  _root.tx_more = name1;
  _root.play();
}
}


i still can't see anywhere configures symbol play upon release of button.  can see or if in above code?  how configure symbol play if want change in future?

hi,

onclipevent (load) as2 event handler triggering on specific event. here refers actions upon successful load of movieclip(and not button).

the actions within event execute once movie appears on stage. example, if place movie clip (give instance name of "mymovie") on 35th frame (for example) of main timeline ...then when test movie out in flash, see associated actions taking place movie clip exists, first appears....where loads onto stage.

thanks!



More discussions in Adobe Animate CC - General


adobe

Comments

Popular posts from this blog

How to decompile jsxbin to jsx

Gavik Photoslide GK2: Not able to upload photos - Joomla! Forum - community, help and support

Phoca Guestbook logger registret bruger af - Joomla! Forum - community, help and support