|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Differences between the tow versions: BUTTONS
Hi all - I am new to this forum and to Flash as well. I had a media course and I have noticed that Flash MX gives less help than normal flash: ex. with buttons: in order to have the button to go and PLay: My teacher said: select the button instance and when cilckin GotoAndPLay it should also open the instance box with (onRelease-etc) so that it recognise it is a button. MX don't give this option and I have to type it myself. As I am really not good with action scripts yet, can anyone advise if is me that I mistake somehting or if it is really a difference in the 2 Flash versions? Also if it's like this - how do I know how the actions scripts should start (onRelease, onMouseOver... as I have noticed differences there as well)? Any help is appreciated!!! KiNa |
|
#2
|
|||
|
|||
|
Hi, Im not sure about this but it sounds like your having trouble in the expert mode AS panel. There's an option at the top of it to switch to normal mode. That's the one where most options are shown as drop down boxes etc.
If you make a button instance in the library then you add code to it like: Code:
on(rollOver)
{
gotoAndPlay(1);
}
If your adding button behaviour to a movie clip then you can use: Code:
myMovie.onRollOver = function()
{
gotoAndPlay("larry");
}
|
![]() |
| Viewing: Dev Shed Forums > Web Design > Flash Help > Flash 5.0 Against Flash Mx |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|