Ok here’s the deal…I have a main map MC that holds a floorplan with booths and building drawing…you can zoom in on the main map using several methods…the one in question is the mouse wheel scroll…You can zoom in and out by scrolling the mouse wheel…in the standard view (which loads by default when you choose an EXPO from the carousel) it is supposed to only scroll the list component when the mouse is over it…when you switch to full screen view…and open the exhibitor list tab which contains the same list component…the mouse wheel scroll is supposed to only control the list and not zoom in and out on the map…here is the messed up part…
THIS WORKS LOCALLY IN FLASH!!! However as soon as I upload it to my server, I cannot get that to stop zooming when the exhibitor list tab is open! What am I missing?
here is some code…
var mouseListener:Object = new Object();
mouseListener.onMouseWheel = function(delta)
{
if(isLoaded && !superDuper)
{
if(delta > 0)
{
scaleUp();
}
else
{
scaleDown();
}
}
}
mouseListener.scaleUp = this.scaleUp;
mouseListener.scaleDown = this.scaleDown;
Mouse.addListener(mouseListener);
superDuper is a test Bool variable that I am setting to true inside the AS of the EX List tab when the tab is fully opened and the list component is visible…it is then set back to false when the tab retracts…
In standard view I am using hitTest…and it produced the same exact results…which is it works in the flash environment…but it does not work as soon as i uploaded it to the server…
ANY IDEAS WHY THE HECK THIS IS HAPPENING?
CHECK IT OUT FOR YOUSELF… www.expocadvr.com/new/default.html
choose '07 WIT as the show for fastest loading…