PDA

View Full Version : include .as file problem!



mojoNYC
May 28th, 2003, 03:22 PM
hi all-
i've built a piece for a client (who doesn't have flash), that contains some text variables that are sent to flash via include:



#include "newsVar.as"


i just found out that changing the text file doesn't do anything to the .swf until you re-publish the .swf--is there any way around this?
your help is greatly appreciated!

-mojo

lostinbeta
May 28th, 2003, 03:55 PM
Yeah I just recently found out from ahmed that .as files get compiled into flash during the publishing process and not during runtime as well.

You can use external .txt files and loadVars() as a workaround.

senocular
May 28th, 2003, 04:04 PM
^ read

eron19
May 28th, 2003, 05:07 PM
i just found out the same thing......heh. like 3 days ago.