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...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...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...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...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...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...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...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...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...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...
13. marts 2010
Kommentarer slået fra