Just put the MXML file in the corresponding directory src/xx/yy/. You don't have to do anything else.

The error you are getting sounds like you have some mis-matched braces somewhere.


Peter


On 4/2/06, parinda_b_patel <[EMAIL PROTECTED]> wrote:
I have an mxml file which I want to put under package xx.yy . Is there
a way to do this. Physically the file is located inside folder yy
which is insdie folder xx. I have a function which I want to make
public so I wrote like this :


public function xyz{
   ....
}

When I compile this file using flex builder 2 plugin for Eclipse it
gives me error "'public' attribute may only be used inside a package."
So I am assuming that somehow compiler is not able to understand the
packaging or I guess I am making some mistake.

please help
Thanks







--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com




YAHOO! GROUPS LINKS




Reply via email to