Se não me engano a classe NetConnection apenas faz ligações a Flash Remoting
e Flash Media Server, penso que seria melhor opção utilizares as classes
RemoteObject, HTTPService ou WebService para obeteres o que pretendes.

 

  _____  

From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of
André Tapxure Gabriel
Sent: terça-feira, 8 de Abril de 2008 3:30
To: [email protected]
Subject: [riapt] Estranho...

 

Olah, pessoal

Ao tentar acessar algum de meus métodos do amf, obtenho do ServiceCapture o
seguinte erro:

<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">

<html><head>

<title>404 Not Found</title>

</head><body>

<h1>Not Found</h1>

<p>The requested URL /admin/amfphp/gateway.php was not found on this
server.</p>

</body></html>

Acontece que o gateway.php estah no lugar onde deveria (funciona em outros
lugares). 

O metodo que invoca o gateway eh 

                               public function onInit():void

                               {

                                               var d:Date  = new Date();

                                               var d2:Date = new
Date(2008,3,22,0,0,0,0);

                                               if (d2<d) {

 
this.currentState='acessoNegado';

                                               }

                                               gateway = new
NetConnection();

 
gateway.connect("./amfphp/gateway.php");

                               }

 

O resultado de chamar o gateway.php eh

amfphp and this gateway are installed correctly. You may now connect to this
gateway from Flash.

Note: If you're reading an old tutorial, it will tell you that you should
see a download window instead of this message. This confused people so this
is the new behaviour starting from amfphp 1.2.

View the <http://www.amfphp.org/docs>  amfphp documentation

 

 

logosi150

André Tapxure Gabriel, Ms.

[EMAIL PROTECTED]

[EMAIL PROTECTED]

(62) 8405-4960

 

De: [email protected] [mailto:[EMAIL PROTECTED] Em nome de André
Tapxure Gabriel
Enviada em: quinta-feira, 7 de fevereiro de 2008 08:21
Para: [email protected]
Assunto: [riapt] Passar parametro para o swf a partir do HTML

 

Olah, pessoal!

Alguém sabe como passar um parâmetro pro swf do flex a partir do HTML que o
carrega?!

 

 

logosi

André Tapxure Gabriel, Ms.

email:[EMAIL PROTECTED]

msn:[EMAIL PROTECTED]

(62)8405-4960

 

 

 





--~--~---------~--~----~------------~-------~--~----~
Recebeu esta mensagem porque está inscrito em Grupo "Mailing List da Comunidade 
Portuguesa de Desenvolvimento de RIAs - www.riapt.org" do Grupos Google.
 Para enviar mensagens para este grupo, envie um email para 
[email protected]
 Para anular a inscrição neste grupo, envie um email para [EMAIL PROTECTED]
 Para mais opções, visite este grupo em 
http://groups.google.com/group/riapt?hl=pt-PT
-~----------~----~----~----~------~----~------~--~---

<<inline: image001.gif>>

<<inline: image002.gif>>

Responder a