In Flash, I have created an invisible button. I can ad some actionscript to make the button to go to another scene, even if it's on hover! (which isn't meant to be. Yet, how do I get it so that when it hovers, it goes to another scene immediately. Are there far better ways of doing this then using invisible buttons?
Thanks in advance.

P.S I am using Actionscript 2.0 - Yes, I know, I haven't made the transition yet :( If possible, I wouldn't mind knowing how it is done in Actionscript 3.0 :D

Recommended Answers

a bit close to your issue u can code like

on(rollOver){

      gotoAndPlay("sceneName", 24);

}

may b this cud help u...

Jump to Post

All 5 Replies

use javascript

on hover you can put events using javascript...

a bit close to your issue u can code like

on(rollOver){

      gotoAndPlay("sceneName", 24);

}

may b this cud help u...

you could go

<html>
<head>
<script type= "text/javascript">
function fdsa()
{
    imgimgimg.src= "egamiym.jpg"
    return 0;
}
</script>
<title>fdjskal</title>
<body>
<img src= "myimage.jpg" onmouseover= "fdsa()" id= "imgimgimg" />
</body>
</html>
Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.19 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.