AS help plss guys!

  • cristake
  • Novice
  • Novice
  • cristake
  • Posts: 23

Post 3+ Months Ago

i have a menu with 5 buttons
they are all movie clips

This is the AS for them

Code: [ Select ]
b1.onRollOver = over;
b1.onRollOut = out;
b1.buttText.buttonText.text = "ACASA";

b2.onRollOver = over;
b2.onRollOut = out;
b2.buttText.buttonText.text = "SERVICII";

b3.onRollOver = over;
b3.onRollOut = out;
b3.buttText.buttonText.text = "INFO";

before.onRollOver = over;
before.onRollOut = out;
before.buttText.buttonText.text = "INTERNET";

b5.onRollOver = over;
b5.onRollOut = out;
b5.buttText.buttonText.text = "CONTACT";

function over() {
    this.gotoAndPlay(2);
}

function out() {
    this.gotoAndPlay(7);
}
  1. b1.onRollOver = over;
  2. b1.onRollOut = out;
  3. b1.buttText.buttonText.text = "ACASA";
  4. b2.onRollOver = over;
  5. b2.onRollOut = out;
  6. b2.buttText.buttonText.text = "SERVICII";
  7. b3.onRollOver = over;
  8. b3.onRollOut = out;
  9. b3.buttText.buttonText.text = "INFO";
  10. before.onRollOver = over;
  11. before.onRollOut = out;
  12. before.buttText.buttonText.text = "INTERNET";
  13. b5.onRollOver = over;
  14. b5.onRollOut = out;
  15. b5.buttText.buttonText.text = "CONTACT";
  16. function over() {
  17.     this.gotoAndPlay(2);
  18. }
  19. function out() {
  20.     this.gotoAndPlay(7);
  21. }


i want to add a on(release) function
ive tried everything but nothing happens
and if i make another layer and add a stop action on the first frame it dosen't stops


please help me guys
thx
  • Anonymous
  • Bot
  • No Avatar
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post 3+ Months Ago

  • cristake
  • Novice
  • Novice
  • cristake
  • Posts: 23

Post 3+ Months Ago

hmmm......
i wonder why everybody replys to anyone except me
  • thetopsites
  • Banned
  • Banned
  • thetopsites
  • Posts: 13

Post 3+ Months Ago

well i think you need to describe this more, but if you are trying to say you whant your buttons to change colours, you dont even need an AC!

if you are not sayin that, then im sorry!
  • cristake
  • Novice
  • Novice
  • cristake
  • Posts: 23

Post 3+ Months Ago

i don't want to change the colour of the buttons
i just wanna a a on(release) action
but it dosent work
  • classified
  • Expert
  • Expert
  • User avatar
  • Posts: 540
  • Loc: Bahrain

Post 3+ Months Ago

cristake wrote:
i don't want to change the colour of the buttons
i just wanna a a on(release) action
but it dosent work


try alt targeting ...

Quote:

button.onRelease = function {

_root.gotoAndPlay(20);
}

  • cristake
  • Novice
  • Novice
  • cristake
  • Posts: 23

Post 3+ Months Ago

i've tryied this but still no thing

if i would have where to upload the fla file, maybe you will understand and try to help me better
  • classified
  • Expert
  • Expert
  • User avatar
  • Posts: 540
  • Loc: Bahrain

Post 3+ Months Ago

cristake wrote:
i've tryied this but still no thing

if i would have where to upload the fla file, maybe you will understand and try to help me better

can u send that by email ?
is it big ?

Post Information

  • Total Posts in this topic: 7 posts
  • Users browsing this forum: No registered users and 17 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
 

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.