Preload impossible FLV

I have tried a lot of different solutions to preload a FLV file without success.
The Videofile lays in the second frame in the swf and the preloader in the first frame. It is supposed to preload the FLV in the Second frame and then go to and play the video file.

The preloader shows percentage, bytes loaded and has a bar wich could seem as overkill for a newbie but I really want to solve all of this so that I can manage all later on.

The code looks like this:

stop();

addEventListener(Event.ENTER_FRAME, loaderF);

function loaderF(e:Event):void{
var toLoad:Number = my_FLVPlybk.bytesTotal;
var loaded:Number = my_FLVPlybk.bytesLoaded;
var total:Number = loaded/toLoad;
if(my_FLVPlybk.bytesLoaded == my_FLVPlybk.bytesTotal){
removeEventListener(Event.ENTER_FRAME, loaderF);
gotoAndStop(2);
} else {
preloader_mc.preloaderFill_mc.scaleX = total;
preloader_mc.percent_txt.text = Math.floor(total*100) + “%”;
preloader_mc.ofBytes_txt.text = loaded + “bytes”;
preloader_mc.totalBytes_txt.text = toLoad + “bytes”;
}
}

I keep getting this error-message:

TypeError: Error #1009: Cannot access a property or method of a null object reference.
at mmss102_fla::MainTimeline/loaderF()[mmss102_fla.MainTimeline::frame2:6]

I have tried a whooole lot of different preloading (even with a separate swf for preloading the swf including the video-file) and streaming with NetStream code. The problem is that flash cant load the dimensions of the flv but the video plays fine without a preload but it is to heavy to play directly.

Im not sure if anyone even gets this couse I feel that Im quite deep into a really complicated problem but I’d be really grateful if anyone have ideas on this couse I cant find a single thread with a solution for this and I’ve been trying to solve this for a week now.