Connect (Netconnection.connect Method) - MACROMEDIA FLASH 8-ACTIONSCRIPT 2.0 LANGUAGE Reference

Actionscript 2.0 language reference
Table of Contents

Advertisement

Constructor summary
Signature
NetConnection()
Method summary
Modifiers
Signature
connect(targetURI:St
ring) : Boolean
Methods inherited from class Object
addProperty (Object.addProperty
(Object.hasOwnProperty
(Object.isPropertyEnumerable
method),
registerClass (Object.registerClass
(Object.toString
(Object.valueOf
method),

connect (NetConnection.connect method)

public connect(targetURI:String) : Boolean
Opens a local connection through which you can play back video (FLV) files from an HTTP
address or from the local file system.
When using this method, consider the Flash Player security model and the following security
considerations:
The default is to deny access between sandboxes. The website can enable access to a
resource via a cross-domain policy file.
A website can deny access to a resource by adding server-side ActionScript application
logic in Flash Communication Server.
For Flash Player 8, NetConnection.connect() is not allowed if the calling SWF file is in
the local-with-file-system sandbox.
Description
Creates a NetConnection object that you can use in conjunction with
a NetStream object to play back local streaming video (FLV) files.
Description
Opens a local connection through which you can play
back video (FLV) files from an HTTP address or from
the local file system.
method),
method),
isPropertyEnumerable
method),
method),
unwatch (Object.unwatch
watch (Object.watch method)
hasOwnProperty
isPrototypeOf (Object.isPrototypeOf
method),
toString
method),
valueOf
NetConnection
963

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the FLASH 8-ACTIONSCRIPT 2.0 LANGUAGE and is the answer not in the manual?

Subscribe to Our Youtube Channel

This manual is also suitable for:

Flash 8

Table of Contents

Save PDF