HTML a ActionScript

  • makhan
  • Novice
  • Novice
  • No Avatar
  • Registrado: Jun 02, 2007
  • Mensajes: 31
  • Status: Offline

Nota Junio 28th, 2007, 11:55 am

Tengo esta parte de las etiquetas HTML que pasa algunos insumos para su aplicación en el cgi-bin. ¿Es posible transformar eso en flash código ActionScript. Le agradecería si alguien me podría ayudar con el código TRANSFORMACIÓN.

Gracias





Código: [ Select ]
<form action="/cgi-bin/matweb.exe" method="POST">
<input type="hidden" name="mlmfile" value="webmagic">
<p>Magic square size (minimum is 3, maximum is 20):
<input type="text" size="2" maxlength="2" name="msize"></p>
<p><input type="submit" name="Submit" value="Submit"></p>
</form>
  1. <form action="/cgi-bin/matweb.exe" method="POST">
  2. <input type="hidden" name="mlmfile" value="webmagic">
  3. <p>Magic square size (minimum is 3, maximum is 20):
  4. <input type="text" size="2" maxlength="2" name="msize"></p>
  5. <p><input type="submit" name="Submit" value="Submit"></p>
  6. </form>
  • Anonymous
  • Bot
  • No Avatar
  • Registrado: 25 Feb 2008
  • Mensajes: ?
  • Loc: Ozzuland
  • Status: Online

Nota Junio 28th, 2007, 11:55 am

  • Rafe
  • Newbie
  • Newbie
  • No Avatar
  • Registrado: Jun 28, 2007
  • Mensajes: 8
  • Status: Offline

Nota Junio 28th, 2007, 12:41 pm

Ver si esto ayuda. Sus dos años pero que todos debemos aplicar el mismo.
  • Nucleo
  • SausagePorkPie
  • Mastermind
  • Avatar de Usuario
  • Registrado: Ago 16, 2003
  • Mensajes: 2297
  • Loc: UK - England
  • Status: Offline

Nota Junio 29th, 2007, 4:51 am

Código: [ Select ]
//Create variable to hold item to be sent
SentItem : LoadVars = new LoadVars();
//Create variable to hold received items
ReceivedItem : LoadVars = new LoadVars();

send_btn.OnRelease = process

function process {
//Load variables into SentItem
SentItem.msize = msize.text;
SentItem.mlmfile = "webmagic";

//Send Variables to script, ReceivedItem hold Response.
SentItem.sendAndLoad ("/cgi-bin/matweb.exe", ReceivedItem);
}
  1. //Create variable to hold item to be sent
  2. SentItem : LoadVars = new LoadVars();
  3. //Create variable to hold received items
  4. ReceivedItem : LoadVars = new LoadVars();
  5. send_btn.OnRelease = process
  6. function process {
  7. //Load variables into SentItem
  8. SentItem.msize = msize.text;
  9. SentItem.mlmfile = "webmagic";
  10. //Send Variables to script, ReceivedItem hold Response.
  11. SentItem.sendAndLoad ("/cgi-bin/matweb.exe", ReceivedItem);
  12. }


SIN PROBAR...
acabo de escribir esto directamente en el foro, no tiene Flash en el trabajo. Pero así es como yo lo haría. Usted sólo necesita tener un cuadro de texto en el escenario para celebrar msize. Así es como yo lo haría si me iba a enviar a un script Este es el envío a un archivo. Exe. Ni idea de lo que sucederá.
Espero que ayuda
Codebuddies - Website Development Resource
|INCLUDE(), INCLUDE_ONCE(), REQUIRE() IN PHP | - / - |MICROSOFT CRM 4.0 ONCLICK EVENT WITHIN FORM |

Publicar Información

  • Total de mensajes en este tema: 3 mensajes
  • Usuarios navegando por este Foro: No hay usuarios registrados visitando el Foro y 30 invitados
  • No puede abrir nuevos temas en este Foro
  • No puede responder a temas en este Foro
  • No puede editar sus mensajes en este Foro
  • No puede borrar sus mensajes en este Foro
  • No puede enviar adjuntos en este Foro
 
 

© 2011 Unmelted, LLC. Ozzu® es una marca registrada de Unmelted, LLC