English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories
0

I have created buttons and wrote the action script to rollOver and rollOut events and When a User click on it I want it to stop on some frame which I can do but I want it to delete the onRollOver and Out event unless the user click on other btns it will rollout and the other buttons will have those property.
Such as this site

http://www.easytemplates.com/preview/300109740

2007-03-13 06:12:44 · 2 answers · asked by Best Helper 4 in Computers & Internet Programming & Design

2 answers

i know how to do that, i think, email me the details and ill try to fix for u
oneworlddreams@yahoo.com
http://www.geocities.com/oneworlddreams

2007-03-13 06:50:38 · answer #1 · answered by dark5dragon 3 · 0 0

you should use some kind of "check thing", the idea is you have to know what is the current position,

try to use a variable name currentPosition,

if the button you rollOver is not currentPosition, do something,

on(rollOver)
{
if(_root.currentPosition != this._name)
{
do something here
}
}
if the button you rollOver is the currentPosition, dont do anything.

When a button is click, currentPosition = that Button.
on(press)
{
_root.currentPosition = this._name;
}
If you need more help on this, email me : hei_jou_shin@yahoo.com

2007-03-14 00:32:23 · answer #2 · answered by zenman 2 · 0 0

fedest.com, questions and answers