You do need another swf that does not use the RSL and compiled against
airglobal instead of playerglobal ( although I do not know if this is
a must, but makes sense, to me at least =D )


VELO

On Jan 19, 2:30 pm, radomirz <[email protected]> wrote:
> No, you're not missing anything :) It's just that the project started
> off as a web application... now, in addition, it should be available
> as an AIR app. I would have nothing against compiling all libraries
> into the AIR app, but some should remain RSLs for the flex app. Now,
> the main SWF project (and some modules) have RSL dependencies, and I'm
> guessing the compiled artifacts contain some sort of reference to the
> RSLs which I can't change by simply overloading the dependencies in my
> AIR project, right? I'm really no flex expert, but I suppose I would
> need to recompile the modules with the libs compiled into the code,
> which seems like overkill (and anyway, I wouldn't know how to compile
> two versions of my modules and deploy both with maven).
>
> I suppose the big question is, do you have any ideas how i can wrap a
> flex app which has RSL dependencies into an air app?
>
> Also, is there anything I should consider regarding modules when
> packaging everything as an AIR app? Does it suffice to have the SWFs
> in the installation directory (i.e. packaged into the air file) ?
>
> Rade
>
> On 19 Jan., 16:32, velo <[email protected]> wrote:
>
> > Right now, no, at least not by configuring the dependency as runtime.
>
> > Anyway, why would you include RSLs on an AIR package?  I mean, makes
> > no sense, the entire package will be downloaded....  so RSL don't do
> > any good here.  Am I missing something?
>
> > VELO
>
> > On Jan 19, 1:26 pm, radomirz <[email protected]> wrote:
>
> > > Hello,
>
> > > I have a larger application, which makes use of modules and RSLs. I am
> > > now trying to package the whole thing as an AIR application. I used
> > > the simple-air application (http://svn.sonatype.org/flexmojos/trunk/
> > > flexmojos-testing/flexmojos-test-harness/projects/concept/simple-air/)
> > > for orientation and managed to generate an air file. However, when I
> > > launch the application, I get RSL errors (Error #2032). I can see that
> > > if I declare my modules as dependencies, they are installed along with
> > > the main application (and I'm hoping once I get past the RSL Errors,
> > > they will be loadable). The RSLs are unfortunately not being included
> > > (I tried using the copy-flex-resources goal). Is there any way to
> > > include RSL files in the installation package?
>
> > > Greetings,
> > > Rade
-- 
You received this message because you are subscribed to the Google
Groups "Flex Mojos" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/flex-mojos?hl=en?hl=en

http://blog.flex-mojos.info/

Reply via email to