You can work with behaviors visually, or if you click the 'Code' button...
Objects in Popfly's game creator are represented using XAML. You can visually manipulate objects, or you can type directly into a XAML editor.
There is also a good post on MSDN Channel9 showing some demos of this new, fun tool.
Home - Microsoft Popfly