Advanced Communication between Flash and HTML
Do you know that Flash could communicate with the base HTML? You just add a javascript function to operate in HTML, then call in Flash using getURL(”javascript:someFunction(’arg1′,’arg2′)”); That’s all~
But, an important thing is that;”getURL function” works correctly only if its argument’s text length is less than 255.
So I use a trick as below:
In HTML Part,
In Flash ActionScript Part,