Re: [Flashcoders] AS3 Nice Knob(s)
I know most applications use sliders; yet, I actually prefer the knobs that are more realistic. In my opinion, if you are going to make it look like a knob, it should function like one. To create them, I think a good way is to track the mouse's x,y and angle, using the centre of the knob as the origin, and then if cursor.y > origin.y disable the knob from moving past given points, unless the user goes backward. Patrick Matte|BLITZ wrote: I think in general, knobs always behave like sliders. Take for example Ableton Live, a music software which use a lot of knobs, they all behave like sliders. I think the knobs on the link you were referring to may seem more realistic but are actually harder to use. -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Eric E. Dolecki Sent: Friday, January 16, 2009 12:17 PM To: Flash Coders List Subject: Re: [Flashcoders] AS3 Nice Knob(s) Thats nice, but it works like a slider (manipulated). Looking more for a traditional behaving knob. On Fri, Jan 16, 2009 at 3:06 PM, Patrick Matte|BLITZ wrote: http://www.bit-101.com/blog/?p=1337 -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto: flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Eric E. Dolecki Sent: Friday, January 16, 2009 11:51 AM To: Flash Coders List Subject: [Flashcoders] AS3 Nice Knob(s) I am looking for an AS3 knob that is close to this: http://keith-hair.net/blog/examples/niceknobs/ yet is something I can use in the Flash CS4 IDE - a SWC would even be nice to link up to. The URL above is just an example. Being able to optionally check + or - movements on 360º revolutions (detents) would be a huge plus. If the code is accessible, that would be super awesome for tweaking. Tried googling, haven't found anything close yet. Any help? ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- http://ericd.net Interactive design and development ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] AS3 Nice Knob(s)
They can. I am just going to roll my own and then maybe release it. Concentric ring support as well as some other stuff to make it super flexible. Already wrote the custom events and the base class. Sent from my iPod On Jan 16, 2009, at 3:47 PM, Bob Wohl wrote: real knobs spin forever? just work it like a slider but update % and position via max/min distance and maintain the math. 3 rotations is max slider x3. Keeping track of rotation works but you'll have to calculate for negative rotation. B. On Fri, Jan 16, 2009 at 1:42 PM, Eric E. Dolecki wrote: I get the slider idea - makes sense, except for when you want a knob to revolve as many times as a real one might. So you don't necessarily always want a min and a max. Operate it like a true spinning dial and perhaps decrement or increment some kind of value per º rotated. On Fri, Jan 16, 2009 at 3:27 PM, Patrick Matte|BLITZ < pma...@blitzagency.com wrote: I think in general, knobs always behave like sliders. Take for example Ableton Live, a music software which use a lot of knobs, they all behave like sliders. I think the knobs on the link you were referring to may seem more realistic but are actually harder to use. -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto: flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Eric E. Dolecki Sent: Friday, January 16, 2009 12:17 PM To: Flash Coders List Subject: Re: [Flashcoders] AS3 Nice Knob(s) Thats nice, but it works like a slider (manipulated). Looking more for a traditional behaving knob. On Fri, Jan 16, 2009 at 3:06 PM, Patrick Matte|BLITZ < pma...@blitzagency.com wrote: http://www.bit-101.com/blog/?p=1337 -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto: flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Eric E. Dolecki Sent: Friday, January 16, 2009 11:51 AM To: Flash Coders List Subject: [Flashcoders] AS3 Nice Knob(s) I am looking for an AS3 knob that is close to this: http://keith-hair.net/blog/examples/niceknobs/ yet is something I can use in the Flash CS4 IDE - a SWC would even be nice to link up to. The URL above is just an example. Being able to optionally check + or - movements on 360º revolu tions (detents) would be a huge plus. If the code is accessible, that would be super awesome for tweaking. Tried googling, haven't found anything close yet. Any help? ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- http://ericd.net Interactive design and development ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- http://ericd.net Interactive design and development ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] AS3 Nice Knob(s)
I get the slider idea - makes sense, except for when you want a knob to revolve as many times as a real one might. So you don't necessarily always want a min and a max. Operate it like a true spinning dial and perhaps decrement or increment some kind of value per º rotated. On Fri, Jan 16, 2009 at 3:27 PM, Patrick Matte|BLITZ wrote: > I think in general, knobs always behave like sliders. Take for example > Ableton Live, a music software which use a lot of knobs, they all behave > like sliders. I think the knobs on the link you were referring to may seem > more realistic but are actually harder to use. > > > -Original Message- > From: flashcoders-boun...@chattyfig.figleaf.com [mailto: > flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Eric E. Dolecki > Sent: Friday, January 16, 2009 12:17 PM > To: Flash Coders List > Subject: Re: [Flashcoders] AS3 Nice Knob(s) > > Thats nice, but it works like a slider (manipulated). Looking more for a > traditional behaving knob. > > On Fri, Jan 16, 2009 at 3:06 PM, Patrick Matte|BLITZ < > pma...@blitzagency.com > > wrote: > > > http://www.bit-101.com/blog/?p=1337 > > > > > > -Original Message- > > From: flashcoders-boun...@chattyfig.figleaf.com [mailto: > > flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Eric E. > > Dolecki > > Sent: Friday, January 16, 2009 11:51 AM > > To: Flash Coders List > > Subject: [Flashcoders] AS3 Nice Knob(s) > > > > I am looking for an AS3 knob that is close to this: > > > > http://keith-hair.net/blog/examples/niceknobs/ > > > > > > yet is something I can use in the Flash CS4 IDE - a SWC would even be > > nice to link up to. The URL above is just an example. > > > > Being able to optionally check + or - movements on 360º revolutions > > (detents) would be a huge plus. > > > > If the code is accessible, that would be super awesome for tweaking. > > > > Tried googling, haven't found anything close yet. Any help? > > > > ___ > > Flashcoders mailing list > > Flashcoders@chattyfig.figleaf.com > > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > > > > > -- > http://ericd.net > Interactive design and development > > ___ > Flashcoders mailing list > Flashcoders@chattyfig.figleaf.com > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > -- http://ericd.net Interactive design and development ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] AS3 Nice Knob(s)
real knobs spin forever? just work it like a slider but update % and position via max/min distance and maintain the math. 3 rotations is max slider x3. Keeping track of rotation works but you'll have to calculate for negative rotation. B. On Fri, Jan 16, 2009 at 1:42 PM, Eric E. Dolecki wrote: > I get the slider idea - makes sense, except for when you want a knob to > revolve as many times as a real one might. > So you don't necessarily always want a min and a max. Operate it like a > true > spinning dial and perhaps decrement or increment some kind of value per º > rotated. > > > On Fri, Jan 16, 2009 at 3:27 PM, Patrick Matte|BLITZ < > pma...@blitzagency.com > > wrote: > > > I think in general, knobs always behave like sliders. Take for example > > Ableton Live, a music software which use a lot of knobs, they all behave > > like sliders. I think the knobs on the link you were referring to may > seem > > more realistic but are actually harder to use. > > > > > > -Original Message- > > From: flashcoders-boun...@chattyfig.figleaf.com [mailto: > > flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Eric E. Dolecki > > Sent: Friday, January 16, 2009 12:17 PM > > To: Flash Coders List > > Subject: Re: [Flashcoders] AS3 Nice Knob(s) > > > > Thats nice, but it works like a slider (manipulated). Looking more for a > > traditional behaving knob. > > > > On Fri, Jan 16, 2009 at 3:06 PM, Patrick Matte|BLITZ < > > pma...@blitzagency.com > > > wrote: > > > > > http://www.bit-101.com/blog/?p=1337 > > > > > > > > > -Original Message- > > > From: flashcoders-boun...@chattyfig.figleaf.com [mailto: > > > flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Eric E. > > > Dolecki > > > Sent: Friday, January 16, 2009 11:51 AM > > > To: Flash Coders List > > > Subject: [Flashcoders] AS3 Nice Knob(s) > > > > > > I am looking for an AS3 knob that is close to this: > > > > > > http://keith-hair.net/blog/examples/niceknobs/ > > > > > > > > > yet is something I can use in the Flash CS4 IDE - a SWC would even be > > > nice to link up to. The URL above is just an example. > > > > > > Being able to optionally check + or - movements on 360º revolutions > > > (detents) would be a huge plus. > > > > > > If the code is accessible, that would be super awesome for tweaking. > > > > > > Tried googling, haven't found anything close yet. Any help? > > > > > > ___ > > > Flashcoders mailing list > > > Flashcoders@chattyfig.figleaf.com > > > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > > > > > > > > > > -- > > http://ericd.net > > Interactive design and development > > > > ___ > > Flashcoders mailing list > > Flashcoders@chattyfig.figleaf.com > > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > > > > > -- > http://ericd.net > Interactive design and development > > ___ > Flashcoders mailing list > Flashcoders@chattyfig.figleaf.com > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
RE: [Flashcoders] AS3 Nice Knob(s)
I think in general, knobs always behave like sliders. Take for example Ableton Live, a music software which use a lot of knobs, they all behave like sliders. I think the knobs on the link you were referring to may seem more realistic but are actually harder to use. -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Eric E. Dolecki Sent: Friday, January 16, 2009 12:17 PM To: Flash Coders List Subject: Re: [Flashcoders] AS3 Nice Knob(s) Thats nice, but it works like a slider (manipulated). Looking more for a traditional behaving knob. On Fri, Jan 16, 2009 at 3:06 PM, Patrick Matte|BLITZ wrote: > http://www.bit-101.com/blog/?p=1337 > > > -Original Message- > From: flashcoders-boun...@chattyfig.figleaf.com [mailto: > flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Eric E. > Dolecki > Sent: Friday, January 16, 2009 11:51 AM > To: Flash Coders List > Subject: [Flashcoders] AS3 Nice Knob(s) > > I am looking for an AS3 knob that is close to this: > > http://keith-hair.net/blog/examples/niceknobs/ > > > yet is something I can use in the Flash CS4 IDE - a SWC would even be > nice to link up to. The URL above is just an example. > > Being able to optionally check + or - movements on 360º revolutions > (detents) would be a huge plus. > > If the code is accessible, that would be super awesome for tweaking. > > Tried googling, haven't found anything close yet. Any help? > > ___ > Flashcoders mailing list > Flashcoders@chattyfig.figleaf.com > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > -- http://ericd.net Interactive design and development ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] AS3 Nice Knob(s)
Thats nice, but it works like a slider (manipulated). Looking more for a traditional behaving knob. On Fri, Jan 16, 2009 at 3:06 PM, Patrick Matte|BLITZ wrote: > http://www.bit-101.com/blog/?p=1337 > > > -Original Message- > From: flashcoders-boun...@chattyfig.figleaf.com [mailto: > flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Eric E. Dolecki > Sent: Friday, January 16, 2009 11:51 AM > To: Flash Coders List > Subject: [Flashcoders] AS3 Nice Knob(s) > > I am looking for an AS3 knob that is close to this: > > http://keith-hair.net/blog/examples/niceknobs/ > > > yet is something I can use in the Flash CS4 IDE - a SWC would even be nice > to link up to. The URL above is just an example. > > Being able to optionally check + or - movements on 360º revolutions > (detents) would be a huge plus. > > If the code is accessible, that would be super awesome for tweaking. > > Tried googling, haven't found anything close yet. Any help? > > ___ > Flashcoders mailing list > Flashcoders@chattyfig.figleaf.com > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > -- http://ericd.net Interactive design and development ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
RE: [Flashcoders] AS3 Nice Knob(s)
http://www.bit-101.com/blog/?p=1337 -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Eric E. Dolecki Sent: Friday, January 16, 2009 11:51 AM To: Flash Coders List Subject: [Flashcoders] AS3 Nice Knob(s) I am looking for an AS3 knob that is close to this: http://keith-hair.net/blog/examples/niceknobs/ yet is something I can use in the Flash CS4 IDE - a SWC would even be nice to link up to. The URL above is just an example. Being able to optionally check + or - movements on 360º revolutions (detents) would be a huge plus. If the code is accessible, that would be super awesome for tweaking. Tried googling, haven't found anything close yet. Any help? ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] AS3 Nice Knob(s)
I am looking for an AS3 knob that is close to this: http://keith-hair.net/blog/examples/niceknobs/ yet is something I can use in the Flash CS4 IDE - a SWC would even be nice to link up to. The URL above is just an example. Being able to optionally check + or - movements on 360º revolutions (detents) would be a huge plus. If the code is accessible, that would be super awesome for tweaking. Tried googling, haven't found anything close yet. Any help? ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders