Articles Tagged 'ADDED_TO_STAGE'

Very short trick: ADDED_TO_STAGE

per capire quando il nostro MovieClip è disegnato effettivamente sulla stage: As we have seen several times in the constructor of a class that extends MovieClip may be necessary to add the event ADDED_TO_STAGE to understand when our MovieClip is actually drawn on the Stage:

Continued ...

Adobe AIR and the API Feedburner: reloaded

I draw inspiration by the excellent tutorial Napolux , Flex 3, Adobe AIR and the API Feedburner , which shows how to write a simple application (or widgets) using Flex 3 Adobe AIR, to show how to accomplish the same thing using Adobe Flash CS3. If you wish, and you can also use the extension for creating Adobe AIR applications. It is not necessary for the purposes of this tutorial, complete the application as an AIR executable, you can use the proposed code as a simple Flash movie to be "affixed" to your Web pages

Continued ...

Actionscript 3.0 for beginners: lesson # 2

As promised here is the second lesson in ActionScript 3.0! Today we start the analysis of a simple project that reproduces the play or the Tic Tac Toe Tic Tac Toe. I tried to include some special features in this example, ActionScript 3.0, trying to give space to the understanding and not on style. It follows that if I had to write the "game" really, I probably would have structured very differently, but in this case I tried to mediate between a classical program with a compact, hermetic more understandable for newbies.

Continued ...

Papervision3D: Bitmap handle like FIVe3D

Starting from the example shown in FIVe3D: Bitmap treat , let's see how to achieve the same effect using Papervision3D 2.0 (Great White), as well as continue to analyze the operation of this beta Great White.

Loading Flash ...

Continued ...

Flash CS3: template for the document class

This is the template that I use for the document class for a generic project Flash CS3:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
package {
/ *
** @ Name: MioDocumento.as
** @ Description: [description]
** @ Author: undo = =
** @ Web: http://www.undolog.com
** @ Email: @ g.fazioli undolog.com - g (dot) Fazioli (at) undolog (dot) com
** @ Ver: 1.0
* /

.*; import flash.display .*;
.*; import flash.events .*;

MioDocumento extends MovieClip { MioDocumento public class extends MovieClip {
/ *
** @ Private var
* /

MainFive ( ) : void { public function MainFive (): void {
Event . ADDED_TO_STAGE , init ) ; addEventListener ( Event . ADDED_TO_STAGE, init);
}

/ *
** @ Name: init ()
** @ Description: When added to stage trigged
* /
init ( e : Event ) : void { protected function init (e: Event ): void {
/ / Todo
}
} / / Constructor
} / / Package

Continued ...