Archive for the 'AIR' Category

SpinjAS - rotate / scale / move DisplayObjects

I’ve started a little pet project called SpinjAS (named after the super-cool toys). It’s a super-simple and fun way for your users to move objects around, size them and rotate them when you don’t need a more precise tool like object handles. Here’s a quick demo:


(Right click to view source)

It’s just an experiment and, yes, I know it’s not an original concept. But it is (as far as I know) an original Flex implementation. The limited current feature set is quite simple: radiusMax, radiusMin, scaleMax, scaleMin.

I would love to hear what you have to say … so far I’ve had about 30% positive feedback and 70% say “ok, cool, but when would I ever use that?” What about you? Does the concept have potential with some specific added features?

Formally introducing <my:SimpleMP3 />

To learn more about the mysimplemp3 project, click the <my:SimpleMP3 /> tab at the top of this website. The project is hosted here on Google Code where you can download the latest swc or check out the source.

Currently the only demo is my proof of concept found here. I’m looking forward to seeing the components and projects you end create with mysimplemp3. Please keep me posted - and let me know about feature requests and potential bugs! Thanks.

Almost introducing <my:SimpleMP3 />

What's this? It looks easy!

OK. I really don't like building MP3 player components in AS3 for Flex. It's doable, sure, but tedious. In fact, I don't like it enough that I've done something about it. Now it can be fun to make an MP3 player in Flex! (not available yet, but there's a demo below).

XML:
  1. <my:SimpleMP3
  2.     id="music"
  3.     url="http://url.com/my.mp3" />

Now, just treat it like you'd expect!

Actionscript:
  1. music.play();
  2. music.pause();
  3. music.stop();
  4. music.volume = 0..1;

Yes, there's more: scrubbing, streaming, buffering, panning left to right, auto load, auto play, auto rewind, repeat and most importantly ... states! Read more and play with a quick demo after the jump.
Continue reading 'Almost introducing <my:SimpleMP3 />'