I wrote a class CountDown for Actionscript 3.0. To test it I created an example using the text-rendering capabilities FIVe3D .
Articles Tagged 'Development'
3D Countdown with FIVe3D
Very short snippet: cutString ()
Convenient and quick! With the values Number of Actionscript, for example, is an essential aid to the "print" on the screen.
1 2 3 4 5 6 7 |
Often I use it also in sub() and _s()
Flash CS3: Create a reflex effect on any MovieClip
Taking advantage of a remarkable feature of Actionscript 3.0 (see ActionScript 3.0, all with the new operator ) I created a class ReflexMe able to generate an effect "reflection" on any MovieClip present in the library.
The source is part of the package undolibrary - GoogleCode of this - but if you want you can download the single file ReflexMe.as .
Papervision3D: BasicView
Papervision3D 2.0 (GreatWhite) is still developing and there are many functions that are added almost weekly. In April, was inaugurated on the developer blog ( http://dev.papervision3d.org/ ), however, release 2.0, is not officially released yet is often hard to snatch the true potential. One of the recent innovations introduced, however, is the new object BasicView an environment that creates 3D with very few lines of code. It is enough to create this object to have the scene, viewport and camera in one fell swoop.
2.0 Snipplr code: fragments (Snippe) of useful code
It was a long time that I wanted to report this useful service dedicated to programming world. Snipplr (code 2.0) is a true aggregator or repository of code snippets useful. You can register for free and send portions of their code and, above all, enjoy the many Snippe already on site. I have treated many languages (Actionscript, ASP, C #, MatLab, PHP, Rails, SVN, etc ...), all well-sorted and cataloged. You can also install a handy WordPress plugin can display on our blog a Snippe-code through its unique id.
Actionscript 3.0: Simulate the event onReleaseOutside
With Flash CS3 and Actionscript 3.0 has been revised many things including the presence of the event onReleaseOutside . The latter, like many other little things, it has been deleted without a genuine reason and without a real alternative. In the official documentation Actiobscript 3.0, ActionScript 2.0 Migration section, looking for onReleaseOutside is indicated:
Extending the Flash CS3 IDE with Snippets
Lee Brimelow , Platform Evangelist at Adobe, is responsible for developing in Flash, Flex and AIR. From his blog ( TheFlashBlog ) you can download a handy extension for Flash CS3: Snippets . This extension is written using the API that Flash provides to interact with its IDE (JSFL API) allows you to add a touch panel (along the lines of that already present in Adobe Dreamweaver) where you can insert small pieces of code that we use most often.
Once installed, you can already taken advantage of some snippets provided by the author. Clicking on the icon
You can edit the XML file that contains snippets (the code snippets). Once editing is done simply save the file and click on
to update the list. The author's site have been released in recent days more snippets to add to those already present. Here is the full version of the XML file:
Shadowbox assetURL: set the image path
When Shadowbox opens his window to show content (images, iframes, Movie, etc ...), displays, waiting, an animated gif that comes in the package. If the page is using Shadowbox is at the same level of the images folder, everything works fine. By default, in fact, look for the animated gif below Shadowbox images / loading.gif - or images / loading-light.gif if you chose light styles (shadowbox-light.css). Otherwise, there is a risk and often not even accorgesene, if we are in a different tree, it generates a nice code 404 - page not girder, in our case file not found!
To resolve this problem sufficient to initialize Shadowbox with an appropriate parameter which indicates the absolute path of your images folder: undolog.com of, for example, I placed the animated gif of loading directly into the images folder present in root (like a billion others sites
. To make this folder accessible to Shadowbox, regardless of the path, I put semplicemenete:
1 2 | / / Init assetURL shadowbox with parameter assetURL : 'http://www.undolog.com/' } ) ; Shadowbox. Init ({assetURL: 'http://www.undolog.com/'}); |
All Lightbox clones in a dynamic array
Planetozh has created a beautiful scenery of the dynamic tool that can list all of the Javascript libraries like Lightbox.
Using a panel (see picture on left) with a series of "ticks" (checkbox), which indicate the various features of the libraries, you can run a filter, obtaining the list of one or more libraries that do the job. We hope that the author maintains updated this great page, very useful in extricating one of the numerous and powerful libraries of this type.
Distribute Adobe AIR: AIR Badge from a SHU Player
Adobe AIR applications have the advantage of being relatively small in file size with separate installation of Adobe AIR 1.0 runtime libraries . This advantage, however, can become a real problem when you are preparing to deploy an Adobe AIR, is on the network (ie the browser) and a rigid support such as a CD / DVD.








Latest Comments
Mark : @ Mark: Thanks for the answer. For example, if you have a code to save / use the folder ...
Mark : Thanks for the answer. For example, if you have a code to save / use the folder ...
Giovambattista Fazioli : @ Mark: in principle, absolutely, a lot depends on how and what to download. La. ..
Mark : Hello, good guide! I wanted to ask, you can use the same code to run a sql database? Instead of ...
Joseph : Hi I wanted to ask you how you can do in the post I uploaded a gallery of 50 images, for example, ...