2013-09-25 59 views
1

我對Flex完全陌生,並且已經獲得了一個應用程序。我試圖第一次調試它(第一次爲我),它已經跑到了以前的同事(誰不在這裏,所以我不能問他)。 這裏是堆棧跟蹤:如何在Flex中調試時修復此錯誤?

[SWF] C:\Users\allisonc\Documents\Flex Builder 3\te\bin-debug\Works.swf - 1,175,412 bytes after decompression 
[SWF] C:\Users\allisonc\Documents\Flex Builder 3\te\bin-debug\Works.swf - 1,152,031 bytes after decompression 
Error: Could not get a reference to class for ImageEvent.REQUEST_LOAD_ALBUMS. Did you specify its package in SwizConfig::eventPackages? 
    at org.swizframework.processors::MediateProcessor/validateMediateMetadataTag()[/Users/asstrochris/Documents/my_projects/swizframework-git/swiz-framework/src/org/swizframework/processors/MediateProcessor.as:224] 
    at org.swizframework.processors::MediateProcessor/setUpMetadataTag()[/Users/asstrochris/Documents/my_projects/swizframework-git/swiz-framework/src/org/swizframework/processors/MediateProcessor.as:87] 
    at org.swizframework.processors::BaseMetadataProcessor/setUpMetadataTags()[/Users/asstrochris/Documents/my_projects/swizframework-git/swiz-framework/src/org/swizframework/processors/BaseMetadataProcessor.as:115] 
    at org.swizframework.core::BeanFactory/setUpBean()[/Users/asstrochris/Documents/my_projects/swizframework-git/swiz-framework/src/org/swizframework/core/BeanFactory.as:276] 
    at org.swizframework.core::BeanFactory/setUpBeans()[/Users/asstrochris/Documents/my_projects/swizframework-git/swiz-framework/src/org/swizframework/core/BeanFactory.as:244] 
    at org.swizframework.core::Swiz/init()[/Users/asstrochris/Documents/my_projects/swizframework-git/swiz-framework/src/org/swizframework/core/Swiz.as:313] 
    at org.swizframework.core.mxml::Swiz/handleContainerPreinitialize()[/Users/asstrochris/Documents/my_projects/swizframework-git/swiz-framework/src/org/swizframework/core/mxml/Swiz.as:75] 
    at flash.events::EventDispatcher/dispatchEventFunction() 
    at flash.events::EventDispatcher/dispatchEvent() 
    at mx.core::UIComponent/dispatchEvent() 
    at mx.core::UIComponent/initialize() 
    at mx.core::Container/initialize() 
    at mx.core::Application/initialize() 
    at Works/initialize()[C:\Users\allisonc\Documents\Flex Builder 3\te\src\Works.mxml:0] 
    at mx.managers::SystemManager/http://www.adobe.com/2006/flex/mx/internal::childAdded()[C:\autobuild\3.2.0\frameworks\projects\framework\src\mx\managers\SystemManager.as:2009] 
    at mx.managers::SystemManager/initializeTopLevelWindow()[C:\autobuild\3.2.0\frameworks\projects\framework\src\mx\managers\SystemManager.as:3234] 
    at mx.managers::SystemManager/http://www.adobe.com/2006/flex/mx/internal::docFrameHandler()[C:\autobuild\3.2.0\frameworks\projects\framework\src\mx\managers\SystemManager.as:3064] 
    at mx.managers::SystemManager/docFrameListener()[C:\autobuild\3.2.0\frameworks\projects\framework\src\mx\managers\SystemManager.as:2916] 

這裏是swizconfig

<swiz:Swiz id="swiz" config="{swizConfig}" beanProviders="{[Beans]}" loggingTargets="{[]}" /> 
<swiz:SwizConfig id="swizConfig" 
strict="true" 
eventPackages="model.event" 
viewPackages="view"/> 

我也得到一個錯誤:未找到源:

org.swizframework.processors::MediateProcessor/validateMediateMetadataTag 

感謝

回答

0

您可能希望看看this tutorial這是一個框架特定的錯誤。有一個swiz框架的配置文件,這需要知道事件類,你在那裏提到ImageEvent.as類路徑。希望它應該開始工作。

+0

配置文件在哪裏? – AllisonC

+0

你必須在你的工作區搜索這個標籤這有配置信息。 – Zeus

+0

我將配置信息添加到問題 – AllisonC

相關問題