tags:

views:

19

answers:

1

Hi,

My Flex application is built using ant. The html wrapper task is as follows:

<target name="wrapper">
    <html-wrapper 
        title="{$title}"
        file="login.htm"
        height="300"
        width="400"
        application="app"
        swf="Main.swf"
        version-major="9"
        version-minor="0"
        version-revision="0"
        history="true"
        template="express-installation"
        output="${APP_ROOT}"/>
</target>

My purpose is to display a message to the user in case their browser has JavaScript disabled. I modified the index.template.html file within the express-installation folder to include the following in the tag:

<noscript><my message here/></noscript>

The message does not get displayed. Is there a way I could find out which index.template.html file is used by ant task or is the file being overridden somehow?

Can anyone resolve this? Any help would be appreciated. :)

A: 

It should be coming from the SDK that you are using to build the wrapper. It'll be somewhere like...

${FLEX_HOME}/templates/express-installation/index.template.html
Gregor Kiddie
Yes, I already tested the same and had modified the index.template.html file at the location :"C:\FlexSDK\templates\express-installation" but it did not work. I am still unable to find the file it is using.
Suga
could be a bug in the Flex Ant tasks. If you do the same thing with the command line options, does it work as you'd expect?
Gregor Kiddie