Coming from someone who's never done this, and doesn't know if it's possible, but:
Would it be possible to capture your user created design in BitmapData (I was fairly sure there's a method to extract pixel info from a MovieClip, correct?) then transmit that back to the server and use PHP and the image libs to create a bitmap image? Again, complete shot in the dark here.. I'm not even sure if the BD produced by Flash is usable by any graphics library, PHP or otherwise. On 8/20/07, Alan MacDougall <[EMAIL PROTECTED]> wrote: > > bassam mohaisen wrote: > > Hi all > > I'm trying to do e-tshirt design where the user can desgin his shirt and > add text or images so I need to know how can I save the design as image or > swf for the design how can I take screenshot , if somebody know the concept > and the code . > > all the text and photos will be load inside movie clip so if i need > know how can i save the movie clip at runtime > > > This is actually an extremely difficult problem. Flash is not able to > create files in the way that you're thinking. Your best bet is to record > the T-shirt design in descriptive terms: "this text field uses 24-point > Impact, is at coordinates xy, is rotated 30 degrees; this image is > blahblah.jpg, it's scaled to 120%, positioned at xy". Then send that > information to a server-side script, written in PHP, Java, C#, or > something, which uses an imaging library to create an image. > > _______________________________________________ > [email protected] > To change your subscription options or search the archive: > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > Brought to you by Fig Leaf Software > Premier Authorized Adobe Consulting and Training > http://www.figleaf.com > http://training.figleaf.com > _______________________________________________ [email protected] To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com

