Posts Tagged ‘ActionScript 3’

Timecode Utility

Today I’m sharing simple utility that I use from time to time when I need to convert time (see what I did there? ) It’s very useful if you build a FLV player for example, and want to convert the time into minutes:seconds Example of how to apply it to your project: import com.vamapaull.utils.TimeUtil;   [...]

Read the rest of this entry »

Device Shake – Accelerometer

Here you have an easy way to detect shakes on mobile devices with equipped accelerometer: var lastShake:Number = 0; var shakeWait:Number = 600;   var acc:Accelerometer = new Accelerometer(); acc.addEventListener(AccelerometerEvent.UPDATE, onAccUpdate);   function onAccUpdate(e:AccelerometerEvent):void { if(getTimer() – lastShake > shakeWait && (e.accelerationX >= 1.5 || e.accelerationY >= 1.5 || e.accelerationZ >= 1.5)) { shakeIt(); lastShake [...]

Read the rest of this entry »

First encounter with AIR for Android

Today I made some experiments with AIR for Android. The process was very smooth and I like how simple everything is, in just a few minutes I managed to compile an application and play with it on my Android device. Totally love the way that I can reuse the ActionScript 3 code and make beautiful [...]

Read the rest of this entry »

Interesting videos from MAX 2010

I have found some very interesting videos from MAX 2010 and I want to share them with you, I believe you’ll love the new stuff as I do! Video Tapestries: Share

Read the rest of this entry »

YouTube Playlist Reader

Just wanted to let you guys know that I’ve been working on a YouTube playlist reader (based on the ActionScript 3 YouTube API). With this custom player you can send a YouTube playlist ID and the player will generate the list of videos with thumbnails and other info about the videos. Just check it out [...]

Read the rest of this entry »

Password protected content in Flash with ActionScript 3 and PHP

This morning I was browsing through the gotoAndLearn forum and I saw a question about how to make a password protected section in a Flash site. So, I made a quick example and I thought I should share it with all my readers too You can download the source files from here: Here you can [...]

Read the rest of this entry »

ActionScript 3 YouTube feed application

A few days ago I made a little application based on the new ActionScript 3 YouTube API and I thought I should share it with those who want to get started with this type of players. In the future I plan to make some more complex applications based on this API so I can sell [...]

Read the rest of this entry »