|


Macromedia Flash
Frame Dependant Button Action +
Clip
| Source
ActionScript for the Button
on (release) { var intFrame = _currentframe; switch (intFrame) { case 1 : strDisplay = "Went to frame 2!"; intFrame++; break; case 2 : strDisplay = "Went to frame 3!"; intFrame++; break; case 3 : strDisplay = "Went to frame 4!"; intFrame++; break; case 4 : strDisplay = "Went to frame 2!"; intFrame = 2; break; default : trace("For all other frames!"); } gotoAndStop(intFrame); }
© 1998-2008
Martin Vögeli. Für Inhalte und Links werden keine Verantwortung
übernommen.
martinvoegeli@gmx.ch
| +41 76 505 8 503 | birdy1976.com
| elearning.zhaw.ch
|