Here’s a handy tool when developing for web services/amfphp/flash remoting making it a breeze to see what is actually be transferred. Check it out here: http://www.charlesproxy.com
Charles is an HTTP proxy / HTTP monitor / Reverse Proxy that enables a developer to view all of the HTTP traffic between their machine and the Internet. This includes requests, responses and the HTTP headers (which contain the cookies and caching information). Charles can act as a man-in-the-middle for HTTP/SSL communication, enabling you to debug the content of your HTTPS sessions.Charles simulates modem speeds by effectively throttling your bandwidth and introducing latency, so that you can experience an entire website as a modem user might (bandwidth simulator).Charles is especially useful for Adobe Flash developers as you can view the contents of LoadVariables, LoadMovie and XML loads. Charles also has native support for Flash Remoting (AMF0 and AMF3). More about Charles and Flash. Charles is also useful for XML development in web browsers, such as AJAX (Asynchronous Javascript and XML) and XMLHTTP, as it enables you to see the actual XML that is flowing between the client and the server. Charles natively supports JSON, JSON-RPC and SOAP; displaying each in a simplified tree format for easy viewing and debugging.
Posted by David Ehlers at 7:51 am on August 16th, 2008. No comments... »
Categories: http. Tags: ActionScript, amfphp, http, xml.
Don’t know why this is always a hassle, but here is a simple way to play .flv’s one after another (actionscript 3.0). The NetStatusEvent.COMPLETE is oddly inconsistent.
ns.addEventListener(NetStatusEvent.NET_STATUS, detectEnd);
function detectEnd(myevent:NetStatusEvent):void {
switch (myevent.info.code) {
case “NetStream.Play.Stop”:
trace(”stop”);
//play video
ns.play(”video/vide.flv”);
break;
}
}
Posted by David Ehlers at 1:31 pm on July 14th, 2008. No comments... »
Categories: ActionScript. Tags: ActionScript, flash.
2D ActionScript 3.0 Physics Engine
APE (Actionscript Physics Engine) is a free AS3 open source 2D physics engine for use in Flash and Flex, released under the MIT License. APE by Alec Cove.
Posted by David Ehlers at 5:24 pm on June 13th, 2008. No comments... »
Categories: ActionScript, api. Tags: 2d, ActionScript, physics.
Very interesting 3d visualizations here over at http://www.bestiario.org using their own 3D framework.
Posted by David Ehlers at 8:33 am on May 12th, 2008. 3 comments... »
Categories: 3d, ActionScript, Papervision 3D. Tags: 3d, ActionScript, Papervision 3D.
Handy snippet from massivecube for distributing exact amount of points on the surface of a sphere.
http://blog.massivecube.com/?p=9
Posted by David Ehlers at 4:40 pm on April 29th, 2008. No comments... »
Categories: ActionScript, Papervision 3D. Tags: 3d, ActionScript, pv3d.
My favorite tweener engine for Flash - in both AS2 and 3. Simple, clean and fast.
Docs are here:
http://hosted.zeh.com.br/tweener/docs/en-us/
Posted by David Ehlers at 5:40 pm on April 17th, 2008. No comments... »
Categories: ActionScript, api. Tags: ActionScript, Caurina, Tweener.
Flare is a collection of ActionScript 3 classes for building a wide variety of interactive visualizations. For example, flare can be used to build basic charts, complex animations, network diagrams, treemaps, and more. Flare is written in the ActionScript 3 programming language and can be used to build visualizations that run on the web in the Adobe Flash Player. Flare applications can be built using the free Adobe Flex SDK or Adobe’s Flex Builder IDE. Flare is based on prefuse, a full-featured visualization toolkit written in Java.
And view some other visualization api’s here - more links here at reddit
Posted by David Ehlers at 8:01 pm on April 6th, 2008. No comments... »
Categories: ActionScript, Visualization, api. Tags: ActionScript, api, flash, Visualization.
Nice tutorial of full screen flash setup here over at gotoandlearn.
Posted by David Ehlers at 8:07 am on April 6th, 2008. No comments... »
Categories: ActionScript. Tags: ActionScript, flash, html.
A forward kinematics experiment using Papervision3D v2.0 alpha and a Collada 3D model of a robotic arm over at zero point nine blog.
Posted by David Ehlers at 7:29 am on April 6th, 2008. No comments... »
Categories: 3d, Papervision 3D. Tags: 3d, ActionScript, forward kinematics, papervision.
Physics engine for flash in 2D - Box2DFlashAS3 is an open source port of Erin Catto’s powerful c++ physics library.
Posted by David Ehlers at 4:31 pm on March 30th, 2008. No comments... »
Categories: ActionScript. Tags: ActionScript, Open Source, physics.