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

    [as] istanziare un pulsante e assegnare un azione

    come posso assegnare del codice a questo pulsante?

    codice:
     
    attachMovie("pul", "Pul_btn"+i, i+7);
    	btn = this["Pul_btn"+i]
    	btn._x = 30;
    	btn._y =60*i;

    grazie
    Wami agency
    Io odio tutti gli up-loads!

  2. #2
    Utente di HTML.it L'avatar di negatyve
    Registrato dal
    Feb 2001
    Messaggi
    9,479
    codice:
    attachMovie("pul", "Pul_btn"+i, i+7);
    btn = this["Pul_btn"+i]
    btn._x = 30;
    btn._y =60*i;
    btn.onRelease = function()
    {
    	// tue azioni
    }

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.