mike chambers | about

Refreshing Generator Content

If you want to refresh or update your data / graphics once they have been displayed in your browser then you need to reload the Generator content.

You can do this using Flash’s Action Script LoadMovie command.

If your template was named chart.swt, and you wanted to update the chart information, then you would do something like :

LoadMovie("chart.swt", "");

This will reload the Generator content into the same movie clip that the LoadMovie is called from.

Thus, to automatically reload the data at a certain interval, you could place the LoadMove command in the Generator template. Each time it was reloaded, it would start the count over and continue to reload itself at a predefined interval.

For more information, check out these technotes :

Tags:
twitter github flickr behance