Top programming blogs award

Top programming blogs

google
yahoo
bing

ActionScript 3 Tutorial – What Happened to getURL?

Flash Tutorial 123 Comments »

For those of you who are new to ActionScript 3, you might be wondering what happened to the getURL() function. It used to be so easy to create outbound links in Flash with just a single line of code inside the onRelease event for your buttons. Which brings up another question...what happened to the onRelease event?

If you wanted to create a link to another website in ActionScript 2, here's what it would have looked like:

code

Ah, if only it were still so simple!

Read the rest of this entry »

Tutorial – Creating a Timer in ActionScript 3

Flash Tutorial 36 Comments »

Today's tutorial comes with a bit of good news. Yesterday, my pregnant wife and I went to the doctor and discovered that our first baby is a girl! So naturally, I thought I might post a tutorial on how to create a countdown timer with Flash CS3 and ActionScript 3. Since my wife's due date is August 30th, I'll use that as our countdown date.

This tutorial will cover the basics of using the Date() class and the Timer() class in ActionScript 3. The Timer class, as you may know, is new to AS3. The ActionScript 2 equivalent of a Timer object would be the setInterval method, which is no longer available to us in AS3. So, with no further ado, let's get started.

Read the rest of this entry »

Tutorial – Creating a Pause Button

Flash Tutorial 26 Comments »

This tutorial will be building on two previous tutorials:

In this tutorial, we'll look at how to add a pause button to our music player. If you haven't yet worked through the first two tutorials, or if you haven't downloaded the source file from the volume slider tutorial, then you can download it here. This is the file we'll be starting with. In this file, we've already created the basic functionality to play and stop a sound and to control the volume with a draggable slider.

Read the rest of this entry »

Flash CS3 Tutorial – Volume Slider

Flash Tutorial 26 Comments »

This tutorial is part 2 of a series of posts on creating a music player. Click the links below to view the other posts in the series:


In our last tutorial, we talked about how to create a simple music player using ActionScript 3 with a play button and a stop button.In this tutorial, we'll take our music player one step further as we discuss how to add a volume slider to our Flash file.If you want to follow along, download the source file from the previous tutorial. This is the file we'll be starting with.

Read the rest of this entry »

Tutorial – Using Sound in ActionScript 3

Flash Tutorial 50 Comments »

This tutorial is Part 1 of a series of tutorials on creating a music player. Click the links below to view the other posts in the series:


Lately it seems that everyone has become somewhat of a music snob. Everyone is convinced that his or her taste in music is perfectly objective and that anyone who doesn't like his or her favorite band is intellectually inferior. For instance, if you were to tell me that you didn't adore The Shins, Led Zeppelin, and/or Billy Joel, I would probably write your mother a letter, verbally assaulting her for drinking so much vodka while she was pregnant.

Anyways, in an era where melodic snobbishness is so prevalent, everyone with a website (or a MySpace account) wants to play their favorites for the whole world to hear, so if you're a Flash designer/developer, it might do you some good to learn how to import, play, and modify sound in ActionScript.In this tutorial, I'm going to introduce you to using sound in ActionScript 3, and in later posts, we'll start to get a little more in depth with the different things we can do with sound.

Read the rest of this entry »

Design by j david macor.com.Original WP Theme & Icons by N.Design Studio
Entries RSS Comments RSS Log in