[Flashcoders] Caching Sounds in AIR
I want to cache sounds for an AIR mp3 player on a phone. Not sure of all my options. 1. Sound.load + Sound.extract 2. URLStream.load + Sound.extract + Sound.sampleData 3. Sound.load + URLStream.load 1. I load the Sound via Sound.load. When it's done via Event.COMPLETE, I do a sound.extract and save the ByteArray to disk. Almost works... Problem: ByteArray is uncompressed MP3. 8 meg MP3 goes to 65 megs. That's ok for Desktop, not ok for phone. Worse, the ByteArray doesn't work when you give it to a Sound.load again. 2. Sound.sampleData expects a fully loaded sound that you can feed it bytes; not sure how to make this work with streaming sound. Problem: ??? how do I execute this? 3. This almost works... Problem: Both desktop and phone seem to COMPLETELY IGNORE internet cache; it re-downloads the entire sound file again. On the phone it'll actually fail sometimes. I think I just need to figure out #2, but unsure how... or if there are other options I'm completely missing. To be clear, I'm downloading from SoundCloud and cannot pre-package these mp3's into the installation. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Caching Sounds in AIR
I would look into what caching headers you have set for your downloads. This link may help or point you in a good direction. http://www.askapache.com/htaccess/apache-speed-cache-control.html Best, Karl On Sep 13, 2010, at 7:59 AM, Jesse Warden wrote: I want to cache sounds for an AIR mp3 player on a phone. Not sure of all my options. 1. Sound.load + Sound.extract 2. URLStream.load + Sound.extract + Sound.sampleData 3. Sound.load + URLStream.load 1. I load the Sound via Sound.load. When it's done via Event.COMPLETE, I do a sound.extract and save the ByteArray to disk. Almost works... Problem: ByteArray is uncompressed MP3. 8 meg MP3 goes to 65 megs. That's ok for Desktop, not ok for phone. Worse, the ByteArray doesn't work when you give it to a Sound.load again. 2. Sound.sampleData expects a fully loaded sound that you can feed it bytes; not sure how to make this work with streaming sound. Problem: ??? how do I execute this? 3. This almost works... Problem: Both desktop and phone seem to COMPLETELY IGNORE internet cache; it re-downloads the entire sound file again. On the phone it'll actually fail sometimes. I think I just need to figure out #2, but unsure how... or if there are other options I'm completely missing. To be clear, I'm downloading from SoundCloud and cannot pre-package these mp3's into the installation. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Karl DeSaulniers Design Drumm http://designdrumm.com ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] Zooming
Is there anyway to zoom into a mc and make sure a certain point on an object (just an image converted to a mc in this instance) is always in the center? ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Zooming
Lehr, Theodore skriver: Is there anyway to zoom into a mc and make sure a certain point on an object (just an image converted to a mc in this instance) is always in the center? Yes, with geometry. I recommend using a virtual camera, since it will take out a bunch of complicated (but far from advanced) math. Then you just need to center the camera on the spot using simple geometry. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Zooming
On 13/09/2010 17:26, Henrik Andersson wrote: Lehr, Theodore skriver: Is there anyway to zoom into a mc and make sure a certain point on an object (just an image converted to a mc in this instance) is always in the center? Yes, with geometry. I recommend using a virtual camera, since it will take out a bunch of complicated (but far from advanced) math. Then you just need to center the camera on the spot using simple geometry. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders You should be able to find a nice virtual camera class on Bitey castle guys website. http://www.biteycastle.com/ ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Zooming
Glen Pike skriver: You should be able to find a nice virtual camera class on Bitey castle guys website. http://www.biteycastle.com/ I prefer my own one, you can stick a camera in a camera with it and it's simpler. But that one isn't half bad either. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] upgrading to AIR 2 on CS3
Hi All, Probably a silly question that I hope will be easy to ask: How do you upgrade to AIR 2 with Flash CS3? I have downloaded the AIR 2 zip from the adobe site, unzipped it and replaced the folders and files in my AIK folder of the Flash CS3 application. But it doesn't recognise new classes like PrintUIOptions. I've tried re-opening Flash and it still doesn't work. What am I doing wrong? Thanks in advance, David ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] PureMVC or RoboLegs ?
Hi all, After having a few clients screaming for MVC capable developers - i am finally about to byte the bullet and learn an MVC framework. So, which framework is more popular - PureMVC, or RoboLegs? I guess that once you learn one, the other makes sense - if so - which would you recommend ? Thanks ! - Karim ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
RE: [Flashcoders] PureMVC or RoboLegs ?
RobotLegs (not Robolegs) is the rage with all the kids these days. Plus, the icon for it is way cooler. Jason Merrill Instructional Technology Architect Bank of America Global Learning Join the Bank of America Flash Platform Community and visit our Instructional Technology Design Blog (Note: these resources are only available to Bank of America associates) -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Karim Beyrouti Sent: Monday, September 13, 2010 2:40 PM To: Flashcoders List Subject: [Flashcoders] PureMVC or RoboLegs ? Hi all, After having a few clients screaming for MVC capable developers - i am finally about to byte the bullet and learn an MVC framework. So, which framework is more popular - PureMVC, or RoboLegs? I guess that once you learn one, the other makes sense - if so - which would you recommend ? Thanks ! - Karim ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] PureMVC or RoboLegs ?
We're using RobotLegs a ton these days, it's fantastic. But I'd ultimately recommend learning MVC frameworks with PureMVC, as I think experience with it makes for stronger fundamentals. You end up wiring some stuff in with PureMVC manually that RobotLegs more or less automates. If the goal is to get the MVC patterns usage down correctly, that is. In practice I'm definitely finding RL faster to develop with (particularly with AS3 Signals), though with the caveat that handing off an RL project to a dev not familiar with it can spawn its own set of annoyances. --Matt On Mon, Sep 13, 2010 at 11:39 AM, Karim Beyrouti ka...@kurst.co.uk wrote: Hi all, After having a few clients screaming for MVC capable developers - i am finally about to byte the bullet and learn an MVC framework. So, which framework is more popular - PureMVC, or RoboLegs? I guess that once you learn one, the other makes sense - if so - which would you recommend ? Thanks ! - Karim ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] PureMVC or RobotLegs ?
Ah - yes, the cool icon must learn robotlegs... once you know an MVC framework - in theory i guess it more or less applies to another. Whatever the pros cons of using a framework for one man projects - there seems to be some demand for it out there; turned down a job today as i was not familiar with RobotLegs + short deadline. Another PureMVC one last week so, it's time to learn.. I can see that using a framework probably makes it easier to deal with someone else's code (and pass projects about) - but does it make the job easier on smaller jobs? ... anyway... I guess that's 1 vote for Robotlegs... PureMVC - anyone ?... - k On 13 Sep 2010, at 20:15, Merrill, Jason wrote: RobotLegs (not Robolegs) is the rage with all the kids these days. Plus, the icon for it is way cooler. Jason Merrill Instructional Technology Architect Bank of America Global Learning Join the Bank of America Flash Platform Community and visit our Instructional Technology Design Blog (Note: these resources are only available to Bank of America associates) -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Karim Beyrouti Sent: Monday, September 13, 2010 2:40 PM To: Flashcoders List Subject: [Flashcoders] PureMVC or RoboLegs ? Hi all, After having a few clients screaming for MVC capable developers - i am finally about to byte the bullet and learn an MVC framework. So, which framework is more popular - PureMVC, or RoboLegs? I guess that once you learn one, the other makes sense - if so - which would you recommend ? Thanks ! - Karim ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] PureMVC or RobotLegs ?
Thanks for the advise, guess that's a good reason to start with Pure MVC, then move onto RL. Do you use RL / MVC for all projects, or just in specific instances ? Cheers - karim On 13 Sep 2010, at 21:14, Matt Gitchell wrote: We're using RobotLegs a ton these days, it's fantastic. But I'd ultimately recommend learning MVC frameworks with PureMVC, as I think experience with it makes for stronger fundamentals. You end up wiring some stuff in with PureMVC manually that RobotLegs more or less automates. If the goal is to get the MVC patterns usage down correctly, that is. In practice I'm definitely finding RL faster to develop with (particularly with AS3 Signals), though with the caveat that handing off an RL project to a dev not familiar with it can spawn its own set of annoyances. --Matt On Mon, Sep 13, 2010 at 11:39 AM, Karim Beyrouti ka...@kurst.co.uk wrote: Hi all, After having a few clients screaming for MVC capable developers - i am finally about to byte the bullet and learn an MVC framework. So, which framework is more popular - PureMVC, or RoboLegs? I guess that once you learn one, the other makes sense - if so - which would you recommend ? Thanks ! - Karim ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] PureMVC or RobotLegs ?
What Matt Gitchell said. On Mon, Sep 13, 2010 at 4:19 PM, Karim Beyrouti ka...@kurst.co.uk wrote: Ah - yes, the cool icon must learn robotlegs... once you know an MVC framework - in theory i guess it more or less applies to another. Whatever the pros cons of using a framework for one man projects - there seems to be some demand for it out there; turned down a job today as i was not familiar with RobotLegs + short deadline. Another PureMVC one last week so, it's time to learn.. I can see that using a framework probably makes it easier to deal with someone else's code (and pass projects about) - but does it make the job easier on smaller jobs? ... anyway... I guess that's 1 vote for Robotlegs... PureMVC - anyone ?... - k On 13 Sep 2010, at 20:15, Merrill, Jason wrote: RobotLegs (not Robolegs) is the rage with all the kids these days. Plus, the icon for it is way cooler. Jason Merrill Instructional Technology Architect Bank of America Global Learning Join the Bank of America Flash Platform Community and visit our Instructional Technology Design Blog (Note: these resources are only available to Bank of America associates) -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Karim Beyrouti Sent: Monday, September 13, 2010 2:40 PM To: Flashcoders List Subject: [Flashcoders] PureMVC or RoboLegs ? Hi all, After having a few clients screaming for MVC capable developers - i am finally about to byte the bullet and learn an MVC framework. So, which framework is more popular - PureMVC, or RoboLegs? I guess that once you learn one, the other makes sense - if so - which would you recommend ? Thanks ! - Karim ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] upgrading to AIR 2 on CS3
Maybe this can help you: http://kb2.adobe.com/cps/403/kb403112.html *Beatrix Kruemmer-Frau* Dipl. Ing. Designer|CEH-LPIG-1 Flash/Flex Developer Network Security Administrator Bloghttp://www.blog.dieanstalt.com Twitterhttp://twitter.com/Birikini Xinghttp://www.xing.com/profile/Beatrix_KruemmerFrau LinkenIDhttp://de.linkedin.com/in/beatrixkruemmerfrau Am 13.09.2010 20:06, schrieb David Hunter: Hi All, Probably a silly question that I hope will be easy to ask: How do you upgrade to AIR 2 with Flash CS3? I have downloaded the AIR 2 zip from the adobe site, unzipped it and replaced the folders and files in my AIK folder of the Flash CS3 application. But it doesn't recognise new classes like PrintUIOptions. I've tried re-opening Flash and it still doesn't work. What am I doing wrong? Thanks in advance, David ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] PureMVC or RoboLegs ?
I totaly agree with Matt! *Beatrix Kruemmer-Frau* Dipl. Ing. Designer|CEH-LPIG-1 Flash/Flex Developer Network Security Administrator Bloghttp://www.blog.dieanstalt.com Twitterhttp://twitter.com/Birikini Xinghttp://www.xing.com/profile/Beatrix_KruemmerFrau LinkenIDhttp://de.linkedin.com/in/beatrixkruemmerfrau Am 13.09.2010 22:14, schrieb Matt Gitchell: We're using RobotLegs a ton these days, it's fantastic. But I'd ultimately recommend learning MVC frameworks with PureMVC, as I think experience with it makes for stronger fundamentals. You end up wiring some stuff in with PureMVC manually that RobotLegs more or less automates. If the goal is to get the MVC patterns usage down correctly, that is. In practice I'm definitely finding RL faster to develop with (particularly with AS3 Signals), though with the caveat that handing off an RL project to a dev not familiar with it can spawn its own set of annoyances. --Matt On Mon, Sep 13, 2010 at 11:39 AM, Karim Beyroutika...@kurst.co.uk wrote: Hi all, After having a few clients screaming for MVC capable developers - i am finally about to byte the bullet and learn an MVC framework. So, which framework is more popular - PureMVC, or RoboLegs? I guess that once you learn one, the other makes sense - if so - which would you recommend ? Thanks ! - Karim ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] PureMVC or RobotLegs ?
Thanks ! - that helps make the decision. On 13 Sep 2010, at 21:24, Jesse Warden wrote: What Matt Gitchell said. On Mon, Sep 13, 2010 at 4:19 PM, Karim Beyrouti ka...@kurst.co.uk wrote: Ah - yes, the cool icon must learn robotlegs... once you know an MVC framework - in theory i guess it more or less applies to another. Whatever the pros cons of using a framework for one man projects - there seems to be some demand for it out there; turned down a job today as i was not familiar with RobotLegs + short deadline. Another PureMVC one last week so, it's time to learn.. I can see that using a framework probably makes it easier to deal with someone else's code (and pass projects about) - but does it make the job easier on smaller jobs? ... anyway... I guess that's 1 vote for Robotlegs... PureMVC - anyone ?... - k On 13 Sep 2010, at 20:15, Merrill, Jason wrote: RobotLegs (not Robolegs) is the rage with all the kids these days. Plus, the icon for it is way cooler. Jason Merrill Instructional Technology Architect Bank of America Global Learning Join the Bank of America Flash Platform Community and visit our Instructional Technology Design Blog (Note: these resources are only available to Bank of America associates) -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Karim Beyrouti Sent: Monday, September 13, 2010 2:40 PM To: Flashcoders List Subject: [Flashcoders] PureMVC or RoboLegs ? Hi all, After having a few clients screaming for MVC capable developers - i am finally about to byte the bullet and learn an MVC framework. So, which framework is more popular - PureMVC, or RoboLegs? I guess that once you learn one, the other makes sense - if so - which would you recommend ? Thanks ! - Karim ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders