Results 1 to 5 of 5
Thread: Scroll function
-
March 14th, 2007, 10:36 AM #180Registered User
postsScroll function
OK, so I have a swf file that is 750px X 1400px embeded in an html page. My problem is that most people have a screen resolution that will not show the entire swf within their browser window, which is fine. However, when I want to scroll the window I have to click outside the swf file and use my mouse wheel to scroll down or up. this is the only way the mouse wheel will function I can't click on a button within the swf and then scroll. I would like to know if there is a way that I can place a code within either the swf file or in the html that will allow the funtionality to scroll by mouse wheel no matter where the cursor is within the browser window.
Would I use Java Script, how? Or is there something I can place in the html code for the page that will allow this?
Thanx in advance.
BiGg RiE
-
March 14th, 2007, 06:50 PM #2213Registered User
postsI think you could use javascript to set the focus on the window, which would allow scrolling.
this.Knowledge["gameDesign"]++;
-
March 14th, 2007, 10:54 PM #3
Set it to full screen and actually code the scrolling into it (although if your site has high animation it will lag).
-
March 15th, 2007, 09:39 AM #480Registered User
posts
-
March 17th, 2007, 11:08 AM #5213Registered User
postssomething like...
PHP Code:<BODY OnLoad="document.focus();">
this.Knowledge["gameDesign"]++;

Reply With Quote



Bookmarks