PDA

View Full Version : Pageflip - iparigrafika.hu - reloading problem


gigabytes
01-10-2007, 04:25 AM
Hi there, this problem have been asked before but no one answered.

I know that the answer is already in the code, I just don't know how to make it work.

Here's my flash file http://angelslit.com/mag.htm

What happens there is that it loads 'Men's Health - page flip' first, then when you click Main Menu, it will load the original 'page flip'.

My problem is on the second loaded page flip, it won't turn now. According to the code, I must use the function 'Remove mouse listener'. Below is the code on the 'Main Menu' button.

on (release){
removeML();
loadMovieNum("pageflip2.swf","0");
}

Am I missing something?

Hope you could help!

Thanks,
Garry

gigabytes
01-10-2007, 04:48 AM
got my own answer here's the code on my 'main menu button'

mainmenu.onRelease=function(){
unloadMovieNum(2);
Mouse.removeListener(_level2.mousecontroll);
delete this.onRelease;
};