在我的项目中,我们需要在flash builder 4.6中检索/显示aspx页面,我们正在尝试像mxml应用程序(主页)中的代码......
protected function imgtesting_clickHandler(event:MouseEvent):void
{
// TODO Auto-generated method stub
var win:Imageview=PopUpManager.createPopUp(this ,Imageview,true) as Imageview;
win.testobjpckt=this;
PopUpManager.centerPopUp(win);
}
并在标题窗口(弹出窗口)中,代码就像....
<dgFooter:IFrame id="iframe" width="984"
height="352" autoResize="true"
horizontalScrollPolicy="off"
overlayDetection="true"
url="http://localhost/......../Default.aspx"
verticalScrollPolicy="off"/>
这里我们可以将aspx页面放到flashbuilder 4.6中,我们可以显示aspx页面的控件,这些控件也正常工作,ISSUE是: “设计:ASPX页面的设计重叠在窗口(窗口)和控件的位置也在闪存构建器和ASPX整个页面设计正在变化(在控制的感觉位置正在变化)所以我们是真的很难将设计从闪存建筑师的视觉工作室转移到闪存建造者“。
所以我们真的需要一个解决方案来解决这个问题。如果有任何帮助,我将非常感谢他们......
答案 0 :(得分:0)
最后我得到了设计的解决方案,我做的是...... 我只是通过调整x,y坐标来改变IFRAME的Action-script文件,如..
override protected function commitProperties():void
{
super.commitProperties();
if(positionChanged)
{
var point:Point = localToGlobal(new Point(154,24));
callJS(methodMove, point.x, point.y);
positionChanged = false;
}
if(sizeChanged)
{
callJS(methodResize, width, height);
sizeChanged = true;
}
}
所以,这使我的问题得以解决......