Archive | Flash RSS feed for this section

Extend your Flash Application Using the Context Menu

13. marts 2010

Kommentarer slået fra

A Context Menu is a menu in a graphical user interface that appears upon user interaction, such as a right-mouse click. The Flash Player context menu allows you to add custom menu items, control the display of the built-in context menu items (for example, Zoom In and Print) and create copies of menus. In this tutorial, [...]

Continue reading...

Quick Tip: How to Communicate Between Flash and HTML

12. marts 2010

Kommentarer slået fra

In this Quick Tip, we’ll look at how to use the ExternalInterface class. This allows us to write AS3 which can run JavaScript code, and vice-versa. That means you can use Flash to alter parts of the webpage in which it’s running!   Step 1: Set up the Flash Document Create a new Flash ActionScript 3 document. Resize [...]

Continue reading...

Quick Tip: How to use Google Analytics for Tracking in Flash

8. marts 2010

Kommentarer slået fra

In this Quick Tip I’ll show you how to examine the way visitors are using your websites, widgets and games. Then we’ll look at how to improve them based on this info!   Introduction Building nice looking websites is great; building websites that have a high Return Of Investment is priceless. Recently I joined the web team of a [...]

Continue reading...

Quick Tip: How to Use a Document Class in Flash

3. marts 2010

Kommentarer slået fra

Why Use Class Files? I’ll admit it – sometimes, coding entirely on the timeline is useful. It’s a quick way to test out an effect, and the easiest way to sync actions to specific frames of an animation. But for any project that relies more on code than on animation, there are serious disadvantages. All your ActionScript [...]

Continue reading...

How to print with AS3

25. februar 2010

Kommentarer slået fra

In this short tutorial, let’s see how we can print the content of our swf files using the PrintJob class with actionscript 3. 1. Create a new flash file (Actionscript 3.0) and save it as print.fla. 2. Rename “layer1″ to “Content” and here create the content that you want to print (images, text …). Convert the whole [...]

Continue reading...

Create an Image Rotator in Flash Using XML and ActionScript 3.0

25. februar 2010

Kommentarer slået fra

In this tutorial you will learn how to make a simple Image Rotator from scratch using Flash, XML and ActionScript 3.0. Step 1: Brief Overview This image rotator is created almost entirely out of code alone. During the first steps we will set up the Fla file properties and embed some fonts to make the image information [...]

Continue reading...

Display Data With Funky Animated Needle Gauges

25. februar 2010

Kommentarer slået fra

Creating appealing data visualization has always been one of Flash’s key features. It allows you to achieve eye candy results with real dynamic data; be it in a preloader, a game, or an office presentation. This simple tutorial will show you how to build a needle gauge meter. You’ll learn how to apply a “gloss” effect, [...]

Continue reading...

Create a skippable and redirectable video intro for a website

25. februar 2010

Kommentarer slået fra

In the following actionscript 3 lesson, we are going to create a video intro that the user can skip to access the main site or that will automatically redirect to the main site when the video has finished playing. 1. Create a new flash file (Actionscript 3.0) and save it as video.fla. 2. Rename “layer1″ to “btn”. [...]

Continue reading...

Quick Tip: Get a Random Number Within a Specified Range Using AS3

25. februar 2010

Kommentarer slået fra

We often need to use a randomly generated number for certain situations; using Math.random() * n will usually do the trick, but it will only calculate a number from 0 to n. What if we need a number that doesn’t give 0 as the minimum value? How can you generate a random number between 100 [...]

Continue reading...

Exporting Code-Driven Flash as a QuickTime Movie

16. februar 2010

Kommentarer slået fra

In the days of Macromedia, working between Flash and QuickTime was rough territory for designers and animators. Then in 2007, when Adobe took the helm and released Flash CS3, a lot of compatibility issues were resolved. In this exercise, I am going to show you how a purely code-driven animation can be exported as a QuickTime [...]

Continue reading...