Main. ASC File
C: \ Program Files \ Macromedia \ Flash 8 \ samples and tutorials \ samples \ Components \ flvplayback \ main. ASC
1. In your FCS ApplicationProgramCreate a folder named my_application.
2. Copy the main. ASC file to the my_application folder.
3. Create a folder named streams in the my_application folder.
4. Create a folder named _ definst _ in the streams folder.
5. Place your FLV file in the _ definst _ folder.
6. To access the FLV file on Flash Communication Server, use a URL such as rtmp: // my_servername/my_application/stream. FLV.
If the _ definst _ folder is not used and other folders such as myfolder are used, the access method is as follows:
Rtmp: // my_servername/my_application/myfolder/stream. FLV
Drag a flvplayback component into the scene and specify the Instance name as my_flvplybk.
Next, add the following to the first frame of the scene timeline:Code:
Import MX. Video .*;
My_flvplybk.buffertime = 7;
My_flvplybk.contentpath = "rtmp:/localhost/my_application/stream. FLV ";
Note: The Flash 8 + fcs1.5 environment has passed the test.