03.05.2013 Views

ActionScript 2.0 Language Reference - Adobe Help and Support

ActionScript 2.0 Language Reference - Adobe Help and Support

ActionScript 2.0 Language Reference - Adobe Help and Support

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Event summary<br />

Event Description<br />

allowDomain =<br />

function([sendingDo<br />

main:String]) {}<br />

allowInsecureDomain<br />

=<br />

function([sendingDo<br />

main:String]) {}<br />

onStatus =<br />

function(infoObject<br />

:Object) {}<br />

Constructor summary<br />

Signature Description<br />

Method summary<br />

Methods inherited from class Object<br />

722 <strong>ActionScript</strong> classes<br />

Invoked whenever receiving_lc receives a request to invoke a method<br />

from a sending LocalConnection object.<br />

Invoked whenever receiving_lc, which is in a SWF file hosted at a<br />

domain using a secure protocol (HTTPS), receives a request to invoke<br />

a method from a sending LocalConnection object that is in a SWF file<br />

hosted at a nonsecure protocol.<br />

Invoked after a sending LocalConnection object tries to send a<br />

comm<strong>and</strong> to a receiving LocalConnection object.<br />

LocalConnection() Creates a LocalConnection object.<br />

Modifiers Signature Description<br />

close() : Void Closes (disconnects) a LocalConnection object.<br />

connect(connectionNa<br />

me:String) : Boolean<br />

Prepares a LocalConnection object to receive<br />

comm<strong>and</strong>s from a LocalConnection.send()<br />

comm<strong>and</strong> (called the sending LocalConnection object).<br />

domain() : String Returns a string representing the domain of the<br />

location of the current SWF file.<br />

send(connectionName:<br />

String,<br />

methodName:String,<br />

[args:Object]) :<br />

Boolean<br />

Invokes the method named method on a connection<br />

opened with the<br />

LocalConnection.connect(connectionName)<br />

comm<strong>and</strong> (the receiving LocalConnection object).<br />

addProperty (Object.addProperty method), hasOwnProperty<br />

(Object.hasOwnProperty method), isPropertyEnumerable<br />

(Object.isPropertyEnumerable method), isPrototypeOf (Object.isPrototypeOf<br />

method), registerClass (Object.registerClass method), toString<br />

(Object.toString method), unwatch (Object.unwatch method), valueOf<br />

(Object.valueOf method), watch (Object.watch method)

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!