Category 'Flash'


Adobe Creative Suite 4: Rome 21 October 2008

Adobe Creative Suite 4: Rome 21 October 2008

Adobe is pleased to invite you to the launch events of the Adobe Creative Suite 4. See you in Rome and Milan October 21 October 30. For full details go to the meeting dedicated mini-site events CS4! As a tribute to all participants t-shirts CS4!

I will try to be there ... especially for the T-shirt :)

Continued ...

Skypemote version of Adobe AIR

Install Adobe AIR Download Skypemote Version

This is the first release, 0.8 (aligned with the version online ), Editor of Skype Emotions - Skypemote - version of Adobe AIR . For now, the features are all the same version online , with the advantage of being a desktop application, then install Windows, Mac and Linux.
Before installation, remember to update and / or install for the first time the runtime Adobe AIR , if you have not already done so.

Download

You can download from Google Code Skypemote Air .

Continued ...

Actionscript 3.0 for beginners: lesson # 3

We continue the analysis of the example of the game Tic Tac Toe, presented in Actionscript 3.0 for beginners: lesson # 2 . We arrived at the function that creates the game grid:

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
32
33
34
35
36
37
38
/ **
* Graphic design grid (3x3) on screen
*
* @ Param void
* @ Return void
* @ Private
* /
createGrid ( ) : void { private function createGrid (): void {
/ / Temporary pointer to a MovieClip
/ / Note: here you could also use a Sprite
/ / But in this case I need to extend the object
/ / Adding some personal proproetà. The Sprite
/ / Is a closed class and therefore not extensible runtime, while
/ / The MovieClip class is a dynamic class and then makes
/ / Possible to add run-time properties
MovieClip , i : uint = 0 ; var tm: MovieClip , i: uint = 0;
/ / Add the MovieClip in a 3x3 pattern
; i < 9 ; i ++ ) { for (; i <9; i + +) {
( ) ; tm = new MovieClip ();
tm ) ; addChild (tm);
= OFFSETX + ( ( i % 3 ) * ( PLAYER_WIDTH + PLAYER_OFFSET ) ) tm. offsetX = x + ((i% 3) * (PLAYER_WIDTH PLAYER_OFFSET +))
= OFFSETY + Math . floor ( i / 3 ) * ( PLAYER_HEIGHT + PLAYER_OFFSET ) tm. OFFSETY + y = Math . floor (i / 3) * (+ PLAYER_HEIGHT PLAYER_OFFSET)
tm. _index = i;
0 ) ; drawPlayer (tm, 0);
}
/ / Draw the 2 lines and 2 horizontal ranges addressable
this . graphics ) { with (this. graphics) {
6 , 0x666666 ) ; lineStyle (6, 0x666666);
OFFSETX , OFFSETY + ( PLAYER_HEIGHT + 15 ) ) ; moveTo (offsetX, OFFSETY + (PLAYER_HEIGHT + 15));
OFFSETX + ( ( PLAYER_WIDTH + 20 ) * 3 ) , OFFSETY + ( PLAYER_HEIGHT + 15 ) ) ; lineTo (offsetX + ((PLAYER_WIDTH + 20) * 3), OFFSETY + (PLAYER_HEIGHT + 15));
OFFSETX , OFFSETY + ( PLAYER_HEIGHT + 20 ) * 2 ) ; moveTo (offsetX, OFFSETY + (PLAYER_HEIGHT + 20) * 2);
OFFSETX + ( ( PLAYER_WIDTH + 20 ) * 3 ) , OFFSETY + ( PLAYER_HEIGHT + 20 ) * 2 ) ; lineTo (offsetX + ((PLAYER_WIDTH + 20) * 3), OFFSETY + (PLAYER_HEIGHT + 20) * 2);
OFFSETX + ( PLAYER_WIDTH + 15 ) , OFFSETY ) ; moveTo (offsetX + (PLAYER_WIDTH + 15), OFFSETY);
OFFSETX + ( PLAYER_WIDTH + 15 ) , OFFSETY + ( ( PLAYER_HEIGHT + 20 ) * 3 ) ) ; lineTo (offsetX + (PLAYER_WIDTH + 15), OFFSETY + ((PLAYER_HEIGHT + 20) * 3));
OFFSETX + ( PLAYER_WIDTH + 20 ) * 2 , OFFSETY ) ; moveTo (offsetX + (PLAYER_WIDTH + 20) * 2 OFFSETY);
OFFSETX + ( PLAYER_WIDTH + 20 ) * 2 , OFFSETY + ( ( PLAYER_HEIGHT + 20 ) * 3 ) ) ; lineTo (offsetX + (PLAYER_WIDTH + 20) * 2 OFFSETY + ((PLAYER_HEIGHT + 20) * 3));
}
}

