Security!

Tutorial

import com.newgrounds.*;
API.addEventListener(APIEvent.API_CONNECTED,onAPIconnected);
API.connect(root, "49046:aClmilmA", "tuPzHllwMsZypkKUSfIvYIjMRZnXs8Tm");
 
 
 
 
function onAPIConnected(event:APIEvent) {
if (event.success) {
trace("The API is connected and ready to use!");
} else {
trace("Error connecting to the API: " + event.error);
}
 
}
import com.newgrounds.*;
API.unlockMedal("Can of Sword Operil-Tap");