if (this._currentframe == 20) { is right, but delete.this.onEnterFrame; wont work for onClipEvent(enterFrame) events (onEnterFrame and onClipEvent(enterFrame) are two completely different processes).
It probably wont do any harm to leave an onClipEvent(enterFrame) running so long as it only has that simple if statement in it for frame 20. Otherwise use the onEnterFrame option
I don’t know why, I’ve put several frames, just wont call it, the function works when i call it from any button or from the main timeline directly…
I’ve jut tried putting a marker so it only runs once and the trace comes out clean just after the function call, but it doesnt go into the function (I have a trace there too)…
It just won’t CALL IT! The call executes but it seems to do nothing. I’ve double checked the names, don’t know what else there is…
Yes sorry, it isn’t in the code I’ve renamed all the glM to globalMarker so you would understand easier, sorry about that -> its not an error, I’ll edit it so it doesn’t cause any more confusion
I’ve taken a look at your fla, but I still can’t quite figure out what the purpose is. Can you briefly explain (again?) what’s not working, and what should be changed so it works…
First of all thanks for helping me out! I know I’m a pain in the ***
Here goes:
-I’ve created some obviously too complex navigation for my site
-I have a button for the portfolio which has two types of animation (2 seperate masked MCs) one is for rollOver & rollOut and the other is for press
-the one for press is what bugs me, it “drops down” from the button (this is the second masked MC)
-apart from this I have buttons positioned where the MC scrolls down which are not visible (_visible = false)
->I want to enable those buttons when my animation completes, when that “drop-down” (masked MC)
competes (on frame 20), I want to call a function that enables those buttons…
Does this clarify? If you don’t understand something please say (my english isn’t that good, that is probably the biggest problem)
I want to enable those buttons when my animation completes, when that “drop-down” (masked MC) competes (on frame 20), I want to call a function that enables those buttons…
So, can you name me the instance name of the movieClip where you want the function to enable those buttons on frame 20. Is it the ‘F_under’ instance?
It’s quite difficult to figure out your code, but I’m gonna try and help you here, so bare with me