Is there any way of deleting an actionscript on the frame or on a movieclip.
eg: if i have
onEnterFrame = function () {
}
Is there a way to delete the above?
Thanks..
Quote from extremekdwell you highlight it by dragging your mouse over it very slowly until all the text is highlighted in a black colour...... you then carefully, take your hand off the mouse, and whilst being careful to not press any other keys, you put you finger on the delete this button (here) and slowly... and gently press it down until it touches the back of your keyboard...
The text should have magically disappeared and you think
*HoW DID I DO THAT?*
Quote from MoDDelete windows system 32.
It WILL delete it. And various other vital things.
onEnterFrame = null;
Quote from LixuYou sir, are a genious!
Quote from darkcampaingerSetting it to null:
onEnterFrame = null;
Should remove it.
Quote from LixuYou know Scarecrow got banned for saying that?
Quote from darkcampaingerSetting it to null:
onEnterFrame = null;
Should remove it.
on (keyPress "") {
};
onClipEvent (*anything*) {
};
FunctionName = function():String {return "lawl";}
onEnterFrame = function() {}
onMouseDown = function() {}
function functionName(parameters) {
// function block
}
//Code on Main Timeline, Frame 1
var runs:Number = 0;
var clicks:Number = 0;
onEnterFrame = function() {
trace("onEnterFrame is running! It has run "+(++runs)+" time(s)!");
if(runs>=20) {onEnterFrame = null;}
}
//The above function runs 20 times, and then is removed.
onMouseDown = function() {
trace("You clicked! You have clicked "+(++clicks)+"/10 time(s)!");
if(clicks>=10) {onMouseDown = null;}
}
//The above function is run for 10 clicks, and then is removed
var limit:Number = 10;
on (keyPress "") {
if(limit>0) {
limit--;
trace("You hit space! You can do it "+limit+" more time(s)!");
}
else {trace("You hit space! But... it won't do anything.");}
};