MACROMEDIA FLASH 8-ACTIONSCRIPT 2.0 LANGUAGE Reference page 964

Actionscript 2.0 language reference
Table of Contents

Advertisement

For more information, see the following:
Chapter 17, "Understanding Security," in Learning ActionScript 2.0 in Flash
The Flash Player 8 Security white paper at http://www.macromedia.com/go/fp8_security
The Flash Player 8 Security-Related API white paper at http://www.macromedia.com/go/
fp8_security_apis
Availability: ActionScript 1.0; Flash Player 7 - Note: This method is also supported in Flash
Player 6 when used with Flash Communication Server. For more information, see the Flash
Communication Server documentation.
Parameters
- For this parameter, you must pass
targetURI:String
Returns
- If
, the connection failed and is not usable. If
Boolean
false
failed at the time the
Example
The following example opens a connection to play the video2.flv file. Select New Video from
the Library panel's options menu to create a new video object, and give it the instance name
.
my_video
var connection_nc:NetConnection = new NetConnection();
connection_nc.connect(null);
var stream_ns:NetStream = new NetStream(connection_nc);
my_video.attachVideo(stream_ns);
stream_ns.play("video2.flv");
See also
NetStream
964
ActionScript classes
method is called, but this does not guarantee success.
connect()
.
null
, the connection has not
true

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?

This manual is also suitable for:

Flash 8

Table of Contents

Save PDF