Hi All!
I'm evaluating AMS 6, but I need some help please. Please bear with me this is a long post![]()
Alrighty, I have embedded this flash Calender (very cool, check it out here: http://ctl.mc.maricopa.edu/_ctl_SD/r...LCalendar.html ) inside a Web Object in an AMS 6 project.
I have changed the XML for the calendar in one of the days according to the AMS help for "Interact with Embedded Web Objects"(to navigate to a AMS page).
My aim is to have a HTML link in a day's comments, which a user will click, then jump to the relevant AMS page. Now, according to the Help this is easily done with:
<a href="#Page2">Go to Page 2</a>
and the code in the "On Navigate event" for the Web Object like so:
-- search from right to left for a number sign (#)
nPos = String.ReverseFind(e_URL, "#", true);
-- did we find a # ?
if nPos then
-- get everything to the right of the #
strPage = String.Mid(e_URL, nPos + 1, -1);
--[[ jump to the page name that we extracted from
the URL. If there is no page by that name,
the Page.Jump won't do anything. ]]
Page.Jump(strPage);
end
Now, the problem is that when I click on the HTML link in the calendar(a flash object imbedded in a Web Object remember), it does not navigate to the AMS page. If I have the same link ("<a href="#Page2">Go to Page 2</a>") in the body of the HTML below the flash object, and when clicking on it, it works 100%.
I checked, and the "e_URL" variable, when clicking on the link in the Flash calendar, does not get populated correctly. It seems as though the "e_URL" variable is not populated at all when following the link in the flash object.
I also tried this with Multimedia Builder(MMB) and it works great. But AMS is in all other functionality superior, so I would like to get it to work in AMS.
Anyway, any insights will be much appreciated.
PS: Just a pity AMS is so much more expensive than MMB![]()


