Jump to content

przyciski we flashu


denispl

Recommended Posts

moze dlatego, ze taka jest skladnia programu?

 

 

mozesz tez napisac:

gotoAndStop("jakas_klatka_jakiejs_sceny");

 

gdzie "jakas_klatka_jakiejs_sceny" to label jakiejs klatki w jakiejs kolejnej scenie.

 

 

gdybys chcial zrezygnowac jednak z przyciskow, dajesz na timeline

 

bóton.onRelease = function (){

gotoAndStop("Scene 2", 1);

};

 

gdzie instance name MC to "bóton". Kod wyzej sprawia, ze MC staje sie przyciskiem.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

We are using cookies. Read about our Privacy Policy