Think of something that you wish Authorware could do but it doesn't?  Let the our good friends at Macromedia know via the wishlist.

Please let us know if you find any of the materials on this site inappropriate or offensive. Please include the url and why the material should be reviewed.

Comments and questions about the site are also welcome. Please no Authorware questions, use the AWARE list.

Back

B5002 - How do I allow the user to type a page name and then jump to it?

by - Joseph Ganci


I have come across a problem which is causing me some trouble. I have created display pages. On these display pages are pictures. All these pages have unique codes names. I want to add an option to search through these pages for a particular code. The scenario is as follows : The user enters in a code in to a Text_Entry Field and I want the program to use this code entered by the user to go to the page name and display that page using the GoTo function to go to that page. How do I use the GoTo function to go to that page name. Has anyone done this done before? . If so could you please send me a sample program. Thank you for reading this e-mail. I hope that it did not waste too much of your time.

I am not a big advocate of the GoTo function because it creates unnecessary headaches.  The Navigate icon is better because you instantly recognize it's jumping somewhere and it can only jump to Framework pages, limited the abuse you can create with it. 

Create a Framework and add your Display pages to it. Name each Display page with a unique name. In the Framework icon's entry pane, place a perpetual button called Search. The button activates a Map icon which contains an Interaction to allow the user to type an entry (make sure you use an asterisk to match against). Its feedback is a Navigate icon, set to Calculate, and the field is set to  

    @entrytext
That's all there is to it.  Go to the to download a copy of this file. There is also a 3.5 version available there as well which uses the Eval function to achieve the same end.

There are 0 reviews
Add your review
Back