
Код AS3:
import flash.events.MouseEvent;
var CILIND:Array = [1,2,3];
var loaderCilind:Loader=new Loader()
loaderCilind.x=330
loaderCilind.y=220
addChild(loaderCilind)
btn_1.addEventListener(MouseEvent.CLICK, clickHandler);
function clickHandler(event:MouseEvent):void
{
CILIND.push(CILIND.shift());
trace(CILIND);
}
btn_1.selectedIndex=0
loaderCilind.load(new URLRequest("http://192.168.0.102/cilind/" + btn_1.selectedItem.data+".swf"))
btn_1.addEventListener(Event.CHANGE, combo_cilind);
function combo_cilind(e:Event):void
{
loadercilind.load(new URLRequest("http://192.168.0.102/cilind/" + btn_1.selectedItem.data+".swf"))
}
Выдаёт
Цитата:
TypeError: Error #1010: Термин не определен и не имеет свойств.
at main_fla::MainTimeline/frame1()
|
ъ
Как мне эту строку, по нажатию кнопки определить?

Код AS3:
loaderCilind.load(new URLRequest("http://192.168.0.102/cilind/" + btn_1.selectedItem.data+".swf"))