mxml文件在windows下编译linux下运行
最近遇到这么个问题,我在windows下用mxmlc控制台命令编译mxml文件生成的swf文件,拷贝到linux系统下无法显示,这个mxml文件代码如下:
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"
layout="absolute" minWidth="1024" minHeight="768"
backgroundColor="#FFFFFF" borderColor="#FFFFFF" applicationComplete="application1_applicationCompleteHandler(event)">
<mx:Script>
<![CDATA[
import mx.events.FlexEvent;
protected function application1_applicationCompleteHandler(event:FlexEvent):void
{
// TODO Auto-generated method stub
videoDisplay.play();
}
]]>
</mx:Script>
<mx:VideoDisplay id="videoDisplay" playheadTime="150" visible="false" playheadUpdate="{videoDisplay.visible = true;}" x="504" y="42" width="268" height="250" autoPlay="false" source="1111.flv"/>
</mx:Application>
其中1111.flv文件的路径肯定是对的,这个mxml文件在linux下debug版本编译执行是正常的,release版本也不正常,请问各位高手,问题出在那里?{{
相关问答:
写了个测试程序如下
struct hostent *hp;
char AlarmDevIP[20];
int x2;
hp = gethostbyname("www.google.com");
if (hp)
{
......
我目前在本地的linux上写了一个swing的界面,想通过这个界面来控制其它电脑的linux重启。
我知道用Runtime.getRuntime().exec("shutdown -r");可以控制本机Linux重启,但是怎么控制远程的linux重启呢? ......
小弟最近需要一个用socket获取html文档的代码,但是老是不能获取完整的html源码。原因不明,望高手指点!
C/C++ code:
char *Http_GET(char *host,int port,char *data) //发送GET请求
{
char response[2 ......
各位大虾,我正在学习Linux,可是Linux图形界面和命令行之间切换遇到困难,在命令行下输入startx,不是进入图形界面
而是出现
请问各位,这是为什么? 而且按Ctrl+Alt+F7,也不能命令行进入图形界面。&nbs ......
由于我才刚刚接触socket编程,自己写了一个简单程序,但就是在运行的时候出现段错误,无法解决,现在我把源代码贴出来,请各位大虾指正一下!谢谢!
#include<stdio.h>
#include<stdlib.h>
#include& ......