I have a folder "ctls" inside it i have a file called "Email.as" and looks like:

package ctls
{
import mx.controls.TextInput;
import flash.events.Event;
import mx.validators.EmailValidator;

public class Email extends TextInput {
public function Email() {
....
....

When i try to make a component with the command line compiler compc
i get the following error:

C:\_tmp_\test_swc\ctls\Email.as: Error: A file found in an source-path must have
the same package structure '', as the definition's package, 'ctls'.


The comand line i execute is:
compc -source-path+=ctls -debug=false -o=bin/mylib.swc Email

How can i solve this?

Thanks in advance
__._,_.___


SPONSORED LINKS
Custom software development Database development software Embedded software development
Offshore software development Software development Software development company


YAHOO! GROUPS LINKS




__,_._,___

Reply via email to