Newbie question:
I'm trying to import/include the SoundPlayer.as to my Flex app.
<mx:Script source="SoundPlayer.as"/>
And after this in a panel Im putting the code:
<SoundPlayer source="fortminor.mp3"/>
But it's giving an error:
1037: Packages cannot be nested.

What am I doing wrong?
Thanks

On 5/6/07, Manish Jethani <[EMAIL PROTECTED]> wrote:
>
>   On 5/6/07, Sebastian Mohr <[EMAIL PROTECTED]<sebastian.mohr%40gmail.com>>
> wrote:
>
> > is there anybody who can explain how to
> > give a mx:HSlider-component the ability to
> > scrub in a MP3-file?
>
> Basically you have to call play() on the Sound object with the new
> position as the argument.
>
> Or you can use the SoundPlayer component:
>
> http://mannu.livejournal.com/343918.html
>
> <SoundPlayer source="boombastic.mp3" position="{slider.value}" />
>  
>

Reply via email to