You are here: Open Source Flash » Documentation Pages List


Documentation Pages List

AMF - ActionScript Message Format2007/02/20 07:44documentation, amf AMF is the Action Message Format. AMF is a proprietary data format created by Macromedia and used by different mediums: Flash Remoting, FlashComm, LocalConnection and Shared Objects. All of these mediums share the same core data types and ActionScript data types. Each medium uses its own exclusive envelope. Any AMF-related project should implement reading and writing core data types, relevant Actionscript types, as well as providing support for its envelope type.,
AMF3 Specification2007/02/20 09:47documentation, amf3 Reverse Engineered by Kevin Langdon. Additions by Karl von Randow. Integer Reverse Engineered by Martin Schnabel. Word on the street is that Adobe will be providing the full specification in the fall. I couldn’t wait that long, so here it is. I still have some considerable work before this is easy to understand. Therefore please contact me directly if you have questions or even if you are interested in seeing some source code.,
AMF3 Implementations documentation, amf3 AMF3 support is already appearing, or in the process of appearing, in many different applications. Below is a list of the ones we know about. Please feel free to update this list. Toolkits * fluorine * red5 * sabreamf * rubyamf,
Parsing Integers documentation, amf3 Integer-data is probably the single most used item in AMF3. The implementation of it is a little complicated so this page includes a reference implementation of parsing the AMF3 integer-data type: private int readAMF3Integer() throws IOException { int n = 0; int b = in.readUnsignedByte(); int result = 0; while ((b & 0x80) != 0 && n < 3) { result <<= 7; result |= (b & 0x7f); b = in.readUnsignedByte(); n++; } if (n < 3…,
Actionscript data types in AMF documentation, amf, astype AMF represents ActionScript objects by a single byte representing type, and then by a type-specific byte array that may be of fixed length, may contain length information, or may come with its own end code. The Flash player encodes Actionscript objects according to the following table. The following types have been discovered so far:, ,
Data Types for the AMF Data Format documentation, amf, datatype AMF has core data types that are there every step of the way for serializing data. These should not be confused with the AMF actionscript data types. The core data types include: * Byte * Int * MediumInt * Long * Double * UTF8 * LongUTF8, ,
Remoting envelope documentation, amf, remoting A Remoting request from the client consists of a short preamble, headers, and bodys. The preamble contains basic information about the nature of the request. Headers can be used to request debugging information, send authentication info, tag transactions, etc. Bodies contain actual Remoting requests and responses. A single Remoting envelope can contain several requests; Remoting supports batching out of the box., ,
Debug information documentation, amf, remoting, debug A client can request debug information from the server using the amf_server_debug header. The NetConnection debugger is responsible for generating the appropriate headers. The amf_server_debug data field contains an object containing one or several of the following keys, each either set to true or false:, , ,
Predefined headers documentation, amf, remoting, headers A remoting gateway should be able to understand the following headers: * amf_server_debug: for debugging purposes * Credentials: triggers roles-based security * DescribeService: triggers the service description functionality, , ,
Local Shared Object envelope documentation, amf, sharedobject A Local Shared Object file (.SOL) consists of a short header, and then a set of name:value pairs comprising that object. All data in the Local Shared Object file format is AMF - ActionScript Message Format-based, and thus big endian (unlike SWF)., ,
Recordsets documentation, amf, recordsets Remoting recordsets are sent back from the server as a typed object (type 0x0A). They are then mapped locally in the Flash player as mx.remoting.Recordset. Flash recordsets are specifically targeted at holding SQL records. Recordsets have a built-in paging functionality that gateways may wish to implement., ,
RTMP Protocol [DRAFT]2007/02/20 12:22documentation, rtmp Introduction RTMP is a protocol used by flash to deliver real time objects, video, and audio to clients using a binary tcp connection or polling http tunnel. The protocol is a container for data packets which may be amf or raw audio / video data like found in flv.,
Guidelines actionstep, documentation Use Tab’s rather then Spaces for white space. Rationale - individuals can then tailor their editing environment to to set whatever number of spaces they like for each tab. Always use braces around block statements, even if it is a single statement.,
ActionStep Features actionstep, documentation This page lists the various links to pages which document certain features, sorted alphabetically. * Arrays * Binding * Combo Boxes * Debugging * Exceptions * Images * Modal Sessions * RPC * Views,
Arrays actionstep, documentation The NSArray class is the most commonly used collection class used in ActionStep. It provides methods to query, modify, sort and filter a collection of objects. It is a big step up from ActionScript’s native Array class.,
Binding actionstep, documentation Binding consists of a few different technologies and techniques. Accessing properties based on string “keys” is called Key-Value Coding (KVC). Observing property changes using string “keys” is called Key-Value Observing (KVO).,
Combo Boxes actionstep, documentation A combo box, otherwise known in the Aqua docs as a “combination box” are useful to display a limited set of data from which the user can choose from. Related Classes * org.actionstep.NSComboBox * org.actionstep.NSComboBoxCell * org.actionstep.NSComboBoxCellDataSource * org.actionstep.NSComboBoxCellSearchingDataSource,
Debugging actionstep, documentation ActionStep comes with ASDebugger which, besides handling trace messages, also allows you to work with stacks using hamtasc. Tracing TODO Compiling with hamtasc ASDebugger has some methods that takes advantage of HAMTASC - Hacking Mtasc‘s auto trace features.,
Exceptions actionstep, documentation ActionStep supports exceptions through the following classes: * org.actionstep.NSException * org.actionstep.ASDebugger This document explain how this is done. Please note that from now onwards, trace refers to ASDebugger.trace, or any other ASDebugger trace functions. You can do this by compiling with mtasc and using the -trace switch. For example,,
Images actionstep, documentation ActionStep has rather strong support for images using Cocoa’s model. It is possible to load images from a URL, symbol, or a bitmap. Basically, an image is made up of 2 classes: * NSImage * NSImageRep By extending NSImageRep, you can add more functionality without having to change NSImage.,
Modal Sessions actionstep, documentation This page provides implementation-specific information on modal sessions and sheets. General Callback Stack variable/method callback selector m_modalCallback/Selector NSApplication modalWin NSApplication.modalSession() <callback> <selector> Sheet Callback Stack,
RPC actionstep, documentation The ActionStep framework contains a Remote Procedure Call (RPC) package, made up of both abstract and concrete classes. Currently there are the following implementations of the above package: * Remoting for Flash * xmlrpc * soap,
Views actionstep, documentation This page attempts to explain view programming for ActionScript developers. MovieClip structure Unless you’re themeing, you almost never have to deal with MovieClips in ActionStep. Everything is handled for you. An instance of NSView, or just referred to as a view, contains 2 important MovieClips:,
Postnuke 0.8x / AMFPHP 1.9 beta documentation, amfphp, postnuke This version of Postnuke has a strong separation of GUI and API, utilizing the SMARTY Templating system. Providing a secure environment, easily developable, and written in PHP gives Postnuke an edge missing from alot of other CMS‘s out there. But being easily adjustable like it is makes for a system that you can make your own, as this conversion process is attempting to do., ,
How to get the latest source from Subversion flashjs, installation, documentation This page describes how to get the latest source from Subversion. Note, that the version in Subversion may not be as stable as the current release build. You can download a zip file that is created daily that contains the latest source from here., ,
Installation flashjs, installation, documentation Copy the following JavaScript files from the source/javascript directory into your web root: * Exception.js * FlashProxy.js * FlashSerializer.js * FlashTag.js * VBCallback.vbs Copy the following library files from source/flash/actionscript into your Flash Authoring classpath (making sure to maintain the directory structure):, ,
Known Issues flashjs, documentation * Undefined object properties in JavaScript may not be serialized and sent to ActionScript unless they are explicitly defined as undefined. If the variable is simply not defined at all, the property may be stripped out. * If you are using the debug player, you may find that the calls between JavaScript and Flash are slow. The calls occur very quickly on other platforms, in other browsers, and with the standard Flash Player. * You can not pass objects or arrays that …,
Requirements flashjs, documentation The JavaScript Flash Integration Kit requires Flash Player version 6r65, and has been tested on the following browsers: * Windows IE 6.0 * Windows Firefox 1.0 * Windows Opera 8.0 * Macintosh Opera 8.0 * Macintosh Firefox 1.0 * Safari 1.2.4 and 2.0 * Linux Firefox 1.1,

documentation.txt · Last modified: 2007/02/20 12:24 by niko