Continued ...

Undolibrary MatrixArray: an extension of the Array class

di Actionscript 3.0, con lo scopo di semplificare la manipolazione di Array lineari usati come matrice n x m . MatrixArray is an extension of the class Array of Actionscript 3.0, with the aim to simplify the manipulation of Array used as a linear n x m matrix. This class is part of the library Undolibrary (in the package undolibrary.utils.MatrixArray ) that you can freely download function via any Google code SVN client (Subversion) to:
svn checkout http://undolibrary.googlecode.com/svn/trunk/
Alternatively you can download the single file MatrixArray.as . An example of the use of linear matrix was given in Actionscript 3.0 for beginners: lesson # 2 where we saw one of his simple use in the production of the classic Tic Tac Toe game. ), proprio come una scacchiera. An array of this type is comparable to a rectangular area ( w x h ), just like a chessboard. With this class you can treat an array of this type just like a grid with its x and y coordinates. The MatrixArray I've used, for example, in the development of all the logic editor Emotions Icons for Skype: Skypemote .

Continued ...

ActionScript 3.0: did you know that ...

Some curiosities of Actionscript 3.0 is not always known ...

trace ()

The instruction trace() , used for debugging, now supports multiple parameters:

1
a , b , c ) ; trace (a, b, c);

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 ...

Skypemote.com: say it with emotions

Skypemote

Opens - in beta - Skypemote.com , a project born from an idea me and Nicola ( flussodigitale.com ), which proposes a simple editor to create nice drawings from "paste" in Skype. The editor has been created in Adobe Flash CS3 and, weather permitting, I would also release a version - Desktop - Adobe AIR.
If you use Skype to "chat" with this editor, you will surely impress your interlocutors. If you find this service useful and fun, do not forget to contribute suggestions, and - if you will - with some donations! :)
Follow the project because there will soon be other "nice" news.

Continued ...

Simple Flash Project Generator 0.5: a Flash AIR application

In Actionscript 3.0 for beginners: lesson # 1 we have seen the necessary steps for creating a project in Flash CS3. So I got the idea to automate, to some extent, this process due to the features of Adobe AIR .

Continued ...

Actionscript 3.0 for beginners: lesson # 1

Premise

Actionscript 3.0 can be a good starting point to become familiar, those unfamiliar with C programming and / or C + +, orioentata programming (OOP). In addition, this series of lessons will be useful to those coming from other rooms or from earlier versions of Flash.

Set a project

In this first lesson we will see how to set up a project Flash CS3 generic. It is good to use when the projects are expected to have to deal with at least more than one file. The use of the project was introduced - by Macromedia - already in versions prior to CS3, so it should be a subject known to developers Actionscript 2.0.
However with Actionscript 3.0 - as we shall see - it is possible to create a Actionscript (. Pbuh) to the document-root movie ours. Fla so to speak. This feature is very useful and also makes a project minimum of at least two files: the. Fla. As associated. For this reason, you will "always" from a project, so right now organizing the various files (. Fla,. As, ...) that will be part of our "package" of development.
Also, once you learn the dimesticazza with the philosophy to objects, instrinseca in this type of language, end up with many files will be normal, even for simple projects substantially.

Continued ...

Shop for considerations on the evolution of languages: AS2 vs. AS3

Reading the article by Julius ActionScript 2 or ActionScript 3? Let's clear!   I would like to make some considerations on the evolution "inverse" of some development tools for those who, like me, is the programming C / C + +.

Continued ...