I’m working on a portfolio website and I’m trying to show a website I made in Flash using a popup window created with Javascript on my site. The .swf is the only thing in the popup window. For some reason, the text files I used for the dynamic text boxes aren’t loading. But, if I directly load the .swf in the browser instead of the popup window, it works (except it doesn’t keep <br> or n – another problem). It also works offline on my PC. I can’t find any posts about this. I figure it has to do with how I am embedding the Flash into the website.
This is how I am adding the Flash to the popup window.
[code]
document.write(“<object type=’application/x-shockwave-flash’ data=’file.swf’ width=’768′ height=’768′>
<param name=’movie’ value=’file.swf’ />
</object>”);
Again, it works, but it doesn’t load the text files. Is there a param that is needed for this?