One thing maybe you can try is, see if there is a special keycode for that trackpad scrollbar. Just an idea :/
-Pete On Tue, Mar 31, 2009 at 11:17 AM, Peter Kapelyan <[email protected]>wrote: > Ah I see, > > I tried searching on google real quick, but found nothing about this. I > think this may be a problem with Actionscript itself. > > I'm not sure if that would be supported since it's not technically the > mouse driver operating this scroll function :/ > > It's an interesting problem, and worth researching but not sure if there > is an answer to this. Anyone? > > -Pete > > > On Tue, Mar 31, 2009 at 10:53 AM, desgraci <[email protected]>wrote: > >> >> Ok, first thanks for the help Pete, second, >> i was doing the wrong question :d, i have the probnlem with the laptod >> due to the fact that i cant get to recognize the vertical scrollbar so >> it can do the zoom function, what im doing and works, with a normal >> mouse is this function: >> >> that was what i meaned with events, looks like the WheelHandler doesnt >> works on the touch pads. >> >> function mouseWheelHandler(event:MouseEvent):void { >> if (done==true){ >> camera.zoom += (event.delta/3); >> >> if (camera.zoom<10) >> camera.zoom=10; >> >> if (camera.zoom>50) >> camera.zoom=50; >> >> trace(camera.zoom); >> } >> } >> >> Second the glitch is what i said, i got an carrusel with come planes >> on it, make the disk rotate +.3, and when the mouse wheel it adjust >> the zoom/scale dividing the properties of plane over the camera.zoom, >> thats when the glitch happens, i use X, Y, width and height, removing >> this, the glitch goes away, hope this helps. >> >> oh btw, its not that i dont want to put the codes, its not sensitive, >> in fact as u can see is very easy to reproduce, in fact (again XD) i >> hope this solves somebody questions or give someone ideas, like it has >> worked for me until now. >> >> On Mar 30, 1:54 pm, Peter Kapelyan <[email protected]> wrote: >> > I am pretty sure a laptop touchpad works the same as mouse. >> > >> > If you want to see if someone is "dragging" something with the touchpad, >> it >> > would be the same as a mouse, like: >> > >> > Start something or set a variable on Mouse Down, and stop function or >> turn >> > off a variable when you detect mouse Up. >> > >> > Is that what you mean? >> > >> > -Pete >> > >> > >> > >> > On Mon, Mar 30, 2009 at 2:33 PM, desgraci <[email protected]> >> wrote: >> > >> > > ok, ill make one for tomorrow, but about the touchpad panel of the >> > > portable pc, it is posible to have an event for them? >> > >> > > On 30 mar, 10:05, Peter Kapelyan <[email protected]> wrote: >> > > > Hi! >> > >> > > > Welcome, >> > >> > > > Some code or pictures (or better yet the demo swf itself) will help >> see >> > > what >> > > > is going on, it surely sounds weird! >> > >> > > > If it's sensitive nature you can send directly to me or one of the >> team >> > > > members, we will keep it confidential. >> > >> > > > Thanks >> > >> > > > -Pete >> > >> > > > On Mon, Mar 30, 2009 at 10:49 AM, desgraci < >> [email protected]> >> > > wrote: >> > >> > > > > First greetings, second gratz, great forum, is good to read almost >> all >> > > > > of ur questions solved before asking XD. >> > >> > > > > ok im using double faced planes in a carrousel, but when i zoom >> in/ >> > > > > out, the internal face starts to flip up/down, why is that? >> > >> > > > > and another question, how do i make a kind of mouseevent, but for >> a >> > > > > laptop touchpad. >> > >> > > > > tx in advance. >> > >> > > > -- >> > > > ___________________ >> > >> > > > Actionscript 3.0 Flash 3D Graphics Engine >> > >> > > > HTTP://AWAY3D.COM >> > >> > -- >> > ___________________ >> > >> > Actionscript 3.0 Flash 3D Graphics Engine >> > >> > HTTP://AWAY3D.COM >> > > > > -- > ___________________ > > Actionscript 3.0 Flash 3D Graphics Engine > > HTTP://AWAY3D.COM > -- ___________________ Actionscript 3.0 Flash 3D Graphics Engine HTTP://AWAY3D.COM
