Yes, I'm familiar with Modules. During an adobe screen cast about the
Flex Component Kit, someone popped a question about dynamically
loading Flex Components compiled in Flash, the answer was to use
modules. I can't get this to work though!! :(

So here's what I've tried:

STEP 1
Compile a SWF module which includes the SWC file exported from Flash
(it works as expected when compiled as an application). 

STEP 2
In a second Flex application with a ModuleLoader tag, I set its url to
the SWF module from STEP 1. I'm strill trying to get this work but  

Am I going in the right direction? Other suggestions?


Thanks!

--- In flexcoders@yahoogroups.com, "Robert Stehwien" <[EMAIL PROTECTED]>
wrote:




>
> For dynamic libraries check out modules mx.modules.Module,
> mx.modules.ModuleBase, mx.modules.ModuleLoader,
mx.modules.ModuleManager.
> Modules are like RSLs but don't have to be loaded when the application
> starts.
> 
> On Sun, May 11, 2008 at 1:28 PM, swidnikk <[EMAIL PROTECTED]> wrote:
> 
> > Right, thanks. I'm familiar with that link by Peter Ent. He recommends
> > using the SWC inside of another SWF file and then using SWFLoader in
> > the main app to load in that SWF. Its me who posted the final comment
> > there.
> >
> > Hi solution is inconvenient though, since for each Flash component I
> > now have,
> >
> > 1. FLA file to get the SWC (plus 'useless' SWF)
> > 2. A Flex project for each FLA file that includes the SWC and compiles
> > to a SWF.
> > 3. Main application that dynamically loads the SWF from step 2
> >
> > I have about 50 flash components and only a subset are loaded at any
> > moment... so now I need another 50 projects for step 2 above.
> >
> >
> > I still don't really understand why the 'useless' SWF from step 1
> > doesn't work...
> >
> >
> >
> > --- In flexcoders@yahoogroups.com, "Robert Stehwien" <rstehwien@>
> >
> > wrote:
> > >
> > > NP.  Here is one more link (that is actually the end of a series of
> > related
> > > articles by Peter Ent.
> > >
http://weblogs.macromedia.com/pent/archives/2007/04/example_of_the.html
> > >
> > > On Fri, May 9, 2008 at 10:20 PM, nathanpdaniel <ndaniel@> wrote:
> > >
> > > > PS. Thanks!  I've seen the first one (video) which is actually
really
> > > > good - but the rest - hadn't seen those! :D
> > > >
> > > > --- In flexcoders@yahoogroups.com, "Robert Stehwien" <rstehwien@>
> > > > wrote:
> > > > >
> > > > > Here is my collection of links on the subject:
> > > > > https://admin.adobe.acrobat.com/_a300965365/p75214263/
> > > > > http://www.webkitchen.be/2008/05/05/the-flash-and-flex-marriage/
> > > > >
http://lordbron.wordpress.com/2007/05/01/flex-component-kit-step-by-
> > > >
> > step/<
> >
http://lordbron.wordpress.com/2007/05/01/flex-component-kit-step-by-step/>
> > > > > http://www.moock.org/blog/archives/000253.html
> > > > >
> > > > > On Fri, May 9, 2008 at 3:37 PM, nathanpdaniel <ndaniel@> wrote:
> > > > >
> > > > > > I'm looking for tutorials on how to use the Flex Component
kit in
> > > > Flash
> > > > > > CS3 to create components.  I've seen a few videos by Glenn
R. from
> > > > > > Adobe, and a few other Adobe mini tutorials but all of
them (for
> > > > the
> > > > > > most part) say "You can do this!" with no real way to
understand
> > > > it
> > > > > > (source code, etc.)... if anyone knows of anything out there -
> > > > I'd love
> > > > > > to see it! :D
> > > > > > -Nathan
> > > > > >
> > > > > >
> > > > > > ------------------------------------
> > > > > >
> > > > > > --
> > > > > > Flexcoders Mailing List
> > > > > > FAQ:
> > > > http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> > > > > > Search Archives:
> > > > > > http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo!
> > > > Groups
> > > > > > Links
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > >
> > > >
> > > >
> > > >
> > > > ------------------------------------
> > > >
> > > > --
> > > > Flexcoders Mailing List
> > > > FAQ:
http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> > > > Search Archives:
> > > > http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo!
Groups
> > > > Links
> > > >
> > > >
> > > >
> > > >
> > >
> >
> >
> >
> > ------------------------------------
> >
> > --
> > Flexcoders Mailing List
> > FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> > Search Archives:
> > http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups
> > Links
> >
> >
> >
> >
>


Reply via email to