Joe,

 

You forgot the "AC_OETags.js" file. Put it in your "MyApp" directory. This
file is also generated by Flex Builder.

 

Luciano.

 

  _____  

De: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] Em nome
de joseph_freemaker
Enviada em: quarta-feira, 30 de maio de 2007 18:42
Para: flexcoders@yahoogroups.com
Assunto: [flexcoders] Flex Builder 2 HTML wrapper will not launch MyApp.html
with Tomcat

 

When http://127.0. <http://127.0.0.1:8080/MyApp/MyApp.swf>
0.1:8080/MyApp/MyApp.swf is opened in a browser,
Tomcat launches the Flex 2.01 MyApp.swf application in a browser.

However if http://127.0. <http://127.0.0.1:8080/MyApp/MyApp.html>
0.1:8080/MyApp/MyApp.html or
http://127.0. <http://127.0.0.1:8080/MyApp> 0.1:8080/MyApp are used, the
MyApp.html wrapper generated
by Flex Builder 2 does not launch MyApp.swf. Instead a white screen is
recieved. If a view source is performed, the MyApp.html wrapper
generated by Flex Builder 2 source code is displayed.

Please help!

Have reviwed the Flex documentation and discussion in the newsgroups
and it is not clear what the issue is.

The 'C:\Program Files\Apache Software Foundation\Tomcat
5.5\webapps\MyApp' directory contains the following files from Flex
Builder 2:

Directory of C:\Program Files\Apache Software Foundation\Tomcat
5.5\webapps\MyApp

05/30/2007 02:10 PM <DIR> .
05/30/2007 02:10 PM <DIR> ..
05/30/2007 10:08 AM 1,272 history.htm
05/30/2007 10:08 AM 1,292 history.js
05/30/2007 10:08 AM 2,656 history.swf
05/30/2007 10:08 AM 657 playerProductInstall.swf
05/30/2007 10:08 AM 4,364 MyApp.html
05/30/2007 10:08 AM 1,675,586 MyApp.swf
05/24/2007 06:26 AM <DIR> style
05/24/2007 06:55 AM <DIR> WEB-INF

The WEB-INF directory contains a web.xml file. It contains:

<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE web-app 
PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" 
"http://java. <http://java.sun.com/dtd/web-app_2_3.dtd>
sun.com/dtd/web-app_2_3.dtd">
<web-app>
<display-name>MyApp</display-name>
<description>
MyApp 2.0
</description>
<context-param>
<param-name>webmaster</param-name>
<param-value>[EMAIL PROTECTED] <mailto:joe%40abc.com> </param-value>
<description>
EMAIL address to whom questions about this application should
be addressed.
</description>
</context-param>
<session-config>
<session-timeout>30</session-timeout> 
</session-config>
</web-app>

Thanks in advance.

Joe

 

Reply via email to