need help for reloading in flash file

Discussion in 'Graphics & Multimedia' started by shamal, Mar 16, 2009.

  1. #1
    Hello all
    i need some help to solve a problem in my flash

    the problem is that flash file reloading on each page seperately, n usually its uploaded once
    y is this problem happening: u can chk it on http://www.zeems.ae/tmc1/

    using this script on loader:

    onClipEvent (load)
    {
    total = _root.getBytesTotal();
    }
    onClipEvent (enterFrame)
    {
    loaded = _root.getBytesLoaded();
    percent = int(loaded / total * 100);
    text = percent + "%";
    gotoAndStop(percent);
    if (loaded == total)
    {
    _root.gotoAndPlay(2);
    } // end if
    }


    and this script on first frame:

    stop ();
    _root.aaaa = 10;
    setProperty("", _quality, "BEST");
    _root.link = _root.button;
    _root.Olink = _root.link;
    _root.i = 2;

    n this on second:
    _root.em.useHandCursor = 0;

    please help out if anybody knows
     
    shamal, Mar 16, 2009 IP
  2. [x[x]x]

    [x[x]x] Peon

    Messages:
    813
    Likes Received:
    30
    Best Answers:
    0
    Trophy Points:
    0
    #2
    It reloads because you load it up on every page.

    If you don't want that to happen you'd have to go with an Iframe or something... I don't thinkt there's any other solution to this though.
     
    [x[x]x], Mar 16, 2009 IP