Endless Paradigm

Full Version: [Blog] I hate learning programming languages
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla
lol@ sign!!
then don't
If you don't enjoy it then why bother?

It will be harder to learn if you don't like doing it,
It took me about 10 minutes to learn Python, another 10 for Perl...

I've probably forgotten most of it though :/
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
And i definitely don't hate learning programming, rofl.
Reference URL's