Articles Tagged 'Flash'


Trace Actionscript, Objective-C NSLog ()

, usata per il debug delle applicazioni. Taking up the post from Actionscript to Objective-C (where you compare the code and syntax ActionScript and Objective-C), we have the convenient feature in ActionScript trace ( ) , used for debugging applications. This function outputs a console on the Adobe Flash development environment. It is mainly used for debugging and testing of "movie" / application. In XCode / Objective-C we have: NSLog ( ) . di Actionscript: The syntax of this function is very similar to the trace ( ) in Actionscript:

1
"Sono una linea di debug" ) ; NSLog (@ "I am debugging a line");

In Actionscript we have:

1
"Sono una linea di debug" ) ; trace ("I am debugging a line");

Apart from the use of the sign (@), as you can see, are identical. The differences (and similarities) start when you want to display values ​​of variables, for example in Actionscript we have:

1
2
3
"Coordinata x:" + x + " coordinata y:" + y ) ; trace ("x-coordinate:" + x + "y coordinate:" + y);
/ / Or
"Coordinate: " , x , y ) ; trace ("Coordinates", x, y);

In Objective-C we have:

1
"Coordinata x:%i coordinata y:%i" , x, y ) ; NSLog (@ "x-coordinate: the y coordinate%% i", x, y);

che opera sull'Apple System Log. Note: NSLog() actually calls the more generic function NSLogv ( ) that operates on the implementa System Log. The functions are in fact identical, changing only the input parameters.

o sprintf ( ) . The developers will find very familiar with the C string formatting, as with printf ( ) or sprintf ( ) . For details, see String Format Specifiers .

Continued ...

Shadowbox 3.0 beta

It was released right now (thanks to alert the author Michael JI Jackson ) release 3.0 beta Shadowbox.js . In addition to the new site design here is the most important changes prior to this release:

Continued ...

How I did it: the logo Saidmade

When I was asked to draw and design the logo for Saidmade , as often happens for His creatures, I was quite agitated. However it was not possible to rely on the inventiveness of others, it was necessary to express what was to come into being and personal self. In the end I am very satisfied with the final result. The symbol that came out is exactly what we needed!

Continued ...

WordPress Plugin: Flash Feed Scroll Reader

Taking a cue from post Create a simple Feed Reader with SimplePie and jQuery I created the first Plugin WordPress weblog Saidmade . Flash Feed Scroll Reader uses SimplePie to create a PHP proxy to access the different feed addresses.

Continued ...

Very short trick: proxy RSS with SimplePie

If you use Flash or Ajax to read RSS feeds from other domains, you need to equip yourself with a proxy (tunneling) because of the protections imposed by both technologies (see tunneling and proxy servers for Ajax and beyond ). If your site or blog is already SimplePie , you can write a simple proxy like this:

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

AJAX Libraries API SWFObject on Google

SWFObject Google AJAX Libraries API expands its fleet of libraries and frameworks also SWFObject , useful to insert and manipulate Flash movies on our Web pages

Continued ...

Actionscript 3.0: MovieClip MovieClip over

Just a Flash Developer / Actionscript is preparing to write a function similar to a tooltip, clashes immediately with the problem of the propagation of events between overlapping MovieClips. In fact, if a MovieClip (B) is superimposed to a MovieClip (A), which responds, for example, an event MouseEvent.Mouse_OVER , by hovering on the MovieClip (B) no event be higher than intercepted by the MovieClip (A):

MovieClip MovieClip over

Continued ...

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

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