0
獲取事件對象當我添加SequenceWaiter步入SequenceRunner,我怎樣才能得到事件對象至極傳遞到事件?有一個從我的測試函數的代碼:從SequenceWaiter
var sequence: SequenceRunner = new SequenceRunner(this);
sequence.addStep(new SequenceCaller(manager, function(): void {
manager.startUpload();
}));
sequence.addStep(new SequenceWaiter(manager, PackageUploadEvent.BEFORE_PACKAGE_UPLOAD, 1000));
sequence.addStep(new SequenceCaller(manager, function(): void {
// TODO: Get event object from PackageUploadEvent.BEFORE_PACKAGE_UPLOAD event
}));
我不確定你能做到。你有沒有試過問FlexUnit論壇? – 2011-01-21 16:57:02