J'essaie de compiler gui/flex/songs.mxml
dans la quatrième édition du livre de Bruce Eckel Thinking in Java et j'obtiens une erreur de compilation avec Flex 3.4.mx: MediaPlayback Flex tag
Voici une version simplifiée de l'exemple qui donne la même erreur:
<?xml version="1.0" encoding="utf-8"?>
<mx:Application
xmlns:mx="http://www.adobe.com/2006/mxml"
backgroundColor="#B9CAD2">
<mx:MediaPlayback id="songPlayer"
contentPath=""
mediaType="MP3"
height="70"
width="230"
controllerPolicy="on"
autoPlay="false"
visible="false" />
</mx:Application>
Voici l'invocation et l'erreur:
>mxmlc.exe songs.mxml
Loading configuration file C:\javaTools\flex_sdk_3.4\frameworks\flex-config.xml
C:\songs.mxml(5):
Error: Could not resolve <mx:MediaPlayback> to a component implementation.
<mx:MediaPlayback id="songPlayer"
Qu'est-ce que je fais mal ici?