Switch to DuckDuckGo Search
   October 31, 2012  
< | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | >


NOTICE: This channel is no longer actively logged.

Toggle Join/Part | bottom
[00:12:48] *** empika has quit IRC
[00:14:54] *** empika has joined #nme
[00:32:04] *** empika has quit IRC
[00:33:59] *** tametick has quit IRC
[01:07:13] *** Robipo has quit IRC
[01:17:21] <llamahunter> Trying to use nme.events.Event.isDefaultPrevented()
[01:17:29] <llamahunter> appears to be missing from neash implementation?
[02:29:58] *** _discovery has quit IRC
[02:35:08] *** _discovery has joined #nme
[03:30:53] *** Jan_Flanders_ has joined #nme
[03:31:59] *** Jan_Flanders has quit IRC
[03:32:07] *** Jan_Flanders_ is now known as Jan_Flanders
[03:52:26] *** _discovery has quit IRC
[04:18:23] *** Jan_Flanders has quit IRC
[08:39:16] *** tametick has joined #nme
[09:15:23] *** Boorik has joined #nme
[09:35:22] *** empika has joined #nme
[09:48:49] *** empika has quit IRC
[10:44:09] *** tametick has quit IRC
[10:46:53] *** filt3rek|2 has joined #nme
[10:49:31] *** filt3rek has quit IRC
[11:00:58] *** PSvils has joined #nme
[11:31:03] *** tametick has joined #nme
[12:06:47] *** Boorik has quit IRC
[12:06:57] *** Boorik has joined #nme
[12:38:16] *** Robipo has joined #nme
[13:02:05] *** Jan_Flanders has joined #nme
[13:07:43] *** Boorik has quit IRC
[13:39:15] *** Boorik has joined #nme
[14:20:20] *** _discovery has joined #nme
[14:43:50] *** _discovery has quit IRC
[14:47:59] *** tametick has quit IRC
[15:08:38] *** Macca has joined #nme
[15:14:01] <Macca> Hi all, I have an application that runs fine when targeted at Flash, but has a "Null Function Pointer" error when targeted at cpp (windows)
[15:14:15] <Macca> what's the right way to debug the issue?
[15:14:16] <PSvils> and what is being nulled?
[15:14:36] <Macca> PSvils, I'm not sure how to get more information
[15:14:40] <PSvils> trace()
[15:14:44] <Macca> fairly new to haxe / nme
[15:14:50] <PSvils> trace( myVariableThatIsPossiblyNull)
[15:15:03] <PSvils> and it will output that variable to a trace thingy
[15:15:18] <Macca> ah, ok, didn't know the trace thingy worked on the windows target
[15:15:20] <Macca> will give that a shot
[15:15:26] <PSvils> it traces on the screen
[15:19:17] <Jan_Flanders> does it? Not to terminal for cpp?
[15:19:29] <PSvils> ah, might be. not sure.
[15:19:36] <PSvils> (last time I think it was on screen)
[15:19:50] <Jan_Flanders> yeah could be, I'm not sure either
[15:20:01] <PSvils> (emphasis on "I think" :) )
[15:20:28] <Jan_Flanders> anyway, you can use gdb to debug Macca
[15:30:14] *** Bazzi has joined #nme
[15:30:25] <Bazzi> Hey all
[15:30:32] <Jan_Flanders> hey
[15:30:37] <Bazzi> I have an NME question i've been wrestling with all day
[15:30:38] <PSvils> oi
[15:30:53] <Macca> ty Jan_Flanders
[15:30:58] <Bazzi> Found a whole bunch of info in the forums about SharedObject being supported on iPhone and Android
[15:31:11] <Bazzi> Indeed it seems to work (I get an appropriate response from flush())
[15:31:38] <Bazzi> However when I close the app (eg in android dev tools, indicate to destroy apps once they're closed) it doesn't seem to reload the data
[15:31:52] <Bazzi> Anyone come across that before?
[15:32:05] *** Boorik has quit IRC
[15:33:13] <Jan_Flanders> I have no android phone. What does 'destroy' mean? Does it also 'destroy' the SO perhaps?
[15:34:24] <Bazzi> As far as my limited understanding, when you press the home button on a phone/emulator, it only suspends the application, rather than closing it.
[15:34:44] <Bazzi> Netx time I open the app, it doesn't call "ADDED_TO_STAGE" again but just continues where it left off
[15:35:39] <Bazzi> There is functionality to "force quit" an app which unloads it from memory but doesn't delete any disk contents (I verified this with the sys.io.File api)
[15:36:07] <Jan_Flanders> hmm ok :s
[15:36:32] <Jan_Flanders> Is the SO file still there?
[15:36:47] <Bazzi> Not sure how to check that
[15:36:55] <Bazzi> does it save in a specific location?
[15:37:11] <Jan_Flanders> I'd have to check the source as well to see where they write the file
[15:40:30] <Jan_Flanders> http://code.google.com/p/nekonme/source/browse/trunk/neash/net/SharedObject.hx
[15:42:28] *** Virtuall has quit IRC
[15:43:04] <Jan_Flanders> http://code.google.com/p/nekonme/source/browse/trunk/project/common/ExternalInterface.cpp#976
[15:44:55] <Jan_Flanders> http://code.google.com/p/nekonme/source/browse/trunk/project/android/System.cpp#136
[15:45:03] <Jan_Flanders> I guess you'll have to ask one of the authors :s
[15:45:20] <Jan_Flanders> NME code base is pretty much impossible to wade through :s
[15:46:28] <Bazzi> You did a pretty good job, i don't think I ever would have found it!
[15:46:46] <Bazzi> But it's looking like android/iphone internals with the user preference thing
[15:47:16] <Jan_Flanders> yes
[15:47:17] <Bazzi> I'll post it on the forum & see if an author shows up
[15:47:27] <Bazzi> Thanks for your help in any case!
[15:47:31] <Jan_Flanders> yw :)
[15:47:33] <Jan_Flanders> good luck
[15:47:39] <Bazzi> thanks!
[15:48:50] <Jan_Flanders> var path:String = nme.filesystem.File.applicationStorageDirectory.nativePath;
[15:48:52] <Jan_Flanders> path += "/" + localPath + "/" + name + ".sol";
[15:49:07] <Jan_Flanders> you can trace there to see where the path leads to
[15:49:53] <Jan_Flanders> http://code.google.com/p/nekonme/source/browse/trunk/neash/net/SharedObject.hx#151
[15:50:12] <Jan_Flanders> Bazzi:
[15:50:52] <Jan_Flanders> or grep for .sol files
[15:53:04] <Bazzi> this isn't for non-iphone/android though?
[15:53:52] <Jan_Flanders> ah yes I see. :( sorry
[15:54:02] <Jan_Flanders> overlooked the #if #else :s
[15:54:15] <Bazzi> no worries!
[16:15:45] *** Bazzi has quit IRC
[16:37:18] *** Jan_Flanders has quit IRC
[16:54:36] *** Caribou| has joined #nme
[17:24:29] *** Macca has quit IRC
[17:30:41] *** Virtuall has joined #nme
[17:51:27] *** Jan_Flanders has joined #nme
[18:22:31] *** benth has joined #nme
[18:30:02] *** xming has quit IRC
[18:58:37] *** tametick has joined #nme
[19:23:23] *** empika has joined #nme
[19:58:03] *** echelog-1 has joined #nme
[20:00:37] *** Virtuall has quit IRC
[20:15:38] *** Caribou_ has joined #nme
[20:19:18] *** Caribou| has quit IRC
[22:02:55] *** tametick has quit IRC
[22:11:46] <llamahunter> hi there… anyone around? have a question about neash.events.Event.preventDefault()/isDefaultPrevented() and their lack of existence.
[22:23:30] <Robipo> you have any llama meat ?
[22:23:42] <llamahunter> would that help me get an answer?
[22:23:46] <PSvils> yes.
[22:24:00] <llamahunter> :-) llamas are out of season, so no.
[22:24:31] <llamahunter> can I still get an answer, tho?
[22:24:36] <Robipo> too bad, I would have loved a llama steack for halloween dinner.
[22:24:54] <Robipo> sry, i'm a nme nweb, just here to watch and ask stupid questions.
[22:25:07] <llamahunter> meh… it's got all sorts of fur in it. you've seen those things
[22:25:17] <Robipo> oh yeah
[22:25:25] <Robipo> would love a llama dress
[22:26:05] <llamahunter> a dress made out of llamas? kind of lady gaga-style?
[22:26:56] <llamahunter> but i digress… still looking for some info on the above Event fields, and why they are there in the code_completion version of nme.events.Event, but not in the jeash/neash versions.
[22:27:22] <Robipo> nah i hate lady gaga, but i'd love something warm in the inside
[22:28:15] *** PSvils has quit IRC
[22:46:02] *** jr`` has quit IRC
[22:46:23] *** jr`` has joined #nme
[23:27:44] *** _discovery has joined #nme
[23:29:08] *** empika_ has joined #nme
[23:32:48] *** empika has quit IRC
[23:32:48] *** empika_ is now known as empika
[23:53:23] *** Virtuall has joined #nme
[23:57:33] *** tametick has joined #nme
top

   October 31, 2012  
< | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | >