Flash, ahhh, he'll doom every one of us
September 21, 2011 7:46 PM Subscribe
I need some help getting a Flash rollover to behave.
OK, so I've become the Flash expert at work. Yay me! Except I am not anything near an expert and I'm in this position because they laid off the real experts. I have designed a Flash CS3 Actionscript 2.0 file which *almost* works. The file starts out as a standard 728x90 leaderboard. When the user mouses over it, it pops out to a 728x180 box. The start-up graphic has a button on it. On rollover, it calls a javascript on our website that provides a 180 px deep container for it to show, and the file expands to 180 px. On mouseout, it calls another javascript to collapse the container back to 90 px deep, and it reverts back to a standard leaderboard size. So far, everything works nice.
After the first rollover, it gets a little dicey. So we're back to the unexpanded state. If I go to mouseover again, it calls the javascript and provides the 180 px container again (I can see this happen in Firebug.) But the file doesn't expand. If I mouse back out, and then rollover again, the file expands like it normally should. I have removed the script calls from the Flash file and checked it; it's definitely a problem with the file and not the website or script because it does the exact same thing.
Is there something I need to do in the FLA to reset the rollover to its original state aside from simply redirecting the file back to the start? (I don't have the FLA; it's at work, but I can get it tomorrow.) Let me know what other info to provide, unless there's something painfully obvious I'm missing.
posted by azpenguin to computers & internet (3 answers total) 1 user marked this as a favorite
My first instinct is that you're not clearing the data of that first rollover. So you're getting trash building up.
posted by royalsong at 7:55 PM on September 21, 2011