[Sugar-devel] Running SWF files standalone in Sugar? Simple Activity wrapper?
Is there a smart way to run a swf in Sugar, starting it up as an Activity? Hopefully something that works with Gnash and (if installed) Adobe's version? I had the impression the Nepal team had a way to do this... but I can't remember if (early on) they were bashing Flash or using Flash. Karma now is all HTML5 but I thought they had started using some Flash content. cheers, m -- martin.langh...@gmail.com mar...@laptop.org -- School Server Architect - ask interesting questions - don't get distracted with shiny stuff - working code first - http://wiki.laptop.org/go/User:Martinlanghoff ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
Re: [Sugar-devel] Running SWF files standalone in Sugar? Simple Activity wrapper?
Hi Martin, On 10 Mar 2010, at 14:38, Martin Langhoff wrote: Is there a smart way to run a swf in Sugar, starting it up as an Activity? Hopefully something that works with Gnash and (if installed) Adobe's version? I had the impression the Nepal team had a way to do this... but I can't remember if (early on) they were bashing Flash or using Flash. Karma now is all HTML5 but I thought they had started using some Flash content. See Tomeu's gnash Work: http://blog.tomeuvizoso.net/2009/05/progress-on-sugar-activities-with-swf.html http://blog.tomeuvizoso.net/2009/04/embed-flash-movies-with-gnash-in-your.html The EatBoom activity is pretty easy to swap in your own swf content (just make sure it's not built requiring a very recent Flash, eg must work with Gnash). This is a trivial path to activities for any one who has developed in Flash, though it throws up issues of source visibility and localisation (there are some tricks to make this work reasonably well if any one is interested pushing on this path): http://git.sugarlabs.org/projects/eatboom Regards, --Gary cheers, m -- martin.langh...@gmail.com mar...@laptop.org -- School Server Architect - ask interesting questions - don't get distracted with shiny stuff - working code first - http://wiki.laptop.org/go/User:Martinlanghoff ___ Devel mailing list de...@lists.laptop.org http://lists.laptop.org/listinfo/devel ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
Re: [Sugar-devel] Running SWF files standalone in Sugar? Simple Activity wrapper?
Hi Thomas, On 10 Mar 2010, at 15:44, Thomas PLESSIS wrote: I've try this solution too, but it seems that it does not work perfectly with Adobe Flash player (as you said). My game is running, but there're no mouse interaction, no sounds, the introduction popup of the game didn't appears... I'm loosing track of the various iterations of Flash, can you publish your game for Flash 5? Version 5 should certainly run fine**, perhaps 6 should be ok also, published swf's above that I think you'd have a good chance of things breaking (but it probably depends just what fancy feature you're using). ** I developed full time with Flash for about 4-5 years before getting utterly fed up with Macromedia/Adobe feature creep, compatibility breaks, and huge price jumps. I dumped most of their tool sets for more open/standards compliant work flows, so I've lost touch now. Regarding sound, it's very lightly you are currently using a propriety audio codec on storing your sounds. Edit your swf publishing settings and set the sounds to use something like WAV – Gnash can legally support this without big companies trying to chase them down for royalty/licensing payments... Is there any way to run adobe air on OLPC? I've tried but installation does not work, i've some errors with librpmbuild library in the log file. Sorry, pretty sure no way; and remember even if you did manage to install this dependancy somehow, no one else would have it (i.e. nobody would be able to run your game anyway). Regards, --Gary ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
Re: [Sugar-devel] Running SWF files standalone in Sugar? Simple Activity wrapper?
On Wed, Mar 10, 2010 at 11:55 AM, Gary C Martin g...@garycmartin.com wrote: Is there any way to run adobe air on OLPC? I've tried but installation does not work, i've some errors with librpmbuild library in the log file. Those errors get fixed if you install the rpm-dev package. However, the process still fails without a clear reason. You are clearly an Adobe licensee, which means Adobe has a responsibility to give you support so you can use their runtime on our platform. The easiest way for all parties involved: get an rpm from them. Without an rpm, it will be impossible to put the AIR runtime on the OS image to be installed on the XOs that will go out to the field. They offer rpms for the v2 betas. They should give you an rpm for v1.5.3 cheers, m -- martin.langh...@gmail.com mar...@laptop.org -- School Server Architect - ask interesting questions - don't get distracted with shiny stuff - working code first - http://wiki.laptop.org/go/User:Martinlanghoff ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
Re: [Sugar-devel] Running SWF files standalone in Sugar? Simple Activity wrapper?
On Wed, Mar 10, 2010 at 1:40 PM, Ed McNierney e...@laptop.org wrote: Well, no. Fedora 11 is a supported Adobe platform - the XO is not. I mis-reported the situation a bit (wrt to my vanilla fedora). There are 2 parts where Adobe needs to fulfill - Without an rpm there is no way to install it on Fedora with the RH/Fedora toolchain. The installer provided is an end user has root password and is running us under X type of installer. Any large deployment -- say, an corporate environment -- will need an rpm. - The self-executing installer provided opaquely depends on non-base packages, and barfs cryptically if it doesn't find them. There are no release notes nor instructions mentioning the need for rpm-dev or rpm-build (my vanilla Fedora 11 box has all sorts of dev tools installed, for obvious reasons ;-) ). It is very likely that the problem we see is a missing dep -- Adobe needs to document what the dependencies are. Maybe someone with patience can strace the installer and get more info on what's failing -- to guess the dependencies. If you report a problem on the XO, they will ask you to reproduce it on a supported platform first and then report it. That is correct -- but the problems we're seeing are actually on Adobe's side of the court. m -- martin.langh...@gmail.com mar...@laptop.org -- School Server Architect - ask interesting questions - don't get distracted with shiny stuff - working code first - http://wiki.laptop.org/go/User:Martinlanghoff ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel