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

All 5 Replies

use javascript

on hover you can put events using javascript...

a bit close to your issue u can code like


      gotoAndPlay("sceneName", 24);


may b this cud help u...

you could go

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

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