Flash, Flash Media Server, Flex, AJAX, Action Script 3.0April 4, 2006 1:56 am

Google Maps Collaboration by Cristophe Coenraets

Really cool RIA by Cristophe Coenraets. Using combination of Flex, Flash Media Server and AJAX he successfully build Google Maps Collaboration.
The full version of the applications enabled to download here. This application requires the Flex Data Services for pub/sub messaging, and the Flash Media Server for media streaming.


Flex, Action Script 3.0March 2, 2006 2:37 am

Adobe just release free source Action Srcipts 3.0 API: Libraries at Adobe-Labs.
The APIs:Libraries contains:

  • corelib. Several basic utilities for MD5 hashing, JSON serialization, advanced string and date parsing, etc.
  • FlexUnit. A unit testing framework for Flex and ActionScript 3.0 applications based on JUnit.
  • Flickr - A wrapper for the entire Flickr API.
  • Mappr - A wrapper for the entire Mappr API.
  • XML Syndication - Libraries for easily parsing all versions of RSS and Atom.
  • Odeo - A wrapper for the entire Odeo API.
  • YouTube - A wrapper for the entire YouTube API

This source is very helpfull for people who started working using Flex Builder Beta


Flex, Action Script 3.0February 10, 2006 2:43 am

Good article post by Sam Robbins. About using PrimalScript as an alternative solutions to compile your Flex 2.0.

Read it here in detail


Flash, Tutorials, Action Script 3.0December 21, 2005 8:23 am

If you ever using createEmptyMovieClip class or createTextField, or may be attachMovie or any class that you should set / input z-index / depth of that movieClip or textField.

// createEmptyMovieClip method
my_mc.createEmptyMovieClip(instanceName:String, depth:Number) : MovieClip

// createTextField method
my_mc.createTextField(instanceName:String, depth:Number, x:Number, y:Number, width:Number, height:Number) : Void

// attachMovie method
my_mc.attachMovie(idName:String, newName:String, depth:Number [, initObject:Object]) : MovieClip

For just setting up the depth should be no problem if you’re using getNextHighestDepth().
But beware if the depth already reach number higher than 1048575 you will failed when try to do removeMovieClip or removeTextField

Try this:

this.createTextField("my_text", this.getNextHighestDepth(), 100, 10, 10, 10);
my_text.autoSize = true;
my_text.text = "Blah...blah...blah...";

You will see the text “Blah…blah…blah…”
Then when you add removeTextField function (see the script below) you should see the text again.

this.createTextField("my_text", this.getNextHighestDepth(), 100, 10, 10, 10);
my_text.autoSize = true;
my_text.text = "Blah...blah...blah...";
my_text.removeTextField(); //< ---------- remove it

So far is okay let’s say getNextHighestDepth value is equal or lower than 1048575. You still can remove the textField

this.createTextField("my_text", 1048575, 100, 10, 10, 10); //< -- simulate if getNextHighestDepth = 1048575
my_text.autoSize = true;
my_text.text = "Blah...blah...blah...";
my_text.removeTextField();

Then watch what happend if the depth we set higher than 1048575, try 1048576 (just 1 point higher than 1048575)

this.createTextField("my_text", 1048576, 100, 10, 10, 10);
my_text.autoSize = true;
my_text.text = "Blah...blah...blah...";
my_text.removeTextField();

As you see the text will stay, “”Blah…blah…blah…”. This mean is failed when try to remove.

The conculsion for this case is z-index / depth of object still manageable when set lower or equal to 1048575.

Solutions

Because the problem with the z-index. Than the solutions should be fix if we set the z-index to lower.
If the object is already set the z-index higher than 10487575 then you can set it the depth lower before you called remove function. But this only available for MovieClip. Yes you can use swapDepths() for movieclip to reset the z-index lower before you call removeMovieClip() function.

if(mc.getDepth() > 10487575){
mc.swapDepths(123456); // < ---- reset to lower z-index number
}
mc..removeMovieClip();

And for textField problem I’m still not found any solutions because swapDepths() only work for MovieClip not TextField.
The best way is put the TextField in MovieClip so you can reset the z-index using swapDepths(). Or jusy make sure you not set z-index of the TextField higher than 10487575 :)


Flex, Action Script 3.0November 30, 2005 8:27 am

Woww it’s so nice. With AS3 Franto could get .3ds file from 3d max, parse it, and draw it on screen. More then 16000 faces is rendered less then 200 ms! wow! This is rock. Can’t wait for the source!


Flash Media Server, Flex, Action Script 3.0October 31, 2005 2:41 am

Great idea by Darron Schall. He is create VNC client using Flash Player 8.5 with AS 3.0 which is now support port connection. He called is FlashVNC and he also said is not yet 100% work. But he already provide us the screenshot the see how it works currently.
Well this should be another promissing thing about desktop / screensharing solutions. Well done Darron!


Action Script 3.0October 20, 2005 7:13 am

Alot change in AS 2.0 into AS 3.0. I know this is should be for make better flash application.
But why should AS 3.0? May be this link will help you.

http://www.darrelplant.com/blog_item.php?ItemRef=374


Flex, Action Script 3.0October 19, 2005 5:36 am

Writen by Ralf Bokelberg. Maybe it can help you to understanding writing in AS 3.0
There are about 13 steps may more because he always update for another step :) . You can started read from 1rst step here.


Action Script 3.0 2:42 am

Here some new capability of Actionscript 3.0 that you can apply on Flash player 8.5. Wrote by Guy Watson of Flashguru


Flash, Action Script 3.0 2:36 am

This is cools esspesially when you work with sound ex. MP3 player using Flash. Now is available to visualize the sound peak / spectrum. This is another new thing on Flash Player 8.5.

For sample code you can try the code that people at RichApps.de wrote it here