I think I've seen attachments. BTW, you aren't loading the module from another domain are you? That's explained on my blog.
If attachment doesn't work or you want to limit access, you can just email the SWF to me directly. Don't send .zip files, they'll get filtered out. ________________________________ From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of jamalwally Sent: Wednesday, July 23, 2008 8:54 AM To: [email protected] Subject: [flexcoders] Re: Runtime CSS and "SWF is not a loadable module" About posting the swf in another way: I don't have any other webspace that I own. I'd be happy to use a file hosting site, but want to avoid having others register to view/download the file. What is your preferred posting method?. Does the group allow SWF as attachments to emal? In the meantime, please see below for the text of the CSS file that I used to make the style swf. All I did to make the SWF from the CSS is: "mxmlc style.css" Thanks again, -- j /* CSS file */ Application { background-alpha: 1; background-gradient-colors: #ffffff, #000000; font-size: 10px; } Panel { titleStyleName: "panelTitle"; headerHeight: 32; borderColor: #660099; borderAlpha: 1; borderThicknessLeft: 10; borderThicknessTop: 0; borderThicknessBottom: 10; borderThicknessRight: 10; headerColors: #cc33ff, #660099; } .panelTitle { color: white; font-family: Arial, Helvetica; font-size: 14px; font-weight: bold; } Label { font-size: 20; color: #ff0000; font-weight: bold; } Button { cornerRadius: 15; textIndent: 0; highlightAlphas: 0.26, 0; fillColors: #ccff00, #99ff99, #ff6666, #ffffcc; color: #0000ff; textRollOverColor: #336600; } --- In [email protected] <mailto:flexcoders%40yahoogroups.com> , "Alex Harui" <[EMAIL PROTECTED]> wrote: > > I'm unable to download those files. Try to find another way to make > them available. > > > > ________________________________ > > From: [email protected] <mailto:flexcoders%40yahoogroups.com> [mailto:[email protected] <mailto:flexcoders%40yahoogroups.com> ] On > Behalf Of jamalwally > Sent: Monday, July 21, 2008 5:53 AM > To: [email protected] <mailto:flexcoders%40yahoogroups.com> > Subject: [flexcoders] Re: Runtime CSS and "SWF is not a loadable module" > > > > Was anybody able to view the css styles swf that I posted earlier? I'm > still unable to > implement runtime css because of the "SWF is not a loadable module" > error. Any further > help would be greatly appreciated. > > Thank you, > --j > > --- In [email protected] <mailto:flexcoders%40yahoogroups.com> <mailto:flexcoders%40yahoogroups.com> > , "Alex Harui" <aharui@> wrote: > > > > Post the swf. > > > > > > > > ________________________________ > > > > From: [email protected] <mailto:flexcoders%40yahoogroups.com> <mailto:flexcoders%40yahoogroups.com> > [mailto:[email protected] <mailto:flexcoders%40yahoogroups.com> <mailto:flexcoders%40yahoogroups.com> > ] On > > Behalf Of jamalwally > > Sent: Wednesday, July 16, 2008 11:37 AM > > To: [email protected] <mailto:flexcoders%40yahoogroups.com> <mailto:flexcoders%40yahoogroups.com> > > Subject: [flexcoders] Re: Runtime CSS and "SWF is not a loadable > module" > > > > > > > > Hi Tracy, > > > > I'm confident that FB3 can find the style swf since the following is > > printed to the console: > > > > [SWF] Users:jbattat:Documents:Flex Builder > > 3:testRuntimeCss:assets:style1.swf - 11,294 > > bytes after decompression > > > > Still not sure how to verify that the style1.swf is actually a style > swf > > (though I have no > > reason to believe that it is not). > > > > James > > > > --- In [email protected] <mailto:flexcoders%40yahoogroups.com> > <mailto:flexcoders%40yahoogroups.com> > <mailto:flexcoders%40yahoogroups.com> > > , "Tracy Spratt" <tspratt@> wrote: > > > > > > Make sure the compiled css swf is actually where you expect. > > > > > > > > > > > > I am having problems with FB3 where the compiler misplaces the css > > swf, > > > into a deeply nested folder structure under the bin folder, and I > > always > > > have to copy it to the correct location. I plan to post a question > on > > > this some time soon. > > > > > > > > > > > > Tracy > > > > > > > > > > > > ________________________________ > > > > > > From: [email protected] <mailto:flexcoders%40yahoogroups.com> > <mailto:flexcoders%40yahoogroups.com> > <mailto:flexcoders%40yahoogroups.com> > > [mailto:[email protected] <mailto:flexcoders%40yahoogroups.com> > <mailto:flexcoders%40yahoogroups.com> > <mailto:flexcoders%40yahoogroups.com> > > ] On > > > Behalf Of jamalwally > > > Sent: Wednesday, July 16, 2008 12:45 AM > > > To: [email protected] <mailto:flexcoders%40yahoogroups.com> <mailto:flexcoders%40yahoogroups.com> > <mailto:flexcoders%40yahoogroups.com> > > > Subject: [flexcoders] Runtime CSS and "SWF is not a loadable module" > > > > > > > > > > > > Hello, > > > > > > I'm trying to implement runtime css in my flex application. I have > > > compiled my css file > > > into a swf with mxmlc > > > > mxmlc style1.css > > > > > > Then I load the resulting style1.swf on Application > creationComplete: > > > > > > <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml <http://www.adobe.com/2006/mxml> > <http://www.adobe.com/2006/mxml <http://www.adobe.com/2006/mxml> > > > <http://www.adobe.com/2006/mxml <http://www.adobe.com/2006/mxml> <http://www.adobe.com/2006/mxml <http://www.adobe.com/2006/mxml> > > > > > <http://www.adobe.com/2006/mxml <http://www.adobe.com/2006/mxml> <http://www.adobe.com/2006/mxml <http://www.adobe.com/2006/mxml> > > <http://www.adobe.com/2006/mxml <http://www.adobe.com/2006/mxml> <http://www.adobe.com/2006/mxml <http://www.adobe.com/2006/mxml> > > > " > > layout="vertical" > > > > > > creationComplete="StyleManager.loadStyleDeclarations('../assets/style1.s > > > wf', true, > > > true)"> > > > > > > But when I debug this in Flex Builder 3, I get an error (see below) > > > saying that my > > > style1.swf is not a loadable module. I looked around online and in > > this > > > forum and it seems > > > that this message is security-based, which is puzzling to me because > > all > > > files are local in > > > my example. I am not loading a style file from another domain. > > > > > > My directory structure (on OS X Leopard) is: > > > testRuntimeCss\ > > > assets\ > > > style1.css > > > style1.swf > > > src\ > > > testRuntimeCss.mxml > > > > > > I have tried this with the "Compile CSS to SWF" option both checked > > and > > > unchecked (right > > > click on style1.css). > > > > > > What gives? > > > > > > [SWF] Users:jbattat:Documents:Flex Builder 3:testRuntimeCss:bin- > > > debug:testRuntimeCss.swf - 582,620 bytes after decompression > > > [SWF] Users:jbattat:Documents:Flex Builder > > > 3:testRuntimeCss:assets:style1.swf - 11,294 > > > bytes after decompression > > > Error: Unable to load style(SWF is not a loadable module): > > > ../assets/style1.swf. > > > at > > > > > > <anonymous>()[E:\dev\3.0.x\frameworks\projects\framework\src\mx\styles\S > > > tyleManag > > > erImpl.as:858] > > > at flash.events::EventDispatcher/dispatchEventFunction() > > > at flash.events::EventDispatcher/dispatchEvent() > > > at > > > > > > ModuleInfoProxy/moduleEventHandler()[E:\dev\3.0.x\frameworks\projects\fr > > > amework\src > > > \mx\modules\ModuleManager.as:1027] > > > at flash.events::EventDispatcher/dispatchEventFunction() > > > at flash.events::EventDispatcher/dispatchEvent() > > > at > > > > > > ModuleInfo/initHandler()[E:\dev\3.0.x\frameworks\projects\framework\src\ > > > mx\modules\ > > > ModuleManager.as:631] > > > > > >

