Results 1 to 5 of 5

Thread: Help Flash

  1. #1
    Lieutenant Commander Bakaras's Avatar
    Join Date
    Apr 2004
    Location
    Roma
    Posts
    9.562

    Default Help Flash

    devo passare dei valori da flash a ASP, ma non sono uno scripter actionscript , e devo a quanto pare commettere un errore da qualche parte sto impazzendo.

    Code:
    on (release) {
    variabile = new LoadVars();
    variabile.nome = this._parent.nomex;
    variabile.cognome = this._parent.cognomex ;
    variabile.email = this._parent.emailx ;
    variabile.sendAndLoad("iscrizione.asp",variabile,"POST");
    variabile.onLoad = function () {
    trace( "la risposta della pagina ASP è= " + variabile.risposta);
    appoggio = variabile.risposta ;
    trace ("appoggio = " + appoggio) ;
    }
    this._parent.risposta.text = appoggio ;
    }
    la pagina ASP non fà altro ( per ora ) che questo:

    response.write"&risposta=caricamento OK "

    il primo trace restituisce quello che deve, cioè : "la risposta della pagina ASP è=caricamento OK"

    il secondo trace fà quello che deve anche lui

    ma

    this._parent.risposta.text = appoggio ;

    mi valorizza UNDEFINED

    se la porto dentro la variabile.onload non mi dà l'undefined ma non stampa una minchia dentro quella textbox.

    naturalmente, se metto:

    this._parent.risposta.text=" mannaggia quel porco"

    mi riempe correttamente la text box.

    Ho il pc posseduto e devo fare un esorcismo o cosa?

    help plz

    Once upon a time....
    Bakaras Night elf Warrior DragonLance on WOW server DAGGERSPINE
    Bakaras Fjellstorm Nordic healer 4lx Guildmaster DrL on Daoc server Lancelot
    Bakaras Fjellstorm Troll skald 6lx Guildmaster DragonLance on Daoc server Vortigern
    Viridian Fjellstorm Nordico healer 4lx Guildmaster Dragonlance on Daoc server Vortigern

    Quote Originally Posted by peluche View Post
    quindi burino e onesto...mai pensato di farla finita?

  2. #2
    Lieutenant Commander Bakaras's Avatar
    Join Date
    Apr 2004
    Location
    Roma
    Posts
    9.562

    Default

    risolto, fanculo a flash e al suo assistente per i target fatto con il culo.

    Once upon a time....
    Bakaras Night elf Warrior DragonLance on WOW server DAGGERSPINE
    Bakaras Fjellstorm Nordic healer 4lx Guildmaster DrL on Daoc server Lancelot
    Bakaras Fjellstorm Troll skald 6lx Guildmaster DragonLance on Daoc server Vortigern
    Viridian Fjellstorm Nordico healer 4lx Guildmaster Dragonlance on Daoc server Vortigern

    Quote Originally Posted by peluche View Post
    quindi burino e onesto...mai pensato di farla finita?

  3. #3
    Lieutenant Commander Suppa's Avatar
    Join Date
    May 2004
    Posts
    5.098

    Default

    Quote Originally Posted by Bakaras View Post
    risolto, fanculo a flash e al suo assistente per i target fatto con il culo.
    si 9 versioni e ancora ti ficca quel fottuto this. davanti
    e il bello è che anche se sintassicamente è corretto... quando lo compili manda tutto a puttane
    "Computer games don’t affect kids. I mean if Pacman affected our generation as kids, we’d all be running around in a darkened room, munching pills and listening to repetitive electronic music."
    "What's a XBOX360 now? A beta-testing platform for the PS3 final version?"
    Official DickShit of [W] Games Pwnage!


    || www.cpstudio.net || www.framedealer.it || www.foto-genique.com ||

  4. #4
    Warrant Officer kopl's Avatar
    Join Date
    Sep 2003
    Posts
    2.992

    Default

    quando usi il target in flash impostalo in "absolute" e non il "local"
    www.sbvideo.it
    Revendìco absolutamente el derecho al vagabundeo, a la aventura, a la utopia y al romanticismo


  5. #5
    Lieutenant Commander Suppa's Avatar
    Join Date
    May 2004
    Posts
    5.098

    Default

    Quote Originally Posted by kopl View Post
    quando usi il target in flash impostalo in "absolute" e non il "local"
    Sicuramente risolve i problemi di sintassi con this.
    Ma crea poi i problemi di sintassi / conflitti tra _parent e _root.

    A onor di cronaca un constructor basato su target locali funziona molto meglio di uno basato su assoluti, cosi' come this. generalmente va sottinteso (a oggi, con AS3).
    "Computer games don’t affect kids. I mean if Pacman affected our generation as kids, we’d all be running around in a darkened room, munching pills and listening to repetitive electronic music."
    "What's a XBOX360 now? A beta-testing platform for the PS3 final version?"
    Official DickShit of [W] Games Pwnage!


    || www.cpstudio.net || www.framedealer.it || www.foto-genique.com ||

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
[Output: 58.32 Kb. compressed to 49.86 Kb. by saving 8.46 Kb. (14.50%)]