15/03/2008, 04:36 AM
15/03/2008, 05:42 AM
lol@ sign!!
15/03/2008, 06:16 AM
then don't
15/03/2008, 06:29 AM
If you don't enjoy it then why bother?
It will be harder to learn if you don't like doing it,
It will be harder to learn if you don't like doing it,
15/03/2008, 07:06 AM
It took me about 10 minutes to learn Python, another 10 for Perl...
I've probably forgotten most of it though :/
I've probably forgotten most of it though :/
15/03/2008, 07:58 AM
oh god oh god oh god
22:44 < Ge64> hiya
(22:45 <+ikea_> what if you need to take home two chicks?)
(22:45 <+ikea_> just take one and do the grandma as well?)
22:45 < Ge64> Is there a way I can wait for an event's default actions to
finish before doing something?
22:46 <@Sighs> create a callback function?
22:46 < Ge64> how does that work? I'm a newb
22:48 <@Sighs> function doAsEventIsFired(event:Event):void { /* do this() and
do that */} something.addEventListener("someEventName",
doAsEventIsFired)
22:49 < Ge64> isn't that just normal event handling
22:51 <+Ramone_> what do you mean by 'default actions'? events don't have
actions themselves
22:51 < Ge64> yeah, but in that case doAsEventIsFired() will be finished, and
then the event's default actions will be executed afterwards.
e.g. for a KeyboardEvent in a TextField pressing an arrow key, it
will finish the event listener function first then perform the
arrow key on the textfield. is there a way to wait with some
actions until the default actions (eg the cursor moves) is
finished?
22:52 <+Ramone_> ahhh
22:52 < Ge64> i tried .preventDefault but it says the event isn't cancelable
22:52 <+Ramone_> sounds like you just want keyup instead of keydown
22:52 < Ge64> omfg that makes sense
22:52 * Ge64 HEADDESK
22:53 <+ikea_> hehehe
22:53 <+ikea_> Ge64++
22:53 <@DarthTatr> Increasing points. Ge64's combined score is: 1
about at 12:00 i got this problem and have been looking into all sorts of spoon to get it done. I nEED A KEYUP EVENT INSTEADOF KEYDOWN, dumb dumb dumb ooooohhhhhh goooodod its sooooo stuuppiddddd :P
ah well :D am happy now
22:44 < Ge64> hiya
(22:45 <+ikea_> what if you need to take home two chicks?)
(22:45 <+ikea_> just take one and do the grandma as well?)
22:45 < Ge64> Is there a way I can wait for an event's default actions to
finish before doing something?
22:46 <@Sighs> create a callback function?
22:46 < Ge64> how does that work? I'm a newb
22:48 <@Sighs> function doAsEventIsFired(event:Event):void { /* do this() and
do that */} something.addEventListener("someEventName",
doAsEventIsFired)
22:49 < Ge64> isn't that just normal event handling
22:51 <+Ramone_> what do you mean by 'default actions'? events don't have
actions themselves
22:51 < Ge64> yeah, but in that case doAsEventIsFired() will be finished, and
then the event's default actions will be executed afterwards.
e.g. for a KeyboardEvent in a TextField pressing an arrow key, it
will finish the event listener function first then perform the
arrow key on the textfield. is there a way to wait with some
actions until the default actions (eg the cursor moves) is
finished?
22:52 <+Ramone_> ahhh
22:52 < Ge64> i tried .preventDefault but it says the event isn't cancelable
22:52 <+Ramone_> sounds like you just want keyup instead of keydown
22:52 < Ge64> omfg that makes sense
22:52 * Ge64 HEADDESK
22:53 <+ikea_> hehehe
22:53 <+ikea_> Ge64++
22:53 <@DarthTatr> Increasing points. Ge64's combined score is: 1
about at 12:00 i got this problem and have been looking into all sorts of spoon to get it done. I nEED A KEYUP EVENT INSTEADOF KEYDOWN, dumb dumb dumb ooooohhhhhh goooodod its sooooo stuuppiddddd :P
ah well :D am happy now
15/03/2008, 08:22 AM
And i definitely don't hate learning programming, rofl.