Buscar

Complete the programming code below according to the instructions: Create a file named SoundItem and define the structure. This will not be a visua...

Complete the programming code below according to the instructions:
Create a file named SoundItem and define the structure. This will not be a visual object, so it does not need to descend from Sprite. This class defines three properties: musica, foto, and thumb. All are Strings.
Make it receive this data in the constructor and pass the received value in the constructor to the properties.
This will be the class that represents each of the options in the list. It must descend from Sprite.
Define the structure of the class and make it descend from Sprite.
Each instance of this class defines a property item, of type SoundItem. Create this property.
Modify the constructor to receive a SoundItem as a parameter, and make it pass this parameter to the newly declared SoundItem property.
Define the method onID3.
Declare a variable of the ID3Info type.

Essa pergunta também está no material:

Programacao_ActionScript_com_Flash_CS5
90 pág.

Html e Css Universidade Estácio de SáUniversidade Estácio de Sá

💡 1 Resposta

User badge image

Ed Verified user icon

Aqui está um exemplo de como você pode completar o código: ```python class SoundItem(Sprite): def __init__(self, musica, foto, thumb): super().__init__() self.musica = musica self.foto = foto self.thumb = thumb class ID3Info: # Defina a estrutura da classe ID3Info aqui def onID3(): id3_info = ID3Info() # Declare uma variável do tipo ID3Info aqui # Restante do código... ``` Lembre-se de que este é apenas um exemplo e pode haver outras maneiras de implementar o código. Certifique-se de entender os requisitos e as instruções fornecidas antes de completar o código.

0
Dislike0

Faça como milhares de estudantes: teste grátis o Passei Direto

Esse e outros conteúdos desbloqueados

16 milhões de materiais de várias disciplinas

Impressão de materiais

Agora você pode testar o

Passei Direto grátis

Você também pode ser Premium ajudando estudantes

✏️ Responder

SetasNegritoItálicoSublinhadoTachadoCitaçãoCódigoLista numeradaLista com marcadoresSubscritoSobrescritoDiminuir recuoAumentar recuoCor da fonteCor de fundoAlinhamentoLimparInserir linkImagemFórmula

Para escrever sua resposta aqui, entre ou crie uma conta

User badge image

Outros materiais