Sie sind nicht angemeldet.

1

Dienstag, 23. März 2010, 17:01

scrolling text

I want to make some text that goes over the panorama.
I used a transparent png of the text and tried it using the masks examples which seems to work.
I'd like it to scroll with the mouse. I guess I can make a .png that is a lot taller than the screen.
Any ideas how to grab it and scroll with the mouse ?

cheers

mick

Graydon

Profi

Beiträge: 614

Wohnort: Texas

Beruf: Industrial gas turbine services.

  • Nachricht senden

2

Samstag, 24. April 2010, 08:02

I'm going to try and play with something like this over the weekend... using one of these:

Zitat

- onmousedown
- mouse button down
- get the current mouse position via the "mouse.x" and "mouse.y" variables

- onmouseup
- mouse button up

- onmousewheel
- mouse wheel change
- get the current change from the "wheeldelta" variable


I'll post it if I get something that works.