except doors instead of curtains. I already made the door opening/closing animation in flash (frame by frame) but does anyone know a way (actionscript probably) to make the doors open and close every time the view navigates to another page on my site?
public class DoorActions extends UIMovieClip
public function closeDoors(event:MouseEvent):void
gotoAndPlay(where ever the first frame for closing begins);
public function openDoors(event:MouseEvent):void
gotoAndPlay(where ever the first frame for opening begins);
Now, assuming you’re making this in Flex, you can add handlers to find out which button was pressed, pass it to the closeDoors handler, let a loader handler wait for a "close" event to occur, display a loading screen (spinning arrows is fine), then dispatch an event to the openDoors function, and then have the said data wait for the open event and do what it wants with it.