A Flash Developer Resource Site

Results 1 to 7 of 7

Thread: problems on the web

  1. #1
    Senior Member willi-jay's Avatar
    Join Date
    Sep 2000
    Posts
    116
    I made a flash file with a video screen and a menu. The menu has about 10 buttonds on it, each loading a video into the video screen. My file works perfectly on my hard drive but as soon as I upload my files to a server, my videos won't play. Are they just taking forever to load?

  2. #2
    Moderator enpstudios's Avatar
    Join Date
    Jun 2001
    Location
    Tampa, Fl.
    Posts
    11,282
    How are you loading in the movies ? loadMovie ?
    Also how big are these external movies ?

  3. #3
    Senior Member willi-jay's Avatar
    Join Date
    Sep 2000
    Posts
    116
    Originally posted by estudioworks
    How are you loading in the movies ? loadMovie ?
    Also how big are these external movies ?
    Yes, I'm using a load movie code and the videos are about 1.2mb each and are swfs.

  4. #4
    Moderator enpstudios's Avatar
    Join Date
    Jun 2001
    Location
    Tampa, Fl.
    Posts
    11,282
    Can you post your loadMovie code ?

  5. #5
    Senior Member willi-jay's Avatar
    Join Date
    Sep 2000
    Posts
    116
    Originally posted by estudioworks
    Can you post your loadMovie code ?
    on (press) {
    _level0.createEmptyMovieClip("mc", 1);
    _level0.mc.onEnterFrame = function() {
    _level0.mc._x = 130;
    _level0.mc._y = 32;
    _level0.mc.loadMovie("movie.swf");
    }
    stop();
    _root.onEnterFrame = function() {
    if (_level0.mc._currentframe == _level0.mc._totalframes) {
    _level0.mc.unloadMovie();
    }
    }
    }

  6. #6
    Moderator enpstudios's Avatar
    Join Date
    Jun 2001
    Location
    Tampa, Fl.
    Posts
    11,282
    Try making your external .swf an absolute link:

    http://www.yourdomain.com/your.swf

  7. #7
    Senior Member willi-jay's Avatar
    Join Date
    Sep 2000
    Posts
    116
    Originally posted by estudioworks
    Try making your external .swf an absolute link:

    http://www.yourdomain.com/your.swf
    You hit the nail on the head, it works, although now my stupid video keeps looping! Ug!!! Is there a way around making it an absolute link?

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