Ho provato a scrivere il seguente codice per caricare un suono che ho già in liberia. ma non funziona... come mai?
come import ho usato:
Codice PHP:
    import flash.display.MovieClip;
    
import flash.display.SimpleButton;
    
import flash.media.Sound
codice
Codice PHP:
        //Creiamo un'istanza per l'evento suono
        
var thunder1_sound:Sound = new Sound();
        
//thunder1_sound.loadSound("sounds/Tuono.mp3", false);//prendo il suono da esterno
        
thunder1_sound.attachSound("Tuono_mp3"); // prendo il suono dalla libreria denominato "Tuono_mp3": da errore 1120
        
thunder1_sound.start(); // Riproduco il suono: da errore 1061 
errore:
1120: Access of undefined property thunder1_sound.
1061: Call to a possibly undefined method start through a reference with static type flash.media:Sound.
aiuto...