我在创建sparklyr数据表时遇到以下错误。
因此,我无法在Rstudio的火花窗口中看到火花数据表。
任何帮助将不胜感激。谢谢!
function someFunction(e:Event):void
{
// Get the reference to the button and access its name.
var aButton:DisplayObject = e.currentTarget as DisplayObject;
var aName:String = aButton.name;
// If all the buttons are named in the way you put it:
// Extract digits.
var aDigits:String = aName.substr(3);
// Convert them into number.
var anIndex:int = int(aDigits);
// Profit!
trace(anIndex);
}