Return to Snippet

Revision: 68207
at December 11, 2014 01:49 by TheRabbitFlash

Initial Code
var even_saved_id = fl.addEventListener('documentSaved', documentSaved);
var even_published_id = fl.addEventListener('postPublish', postPublish);

function documentSaved(){
	fl.removeEventListener('documentSaved', even_saved_id);	
function postPublish(){
	fl.removeEventListener('postPublish', even_published_id);

Initial URL

Initial Description
In this script you also removing unused listener.

Initial Title
Flash Professional CC JSFL listeners on Document Saved and Post Publish processing

Initial Tags

Initial Language
ActionScript 3