From jonasnys at gmail.com Wed Oct 28 06:49:54 2009 From: jonasnys at gmail.com (=?ISO-8859-1?Q?Jonas_Nystr=F6m?=) Date: Wed, 28 Oct 2009 06:49:54 +0000 Subject: [SamHaXe] How do I include mp3s - need for sound ndll on windows? Message-ID: <88b7fe1e0910272349w441e4ad3t31579300f5fb9027@mail.gmail.com> Hi! I just found SamHaxe (thanks to Robin!), and I've made a win installation, and successfully created a swf including png files. When I'm trying the same with mp3 files, I get a warning "no module found for namespace:snd Unknown resource..." I guess it has to do with the fact that there is no sound.ndll (corresponding the image.ndll and font.ndll in the native folder). Do I have to compile a sound.ndll myself to get this running? If so, could you give me a clue or a link on how? Regards / Jonas -------------- next part -------------- An HTML attachment was scrubbed... URL: From palotai.robin at gmail.com Wed Oct 28 08:49:12 2009 From: palotai.robin at gmail.com (Robin Palotai) Date: Wed, 28 Oct 2009 09:49:12 +0100 Subject: [SamHaXe] How do I include mp3s - need for sound ndll on windows? In-Reply-To: <88b7fe1e0910272349w441e4ad3t31579300f5fb9027@mail.gmail.com> References: <88b7fe1e0910272349w441e4ad3t31579300f5fb9027@mail.gmail.com> Message-ID: <94cfb9150910280149t61be1f2bn5b554c83f9566651@mail.gmail.com> Hi! I suspect you are missing the xmlns:snd="http://mindless-labs.com/samhaxe/modules/Sound" part from the shx:resources tag. Is this possible? Best regards, Robin 2009/10/28 Jonas Nystr?m : > Hi! > > I just found SamHaxe (thanks to Robin!), and I've made a win installation, > and successfully created a swf including png files. > > When I'm trying the same with mp3 files, I get a warning "no module found > for namespace:snd Unknown resource..." > I guess it has to do with the fact that there is no sound.ndll > (corresponding the image.ndll and font.ndll in the native folder). > > Do I have to compile a sound.ndll myself to get this running? > If so, could you give me a clue or a link on how? > > Regards / Jonas > > > _______________________________________________ > Sam HaXe - the friendly asset > From kukkerman at gmail.com Wed Oct 28 09:13:31 2009 From: kukkerman at gmail.com (=?ISO-8859-1?Q?G=E1bor_Szuromi?=) Date: Wed, 28 Oct 2009 10:13:31 +0100 Subject: [SamHaXe] How do I include mp3s - need for sound ndll on windows? In-Reply-To: <88b7fe1e0910272349w441e4ad3t31579300f5fb9027@mail.gmail.com> References: <88b7fe1e0910272349w441e4ad3t31579300f5fb9027@mail.gmail.com> Message-ID: Hi! > I guess it has to do with the fact that there is no sound.ndll > (corresponding the image.ndll and font.ndll in the native folder). Currently there are only two import modules (Font and Image) which require native part. Sound has no external dependencies so there isn't any sound.ndll in the native folder. The problem is probably a missing namespace definition as Robin mentioned earlier. Cheers, Gabe