Buttons wont work inside my mc

  • mayan
  • Born
  • Born
  • mayan
  • Posts: 1

Post 3+ Months Ago

on my main scene, i have created a button. when you roll over it i have put this code

Code: [ Select ]
on(rollOver) {
        tellTarget("/house")  {
        gotoAndStop("up");
                          }
          }
    
    on(rollOut) {
        function wait() {        
  tellTarget("house") {
        gotoAndStop( 1 );
    }
    clearInterval(myTimer);
}
myTimer = setInterval(wait, 9000); // calls the function after 1 second


}
  1. on(rollOver) {
  2.         tellTarget("/house")  {
  3.         gotoAndStop("up");
  4.                           }
  5.           }
  6.     
  7.     on(rollOut) {
  8.         function wait() {        
  9.   tellTarget("house") {
  10.         gotoAndStop( 1 );
  11.     }
  12.     clearInterval(myTimer);
  13. }
  14. myTimer = setInterval(wait, 9000); // calls the function after 1 second
  15. }


ok well, as you hover over it telltargets a movieclip called "house" this is my menu. inside my house mc, there is two frames,
frame 1 : blank with a stop();
frame 2 : menu with buttons with "onGotoAndPlay( frame );"

the problem is when i test it, i hover over the button on(rollOver)
the movieclip "house" is telltargetted, and the frame label "up" is displayed -- frame 2

this is my menu, the buttons react (the cursor changes when you go over them", i cant click them though because their actions arent working

how can i correct this problem ? or get round it ?

Mayan
  • Anonymous
  • Bot
  • No Avatar
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post 3+ Months Ago

  • Bobbo171
  • Graduate
  • Graduate
  • Bobbo171
  • Posts: 174

Post 3+ Months Ago

well what version of flash are you using, becuase telltarget is depreciated

Post Information

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