03.05.2013 Views

FLASH® LITE™ 2.x - Adobe Help and Support

FLASH® LITE™ 2.x - Adobe Help and Support

FLASH® LITE™ 2.x - 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.

Modifiers Signature Description<br />

Methods inherited from class Object<br />

addRequestHeader (LoadVars.addRequestHeader<br />

method)<br />

public addRequestHeader(header:Object, headerValue:String) : Void<br />

Adds or changes HTTP request headers (such as Content-Type or SOAPAction) sent with<br />

POST actions. In the first usage, you pass two strings to the method: header <strong>and</strong><br />

headerValue. In the second usage, you pass an array of strings, alternating header names <strong>and</strong><br />

header values.<br />

If multiple calls are made to set the same header name, each successive value will replace the<br />

value set in the previous call.<br />

The following st<strong>and</strong>ard HTTP headers cannot be added or changed with this method:<br />

Accept-Ranges, Age, Allow, Allowed, Connection, Content-Length, Content-Location,<br />

Content-Range, ETag, Host, Last-Modified, Locations, Max-Forwards, Proxy-<br />

Authenticate, Proxy-Authorization, Public, Range, Retry-After, Server, TE,<br />

Trailer, Transfer-Encoding, Upgrade, URI, Vary, Via, Warning, <strong>and</strong> WWW-Authenticate.<br />

Parameters<br />

header:Object - A string or array of strings that represents an HTTP request header name.<br />

headerValue:String - A string that represents the value associated with header.<br />

364 ActionScript classes<br />

sendAndLoad(url:Stri<br />

ng, target:Object,<br />

[method:String]) :<br />

Boolean<br />

Posts variables in the my_lv object to the specified<br />

URL.<br />

toString() : String Returns a string containing all enumerable<br />

variables in my_lv, in the MIME content encoding<br />

application/x-www-form-urlencoded.<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!