Hi

I am trying to set up a modular Flex 2 application. I would like to 
have one single shell .swf application file that load many 
other .swc libraries. The shell would hold the core app files so 
the .swc's would only have to contain a minimum of data.

So, to create a small library component I thought I could setting 
the default libraries (framework.swc, flex.swc, rpc.swc, etc.) to 
External. This would eliminate essentual data that can be found in 
the shell .swf at runtime. This is what I have done for my 
Cairngorm.swc as was discussed here:
http://tech.groups.yahoo.com/group/flexcoders/message/51044

I am using a simple test file, TestComp.as:
package 
{
        import mx.controls.TextInput;
        
        public class TestComp extends TextInput{
                
                public function TestComp(){
                        super();
                       this.text = "hello world";
                }
        }
}

Accept at runtime (with TestComp linked as an RSL in my shell .swf) 
I get this error in Flash player:
VerifyError: Error #1014: Class mx.controls::TextInput could not be 
found.

Is there anyway I can only include the mx.controls.TextInput class 
in my Library at compile time?
Will this fix my problem? 
If there is a better way can you tell me how? 

PS: I using mostly Flex Builder and am only basically familiar with 
the command line and its options.

Thanks,

Russell Munro 





--
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

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/flexcoders/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:[EMAIL PROTECTED] 
    mailto:[EMAIL PROTECTED]

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to