Weet iemand hoe ik een Vertical cursor controlled scrolling navigation maak met flash ?
dus zoals dit:
http://members.home.nl/looney/cursorcontollednav.swf
alleen dan verticaal
deze is gemaakt met action script:
hoe werkt dit precies met die mousepos ?
en hoe maak ik dit nou dus dan verticaal
fla bestandje om mischien een voorbeeld te maken
horizontale scrolling navigation:
http://members.home.nl/looney/cursorcontollednav.fla
bvd
dus zoals dit:
http://members.home.nl/looney/cursorcontollednav.swf
alleen dan verticaal
deze is gemaakt met action script:
code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
| onClipEvent (mouseMove) {
xmousepos1 = _xmouse;
ymousepos1 = _ymouse;
if (xmousepos1>xmousepos2 && ymousepos1>-98 && ymousepos1<-33) {
_root.scrollclip.nextFrame();
}
if (xmousepos1-98 && ymousepos1<-33) {
_root.scrollclip.prevFrame();
}
if (ymousepos1<-98 || ymousepos1>-33) {
play ();
}
xmousepos2 = _xmouse;
ymousepos2 = _ymouse;
} |
hoe werkt dit precies met die mousepos ?
en hoe maak ik dit nou dus dan verticaal
fla bestandje om mischien een voorbeeld te maken
horizontale scrolling navigation:
http://members.home.nl/looney/cursorcontollednav.fla
bvd