PDA

View Full Version : buttons in imported swf, not working fine.


madansr
12-04-2004, 11:01 AM
hi all ! i am facing a problem with buttons.
when i call a swf into a projector, the buttons in the swf don't work fine. the imported swf is a slide presentation. once the NEXT button is clicked, the mouse needs to be displaced from its current position , otherwise the button does not click again.
if i move the mouse and then come back to the next button. it works fine, but then it has to be done everytime i want to move on to the next screen.
can anyone tell me why does this happen? i have already put _lockroot for the imported swf.

idpexec
01-18-2005, 05:55 AM
Hey there,

I'm having the same problem. Did you ever find a solution?

thanks,
Ward

ds.pixeled
01-22-2005, 09:24 PM
as far as i know this is a software problem and not an actionscript problem. so i don't think you're gonna find a solution until you upgrade flash. which it then depends on when they make the next version after mx 2004.

idpexec
01-23-2005, 04:02 AM
Interesting... Thanks for the reply. I thought it might be some kind of glitch. I ended up using a hit test within a mouseDown function and it seems to be much more responsive. I also had a similar problem with scrolling a text field using scroll++ and scroll--. For those buttons I used an onEnterFrame function to check the status of the buttons and then scroll the text based on frame rate and how long the user holds the mouse button. Thus far both solutions seem to work.

Thanks,
Ward

ds.pixeled
01-23-2005, 12:43 PM
groovy