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 June 18, 2010 ¬ 7:10 pmh.vamapaull
This is text shuffle class that will help you make a nice flash menu for your site or your applications. I got inspired from a similar class made by Lee Brimelow. You can use it for open source or commercial projects (do anything you want).
Share
Read the rest of this entry »
Posted in June 3, 2010 ¬ 8:07 amh.vamapaull
Last night I was browsing around 365psd.com and I found a very interesting design for an mp3 player. Then I thought it would be a good idea to make it functional with Flash and ActionScript 3.0 and then share it for free on my blog Source files: 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 »
Posted in November 17, 2009 ¬ 9:01 pmh.vamapaull
A few weeks ago I made a little Flash application named “Photo Booth”. Then I started to work with a friend of mine on a bigger project that will be very useful for those site owners who want to easily integrate a webcam application into their sites. The project name is UserBooth. Right now we [...]
Read the rest of this entry »
Posted in August 6, 2009 ¬ 6:22 amh.vamapaull
EDIT 04/12/2011: I just got the approval notice from ActiveDen for a much better version of this PhotoBooth app. This new version includes lot of options to customize it through XML and it includes both ASP and PHP files for the server-side part of the code. If you have any suggestions to improve it, please [...]
Read the rest of this entry »
ActionScript 3.0, Projects3, 3.0, actionscript, app, applet, application, as3, as3.0, booth, flash, foto, photo, webca, webcam
Posted in February 4, 2009 ¬ 4:43 amh.vamapaull
Right now I’m still reading “Learning ActionScript 3.0” book so I can improve my AS 3 skills. In the “Draving with pixels” chapter there is a great example of a little drawing application that I like. Here you can see the code for that little application: var mouseIsDown:Boolean; var erasing:Boolean; var canvas:Sprite = new [...]
Read the rest of this entry »
Posted in November 4, 2008 ¬ 9:11 amh.vamapaull
Today I had this little problem. I needed to generate a random number from 1 to 30 and the result had to except a specific number (as in this example, any number from 1 to 30 except the number 7 ) The code is done now, it’s working as it should and I posted it [...]
Read the rest of this entry »