我有几个Adobe Flash Builder项目4.6。
在主模板mxml中,我有如下内容:
<?xml version="1.0" encoding="utf-8"?>
<s:WindowedApplication xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"
xmlns:mx="library://ns.adobe.com/flex/mx"
xmlns:dragdrop="org.robotlegs.demos.draganddrop.*"
xmlns:view="org.robotlegs.demos.draganddrop.view.*"
xmlns:buttons="org.robotlegs.demos.draganddrop.view.controls.buttons.*"
creationComplete="this.maximize()"
showStatusBar="false"
maxWidth="1601"
maxHeight="1611">
<fx:Style>
@namespace s "library://ns.adobe.com/flex/spark";
@namespace mx "library://ns.adobe.com/flex/mx";
s|Application {
background-alpha:"0.7";
padding: 0px;
}
</fx:Style>
<fx:Declarations>
<!-- Place non-visual elements (e.g., services, value objects) here -->
<dragdrop:DragAndDropContext contextView="{this}"/>
</fx:Declarations>
<s:Image id="background" width="100%" height="100%" smooth="true" smoothingQuality="high"
scaleMode="zoom" source="@Embed('theme/assets/MaxBackground.png')"/>
<s:BorderContainer id="layoutCanvas" width="100%" height="100%" visible="true" backgroundImage="background">
<buttons:ApplicationClose right="5" top="2" id="applicationClose" />
<buttons:ApplicationMaximize right="25" top="2" id="applicationMaximize" />
<buttons:ApplicationMinimize right="45" top="2" id="applicationMinimize" />
<buttons:Save left="25" top="2" id="saveThisStory" />
<buttons:SaveAs left="55" top="2" id="saveThisStoryAs" />
<buttons:AddPage left="85" top="2" id="addPageToStory" />
</s:BorderContainer>
</s:WindowedApplication>以前,我可以毫无问题地打开它。现在,如果你使用的是mac os x,adobe flash builder就会冻结,并在我的任务管理器或活动监视器中显示不响应。
我该如何解决这个问题?
发布于 2012-03-28 11:12:01
第一步是卸载Adobe Flash Builder 4.6
原因是因为您打开了此选项卡,每次您尝试打开FlashBuilder 4.6时,它都会尝试打开此文件进行编辑,从而导致再次发生无响应。
第二步是重新安装Adobe Flash Builder 4.6
原因是因为step1,所以你需要重新安装。
第三步是尝试再次打开同一项目。现在您已经重新安装,有问题的项目不再出现在您的浏览器窗口中。
如果这解决了问题,您可以在这里停止。如果没有,请继续下一步。
第四步是用另一个编辑器打开mxml,比如TextEdit或记事本。
查找这一令人不快的行
<s:Image id="background" width="100%" height="100%" smooth="true" smoothingQuality="high"
scaleMode="zoom" source="@Embed('theme/assets/MaxBackground.png')"/>移除smoothingQuality和smooth属性
<s:Image id="background" width="100%" height="100%"
scaleMode="zoom" source="@Embed('theme/assets/MaxBackground.png')"/>保存文件
第五步,现在尝试使用Flash Builder 4.6打开该项目
smoothingQuality和平滑影响无响应的原因尚不清楚。
发布于 2012-12-05 00:14:22
我刚刚试了一下金西亚的答案,结果成功了!
这有点好笑,但这就是原因。我停用了这两个同样令人不快的属性:smooth="true"和smoothingQuality="high",FB现在闪电般的速度。
希望能有所帮助
https://stackoverflow.com/questions/9900610
复制相似问题