所以我有一個拖放操作,被拖動的數據是一些XML。我drophandler看起來是這樣的: protected function dragDropHandler(event:DragEvent):void
{
var item:XML = XML(event.dragSource.dataForFormat("itemsByIndex"));
Alert.show(item);
我與FlashBuilder 4.6工作,並使用AS3Eval V0.3庫來自:http://eval.hurlant.com/ 該庫完全一個工作我的Flex 4.6.0項目但不在其他(相同的庫鏈接「合併到代碼」的EvalES4.swc庫)。 在第一個項目下面的代碼工作: private var compiler:CompiledESC = new CompiledESC;
public fu
在下面的代碼中,a.b的值是什麼? (這既不是未定義的,或者爲null也不是空字符串) var a = {} ;
a.b = [] ;
//////////////////////a.b["hello"]="hello"; //comment, uncomment for testing it
trace(a.b) // output is invisible, something li
我有以下錯誤: Scene 1, Layer 'smashNow', Frame 138, Line 1 1119: Access of possibly undefined property onRelease through a reference with static type flash.display:SimpleButton . 這裏是我的代碼: play_mc.onRelease=