I'm fairly new to Flash.
I used FalshDevelop to compile PanoSalado opensource ".as" files to produce corresponding ".swf" files.
When I run the file from the browser (in FF) like so:
it works great and my movie shows.
However, when I run it via a webapp under Tomcat, it just sits there. The url is:
Note that I'm running the same file (.swf) from the same place in the filesystem.
And I even tried to embed the swf in an html page (actually a jsp page) to see if it would work.. but no dice... same issue.
FWIW the html that is used to invoke the swf is :
<div id="flashbanner">this will be replaced by the SWF.</div>
var so = new SWFObject('maps/ModuleLoader.swf','mpl','555','416','9', '#336699');
So why does it do that and is there a way to debug this in a browser?
Is there an example of invoking a swf in a webapp somewhere?
Thanks a lot!
you did not provide the code, so i have to ask... is the swfobject.js file being referenced/included properly?
also is your .jsp page in the earthSearch folder?
I would suggest getting the latest version of swfObject and trying again:
also download the html generator zip... it allows for very easy implementation.