Accidently submitted my post with some keyboard combination.
And here's the ActionScript code I'm trying:
var html:HTMLLoader = new HTMLLoader();
html.load(new URLRequest("...URL omitted..."));
private function splash(e:Event):void
html.window.document.getElementById('HrNext').click(); // this gives error "click is not a function"
html.window.submitAssistantForm('next'); // this gives error "TypeError: Result of expression 'document.theForm' [undefined] is not an object."
By the way, if I add the HTMLLoader object to the stage and manually click the link with my mouse everything works perfectly (so I have to believe it's possible to programmatically send a click event to the link). I feel like I'm so close. Can anyone point me in the right direction?
In case this helps anyone else, I figured out one way to do it. Just set the value of window.location to the href value of the link: