|
#1
|
||||
|
||||
Interacting with Embedded Web ObjectsDocument ID: IR10055The information in this article applies to:
SUMMARYThis article describes how to interact with embedded web objects. DISCUSSIONIn AutoPlay Media Studio 5.0, it is possible to navigate around your project using an embedded html file. The above line resets the web object named Web1 to AutoPlay\Docs\index.html. This is necessary because the URL in a web object will persist across pages, and the On Navigate event is called when the web object appears on the page after a page load; if we don't reset the URL in this web object whenever the page loads, it will still have the #Page2 URL in it, and our script in the On Navigate event (see below) will make the application jump right back to page 2. Insert the following script in the web object's On Navigate event: Clicking on a link in this web object will trigger the On Navigate event and put the href string (the link target) into the event variable named e_URL. The String.ReverseFind action looks for the # symbol and, if found, a String.Mid action grabs everything to the right of the # symbol in the string. The resulting string is stored in a variable and then used as the target of a Page.Jump action.When the user clicks on the link 'Go to Page 2' in the example HTML file, the application will jump to "Page2". KEYWORDS: AutoPlay Media Studio 5.0, Navigate, Web, HTML, Control, Jump Last reviewed: October 1, 2003 Copyright © 2003 Indigo Rose Corporation. All rights reserved.
__________________
Setup Factory 8.0 comes with over 250 actions so you can create smaller, faster and more intelligent software installers than ever before. WebHelp Guides: AMS | MSIFACT | SUF | TU | VP |
«
Previous Thread
|
Next Thread
»
| Thread Tools | |
| Display Modes | |
|
|
All times are GMT -6. The time now is 02:23 AM.






Linear Mode
