I've been banging my head against the wall with this and I absolutely cannot get it to work. CS3 never can find my document class when I have it in a swc.
To test this, I've tried the following: 1 I created a simple stub class "mypkg.MyChar" that extends MovieClip. 2. I built the class into a swc using compc (I also tried doing it as a Flex Library Project when compc didn't work) 3. I created an fla, char1.fla, added the swc created above to the CLASSPATH, set the Document class to mypkg.MyChar and clicked the green check. It always says "Document class cannot be found" I have confirmed some things as well: 1. CS3 *can* find the Document class if I add the exploded source root to the CLASSPATH 2. The catalog.xml for my swc files, *does* seem to contain my class (catalog.xml below) Any help with this is greatly greatly appreciated. I'm really stuck, and wondering if what I'm trying to do just isn't supported, which would really suck. Thanks, Larry catalog.xml: <?xml version="1.0" encoding ="utf-8"?> <swc xmlns="http://www.adobe.com/flash/swccatalog/9"> <versions> <swc version="1.2" /> <flex version="3.0.0" build="477" /> </versions> <features> <feature-script-deps /> <feature-files /> </features> <libraries> <library path="library.swf"> <script name="mypkg/MyChar" mod="1220121711609" signatureChecksum="243676046" > <def id="mypkg:MyChar" /> <dep id="flash.display:MovieClip" type="i" /> <dep id="AS3" type="n" /> <dep id="trace" type="e" /> </script> <digests> <digest type="SHA-256" signed="false" value="39f5b1d2682999f1e6f58b0f3fb1b984c99fca828bcbe518d2285d242faa7edb" /> </digests> </library> </libraries> <files> </files> </swc>
_______________________________________________ osflash mailing list [email protected] http://osflash.org/mailman/listinfo/osflash_osflash.org
