Tuesday, September 1, 2009

Adobe ActionScript 3.0 * Controlling outbound URL access

Adobe ActionScript 3.0 * Controlling outbound URL access

Outbound scripting and URL access (through the use of HTTP URLs, mailto: and so on) are achieved through use of the following ActionScript 3.0 APIs:

*

The flash.system.fscommand() function
*

The ExternalInterface.call() method
*

The flash.net.navigateToURL() function

For SWF files running locally, calls to these methods are successful only if the SWF file and the containing web page (if there is one) are in the local-trusted security sandbox. Calls to these methods fail if the content is in the local-with-networking or local-with-filesystem sandbox.

For SWF files that are not running locally, all of these APIs can communicate with the web page in which they are embedded, depending on the value of the AllowScriptAccess parameter described below. The flash.net.navigateToURL() function has the additional ability to communicate with any open browser window or frame, not just the page in which the SWF file is embedded. For more information on this functionality, see Using the navigateToURL() function.

Tuesday, July 28, 2009

flash.net package - ActionScript 3.0 Language and Components Reference

flash.net package - ActionScript 3.0 Language and Components Reference


getClassByAlias(aliasName:String):Class
Looks up a class that previously had an alias registered through a call to the registerClassAlias() method.
flash.net

navigateToURL(request:URLRequest, window:String = null):void
Opens or replaces a window in the application that contains the Flash Player container (usually a browser).
flash.net

registerClassAlias(aliasName:String, classObject:Class):void
Preserves the class (type) of an object when the object is encoded in Action Message Format (AMF).
flash.net

sendToURL(request:URLRequest):void
Sends a URL request to a server, but ignores any response.

Friday, July 17, 2009

curtismorley.com � Flash Error #1180: Call to a possibly undefined method myCustomClass.

Flash Error #1180: Call to a possibly undefined method myCustomClass

Make sure that when you instantiate the Object that you are using the Class name and not the variable name.

Bad Code:

var myCustomClass:CustomClass = new myCustomClass();

Good Code:

var myCustomClass:CustomClass = new CustomClass();

Thursday, July 9, 2009

Visuell Interactive Agency : Welcome

Visuell Interactive Agency : Welcome

BALLANTINES TEMAZO: Filtro

BALLANTINES TEMAZO: Filtro

Gaia Framework for Adobe Flash

Gaia Framework for Adobe Flash: "Gaia has built-in deeplinking with SWFAddress, and is fully integrated with SWFObject so you don't have to write any HTML, CSS or Javascript. Gaia also uses SWFWheel which gives you full mouse scroll wheel support on all platforms and browsers!"

Preloader - Gaia Framework Wiki

Preloader - Gaia Framework Wiki: "You can change the MovieClipAsset the preloader uses at runtime. Make sure your MovieClipAsset is already loaded (preferably into the 'PRELOADER' depth, see Site XML documentation) and that it implements the IPreloader interface. Read more about this functionality in the API documentation. If the clip you assign to the preloader unloads or is removed for some reason, Gaia will automatically revert back to the default preloader."

flex and flash developer | steven sacks

flex and flash developer | steven sacks

Monday, July 6, 2009

Flash CS3

Flash CS3
here's some sample code:
var connection_nc:NetConnection = new NetConnection();
connection_nc.connect(null);
var stream_ns:NetStream = new NetStream(connection_nc);
myVideoHolder_video.attachVideo(stream_ns);
stream_ns.play("myMovie.flv");

myVideoHolder_video.addCuePoint("myCuePt", 2);

Adobe Media Encoder CS4 * Cue points for FLV and F4V video files

Adobe Media Encoder CS4 * Cue points for FLV and F4V video files

DuPont in Energy

DuPont in Energy

Tuesday, May 19, 2009

Friday, May 15, 2009

OneRiot's Search Engine Banks on Twitter - News and Analysis by PC Magazine

OneRiot's Search Engine Banks on Twitter - News and Analysis by PC Magazine

Instead of crawling and indexing the entire Internet Google-style, OneRiot indexes only Web pages that are shared on Twitter and Digg, and uses the number of shares of a URL to determine how high it will rank in the search results. As a news article, blog post, or video gets passed around, it gains search relevance.

Thursday, April 30, 2009