Articles Tagged 'Flash'
, usata per il debug delle applicazioni. Taking up the post from Actionscript to Objective-C (where they began to compare the code and syntax ActionScript and Objective-C), in Actionscript we have the convenient function
trace ( ) , used to debug applications. This function will give output to the console of the development environment Adobe Flash. It is mainly used in the early stages of development 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:
"Sono una linea di debug" ) ; NSLog (@ "They are a debug line");
In Actionscript we have:
"Sono una linea di debug" ) ; trace ("I'm a line of debug");
Apart from the use of the at sign (@), as you can see, they are identical. The differences (and similarities) start when you want to display the values of variables, for example in Actionscript we have:
"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:
"Coordinata x:%i coordinata y:%i" , x, y ) ; NSLog (@ "x-coordinate:% i y coordinate:% i", x, y);
che opera sull'Apple System Log. Note:
NSLog() actually invokes the more general function
NSLogv ( ) that operates on Apple System Log. The functions are in fact identical, changing only the input parameters.
sprintf ( ) . C developers will find very familiar string formatting, as with
printf ( ) and
sprintf ( ) . For details, see String Format Specifiers .
It was released just now (thanks to the suggestion of the author Michael JI Jackson ) the 3.0 beta release of Shadowbox.js . In addition to the new design of the website here are the most important changes in this release preliminary:
When I was asked to draw and design the logo for Saidmade , as often happens for His creatures, I was pretty upset. However it was not possible to rely on the inventiveness of others, it was necessary to express what was going to be born in an independent and personal. At the end I am very satisfied with the end result. The symbol that has come out is exactly what we were looking for!
Taking a cue from the post Create a simple feed reader with SimplePie and jQuery I created the first WordPress Plugin weblog Saidmade . Flash Feed Scroll Reader uses SimplePie to create a PHP proxy to access different addresses feed.
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 server for Ajax and not only ). If your site or blog is already present SimplePie , you can write a simple proxy in this way:
I take inspiration by the excellent tutorial Napolux , Flex 3 and Adobe AIR APIs Feedburner , which shows how to write a simple application (or widget) Adobe AIR using Flex 3, to show how to accomplish the same thing using Adobe Flash CS3. If you wish, also, you can take advantage of the extension for creating Adobe AIR applications. It is not necessary for the purposes of this tutorial, compile your AIR application as an executable, you can use the code proposed as a simple Flash movie "affix" to your Web pages
Google AJAX Libraries API expands its fleet of libraries and frameworks also SWFObject , very useful for inserting and manipulating Flash movies on our Web pages
Just a developer Flash / Actionscript is preparing to write a function similar to a tooltip, clashes immediately with the problem of the propagation of events between MovieClip superimposed. In fact if a MovieClip (B) overlaps to a MovieClip (A) which responds, for example, to an event
MouseEvent.Mouse_OVER , passing with the mouse on the MovieClip (B) higher no event will more intercepted by MovieClip (A):
Adobe is pleased to invite you to the launch event of the new Adobe Creative Suite 4. We look forward to Rome and Milan October 21 October 30. For all the details of the meeting go to the microsite dedicated to the events CS4! In tribute to all the participants the t-shirt CS4!
I will try to be there ... especially for T-shirt
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 purpose to simplify the manipulation of
Array linear used as a matrix n x m. This class is part of the library Undolibrary (in the package
undolibrary.utils.MatrixArray ) that you can freely download function from any client through a Google code SVN (Subversion) to:
svn checkout http://undolibrary.googlecode.com/svn/trunk/
Alternatively, you can download only one file MatrixArray.as . An example of the use of linear arrays has been given in Actionscript 3.0 for beginners: lesson # 2 where we saw one of its mere use in the production of the classic Tic Tac Toe game. ), proprio come una scacchiera. A matrix of this type is comparable to a rectangular area (
h ), just like a chessboard. With this class, it is possible to treat an array of this type just like a lattice with its x and y coordinates. The
MatrixArray I used, for example, in the development of all the logic editor of Emotions Icons for Skype: Skypemote .