putting a movie in a button so when it's clicked, it plays?

  • gazzajones
  • Born
  • Born
  • No Avatar
  • Joined: Nov 02, 2006
  • Posts: 2
  • Status: Offline

Post November 2nd, 2006, 7:36 am

hey people. pretty basic stuff i know but im an amature. im tryin to put a movie into a button so when the button is clicked, it plays the movie then goes where i want it to. has anyone got any ideas on how i would do this?
it would be VERY helpful

cheers

gazza
  • Anonymous
  • Bot
  • No Avatar
  • Joined: 25 Feb 2008
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post November 2nd, 2006, 7:36 am

  • IceCold
  • Guru
  • Guru
  • User avatar
  • Joined: Nov 05, 2004
  • Posts: 1254
  • Loc: Ro
  • Status: Offline

Post November 2nd, 2006, 7:53 am

yea, instead of creating a button, create a movie clip calle btnAnimated, place your movie in it, name the instance of the movie btnAnimated (in the properties Panel), then, in the timline, in a keyframe where the button exists, place this code:
btnAnimated.onPress = function()
{
this.gotoAndPlay(5); // or any other frame
}
“True mastery transcede any particular art. It stems from mastery of oneself - the ability, developed throgh self-discipline, to be calm, fully aware, and complety in tune with oneself and the surroundings. Then, and only then, can a person know himself. ”
  • gazzajones
  • Born
  • Born
  • No Avatar
  • Joined: Nov 02, 2006
  • Posts: 2
  • Status: Offline

Post November 2nd, 2006, 8:13 am

can i then make a link to another scene usin ordinary codin?
  • IceCold
  • Guru
  • Guru
  • User avatar
  • Joined: Nov 05, 2004
  • Posts: 1254
  • Loc: Ro
  • Status: Offline

Post November 2nd, 2006, 11:32 pm

omg ... i think i should change my signature with this new one:
"why use scenes when movie clips behave exactly the same, and with no problems while scenes behaviour is not that good? tip: copy paste all your frames from a scene to a movie clip"
“True mastery transcede any particular art. It stems from mastery of oneself - the ability, developed throgh self-discipline, to be calm, fully aware, and complety in tune with oneself and the surroundings. Then, and only then, can a person know himself. ”
  • graphixboy
  • Control + Z
  • Mastermind
  • User avatar
  • Joined: Jul 11, 2005
  • Posts: 1828
  • Loc: In the Great White North
  • Status: Offline

Post November 5th, 2006, 1:43 pm

I'm sure Adobe is looking for something to scrap out of Flash before the release of v9

Maybe we could petition them to start with scenes?

:-)

Post Information

  • Total Posts in this topic: 5 posts
  • Users browsing this forum: No registered users and 63 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
 
 

© 2011 Unmelted, LLC. Ozzu® is a registered trademark of Unmelted, LLC.