onFileSave Event

Fires just before a fly file is saved.

SGWorld.attachEvent(“onFileSave”, myOnFileSave);

function myOnFileSave()

Remarks

If the fly file (the currently open project) of the control is being saved, an event is fired by the control. It gives the user an opportunity to perform his own activity. For example, he can decide to add or delete some of the objects before they are saved.