मैं कोड EmbedAssets.as की कोशिश की यहाँ नमूने में पाया नीचे: http://www.senocular.com/flash/tutorials/as3withmxmlc/mx.core :: BitmapAsset नहीं पाया जा सका
जब mxmlc.exe साथ निर्माण और ouput EmbedAssets.swf में परीक्षण मैं यह त्रुटि आई फ़्लैश प्लेयर 9:
VerifyError: त्रुटि # 1014: mx.core :: BitmapAsset नहीं पाया जा सका
package {
import flash.display.Sprite;
public class EmbedAssets extends Sprite {
[Embed(source="images/trophy.png")]
private var TrophyImage:Class;
[Embed(source="swfs/satdish.swf")]
private var SatelliteAnimation:Class;
public function EmbedAssets() {
addChild(new SatelliteAnimation());
addChild(new TrophyImage());
}
}
}
satdish.swf दूषित नहीं है तो मुझे समझ नहीं आता क्यों यह त्रुटि संदेश।
धन्यवाद। [Mxmlc कंपाइलर झंडे दस्तावेज] के अनुसार (http://livedocs.adobe.com/flex/3/html/help.html?content=compilers_13.html), यह डिफ़ॉल्ट रूप से सच है। ऐसा लगता है कि एडोब का दस्तावेज गलत है। –