Copy link to clipboard
Copied
Hi,
I would like to create an area (like a div) in the stage and make it scrollable. Is it possible in HTML5 Canvas ?
Many thanks
Copy link to clipboard
Copied
yes. eg, you could create a masked movieclip that "scrolls" (ie, changes its y-position) in response to the mousewheel event.
Copy link to clipboard
Copied
Thank you,
Ok, it mean that i need to code something ?
I will try
Copy link to clipboard
Copied
yes. you'll need to add a scrollwheel listener and possibly mouseover/out listeners.
Copy link to clipboard
Copied
Ok thank you i will try
Best regards
Copy link to clipboard
Copied
you're welcome.
is everything working the way you want?
Find more inspiration, events, and resources on the new Adobe Community
Explore Now