Hi, Guys
My onMouseDown wont works when I upload the website. But work totally fine when I test it (Ctrl+Enter) or swf files. Some of them suggest it has got to do with the loadclip. Therefore, my onMouseDown wont works.
Sitemap
loadClip onward & createEmptyMovieClips
-
index.swf ----> 2. index1.swf Main Menu and Content ----> 3. Book flip engine ----> 4. Load Page by page swf
-
Is where my onMouseDown were. I have no ideas or is there a workaround for it. Is there anything got to do with loadClip or EmptyMovieClip?
//initializing mouse click handler
mousecontroll = new Object();
mousecontroll.onMouseDown = function()
{
}mousecontroll.onMouseUp = function()
{
}Mouse.addListener(mousecontroll);
When I return to index1.swf, I will unload 3 and at the same time remove the mousecontroll object
function removeML()
{
Mouse.removeListener(mousecontroll);
}
Thank You
Benson