Hi folks, Apologies if this has been answered. I don't think I'm searching for the right words.
I have a "global" control which is in a separate MXML file included by the master file. Very simple, here's a scaled down version: <?xml version="1.0" encoding="utf-8"?> <mx:Canvas xmlns:mx="http://www.adobe.com/2006/mxml" width="100%"> <mx:Script><![CDATA[ public function setMasterDate(d:Date,fmt:String):void { MasterDate.text = d.format(fmt); } ]]> </mx:Script> <mx:Label id="MasterDate" text="October 13, 2006" fontFamily="Georgia" fontSize="16" textAlign="left" x="85" width="201.5" height="26" fontWeight="bold" top="9"/> </mx:Canvas> >From another MXML file, I would like to update the "MasterDate" in this file, or call setMasterDate(). I've tried "import dir.file;", "dir.file.setMasterDate()", and numerous other ways. Is there a way to access functions inside another file? Or alternatively, is there a way to do this that I'm missing? TIA Mike -- 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/ <*> Your email settings: Individual Email | Traditional <*> To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) <*> To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] <*> 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/

