Looking for tuts and info on movieClipButtons. I need to create a movie clip button that has a state showing that it has been pressed, so that user knows which links he has already visited. Possibly I would also like another state that plays an animation of the button the first time it appears (not first time it is pressed) meaning that the animation plays when the page builds up. Thats just minor though.
The only way you’re going to get buttons to do those things are to use variables. You can’t (at least i don’t know of a way) to make buttons, on their own, do what you’re saying. I’ve used variables to leave buttons ‘on’ while a page is loaded. For example, when a page loads, you have it set a root variable to ‘true’, which tells the button, as long as that page is loaded, to stay lit.
When i say buttons, i mean movie clips that being used as buttons.
What about using movie clip buttons instead of adding movie clips into the buttons. I have read that you can do this with movie clip buttons , but can’t remember where.
ALAN, I feel kind of stupid mentioning this, considering the fact that this is the mx04 forum, but I have not managed to get together the cash for an upgrade. Would be greatful if you could save example out as mx.
What I mean is that the button remains in the pressed state. For example on many html linklists once you press a link it turns (and remains) red to give the user feedback to which links he has already visited. Thats the sort of thing I need.
+++
The example that i uploaded does that, if you want the buttons to stay on (like links as you said) then just take out the lines of code in the ‘pages’ movie clip that are turning them on and off. That way they’ll stay on always after you’ve clicked them. The file hasn’t had any views so i’m assuming you haven’t looked at it.
hmm, that’s funny, i saved it down, but i have the same problems though, i have MX 2004 here at work but only MX at home, and taking experiments home is a pain. I’ll try this one more time, hope it works.