The custom themes work running Flex Server on Tomcat (I've given up on
integrated JRun - can anyone get custom themes to work running
integrated JRun?). But, now I can't get FlexBuilder to recognize my
Tomcat Flex Server. I.e., the mxml files work running on localHost
8080 - but, I can't click RUN in FlexBuilder - which is kind of a drag
because I've been using the TRACE tab for component development.



--- In [email protected], "d_marttila" <[EMAIL PROTECTED]> wrote:
> 
> Hi Abdul,
> 
> Thanks for your response. I've done a little more testing. 
> 
> Your example does not work for me either. I get the same error. "Error
> /pulseBlueThemeTest.mxml:1 
> Unable to load theme themes/pulseBlue.swc" I am running the JRun
> integrated server on my machine. I also tested on my home machine
> (identical setup) and got the same error. I am running XPPro on both.
> 
> But, I installed your example on a workmate's machine and got it to
> work. He is running Flex in Apache (not JRun) on his machine.
> 
> So, I guess I will install Apache and try that. Maybe some setting
> with the integrated server?
> 
> In addition to this test, I've been creating custom components in
> Flash and running them in Flex - and that's been working. So, I'm
> pretty sure my directory structure is correct. Plus, with this theme
> problem, I tried parent directory, same directory, etc. 
> 
> I'll post again when I get Apache running.
> 
> Thanks for your help,
> 
> Doug
> 
> --- In [email protected], Abdul Qabiz <[EMAIL PROTECTED]> wrote:
> > Hi Doug,
> > 
> > Can you send me directory structure of your application?
> > 
> > Just want to make sure, everything in right place...Please tell us
> where is
> > theme directory, where is mxml file and all...
> > 
> > I doubt, there is some problem with path....
> > 
> > Please find the attached zip file, extract the content in some
> folder under
> > your flex webroot and test "pulseBlueThemeTest.mxml"...Let me know
> what you
> > see...
> > 
> > -abdul
> >  
> > 
> > -----Original Message-----
> > From: d_marttila [mailto:[EMAIL PROTECTED] 
> > Sent: Wednesday, March 30, 2005 4:13 AM
> > To: [email protected]
> > Subject: [flexcoders] custom theme error
> > 
> > 
> > 
> > Hi,
> > 
> > I've been trying to load a custom theme in Flex and have had no luck.
> > Here's the code:
> > 
> > <?xml version="1.0" encoding="utf-8"?>
> >   <mx:Application xmlns:mx="http://www.macromedia.com/2003/mxml";
> > theme="theme/DougHalo.swc">
> >   <mx:ComboBox/>
> > </mx:Application>
> > 
> > I get the following error: "unable to load theme theme/DougHalo.swc"
> > 
> > I am using FlexBuilder 1,5, Flex 1.5, and MX2004 Pro. In addition to
> > trying to create my own theme, I have tried the pulseBlue.swc theme
> > that is installed with Flex 1.5 (C:\Program
> > Files\Macromedia\Flex\resources\themes\graphic\pulseBlue). That didn't
> > work either -- same error.
> > 
> > Class path points to $(LocalData)/Flex Classes.
> > 
> > I used the following as references:
> > 
> > http://www.macromedia.com/cfusion/knowledgebase/index.cfm?id=tn_19322
> > 
> > And the Themes section of Chapter 11 in the Webster Flex book.
> > 
> > Basically, I opened the HaloTheme.fla. Saved as. Modified a graphic.
> > Right clicked the Halo Theme - export SWC file.
> > 
> > Thanks,
> > 
> > Doug
> > 
> > 
> > 
> > 
> > 
> >  
> > Yahoo! Groups Links





 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to