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.

Property summary<br />

Properties inherited from class Object<br />

constructor (Object.constructor property), __proto__ (Object.__proto__<br />

property), prototype (Object.prototype property), __resolve<br />

(Object.__resolve property)<br />

Constructor summary<br />

Signature Description<br />

NetConnection() Creates a NetConnection object that you can use in conjunction with a<br />

NetStream object to play back local streaming video (FLV) files.<br />

Method summary<br />

Modifiers Signature Description<br />

connect(targetURI:St<br />

ring) : Boolean<br />

Methods inherited from class Object<br />

connect (NetConnection.connect method)<br />

public connect(targetURI:String) : Boolean<br />

Opens a local connection through which you can<br />

play back video (FLV) files from an HTTP address<br />

or from the local file system.<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)<br />

Opens a local connection through which you can play back video (FLV) files from an HTTP<br />

address or from the local file system.<br />

When using this method, consider the Flash Player security model <strong>and</strong> the following security<br />

considerations:<br />

■ The default is to deny access between s<strong>and</strong>boxes. The website can enable access to a<br />

resource via a cross-domain policy file.<br />

■ A website can deny access to a resource by adding server-side <strong>ActionScript</strong> application<br />

logic in Flash Media Server.<br />

NetConnection 975

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

Saved successfully!

Ooh no, something went wrong!