Michelsen
05-04-2001, 08:34 PM
I'm new to Flash programming and have started to work on a company business card project for educational purposes. The problem I'm having is coming up with a clean way to bring up arbitrary movies clips from a menu.
Is there an accepted way of doing this? Things I've tinkered with are:
(1) Movie clips on specific frames with each frame having a stop action to hold the playing to that clip and a button sending it to that frame. This seemed messy but it worked unless you hit a button to send you to a specific frame and you were already there.
(2) Movie clips are initially invisible and they are all stacked on top of each other in the same frames. Buttons turn the specific movie visible and turn all the previously visible ones off. I haven't tried this method yet, but I'm not convinced this is clean either, and I haven't figured out how to initially set all the movies to invisible (i.e. actionscript on first frame or some neat initial properties option I haven't found yet).
I have valiantly searched for a good example, and I haven't found one with out so much overhead in it that I had to get the aspirin bottle out.
Any help would be greatly appreciated. I'm really interested in what the "average bear" is doing.
Erik Michelsen
Is there an accepted way of doing this? Things I've tinkered with are:
(1) Movie clips on specific frames with each frame having a stop action to hold the playing to that clip and a button sending it to that frame. This seemed messy but it worked unless you hit a button to send you to a specific frame and you were already there.
(2) Movie clips are initially invisible and they are all stacked on top of each other in the same frames. Buttons turn the specific movie visible and turn all the previously visible ones off. I haven't tried this method yet, but I'm not convinced this is clean either, and I haven't figured out how to initially set all the movies to invisible (i.e. actionscript on first frame or some neat initial properties option I haven't found yet).
I have valiantly searched for a good example, and I haven't found one with out so much overhead in it that I had to get the aspirin bottle out.
Any help would be greatly appreciated. I'm really interested in what the "average bear" is doing.
Erik Michelsen