Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Painful testing procedure because of cached files 2

Status
Not open for further replies.

Sleidia

Technical User
May 4, 2001
1,284
0
0
FR

Hello,

I'm working on a Flash/PHP/Mysql project and there is something I find totally annoying :

During testing, the flash file is being cached and each time I modify the included *.as file outside the movie, I have to re-publish the movie and delete swf file in the temporary internet files folder in order to see the changes taking effect in the browser!!

Is there a way to avoid that?
 
Just close the browser and re-open the page. Bookmark it to make it easier.

Wow JT that almost looked like you knew what you were doing!
 

Thanks Pixl8r ;)

But unfortunately, it seems that I still ned to re-publish the *.swf file everytime the external *.as file is edited.

What is the purpose to have external files then????
Well, only Macromedia knows :)
 
You will have to re-publish the SWF in order for the .as changes to take effect.

In the same way, you will have to re-publish the SWF if you make changes to the .fla file.

Both the .fla file and the .as files are only used at compile-time, not run-time. The Flash Player doesn't even know these files exist. Therefore, there is no way to include new changes in .as files, except to republish the SWF.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top