Movie Clip Button inside movie clip does not perform actions

  • clarence
  • Born
  • Born
  • No Avatar
  • Joined: Feb 23, 2009
  • Posts: 1
  • Status: Offline

Post February 23rd, 2009, 4:01 pm

I have a movie clip that has 5 other movie clips inside it. The movie clips inside it have this actionscript in them:

Code: [ Select ]
_root.FilmStrip.P1.onRollOver = function() {
_root.FilmStrip.P1.gotoAndPlay("rollover");
}
  1. _root.FilmStrip.P1.onRollOver = function() {
  2. _root.FilmStrip.P1.gotoAndPlay("rollover");
  3. }



Filmstrip is my main movie clip instance name and P1 is the instance name of one of the movie clips in side it. I just want the P1 to move to the frame labeled "rollover" when it is hovered on. Right it doesn't do anything when you hover over it.
Moderator Remark: ; Added [code] tags
  • Anonymous
  • Bot
  • No Avatar
  • Joined: 25 Feb 2008
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post February 23rd, 2009, 4:01 pm

  • graphixboy
  • Control + Z
  • Mastermind
  • User avatar
  • Joined: Jul 11, 2005
  • Posts: 1828
  • Loc: In the Great White North
  • Status: Offline

Post February 23rd, 2009, 10:30 pm

I might have to have you post your file to really answer the question but try
Code: [ Select ]
_root.FilmStrip.P1.onRollOver = function() {
this.gotoAndPlay("rollover");
}
  1. _root.FilmStrip.P1.onRollOver = function() {
  2. this.gotoAndPlay("rollover");
  3. }
If at first you don't succeed F1... If that doesn't work try Google!
//// Designer, Developer & Teacher - Interactive, Motion and 3D \\\\
Portfolio at WhenImNotSleeping.com

Post Information

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