10银子
最开始是Can't find variable: HTMLVideoElement
然后我把HTMLVideoElement 删掉了,之后又出现了
Can't find variable: __define
Can't find variable: egret
想问下,要怎么才能支持
mxml代码
[mw_shl_code=xml,true]<?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">
<fx:Script>
<![CDATA[
import mx.events.FlexEvent;
protected function button1_clickHandler(event:MouseEvent):void
{
ht.location=text.text;
}
]]>
</fx:Script>
<fx eclarations>
<!-- 将非可视元素(例如服务、值对象)放在此处 -->
</fx eclarations>
<mx:HTML id="ht" width="100%" height="100%"/>
<s:TextInput id="text" width="550" x="150" y="150"/>
<s:Button label="跳转" click="button1_clickHandler(event)" x="700" y="150"/>
</s:WindowedApplication>[/mw_shl_code]
|
|