# Function Call from html?

**URL:** <https://forum.kirupa.com/t/function-call-from-html/163492>\
**Category:** flash\
**Created:** [September 22, 2005, 7:12pm UTC](https://forum.kirupa.com/t/function-call-from-html/163492 "2005-09-22T19:12:59Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Grimshaw](https://avatars.discourse-cdn.com/v4/letter/g/439d5e/32.png) [@Grimshaw](https://forum.kirupa.com/u/Grimshaw)\
**Post date:** [September 22, 2005, 7:12pm UTC](https://forum.kirupa.com/t/function-call-from-html/163492/1 "2005-09-22T19:12:59Z")

</div>

Is it possible to load an html document into flash via:

story = new XML();  
story.ignoreWhite = true;  
story.load(“sample.html”);  
story.onLoad = function () {  
content.htmlText = story;  
}

and have a text link in the html call a function that is defined in the actionscript?
