I currently have a flash video player and I want to add some code that will update a variable in an external .as or .txt file. I then want to be able to pull this variable into a different .swf when required.
My variable I want to create will be CurrentVideo and it needs to be a number e.g. _global.CurrentVideo = 2;
If anyone could help I would be very grateful
use the loadvars class to read your textfile:
var sendLV:LoadVars=new LoadVars();
var receiveLV:LoadVars=new LoadVars();