10 Replies Latest reply on Jul 13, 2006 9:53 AM by I'mAndy

    My compiled swf can't be browsed on web

      My compiled swf can't be browsed on web,but it works fine on localhost. Which means that my compiled swf can run on localhost, but if I try to run the swf on web(from other machine), then it will hold for a long time, and I can't see anything but a grey screen. I wrap my swf file via Flex builder. I can't figure it out. Is there any one who have ever had experences like this, and know the solutions?
      My MXML is:

      <?xml version="1.0" encoding="utf-8"?>
      <mx:Application xmlns:mx=" http://www.adobe.com/2006/mxml" layout="absolute" creationComplete="testRmt.send()">
      <mx:HTTPService id="testRmt" url="" useProxy="false" method="POST">
      <mx:request xmlns="*">
      <id>{myDG.selectedItem.id}</id><username>{username.text}</username><email>{email.text}</e mail>
      import flash.net.LocalConnection;
      public var OP:String;
      public var ad:LocalConnection = new LocalConnection();
      <mx:Button label="Send" click="OP='INS';testRmt.send()" x="446" y="204"/>
      <mx:HBox horizontalScrollPolicy="off" width="200" height="24" y="142" x="300">
      <mx:Label text="Username:"/>
      <mx:TextInput id="username"/>
      <mx:HBox horizontalScrollPolicy="off" width="200" x="300" y="174">
      <mx:Label text="Email:"/>
      <mx:TextInput id="email"/>
      <mx:DataGrid id="myDG" width="625" height="200" x="87.5" y="234" dataProvider="{testRmt.lastResult.users.user}" click="delBtn.enabled=true" >
      <mx:DataGridColumn width="25" headerText="Id" dataField="id"/>
      <mx:DataGridColumn width="150" headerText="Name" dataField="name"/>
      <mx:DataGridColumn width="450" headerText="Email" dataField="email"/>
      <mx:Button enabled="true" label="Del" id="delBtn" click="OP='D';testRmt.send();username.text='';email.text='';" x="667.5" y="442"/>
      <mx:Label x="10" y="10" text="Flex Example" width="186" fontSize="15" color="#ffffff"/>

      Thx a lot.