Hello,
I have a flex 2 app that works fine as it is. It uses a library of
custom components that is currently statically linked in. I would
like to make that library an RSL. I did this the normal way and it
works fine.
What doesn't work is when I try to embed this app inside another app
and the embedded app uses an RSL. This embedding works fine when the
lib is compiled statically into the embedded app. But with the RSL I
get an error message about not being about to find the resource bundle
for the collections package. The exact error message is this:
Error: Could not find resource bundle collections
at mx.resources::ResourceBundle$/getResourceBundle()
at mx.collections::ListCollectionView$cinit()
at
global$init()[C:\dev\flex_201_ja\sdk\frameworks\mx\collections\ListCollectionView.as:73]
at
global$init()[C:\dev\flex_201_ja\sdk\frameworks\mx\collections\ArrayCollection.as:59]
at _ImageTest_FlexInit$/init()
at mx.managers::SystemManager/::docFrameHandler()
Now, I tried adding frameworks_rb.swc into the library path for both
the component lib and the app. Except for doing that I'm not sure
where to go with this. Is this a bug or is it me not doing something
correctly?
I actually would like the top level loader app to be able to load
the RSL and then the embedded app which uses the RSL. I also would
like this loader app to be able to not make use of the flex SDK to do
its work. The reasons for this involve flash6/as2 apps & assets
integration and autoupgrading of flex (as an RSL loaded by the top
level loader) itself without recompiling. I hope that's all somewhat
possible but that's big picture stuff. The above problem is the first
piece I've stumbled on in the larger quest.
Thanks,
jdv