f#

F# で Flex で ExternalInterface

2か月ぶりって。まず mxml 書いて、 <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" height="120" width="210" creationComplete="onApplicationCreationComplete(event);"> <mx:Canvas height="100%" width="100%"> <mx:HBox x="10" y="10"> </mx:hbox></mx:canvas></mx:application>

F# メモ

f#

そろそろ F# で何か作りたくなってきた。.NET ってタイマー 3 種類もあるのね。 #light let timer = new System.Timers.Timer() timer.Interval <- 500. timer.Elapsed.Add(fun e -> print_endline (e.SignalTime.ToString())) timer.Enabled <- true System…