Visualizzazione dei risultati da 1 a 2 su 2
  1. #1

    Sono riuscito a creare il from mail ma..

    Ho creato il from mail tutto in flash 8 e funziona alla perfezione.
    Sto imparando il flash dal libro ufficiale di macromedia flash 8.

    Adesso nelle istruzioni dice praticamente di inserire questo nell'actions:

    codice:
    //stops things from goofing up.
    stop();
    
    //sets a tab index for the components
    tiEmail.tabIndex=1;
    tiSubject.tabIndex=2;
    taMessage.tabIndex=3;
    bSend.tabIndex=4;
    
    //sets a default component to react to the enter key on the keyboard
    focusManager.defaultPushButton=bSend;
    
    //sets form focus
    focusManger.setFocus(tiEmail);
    
    
    //sends the data out
    bSend.onRelease = function() {
     var targetLoadVars:LoadVars = new LoadVars();
     var myLoadVars:LoadVars = new LoadVars();
     myLoadVars.emailFrom = tiEmail.text;
     myLoadVars.emailTo =tiEmailTo.text;
     myLoadVars.subject = tiSubject.text;
     myLoadVars.message =taMessage.text;
     myLoadVars.sendAndLoad ("http://www.flash-mx.com/ws/submit_feedback.cfm", targetLoadVars, "POST");
     targetLoadVars.onLoad = function() {
     trace(this.success);
     };
     gotoAndStop("thankyou");
    };
    Guardate questa riga:

    myLoadVars.sendAndLoad ("http://www.flash-mx.com/ws/submit_feedback.cfm" targetLoadVars, "POST");

    In pratica mi fà inviare il post tramite qualcosa che stà su flash-mx.com... Ecoo io vorrei che quella cosa (non so cosa sia se sia altro codice action script o che cos altro perchè sono alle prime armi) sta sul mio dominio.

    Ecco il link: http://www.fabiospecial.it/lol.swf

  2. #2

Permessi di invio

  • Non puoi inserire discussioni
  • Non puoi inserire repliche
  • Non puoi inserire allegati
  • Non puoi modificare i tuoi messaggi
  •  
Powered by vBulletin® Version 4.2.1
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved.