I figured out. Thanks people.
On 9/27/07, Arleston Lueders <[EMAIL PROTECTED]> wrote: > > Yea, still not working :/ > > Could not resolve <SoundPlayer> to a component implementation. > > > > On 9/27/07, Jeffry Houser < [EMAIL PROTECTED]> wrote: > > > > > > I've never seen that syntax before, so can't speak for that. > > > > Disclaimer: I have not reviewed the code in question. > > > > Are you trying to import the code, or include it? They are two > > distinctly different things. > > > > I would expect that SoundPlayer.as s component, and you need to import > > it. > > > > Something like this: > > > > <mx:Script> > > import SoundPlayer > > </mx:Script> > > > > Most likely in this case, it will have some form of package name, but > > that is not necessarily true. > > > > To include it: > > > > <mx:script> > > include "SoundPlayer.as" > > </mx:script> > > > > I use this very rarely. I'd never do it if SoundPlayer.as includes > > all code. > > > > Arleston Lueders wrote: > > > > > > > > > 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]<manish.jethani%40gmail.com> > > > <mailto:[EMAIL PROTECTED] <manish.jethani%40gmail.com>>> wrote: > > > > > > On 5/6/07, Sebastian Mohr <[EMAIL PROTECTED]<sebastian.mohr%40gmail.com> > > > <mailto: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 > > > <http://mannu.livejournal.com/343918.html> > > > > > > <SoundPlayer source="boombastic.mp3" position="{slider.value}" /> > > > > > > > > > > > > > -- > > Jeffry Houser, Technical Entrepreneur, Software Developer, Author, > > Recording Engineer > > AIM: Reboog711 | Phone: 1-203-379-0773 > > -- > > My Company: <http://www.dot-com-it.com> > > My Podcast: <http://www.theflexshow.com> > > My Blog: <http://www.jeffryhouser.com> > > > > > > > >

