Running into strange behaviour with flex 3.5. Here is a minimal code: build.xml target:
<target name="player">
<mxmlc
file="${APP_ROOT}/player.mxml"
output="${APP_ROOT}/player_old.swf"
keep-generated-actionscript="false"
static-link-runtime-shared-libraries="true"
debug="false">
<load-config filename="${FLEX_HOME}/frameworks/flex-config.xml"/>
<source-path path-element="${FLEX_HOME}/frameworks"/>
<compiler.library-path dir="${APP_ROOT}" append="true">
<include name="lib"/>
</compiler.library-path>
</mxmlc>
</target>
player.mxml:
<?xml version="1.0"?>
<PlayerApp
xmlns="*"
xmlns:fx="http://www.adobe.com/2006/mxml">
</PlayerApp>
运动员:
package {
import flash.display.Sprite;
import flash.media.Video;
import flash.events.*;
public class PlayerApp extends Sprite {
public function PlayerApp() {
this.loaderInfo.addEventListener(flash.events.Event.INIT, init);
}
private function init(e:Event):void {
this.addChild(new Video());
trace("loaderInfo: "+root.loaderInfo.width+"x"+root.loaderInfo.height+"
");
trace("root stage: "+root.stage.width+"x"+root.stage.height+"
");
}
}
}
物体:
<object width="320" height="240" id="_261178285" name="_261178285" data="player_old.swf" type="application/x-shockwave-flash">
<param name="allowfullscreen" value="true">
<param name="allowscriptaccess" value="always">
<param name="quality" value="high">
<param name="cachebusting" value="true">
<param name="wmode" value="opaque">
<param name="flashvars" value="config={irrelevant}">
</object>
用精彩的演员进行追踪,可得出以下痕迹:
loaderInfo: 500x375
root stage: 320x240
由此导致一种情况,即只展示250x154或50x375×320x240元的镜子,该录像带上了该片。
回答问题: 有可能避免这种ug,以便 s子仍然使用9.0.115号闪电版本。 由于参与者的规模在不久的将来会发生变化,我也不想把建筑群的大小编码起来。
申斥: 使用3.5法作为第9.0.115号闪电器的每米,必须支持第9.0.115号闪电,因为