my question is, how can you upload to server, i cant do that :(
On 1/25/07, Webdevotion <[EMAIL PROTECTED]> wrote:
Another problem that I have is that my cfc method will not accept my ByteArray. Actionscript: ========= var picture:Picture = Slideshow.getInstance().getPicture(); var bmp:BitmapData = new BitmapData( picture.width,picture.height,false); bmp.draw(picture); var myPNG:ByteArray = PNGEncoder.encode(bmp); Coldfusion: ======== <cffunction name="saveToDisk" access="remote" returntype="any"> <cfargument name="ext" type="string" required="true" default="jpg"> <cfargument name="img" type="binary" required="true"> .... </cffunction> It always throws an error: The argument IMG passed to function saveToDisk() is not of type binary.
-- ----------------------------------------------------------------------------------------------------------------------------------------------------------------- Franto http://blog.franto.com http://www.flashcoders.sk