On 01/30/2012 06:11 AM, Tandon, Rishi wrote:
Dan, send over your mxml and as file here.
There could be many reasons for the exception:
1. Compatible with the sdk. Try to change to flex sdk 3.2 or 3.6
2. Namespace inclusion.
In you code, the namespace is pointed to "http://www.adobe.com/2006/mxml";
Whereas, in sdk 4 onwards, we are using three namespace:
 xmlns:fx="http://ns.adobe.com/mxml/2009";
 xmlns:s="library://ns.adobe.com/flex/spark"
 xmlns:mx="library://ns.adobe.com/flex/mx"



Regards,
Rishi Tandon


Thanks, I appreciate the ability to have another set of eyes looking over my code.

My mxml (IntegratedEncoder.mxml) file is at http://pastebin.com/ZJbhk11V

My ActionScript file (IntegratedEncoderController.as) is at http://pastebin.com/EJUk8nw1

If I use the SDK tools (mxmlc) to compile the two files,everything works fine. It's only when I try to create a project in Flash Builder and compile it there that I get issues.

I"m getting *really* tired of adjusting the visual layout by running, tweaking the mxml file by hand in vi, compiling, running, etc. and would really like to be able to use the Flash Builder tool to manipulate the element layout in my mxml file. Besides that, I'm finding the tooltip help to be easier to make use of than having a browser open to Adobe's Actionscript reference pages and switching between my vi window and browser window.



Reply via email to