• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

preload current swf file (not external)

Guest
Oct 16, 2009 Oct 16, 2009

Copy link to clipboard

Copied

Hello,
Does anyone know how to preload the current swf file in AS3 ?

And is it possible to preload all the code in the current swf?

Regards,

Chris

TOPICS
ActionScript

Views

631

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Oct 16, 2009 Oct 16, 2009

Copy link to clipboard

Copied

See if the following tutorial helps...

AS3 Preloader
-------------

http://www.gotoandlearn.com/play?id=85

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Enthusiast ,
Oct 16, 2009 Oct 16, 2009

Copy link to clipboard

Copied

LATEST

Please give us more information about flash and how you execute it. If your swf is inside of web page. It is downloaded into browsers cache and next time when you access it the browser gets it from cash. BUT! Browsers cache its content using a url adress with paremeters( url thats setted from movie and src properties insede an RunActiveContent function - this function create swf object into web page ) as a key to find an cached content. So if you change params value every time when reload the page it will be download swf every time.

What you mean- "And is it possible to preload all the code in the current swf?"? If you press F5 ( refresh in browser )

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines