Re: [Flashcoders] Uploading Image Displaying in Flash [AS3]
Hi Stuart, Once your ASP file has retrieved the uploaded image, then it can simply display it as binary. The URLLoader object that you use after that will retrieve a BINARY data that you can load into a Loader instance :) How do you proceed to upload your picture for now ? Regards, Cedric On Sun, Apr 6, 2008 at 5:55 PM, Stuart Moir [FunkDaWeb] [EMAIL PROTECTED] wrote: Hi can you point me to any examples/tutorials for the following problem... I want to upload an image through a flash app via ASP (the asp part is not a problem) and then have it displayed in the flash application. I know how to send the image to ASP but don't know how to wait for it to be uploaded then display it in flash. This might be really simple but I just can not figure it out in my head! SM ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Uploading Image Displaying in Flash [AS3]
Hi Cedric Its currently an XML value with the file name i.e. MYIMAGE01 then in flash the path is hard coded i.e. uploadedimage/ + xmlClass.xmlData.ImageURL + .jpg So i presume i would need to reload the XML file? SM - Original Message - From: Cédric Tabin To: Flash Coders List Sent: Sunday, April 06, 2008 5:06 PM Subject: Re: [Flashcoders] Uploading Image Displaying in Flash [AS3] Hi Stuart, Once your ASP file has retrieved the uploaded image, then it can simply display it as binary. The URLLoader object that you use after that will retrieve a BINARY data that you can load into a Loader instance :) How do you proceed to upload your picture for now ? Regards, Cedric On Sun, Apr 6, 2008 at 5:55 PM, Stuart Moir [FunkDaWeb] [EMAIL PROTECTED] wrote: Hi can you point me to any examples/tutorials for the following problem... I want to upload an image through a flash app via ASP (the asp part is not a problem) and then have it displayed in the flash application. I know how to send the image to ASP but don't know how to wait for it to be uploaded then display it in flash. This might be really simple but I just can not figure it out in my head! SM ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Uploading Image Displaying in Flash [AS3]
Hi Stuart, I you're using a URLRequest directly to upload your file, then you can retrieve it directly if your PHP file echo the file contents :) If you're using the FileReference API, once the upload is finisthed, you'll need to reload your picture file within a Loader or a URLLoader ! Regards, Cedric On Sun, Apr 6, 2008 at 6:30 PM, Stuart Moir [FunkDaWeb] [EMAIL PROTECTED] wrote: Hi Cedric Its currently an XML value with the file name i.e. MYIMAGE01 then in flash the path is hard coded i.e. uploadedimage/ + xmlClass.xmlData.ImageURL + .jpg So i presume i would need to reload the XML file? SM - Original Message - From: Cédric Tabin To: Flash Coders List Sent: Sunday, April 06, 2008 5:06 PM Subject: Re: [Flashcoders] Uploading Image Displaying in Flash [AS3] Hi Stuart, Once your ASP file has retrieved the uploaded image, then it can simply display it as binary. The URLLoader object that you use after that will retrieve a BINARY data that you can load into a Loader instance :) How do you proceed to upload your picture for now ? Regards, Cedric On Sun, Apr 6, 2008 at 5:55 PM, Stuart Moir [FunkDaWeb] [EMAIL PROTECTED] wrote: Hi can you point me to any examples/tutorials for the following problem... I want to upload an image through a flash app via ASP (the asp part is not a problem) and then have it displayed in the flash application. I know how to send the image to ASP but don't know how to wait for it to be uploaded then display it in flash. This might be really simple but I just can not figure it out in my head! SM ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Uploading Image Displaying in Flash [AS3]
many thanks i should be able to sort the problem now! :o) - Original Message - From: Cédric Tabin To: Flash Coders List Sent: Sunday, April 06, 2008 8:18 PM Subject: Re: [Flashcoders] Uploading Image Displaying in Flash [AS3] Hi Stuart, I you're using a URLRequest directly to upload your file, then you can retrieve it directly if your PHP file echo the file contents :) If you're using the FileReference API, once the upload is finisthed, you'll need to reload your picture file within a Loader or a URLLoader ! Regards, Cedric On Sun, Apr 6, 2008 at 6:30 PM, Stuart Moir [FunkDaWeb] [EMAIL PROTECTED] wrote: Hi Cedric Its currently an XML value with the file name i.e. MYIMAGE01 then in flash the path is hard coded i.e. uploadedimage/ + xmlClass.xmlData.ImageURL + .jpg So i presume i would need to reload the XML file? SM - Original Message - From: Cédric Tabin To: Flash Coders List Sent: Sunday, April 06, 2008 5:06 PM Subject: Re: [Flashcoders] Uploading Image Displaying in Flash [AS3] Hi Stuart, Once your ASP file has retrieved the uploaded image, then it can simply display it as binary. The URLLoader object that you use after that will retrieve a BINARY data that you can load into a Loader instance :) How do you proceed to upload your picture for now ? Regards, Cedric On Sun, Apr 6, 2008 at 5:55 PM, Stuart Moir [FunkDaWeb] [EMAIL PROTECTED] wrote: Hi can you point me to any examples/tutorials for the following problem... I want to upload an image through a flash app via ASP (the asp part is not a problem) and then have it displayed in the flash application. I know how to send the image to ASP but don't know how to wait for it to be uploaded then display it in flash. This might be really simple but I just can not figure it out in my head! SM ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders