I have an external text file, flashData.txt, that contains data that is loaded into dynamic text fields when main.swf runs. The external .txt contains <a href> calls that work fine if I use them normally (i.e. <a href=“contents/arrays1.htm”>) but I decided that more functionality was available if I turned the <a href> calls into asfunction calls and used a function to declare my getURL’s. That is to say, the code now looks like the following:
&entry0=<a href="asfunction:fetchURL, contents/arrays1.htm">This is a link</a>.&
And the index.htm page containing the main.swf file contains the following script, as presented in Kirupa’s Centered Pop-Up Window tutorial:
If you need to see the current code in action, it can be seen at http://www.gliderguides.com, under the Flash tab on the left, the entry “Working with Arrays”, and the link is down the entry a little and named “See The Results Of This Example (arrays1.swf)”. Ideally the result of the above code should open a 300x300 bare window containing just the .swf used in the tutorials example.