A Flash Developer Resource Site

Results 1 to 4 of 4

Thread: Loading local external clip in player problems

Threaded View

  1. #1
    Junior Member
    Join Date
    Apr 2001
    Posts
    18

    Loading local external clip in player problems

    I am building a CD training course in F8 (html, not exe) and trying to load a flv from a subfolder to the swf. I call the function to load the flv from an xml file, the link opens the player "window" but I can't get the video, "assets/3.flv" to load inside. I'm going to eventually try to use an array to dynamically select the right videos to load, but for now, I'll be happy just to figure out how to load the direct url to the flv. I've tried a million things, like loading another clip into the parent clip, and then calling the flv (below), but nothing works. Can someone tell me what I am doing wrong here?
    PHP Code:
    function showMyVideo(){
    hideVideo();
        
    vidTime 0;    //reset it
        
    curSpot 0;
        
    vidDone false;
        var 
    ref attachMovie("window","window_mc",300);
        
    ref._y 100;
        
    ref._x 641;
        
    window_mc.createEmptyMovieClip("new_mc"310);
        
    new_mc.loadMovie("assets/3.flv");

    Oh, and there is also a container (navigation) that calls the swfs (content) that call the player.
    Last edited by amy_od; 10-09-2008 at 08:31 AM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center