Posted in December 16, 2011 ¬ 6:44 amh.vamapaull
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 »
Posted in November 25, 2011 ¬ 3:20 pmh.vamapaull
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 »
Posted in February 1, 2011 ¬ 10:44 amh.vamapaull
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 »
Posted in October 30, 2010 ¬ 9:56 amh.vamapaull
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 »
Posted in April 12, 2010 ¬ 8:43 amh.vamapaull
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 »
Posted in January 16, 2010 ¬ 6:43 amh.vamapaull
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.0ActionScript 3, content, dataRequest, flash, pass, password, php, protected, URLRequest, URLVariables, user, username
Posted in January 12, 2010 ¬ 8:13 amh.vamapaull
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 »