R – Browser Compilation Error for Flex

apache-flexbrowsercompilationwindows

I'm having an odd problem that isn't mission critical since I can use the command line with no probs.

In my earlier post Flex Web-Tier Setup, I had problems getting the web compiler to work.

Now that it's working I use this in a browser to compile:

http://localhost/flex/topsight.mxml?username=xxxxx&password=xxxxx

and I get this error as a result:

ERROR : Could not resolve to a component implementation.

349 <mx:filters>
350 <mx:DropShadowFilter alpha=".25" angle="90" />
351 </mx:filters>

Everything is legit and the most recommended solution is that the namespaces aren't correct. I've checked those and they're fine. Other answers I've come across relate to external components causing a problem but as you can see, I'm not using an external component.

Here's the kicker. If I do a compile via command line:

mxmlc topsight.mxml

it compiles perfectly.

Specs are still the same from the prior post and I'm using the Flex 3 SDK.

Not sure if this would help but I did the download from http://opensource.adobe.com/wiki/display/flexsdk/Download+Flex+3 and I clicked on the Open Source Flex SDK – Milestone 3.3

Cheers!
Adrian

Best Answer

Only thing I can think of is that your compiler.conf can't find the Flex framework. Does it work with just a:

<mx:Application> </mx:Application>

? ( basically no components ) There is an option in there flex_config that points to the SDK version you want the compiler to use. I haven't used the web-tier in a long time so, I could be totally off track.