论坛首页 编程语言技术论坛

Flex3.6引入FlexPaper控件报错

浏览 2523 次
精华帖 (0) :: 良好帖 (0) :: 新手帖 (0) :: 隐藏帖 (0)
作者 正文
   发表时间:2012-07-30  
ReferenceError: Error #1065: 变量 com.devaldi.controls.flexpaper.resources::MenuIcons 未定义。
at Function/<anonymous>()
at Function/http://adobe.com/AS3/2006/builtin::apply()
at mx.binding::Binding/wrapFunctionCall()[C:\autobuild\3.x\frameworks\projects\framework\src\mx\binding\Binding.as:287]
at mx.binding::Binding/innerExecute()[C:\autobuild\3.x\frameworks\projects\framework\src\mx\binding\Binding.as:359]
at Function/http://adobe.com/AS3/2006/builtin::apply()
at mx.binding::Binding/wrapFunctionCall()[C:\autobuild\3.x\frameworks\projects\framework\src\mx\binding\Binding.as:287]
at mx.binding::Binding/execute()[C:\autobuild\3.x\frameworks\projects\framework\src\mx\binding\Binding.as:230]
at com.devaldi.controls.flexpaper::FlexPaperViewer/initialize()
at mx.core::UIComponent/http://www.adobe.com/2006/flex/mx/internal::childAdded()[C:\autobuild\3.x\frameworks\projects\framework\src\mx\core\UIComponent.as:5426]
at mx.core::Container/http://www.adobe.com/2006/flex/mx/internal::childAdded()[C:\autobuild\3.x\frameworks\projects\framework\src\mx\core\Container.as:3348]
at mx.core::Container/addChildAt()[C:\autobuild\3.x\frameworks\projects\framework\src\mx\core\Container.as:2260]
at mx.core::Container/addChild()[C:\autobuild\3.x\frameworks\projects\framework\src\mx\core\Container.as:2183]
at mx.core::Container/createComponentFromDescriptor()[C:\autobuild\3.x\frameworks\projects\framework\src\mx\core\Container.as:3724]
at mx.core::Container/createComponentsFromDescriptors()[C:\autobuild\3.x\frameworks\projects\framework\src\mx\core\Container.as:3536]
at mx.core::Container/createChildren()[C:\autobuild\3.x\frameworks\projects\framework\src\mx\core\Container.as:2632]
at mx.core::UIComponent/initialize()[C:\autobuild\3.x\frameworks\projects\framework\src\mx\core\UIComponent.as:5529]
at mx.core::Container/initialize()[C:\autobuild\3.x\frameworks\projects\framework\src\mx\core\Container.as:2569]
at mx.core::Application/initialize()[C:\autobuild\3.x\frameworks\projects\framework\src\mx\core\Application.as:864]
at onLinePdf/initialize()[C:\Documents and Settings\b\workspace\onLinePdf\flex_src\onLinePdf.mxml:0]
at mx.managers::SystemManager/http://www.adobe.com/2006/flex/mx/internal::childAdded()[C:\autobuild\3.x\frameworks\projects\framework\src\mx\managers\SystemManager.as:2138]
at mx.managers::SystemManager/initializeTopLevelWindow()[C:\autobuild\3.x\frameworks\projects\framework\src\mx\managers\SystemManager.as:3407]
at mx.managers::SystemManager/http://www.adobe.com/2006/flex/mx/internal::docFrameHandler()[C:\autobuild\3.x\frameworks\projects\framework\src\mx\managers\SystemManager.as:3230]
at mx.managers::SystemManager/docFrameListener()[C:\autobuild\3.x\frameworks\projects\framework\src\mx\managers\SystemManager.as:3076]

今天用FlexPaper 1.5.3和Flex3.6开发在线PDF浏览功能不知道什么原因老是报上面的错误,请大家帮我看一下,非常急啊!


mxml代码
<?xml version="1.0" encoding="utf-8"?>
<mx:Application
xmlns:mx="http://www.adobe.com/2006/mxml"
layout="absolute" minWidth="955" minHeight="600"
xmlns:flexpaper="com.devaldi.controls.flexpaper.*">
<flexpaper:FlexPaperViewer
width="520" height="450" Scale="0.6" SwfFile="{escape('Paper.swf')}">
</flexpaper:FlexPaperViewer>
</mx:Application>
论坛首页 编程语言技术版

跳转论坛:
Global site tag (gtag.js) - Google Analytics