How to load an external swf on root of other swf?

Discussion in 'Graphics & Multimedia' started by designcode, Apr 13, 2007.

  1. #1
    Hi all,

    I am trying to load a swf lets say blah.swf on the root of loader.swf, now I want to check when the blah.swf is loaded fully, it redirects the browser to some other location.

    I am mentioning again, that I want to load new movie on _root level of blah.swf,
    I tried it by using following code

    loadMovie("blah.swf", _root);

    But the problem is that I can't track that how much percent movie is loaded as _root.getBytesLoaded returns the byte loaded on loader.swf.

    Also blah.swf can be any file, so I can't edit it.

    I am Looking forward for replies.

    Thanks in Advance.
     
    designcode, Apr 13, 2007 IP
  2. pixel_dust

    pixel_dust Peon

    Messages:
    151
    Likes Received:
    9
    Best Answers:
    0
    Trophy Points:
    0
    #2
    what do you mean by 'redirects to another location'?
    what would be the point in loading a movie only to have it redirect you?
    or am I not reading that correctly?

    your preloader shouldn't be off by itself or else you're only loading the preloader and nothing else if that makes sense.

    you need to have a looped preloader in the first few frames of your movie
    if you want to load additional swfs into the main movie that is doable (and they can each have their own preloader too) but you have to have some sort of content in your main movie

    let me know if you need a preloading script or if my explanation was unclear


    vanessa.
     
    pixel_dust, Apr 13, 2007 IP