PDA

View Full Version : How to fix mousewheel bug!


jaaaab
04-16-2007, 10:47 PM
Hello

Many of us have noticed a little bug while using mousewheel for zooming.

Using mousewheel when the panorama is in focus plays with panorama zoom and SCROLLS THE PAGE!

Here's how to fix that:

-Create a new Flash document.
-Open component window (ctrl+F7)
-Place a little "User Interface" component such as "Label" on the stage
-Resize the stage to fit the component (in intend to get a light swf)
-Create swf and call it in your panorama.xml as a simple hotspot

Now you can use mousewheel for zooming without scrolling the page!

You should obtain an swf around 23ko.

Of course this is a temporary fix while Denis will surely correct this for next version ;)

jaaaab
04-16-2007, 10:50 PM
of course, make it invisible using visible="0" in hotspot code ;)

Denis
04-17-2007, 07:18 AM
He-he.
Interesting hack. :)