SWF加载器控件 SWFLoaderControl

SWF加载器控件

书:165

<?xml version="1.0" encoding="utf-8"?>
<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009" 
               xmlns:s="library://ns.adobe.com/flex/spark" 
               xmlns:mx="library://ns.adobe.com/flex/mx" minWidth="955" minHeight="600">
    <fx:Declarations>
        <!-- 将非可视元素(例如服务、值对象)放在此处 -->
    </fx:Declarations>
    <!-- SWF加载器控件 -->
    <mx:Panel title="SWF加载器控件" height="90%" width="90%"
               paddingTop="10" paddingLeft="10" paddingRight="10" paddingBottom="10">
        <mx:Label color="blue" fontSize="14" text="此标签在SWF应用之外"/>
        <mx:SWFLoader id="load" height="100" width="350"
                      source="@Embed(source='../bin-debug/ImageControl.swf')" />
    </mx:Panel>
</s:Application>

 

posted @ 2019-04-10 17:17  阴翳公子  阅读(201)  评论(0编辑  收藏  举报