My flex 3.5 application has an audio player whose content is accessed by calling an AMF service to get the mp3 data. As far as I can tell, flash.media.Sound is initialized with a URLRequest, so it's not clear to me how I can provide it with data using my RemoteObject.
I want to do one of the following things:
- Provide data to the
Soundobject'sloadmethod from aRemoteObjectservice call. - Create a
URLRequestobject that will perform the requisite AMF wrapping so that my service implementation will look exactly like any other service call if at all possible. - Any alternative that allows me to invoke a PHP4 AMF service and play the audio it returns in a Flash audio player.