1 Reply Latest reply on Feb 21, 2010 8:53 AM by yoav@cyteam.com

    how to connect the  flex and css file on the server..

    shashank543233

      when i work on my system, i just give source="abc.css" in style tag but when i upload its not working...can someone help me?

        • 1. Re: how to connect the  flex and css file on the server..
          yoav@cyteam.com Level 1

          A common practice is to place the CSS files under <src><assets><styles>  directory in your project.

          Then, in your MXML file  you  use them :<mx:Style source="/assets/styles/common.css"/> 

           

          When ready to publish to online server, you do as "Export release build" from your project menu.

          This will generate all you need files in the "bin-release"  directory in your project environment.

          You should upload all this content ( from the bin-release directory)  to your server.