# Preloader for external FLV in pro.. Possible?

**URL:** <https://forum.kirupa.com/t/preloader-for-external-flv-in-pro-possible/48546>\
**Category:** flash\
**Created:** [April 14, 2004, 3:30pm UTC](https://forum.kirupa.com/t/preloader-for-external-flv-in-pro-possible/48546 "2004-04-14T15:30:40Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![msimper](https://avatars.discourse-cdn.com/v4/letter/m/9dc877/32.png) [@msimper](https://forum.kirupa.com/u/msimper)\
**Post date:** [April 14, 2004, 3:30pm UTC](https://forum.kirupa.com/t/preloader-for-external-flv-in-pro-possible/48546/1 "2004-04-14T15:30:40Z")

</div>

Hello everyone,

Is it possible to have a preloader for a external FLV while the user waits for the buffer to load?

The code I used is here: (I did not use the component panel but a video instance from the library)

// Create a NetConnection object:  
var netConn:NetConnection = new NetConnection();  
//Create a local streaming connection  
netConn.connect(null);  
// Create a Net Stream object:  
var netStream:NetStream = new NetStream(netConn);  
// Set the buffer time:  
netStream.setBufferTime(5);  
//Attach the NetStream video feed to the Video Object my\_video:  
my\_video.attachVideo(netStream);  
//begin playing flv  
netStream.play(“newVideoFile1.flv”);

any help is appreciated.

Thanks in advance,  
Matt

:trout:
