Category 'Flash'


2.0 Snipplr code: fragments (Snippe) of useful code

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

Continued ...

Born Divoogle: extension and research tools for the development

Divoogle

Produced and designed by JuliusDesign created a new tool dedicated to the development. The idea is to create a search engine specialized in certain areas, to start Flash. The system uses the latest innovative and customization tools provided by Google . Visit the blog of the project started and give early advice.

Continued ...

Read parameters from an XML file into Namespace Actionscript 3.0

Say you have an XML file that contains a certain point the following line:

1
2
...
type = "image/jpeg" /> <media :thumbnail url = "thumbs/pic10.jpg" type = "image/jpeg" />

As I read, for example, the url attribute in Actionscript 3.0?

If the XML was this:

1
2
...
type = "image/jpeg" /> <Image url = "thumbs/pic10.jpg" type = "image/jpeg" />

) sarebbe stato sufficiente: After obtaining the pointer to &lt;immagine/&gt; ( imgptr ) would be sufficient:

1
imgptr . @ url ) ; trace (imgptr. @ url);

If &lt;media:thumbnail/&gt; , however, add:

1
2
Namespace = myXML . namespace ( "media" ) var mediaNS: Namespace = myXML. namespaces ("middle")
myXML . mediaNS :: thumbnail . @ url ) ; trace (myXML. mediaNS: thumbnail. @ url);

Continued ...

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:

Continued ...

Installing Papervision3D 2.0 Great White: TortoiseSVN

It was a long time that followed the project Papervision3D , a library in Actionscript (2.0 and now 3.0) for manipulating and rendering 3D objects are spectacular. Inaugurated, so the category Papervision3D (soon also 3D), inserted in Flash CS3 . Papervision3D is also available for Actionscript 2.0, although I personally treat only the version for Actionscript 3.0.

Continued ...

Extending the Flash CS3 IDE with Snippets

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 image You can edit the XML file that contains snippets (the code snippets). Once editing is done simply save the file and click on Update snippets 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:

Continued ...

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.

Continued ...

How to save images in Flash CS3

With the use of Adobe Flash CS3 Bitmap is so improved that is immediately wanted to create a small Paint. . We have already seen how to make a small Paint (see Paint in Flash CS3 Create a Painter: simple application for drawing in Flash CS3 Pro ) can support a true "eraser" - erase function, thanks to a particular use of Layer Shape and Bitmap . Let's say that Flash (as opposed to Flex) it does not allow encoding (such as JPG or PNG) it automatically saves the Bitmap images. However you can get around it using a server-side scripting and the ability to send data in POST Flash.

Continued ...

Flash CS3 to create fog effect TV in 1 second

Flash CS3 does not ceases to amaze. Here's how to create the classic fog of televisions in a second with 10 lines of code.

Loading Flash ...

Continued ...

Read the parameters of a movie in Actionscript 3.0

With Flash CS3 has changed the way to read the parameters passed to a movie, or as params that as GET parameters. In previous versions of Flash it is a parameter was available as a variable directly in the first frame. Now, fortunately, we have an object that handles parameter passing, and not only: LoaderInfo .

Continued ...