I give up. I have spent 2 hours on this without success. I have read through
the documentation from MM as well as ultrashock and done everything it suggests
but it still will not work.
Go to
www.ultrashock.com and click on tutorials and then MX 2004 and then
Flash MX 2004 UI Components and finally the Window component (#15).
A quote from the Ultrashock tutorial:
"You should be aware that the Window component cannot display a form that has
external content loaded into it via its contentPath parameter. This issue is
not addressed in the documentation so I cannot say for certain whether this is
a bug or a fact of life (a known design limitation of the system.)"
This is interesting because I can load an SWF from a website but if I load the
corresponding HTML that contains the SWF file, nothing is displayed. Something
else I found interesting. When you put in the URL reference, it is actually
finding it and just won't display it. For example, if I try to load
http://www.msn.com, the window is empty. If I try to load
http://www.monosodiumglutimate.com, I get a file not found error.
Then I tried my website which is just a SWF embedded into an HTML page.
In the window,
If I load
http://www.mysite.com, nothing happens
If I load
http://www.mysite.com/index.html, nothing stubbornly insists on
continuing to happen
if I load
http://www.mysite.com/index.swf, nothing suddenly stops happening
and something now takes over
It looks to me that the Window component is simply flawed or else the
documentation is misleading allowing you to think you can do something that
really is not possible. Maybe the only way you can display an HTML popup is
with the getURL("http://www.mysite.html","_blank"); or else load it into a MC
holder that has the look and feel you want to achieve.