LOADING
Loading
Hi , welcome back.
LogoutLOGOUT
 
  Lost password?  
Hi
 


Prev Previous Post   Next Post Next
  #1  
Old 09-24-2002, 11:12 AM
schlumpf schlumpf is offline
Registered User
 
Join Date: Jul 2002
Location: Hamburg
Posts: 16
Rep Power: 0
schlumpf is on a distinguished road
Question movieclip.onRollOut

Hi again,

i have a movie that loads an extra movieclip with some kind of a selfmade menu, that controls my movie. works fine so far.
the menu opens when you roll over a logo (a button with on (rollover)). if you select an item in this menu, the menu collapses and returns back to the logo, and my main movie does what was selected in the menu.
BUT: if you don't select anything in the menu and instead move back to the main movie and do something else there, the menu remains open and won't collapse until you select an item in the menu.
I want to collapse the menu when rolling out of the menu, so if you don't select anything in the menu but you leave the menu-area the menu should collapse.
To react on rolling out from the menu i used
Code:
_level10.onRollOut = function() {
     //here i tell the menu movie to go back to the logo
}
(the menu is loaded into level 10). to check if this event is fired i used some trace-command, but it seems this event doesn't get fired where is the error in my logic?
the onRollOut event is declared in an extra timeline and should be active throughout the whole main-movie.

thanx!


UPDATE: i tried the same thing with a normal movieclip, not a _levelx movieclip. that works fine. but why won't this work with levels?
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump




All times are GMT. The time now is 10:43 PM.