Well, I'm not sure why you would want to do this...there may be a better wa if you want to explain why you want to do this...
but, in the meantime, the only thing I can think of that may help would be to get the name of the select.
document.my_form.my_list.name
mac
<script language="javascript">
function formatNumber( n )
{
var areaCode = n.substring(0, 3)
var prefix = n.substring(3, 6)
var num = n.substring(6, 10)
var phoneNumber = areaCode + "-" + prefix + "-" + num
return phoneNumber
}
var n = '1234567890'...
Make a new movie clip.
Put the button in the first frame.
Create the animation of the button that you desire to say 10 frames in length.
Add an action to the first frame:
on(mouseover) {
play();
}
On all other frames put an action of:
on(mouseout) {
goToAndStop(1);
}
You will notice...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.