That is the warning I get when trying to bind a label's text to a static var on my ModelLocator. Isn't this the most basic concept of ModelLocator? What am I doing wrong here?
My MXML: <?xml version="1.0" encoding="utf-8"?> <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" creationComplete="onCreationComplete()"> <mx:Script> <![CDATA[ private function onCreationComplete():void { TestModel.initialize(); } ]]> </mx:Script> <mx:TabNavigator horizontalAlign="right" bottom="10" top="10" left="10" right="10"> <mx:Canvas label="Search" width="100%" height="100%" id="search"> <mx:Label x="130" y="136" text="{TestModel.name}" id="testLabel"/> </mx:Canvas> </mx:TabNavigator> </mx:Application> TestModel.as: package { import com.adobe.cairngorm.model.ModelLocator; public class TestModel implements ModelLocator { public static var name:String; public static function initialize():void { name = "Some text"; } } } -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 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/

