RE: [flexcoders] Re: Flex 2:Package/Class problem

2005-11-02 Thread Roger Gonzalez
> When I am inside one of the components I want to access the > same doubleclick function I use in the main mxml. However > since the as file the doubleclick code is in is included in > the main mxml the component can't see the function. I have > to add the mx.core.Application.application.___

RE: [flexcoders] Re: Flex 2:Package/Class problem

2005-11-01 Thread Roger Gonzalez
This seems like you're talking about a couple different things here. I'm not sure I understand where mx.core.Application.application comes into it. You can do the same thing with source as you can with a SWC; Make a new directory tree, looks like you're using mrstd. Then, you'll make one source

RE: [flexcoders] Re: Flex 2:Package/Class problem

2005-11-01 Thread Roger Gonzalez
How so? A library isn't one file. You should package everything up by making a manifest file so that you can use your classes as MXML tags, and then use compc.exe to bundle a SWC. You can also bundle in additional stuff like icons and CSS and whatnot. Its a much more efficient distribution and