Hello,
I am new to using Flash MX 2004 and was wondering if anyone could help me with a very basic action. I need to create an action so that when the user rolls their mouse over a 'button' (which is a letter from a logo) it brings up a product picture on the screen without having to click on the button with their mouse. I still need the logo to be visible when the new pic comes up. Any advise, help or scripts are appreciated.
thanks again,
K.
there are a number of ways to do this but maybe we should start with the easiest way and others can take over as this gets more complex.
1. place logo on stage and give it an instance name of something like logo
2. position the product picture on stage and give it an instance name of product
3. open your actions panel, make sure you create a layer just for script and at the top of your actions panel, put product._visible = false;
4. to make your logo visible when a mouse hovers on the button, put logo.onRollOver = function () {
product._visible = true;
};
5. to hide your logo once the mouse leaves the button, put
logo.onRollOut = function () {
product._visible - false;
};
expressions are case sensitive - hope this helps