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).

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

Now, just treat it like you'd expect!

  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 />'

WebManiacs 2008 - Presentation files

My presentation files for Sorting, Filtering & Paginating Data in Flex are posted here. This session is a two hour hands-on in which attendees will build a Flex application from scratch [see it live]. The application demonstrates basic sorting, filtering and use of a web service that generates paginated results. In this case the web service is the Yahoo Image Search API.

The application is approximately 200 lines of code and should be comfortably completed in the two hours. If not, the source code is available by right clicking the live demo above.

Presenting Tonight @ 615Flex

I'll be finishing the second half of a Cairngorm series tonight. The topic is "Commands, Responders, Delegates and the ServiceLocator - Getting data into a Cairngorm application." This should be a relatively short presentation compared to the last one :)

Also tonight - Andy Matthews of DealerSkins will be showing off his latest work in AIR with HTML, jQuery and BlazeDS. Hope you can make it!

Cairngorm Extensions by Universal Mind

"Adobe's Cairngorm MVC framework is used by Flex develpers to deliver scalable and maintainable rich internet applications. Universal Mind has created extensions to that framework to address implementation issues that can impede developers."

Read more at:
http://code.google.com/p/flexcairngorm/

I'm excited to see this! I haven't had time to try out the new extensions, but I'm looking forward to it. Thanks to all the good people at UM.

Warping Text in Flex

There was some discussion in the 615Flex Google group earlier about how to warp text in a Flex application. (If you have any valuable input or resources please leave them in the comments). I thought it would be fun to mess around with the idea, so I put together this really weak example of a text warp component.

Read on to see a little example ...

Continue reading 'Warping Text in Flex'

Interesting read about inheritance in ActionScript

Here is a cool article from the Flex 3 livedocs on ActionScript 3.0 and how the language handles fixed property and prototype inheritance. There is also a brief history of AS from version 1.0 to present. The content may not help you with day-to-day tasks, but it is an interesting and fun read.

Create a View and bind to application data

(Go to 'Cairngorm Series' to view all titles)

This is the third post in a series on Cairngorm fundamentals. We will be binding data from the ModelLocator (created in the previous video) to a new View component. There are countless ways to achieve similar results, so do some research and come up with a method that meets your requirements. I establish some goals to strive for when creating views but the focus of this series is on Cairngorm. Feel free to post links to additional resources on the subject. Continue reading for the video and example with source ...

Continue reading 'Create a View and bind to application data'

The ModelLocator Holds Application Data

(Go to 'Cairngorm Series' to view all titles)

This is the second post in a series on Cairngorm fundamentals. We will be covering the concept of the ModelLocator, the Model in MVC. In short, the ModelLocator is a Singleton which implements a marker interface (no method definitions) from the Cairngorm framework called com.adobe.cairngorm.model.IModelLocator. The ModelLocator class defines properties that hold all application data. From now on we'll just call this class the Model.

Continue reading 'The ModelLocator Holds Application Data'