vendredi 10 mars 2017

A conflict exists with inherited definition flash.display:MovieClip.isPlaying in namespace public

errore (private var isPlaying:Boolean;),i want paly more mp3 file for my project.help me. Here's my code starts:

public class PlayerClass extends MovieClip 
{
    private var urlLoader:URLLoader;
    private const xmlPath:String = "playlist.xml";//xml path
    private var xml:XML;
    private var songs:Array;// array for song paths
    private var titles:Array;// array for song titles   
    private var currentSong:Number  = 0; 
    private var sound:Sound;
    private var context:SoundLoaderContext;
    private var channel:SoundChannel;   
    private var isPlaying:Boolean;      
    private var isStopped:Boolean;
    private var songPosition:int = 0;

Aucun commentaire:

Enregistrer un commentaire