On Fri, May 22, 2009 at 5:32 AM, coder3 <rrhu...@hotmail.com> wrote: > I wonder if there is a way to add absolute path to mx:script > > for example, my file is under src/app1/app1.mxml. and the as file is > src/common/asfile.as
[...] > i tried to use > <mx:Script source="/common/asfile.as" /> > > but the error shows: no .../src/app1/common/asfile.as found. That would be the absolute path on your disk. For instance: <mx:Script source="/Users/manish/Code/test/test_script.as" /> Manish