logs | stats
   March 12, 2010
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

[00:07:54] *** Blank101 has joined #haxe
[01:07:24] *** fponticelli has quit IRC
[01:33:49] *** MangoFusion has quit IRC
[01:34:22] *** Jan_Flanders_ has joined #haxe
[01:36:08] *** Jan_Flanders has quit IRC
[01:38:49] *** gershon has quit IRC
[02:10:26] *** Blank101 has quit IRC
[02:14:13] *** Blank101 has joined #haxe
[02:53:11] *** skatterbean has quit IRC
[03:08:05] *** TheHippo1 has joined #haxe
[03:10:00] *** TheHippo has quit IRC
[03:44:21] *** Jan_Flanders_ has quit IRC
[04:00:15] *** skatterbean has joined #haxe
[04:07:44] *** skatterbean has quit IRC
[04:08:58] *** TheHippo1 has quit IRC
[04:18:43] *** Blank101 has quit IRC
[04:22:13] *** Blank101 has joined #haxe
[04:25:21] *** Blank101 has quit IRC
[04:36:59] *** djinni has quit IRC
[04:38:33] *** skatterbean has joined #haxe
[04:49:28] *** djinni has joined #haxe
[04:56:12] *** Caseus has quit IRC
[05:05:29] *** Caseus has joined #haxe
[05:30:17] *** Aduros has quit IRC
[06:11:01] *** iain___ has quit IRC
[07:17:37] *** zproxy has joined #haxe
[07:29:38] *** Dykam_ has joined #haxe
[07:48:40] *** Dykam_ has quit IRC
[08:25:22] *** moosecrumpet has joined #haxe
[09:13:14] *** zproxy has quit IRC
[09:32:12] *** fponticelli has joined #haxe
[09:42:42] *** Dykam_ has joined #haxe
[09:46:00] *** echelog-2` has joined #haxe
[09:47:33] *** Lazygekko_ has joined #haxe
[09:47:42] *** Lazygekko_ has left #haxe
[09:50:18] *** ellis has joined #haxe
[10:00:06] *** moosecrumpet has quit IRC
[10:11:47] *** Phurl has joined #haxe
[10:11:49] <Phurl> hi all
[10:12:04] <Phurl> is there a quick start to porting as3 code to compile with haxe
[10:12:07] <Phurl> how do it do it?
[10:12:37] <Dykam_> just... do it
[10:13:08] <Dykam_> actually copy pasting and then fixing the errors works well
[10:13:14] <Phurl> i mean
[10:13:19] <Phurl> i have .as files
[10:13:24] <Phurl> how can i get them to compile
[10:13:51] <Phurl> how to pass the .as file to the compiler? it wants a class name not a file..
[10:14:18] <Phurl> is there any documentation on compiler invokation?
[10:14:42] <Dykam_> you can't compile as with the haxe compiler...
[10:14:49] <Dykam_> obviously
[10:15:41] <Phurl> ok, do you have any example makefiles
[10:15:45] <Phurl> on how to setup a project?
[10:16:08] <Dykam_> it doesn't use makefiles either
[10:16:16] <Phurl> ok
[10:16:18] <Dykam_> hmm
[10:16:24] <Phurl> dykam show me the docs
[10:16:31] <Dykam_> can't help you atm
[10:16:34] <Phurl> how do i get started to port as3 to hx
[10:16:37] <Phurl> ok
[10:16:41] <Phurl> i will find something
[10:16:41] <Dykam_> at school
[10:16:44] <Phurl> np
[10:17:00] <Dykam_> come back later
[10:17:35] <Phurl> ok
[10:17:48] <Dykam_> http://haxe.org/doc/compiler
[10:17:54] <Phurl> yes
[10:17:55] <Phurl> i see
[10:22:00] <Phurl> http://gitorious.org/mapzen-port/mapzen-port here is what i am trying to compile
[10:23:01] <Phurl> http://www.google.com/codesearch/p?hl=en#mLr1ecJhfo8/trunk/makefile&q=file:\.hx$%20haxe&d=1 here is a makefile example
[10:24:01] <Dykam_> I'll explain what todo this evening
[10:27:19] <Phurl> ok
[10:27:23] <Phurl> let me just ask you this
[10:27:32] <Phurl> will is be easy to port? or painful?
[10:27:46] <Phurl> do i need to write alot of code?
[10:27:55] <Phurl> break compatiblity
[10:29:20] <Dykam_> dunno
[10:29:26] <Phurl> ok
[10:29:31] <Phurl> i see it is not source compatible
[10:29:31] <Dykam_> didn' analyze your code yet
[10:29:44] <Phurl> package name { --> package name ; // {
[10:29:54] <Phurl> public class -> class
[10:30:02] <Dykam_> you need to learn the haXe language first really
[10:30:04] <Phurl> ok
[10:30:10] <Phurl> so it is not javascript.
[10:30:15] <Phurl> or actionscript
[10:30:22] <Phurl> but it is worth learning
[10:30:34] <Phurl> is there any open source actionscript3 compiler out there?
[10:30:39] <Dykam_> it has most similarities with AS3, learning will be easy
[10:30:40] <Phurl> that is what I am looking for
[10:30:45] <Phurl> i dont know actionscript
[10:30:46] <Dykam_> no idea
[10:30:52] <Phurl> i am a c/c++ perl etc programmer
[10:31:04] <Phurl> i just want to compile this stuff
[10:31:08] <Phurl> without using adobe
[10:32:15] <Phurl> ok
[10:32:23] <Phurl> well i just start to port it to haxe
[10:32:27] <Phurl> see how it goes
[10:35:19] *** fponticelli has quit IRC
[10:35:34] <Phurl> ok looks pretty simple
[10:35:39] <Phurl> i have gotten the first module to compile
[10:36:20] *** fponticelli has joined #haxe
[10:43:06] <Phurl>  Class not found : Number --- ?
[10:44:03] <Dykam_> Float
[10:44:37] <Dykam_> bbl, school
[10:44:56] *** Dykam_ has quit IRC
[10:45:07] <Phurl> ok
[10:47:01] <Phurl> thkxs
[10:54:01] *** fponticelli has joined #haxe
[11:03:21] *** MangoFusion has joined #haxe
[11:03:30] *** pimmhogeling has joined #haxe
[11:08:58] *** Jan_Flanders has joined #haxe
[11:15:38] *** flashingpumpkin has joined #haxe
[11:23:54] <Phurl> how can i copy an object to a new one. is there a copy constructor or duplicate method?
[11:24:23] <Phurl> Reflect.copy(objecT?);
[11:24:23] <fponticelli> nops ... you have to create your own clone method
[11:25:05] <pimmhogeling> Yes, I'm not sure how a universal clone/copy method would work
[11:25:09] <Phurl> reflect copy seems to work
[11:25:13] <fponticelli> with Reflect you can try to create an empty instance and iterate on the source object fields to copy values ... but you will need to handle nested objected and references
[11:25:44] <Phurl> ok
[11:26:05] <Phurl> well i have this code here: 	_clonedEvent = new MouseEvent(e)
[11:26:54] <fponticelli> Reflect.copy does what I said but it is not recursive and the destination object is always an anonymous object
[11:27:16] <Phurl> ok
[11:27:25] <Phurl> thanks!
[11:27:29] <pimmhogeling> But the Event class has a clone method anyways
[11:27:40] <pimmhogeling> Why not do _clonedEvent = e.clone(); ?
[11:27:49] <Phurl> cause i dont see that in the api
[11:28:08] <pimmhogeling> http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/events/Event.html#clone()
[11:28:13] <Phurl> http://haxe.org/api/flash9/events/mouseevent?lang=en here
[11:28:58] <pimmhogeling> In the first line, it says that it extends Event
[11:29:05] <Phurl> ahh
[11:29:06] <pimmhogeling> http://haxe.org/api/flash9/events/event
[11:29:13] <Phurl> thank you
[11:29:31] <pimmhogeling> No problem, just write some awesome code, OK?
[11:29:44] <pimmhogeling> As long as you're writing awesome code I'll be glad to help you
[11:30:10] <Phurl> ok
[11:30:13] <Phurl> well check this out
[11:30:22] <Phurl> http://mapzen.cloudmade.com/
[11:30:27] <Phurl> i am working on porting this
[11:30:35] <Phurl> it is pretty awsome
[11:30:51] <pimmhogeling> Wow, cool idea
[11:30:58] <Phurl> http://gitorious.org/mapzen-port/mapzen-port
[11:31:09] <Phurl> all help welcome
[11:31:15] <Phurl> in fact encouraged
[11:31:19] <fponticelli> nice ;)
[11:31:32] <Phurl> i want to get google summer of code help
[11:31:34] <Phurl> for that as well
[11:31:41] <pimmhogeling> You could ask the mailing list, too
[11:31:48] <Phurl> and to merge the work with the new openstreetmap potlach2 work
[11:32:03] <Phurl> but mapzen is better imho
[11:32:11] <Phurl> so start with that and go from there
[12:12:43] <Phurl> here is my post
[12:13:07] <Phurl> http://osmopenlayers.blogspot.com/2010/03/start-of-port-of-mapzen-to-haxe.html
[12:13:16] <Phurl> feel free to share it
[12:29:58] <Jan_Flanders> The comparison is against AS2. Some of it is still true for AS3 but additional info can be found here:http://haxe.org/doc/start/flash/as3migration/part1 and something similar here: http://twelvestone.com/forum_thread/view/41059
[12:30:13] <Jan_Flanders> The comparison is against AS2. Some of it is still true for AS3 but additional info can be found here: http://haxe.org/doc/start/flash/as3migration/part1 and something similar here: http://twelvestone.com/forum_thread/view/41059

top