PDA

View Full Version : JavaScript scrolling conrolled from flash


denis.balon
08-11-2007, 09:28 AM
Hi everyone!
I ve got a rather long flashh app on my webpage. Right now if the user wants to get to the bottom or the top of the app he has to clickon the webpage itself, scroll it and the click on flash app to activate it.
I would like to use some JavaScript that would do the scrollng of the page and I would like to controll it from the flash app.
Does any one has working example when mouse scroll in the app scrolls the webpage itself?
would be really gratefull if somebody gives a Java script and AS code.
Thanks everyone in advance!
Denis.

denis.balon
08-11-2007, 09:30 AM
Hi everyone!
I ve got a rather long flashh app on my webpage. Right now if the user wants to get to the bottom or the top of the app he has to clickon the webpage itself, scroll it and the click on flash app to activate it.
I would like to use some JavaScript that would do the scrollng of the page (I need it working in all browser, no only IE) and I would like to controll it from the flash app.
Does any one has working example when mouse scroll in the app scrolls the webpage itself?
would be really gratefull if somebody gives a Java script and AS code.
Thanks everyone in advance!
Denis.

creynders
08-11-2007, 01:45 PM
Why is the flash app so big that you need to scroll?
It's always better practice to make the flash app small enough or adjust to the screensize and then in flash let the content scroll.

atomic
08-11-2007, 02:25 PM
Maybe something in this thread... Halfway down the page...

http://www.adobe.com/cfusion/webforums/forum/messageview.cfm?forumid=15&catid=194&threadid=1289499&enterthread=y