[flexcoders] Converting TIFF to Jpg and sending as a bytestream

2007-04-17 Thread truongdav
Hi, I am trying to convert a tiff to a jpg and send to a preview screen using a remote service and loading using Loader class. Like this. var img : ByteArray = event.result as ByteArray; var loader : Loader = new Loader(); loader.loadBytes(img); myModel.img.addChild(load

[flexcoders] Re: Converting TIFF to Jpg and sending as a bytestream

2007-04-18 Thread truongdav
_ > > From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On > Behalf Of truongdav > Sent: Tuesday, April 17, 2007 9:59 AM > To: flexcoders@yahoogroups.com > Subject: [flexcoders] Converting TIFF to Jpg and sending as a bytestream > > > > Hi, > > I am t

[flexcoders] Re: Converting TIFF to Jpg and sending as a bytestream

2007-04-19 Thread truongdav
Thanks Alex. --- In flexcoders@yahoogroups.com, "Alex Harui" <[EMAIL PROTECTED]> wrote: > > set minHeight/minWidth = 0 on the HBox that you want to have scrollbars. > > > > From: flexcoders@yahoogroups.com [mailto:[EMAIL P

[flexcoders] RemoteObject handling exceptions onFault

2007-05-15 Thread truongdav
Hi, I am having problems I want to throw some exception on a remote call and then display the Exception on the client side. But this always returns an onResult instead of an onFault. Anything I am doing wrong? Thanks. --- POJO --- public void test() throws Exception { throw new exception(

[flexcoders] Re: RemoteObject handling exceptions onFault

2007-05-17 Thread truongdav
Anyone know the answer for this? --- In flexcoders@yahoogroups.com, "truongdav" <[EMAIL PROTECTED]> wrote: > > Hi, > > I am having problems I want to throw some exception on a remote call > and then display the Exception on the client side. But this always &

[flexcoders] Re: RemoteObject handling exceptions onFault

2007-05-22 Thread truongdav
I think i found my stupid mistake just need to wrap in a MessageException. --- In flexcoders@yahoogroups.com, "truongdav" <[EMAIL PROTECTED]> wrote: > > Anyone know the answer for this? > > > --- In flexcoders@yahoogroups.com, "truongdav" wrote: &g