Tom: yes, that is the arrow. Thanks.

Removing the file from the list of applications does remove the arrow, but something still seems to be broken. Now, I am using someone else's app that was written for beta2 so it may well be a case of "it doesn't work like that anymore"

I can reproduce the problem simply:
Create a new Flex project called myTest
Add an ActionScript file called myASFile
Put something in the AS file like:

    private var testVar:String;
   
    public function testFun():void{
    }

Put a script tag in the mxml file that has the AS file for its source like:

    <mx:Script source="myASFile.as"/>

Run the app. Works great (does nothing).
Now add the myASFile.as to the list of applications. (green arrow appears)
Run the app. Compiler errors. Now I think that this is correct - there should be errors because there is no package and no class, but...
Remove the file from the list of applications. (green arrow disappears)
Now the errors never go away. Cannot seem to get back to the state where we could call functions from the AS file.

So the app seemed to be able to call functions from an AS file before (it was working) then I accidentally toggled the AS file into a different compilation mode. And now it won't go back to how it worked before.

Thanks for your help.

--
david
"May the forces of evil become confused on the way to your house."

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com




SPONSORED LINKS
Web site design development Computer software development Software design and development
Macromedia flex Software development best practice


YAHOO! GROUPS LINKS




Reply via email to