PDA

View Full Version : Errors exist in required project


jerryj
12-20-2006, 09:57 PM
Hi,

I just started studying Flex.

When I, in Flex Builder 2, try to add some actinscript in an mxml file that handles an event, like

<mx:Button label="click me" click="mx.controls.Alert.show('clicked')"/>
in

<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"
layout="absolute" >
<mx:Label text="HelloDolly" />
<mx:Button label="click me" click="mx.controls.Alert.show('clicked')"/>
</mx:Application>
I get this error: Errors exist in required project(s).

I guess this has something to do with not being able to import the Alert window. I looked at the Frameworks path under Preferences > >> Linked Resources and it looks okay.

Does anyone have an idea what could be wrong? Oh, and where is that Error log Flex Builder advices me to look at??

thank you,

Jerryj.

madgett
12-22-2006, 03:17 PM
Your code works fine when compiled. The problem most likely is in the Flex Project itself in Flex Builder. Not sure what that could be.

Try creating a new project and copy the code over, see if you get any errors.

jerryj
12-22-2006, 08:35 PM
I installed the whole program again, this thime on my C drive. Now it works. I guess it had something to do with the path to the Flex classes, but that's weird because these classes are relatively at the same place as before.

Anyway, it works now, thanks,

Jerryj.