-
Enable mouse scrolling
Hi newbie here,
I am trying to find out how to enable mouse wheel scroll for the main html page that my flash file is in. The problem is once the flash file is click to navigate or whatever the mouse wheel scrolling doesn't work anymore.Only when the border is clicked where the html page is (which is a very small area) the mouse wheel scrolls the page again . Does anyone know how to do this? Thanks
Last edited by IntruderDZ; 05-22-2006 at 03:07 AM.
-
FK's Geezer Mod
-
-
FK's Geezer Mod
It's working the way it should for me. Whether I click or not, the scroll wheel only works over the text box area. That's what it's supposed to do.
-
I guess this has to be a html issue, I wasn't refering to the flash scroll component but the actual browser being able to scroll. I even tryed putting the flash in a table and a div layer but it still won't respond. Other sites with full flash are able to scroll down with the mouse wheel with out clicking on the html portions. I'm thinking about changing the height of the flash to the visible screen.
-
FK's Geezer Mod
Ah, I was wondering, but on my screen, there is no scroll bar for the html. Not enough content on a 1280x1024 resolution.
-
i have found a way to make the scroll down when the user moves their mouse over a invisible button but i need help... It is by using the javascript external interface in flash but i dont know quite how to execute it.
heres the Java:
I have set the flash AllowScriptaccess to always.
<script language="JavaScript">
function scrlDwn(){
window.scrollTo(0,690);}
</script>
I want it to execute when the user rolls over an invisible button area near the bottom of the screen
heres what i tried doesn't work:
import flash.external.ExternalInterface;
invsblbtn.onRollOver(scrlDown);
function scrlDown():Void {
ExternalInterface.call("scrlDwn");
}
I also tried:
invsblbtn.addEventListener("onRollOver", ScrlDown);
function ScrlDown() {
ExternalInterface.call("scrlDwn");
}
heres a tutorial but the heck if know how to make it work. http://www.communitymx.com/content/a...ge=2&cid=0922A
Last edited by IntruderDZ; 05-24-2006 at 10:23 PM.
-
nobody knows how to do external interface eh ?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|