Skip to main content
Participant
September 24, 2010
Question

Everyone know cached swf have some problems but I have to cache my app.

  • September 24, 2010
  • 1 reply
  • 579 views

Hello everyone!

My server network bandwidth is too small to provide service for many people.so I cached my app. - App. size is 4mb, I *try* to reduce size but app. have many embeded resources. - It's working good on my test & dev. and most browsers. but some browsers have problem already known. I read many articles and blog. Anything can't help me. anyone have answer or advice?

and I have a question. below code is part of Actionscript project's Application class. (and cached);

...

public function xxxx()
{
            this.loaderInfo.addEventListener(Event.INIT, init);
}

private function init(event:Event):void
{
            this.loaderInfo.removeEventListener(Event.INIT, init);

...

           trace(this.loaderInfo.url));

}

...

some browser trace

file://C|/Documents%20and%20Settings/john/Local%20Settings/Temporary%20Internet%20Files/Content.IE5/SKNASFUJ/xxxx.swf

- WIN FP 10,0,42,34 // Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)


file://C:/Users/john/AppData/Local/Microsoft/Windows/Temporary%20Internet%20Files/Low/Content.IE5/5C4QH3XH/xxxx.swf

- WIN FP 10,1,82,76 // Mozilla/4.0 (compatible; MSIE 7.0;  Windows NT 6.0; SLCC1; .NET CLR 2.0.50727; Media Center PC 5.0; .NET CLR  3.5.30729; .NET CLR 3.0.30618)

loaderinfo.url is localfile path. is this correct?

    This topic has been closed for replies.

    1 reply

    pwillener
    Legend
    September 25, 2010

    I am not sure what your question is, but I think you better post in the appropriate ActionScript forum

    .


    ledzplAuthor
    Participant
    September 25, 2010