![]() |
![]() |
||||||
|
|||||||
| Tags: |
![]() |
|
|||
|
OK, I see. You can use the case statement and replace the
executeBranchingMenu handler in that example. ------------------------------------------------------ on executeBranchingMenu menuName, commandName case commandName of ("Item 1, 1") : go frame "Some frame label" ("Item 1, 2") : go frame "Some other frame label" -- etc end case end --------------------------------------------------------- But there is an even simpler solution that does not require using a case statement at all. Just name your frame labels "Item 1, 1", "Item 1, 2", etc and use this. It will save you a lot of unnecessary coding. --------------------------------------------- on executeBranchingMenu menuName, commandName go frame commandName end ----------------------------------------------- By the way, there is nothing in that example movie that holds the play back head, so you probably want to add code to do so, otherwise it will just jump back to the menu. This can be added to the same movie script. -------------------- on exitFrame go the frame end ------------------- |
| Sponsored Links |
![]() |
| Thread Tools | |
| Display Modes | |
|
|
- Contact Us
-|-
Adobe Dreamweaver Forums -|-
Archive -|-
Top -|-Rules/Disclaimer-|-Help/Support-|-Advertise