0

AS3: Errore in Filereference Load()

Posted maggio 9th, 2010 in Articoli Tecnici and tagged , , , , , , , by vannyn

In Flash per caricare un file si usa la funzione load() della classe FileReference. Un errore che capita spesso durante la compilazione è il seguente:

Call to a possibly undefined method load through a reference with static type flash.net:FileReference.

In questo caso basta impostare il compilatore di Flash (in publish settings) con compatibilità per flash player 10 (anzichè 9).

Questo eprchè la funzione load è disponibile dalla versione 10 (ma và!).

Leave a Reply