Home » Archive

Articles tagged with: as3

Flash, Flex, General Discussion, New Developments »

[4 Nov 2009 | Comments | 2,232 views]
Augmented Reality Using Flex, AS3, And A WebCam

Augmented reality (AR) on the Flash and Flex platform is really quite a new technology, but there are a large amount of developers and businesses that are embracing the use of AR online. Media companies such as Esquire, and technology companies such as GE are using the tech to engage their users both through print media as well as online media.

AR research explores the application of computer-generated imagery in live-video streams as a way to expand the real-world.

The possibilities of how you could use Augmented Reality (AR) are endless. Picture …

Code Samples, FMS, Flash, Flash Components, New Developments »

[28 Aug 2009 | Comments | 2,077 views]
Stream Your Videos Using FLV Player – FREE

We’ve recently added some pretty significant new features to our FLV Player Flash Component. One really neat new offering is our Free FLV Player, which allows you to stream videos from Youtube!, Vimeo, or your own sources including Flash Media Server. All you need is a video source, your player width and height requirements, and you can get your embed code in 3 easy steps.

Take a look at FLV Player, and our new Free FLV Player at http://flvplayer.com.

If you ever wanted to add video to your projects or websites, there …

Code Samples, Flash, Tutorials »

[5 Sep 2008 | Comments | 1,183 views]
AS3 MP3 Player

I have an upcoming project that will require an mp3 player that can load multiple songs, and let users choose which track they would like to listen to. I created this as a test, and will be developing it further for use on the site itself.

The player loads in mp3’s from an external file based on xml settings.

Here’s the actionscript 3 that is involved:

var getMusic:URLRequest;
var music:Sound = new Sound();
var soundChannel:SoundChannel;
var currentSound:Sound = music;
var pos:Number;
var currentIndex:Number = 0;
var songPlaying:Boolean = false;
var xml:XML;
var songlist:XMLList;
//preloader
function loadProgress(event:ProgressEvent):void {
var percentLoaded:Number = …