simple button

Play a movie code doesn't work

Page 1 of 1

3 Replies - 896 Views - Last Post: 28 May 2009 - 04:15 AM

#1 mprince48  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 2
  • Joined: 21-May 09

simple button

Post icon  Posted 21 May 2009 - 07:27 AM

Play a movie code doesn't work

onRelease {function
	 (gotoAndPlay(2)
};


:blink:
Is This A Good Question/Topic? 0
  • +

Replies To: simple button

#2 Nexis  Icon User is offline

  • New D.I.C Head

Reputation: 1
  • View blog
  • Posts: 2
  • Joined: 22-May 09

Re: simple button

Posted 22 May 2009 - 07:37 AM

on(release) {
	gotoAndPlay(2);
}


Was This Post Helpful? 0
  • +
  • -

#3 scooterfort  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 26
  • Joined: 24-May 09

Re: simple button

Posted 24 May 2009 - 06:29 PM

View Postmprince48, on 21 May, 2009 - 06:27 AM, said:

Play a movie code doesn't work

onRelease {function
	 (gotoAndPlay(2)
};


:blink:



you could also simplify the code by just doing this..

onRelease{
gotoAndPlay(2);
}

This post has been edited by scooterfort: 24 May 2009 - 06:30 PM

Was This Post Helpful? 0
  • +
  • -

#4 vineee1985  Icon User is offline

  • New D.I.C Head

Reputation: 1
  • View blog
  • Posts: 3
  • Joined: 28-May 09

Re: simple button

Posted 28 May 2009 - 04:15 AM

You can do this in two ways
either write the code on the button itself or write the code in the frame but both differs

paste this code in the button
onRelease{
this.gotoAndPlay(2);
}



else

paste this code in the frame
this.button.onRelease = function(){
this.gotoAndPlay(2);
}


:rolleyes:
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1