Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>I've experienced some issues that are down the same line where we were getting Class A from SDK swc 1 and Class B from SDK swc 2 (blendMode error results), in the end we had to guarantee all our dependencies were compiled with a particular version of the SDK (also not fun). I think it sounds like you want a library that contains the source from all the other libraries that your new library depends on.</p> <p>Basically each swc is a catalog file and the ActionScript Bytecode (ABC) for the ActionScript(AS) files compressed into a zip, so you'd want it to merge both of those parts into a single swc.</p> <p>Using Runtime Shared Libraries (RSL) means instead of pulling the bytecode from the swc and including it in your swf during compile time it'll load the swc (called a swz when packaged this way) at run-time. The disadvantage is it stores all the classes into the swz as opposed to only pulling the bytecode for the AS you need when done at compile time. So going with linking via RSL should get you the result you want i believe but you'll have to generate the swz files from your library. You may still end up having to do something ridiculous like having references to everything you want in your swz (from the other swcs) but I believe you should be able to resolve the issue this way somehow... I'm continuing to look around for a better solution and will edit this if I find one:</p> <p><a href="http://tv.adobe.com/watch/adc-presents/creating-runtime-shared-libraries/" rel="nofollow">http://tv.adobe.com/watch/adc-presents/creating-runtime-shared-libraries/</a></p> <p>Edit 1:</p> <p>Also found this:</p> <p>compc -source-path ../mycomponents/components/local -include-classes CustomCellRendererComponent -directory=true -debug=false -output ../libraries/CustomCellRenderer</p> <p>From this page:</p> <p><a href="http://livedocs.adobe.com/flex/3/html/help.html?content=rsl_01.html#168690" rel="nofollow">http://livedocs.adobe.com/flex/3/html/help.html?content=rsl_01.html#168690</a></p> <p>A couple of thoughts on this too as I've been looking around, 1 this is going to be horribly inefficient in terms of space, hence all the work to only include the classes you're using, 2 if using the method above I would probably write a java app that'll traverse a projects folders for all the Class names so I could have it generate a listing of all classes in the project space.</p> <p>Thanks for hearing out my thoughts (still a WIP :),</p> <p>Shaun</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload