Re: [Flashcoders] How is it done? coca-cola creator

2007-04-14 Thread Dave Mennenoh
Real nice. It didn't quite work for me though - the jpg I downloaded had a 
grayscale background image... Otherwise it was ok.



Dave -
Head Developer
http://www.blurredistinction.com
Adobe Community Expert
http://www.adobe.com/communities/experts/ 


___
[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


Re: [Flashcoders] How is it done? coca-cola creator

2007-04-13 Thread T. Michael Keesey

The sniffer is looking for Flash 8, so I highly doubt it's an AS3 solution.

I believe it's a highly optimized server-side solution.

On 4/13/07, Mick G [EMAIL PROTECTED] wrote:

Does anyone know how this is done? (The saving as JPG option)

http://coca-colacreator.coca-cola.com/creator.html?country=USlang=EN

My guess is AS3 and some type of AS3 JPG encoder? It seems too fast and
responsive to be doing any server side image encoding.
___
[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


Re: [Flashcoders] How is it done? coca-cola creator

2007-04-13 Thread Andrés González Aragón

I'm sure is JSP server merging predefined images, client-side tells
server-side only the position, orientation, text, color, etc of the image.
You can do it with php, coldfusion, aspx, etc too.

--
Andrés González Aragón
Desarrollador Multimedia
http://www.quantium.com.mx


2007/4/13, T. Michael Keesey [EMAIL PROTECTED]:


The sniffer is looking for Flash 8, so I highly doubt it's an AS3
solution.

I believe it's a highly optimized server-side solution.

On 4/13/07, Mick G [EMAIL PROTECTED] wrote:
 Does anyone know how this is done? (The saving as JPG option)

 http://coca-colacreator.coca-cola.com/creator.html?country=USlang=EN

 My guess is AS3 and some type of AS3 JPG encoder? It seems too fast and
 responsive to be doing any server side image encoding.
 ___
 [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


___
[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


Re: [Flashcoders] How is it done? coca-cola creator

2007-04-13 Thread Muzak
It's done server side.
Probably bitmapdata sent to server which saves it as jpeg.

Google: bitmapdata to jpeg

regards,
Muzak

- Original Message - 
From: Mick G [EMAIL PROTECTED]
To: Flashcoders mailing list [EMAIL PROTECTED]
Sent: Saturday, April 14, 2007 12:59 AM
Subject: [Flashcoders] How is it done? coca-cola creator


 Does anyone know how this is done? (The saving as JPG option)

 http://coca-colacreator.coca-cola.com/creator.html?country=USlang=EN

 My guess is AS3 and some type of AS3 JPG encoder? It seems too fast and
 responsive to be doing any server side image encoding.


___
[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


Re: [Flashcoders] How is it done? coca-cola creator

2007-04-13 Thread sean
Flash is uploading a bitmapData object representing the final image to the
server. This is a Flash 8 AS 2.0 solution


 I'm sure is JSP server merging predefined images, client-side tells
 server-side only the position, orientation, text, color, etc of the image.
 You can do it with php, coldfusion, aspx, etc too.

 --
 Andrés González Aragón
 Desarrollador Multimedia
 http://www.quantium.com.mx


 2007/4/13, T. Michael Keesey [EMAIL PROTECTED]:

 The sniffer is looking for Flash 8, so I highly doubt it's an AS3
 solution.

 I believe it's a highly optimized server-side solution.

 On 4/13/07, Mick G [EMAIL PROTECTED] wrote:
  Does anyone know how this is done? (The saving as JPG option)
 
  http://coca-colacreator.coca-cola.com/creator.html?country=USlang=EN
 
  My guess is AS3 and some type of AS3 JPG encoder? It seems too fast
 and
  responsive to be doing any server side image encoding.
  ___
  [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

 ___
 [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


Re: [Flashcoders] How is it done? coca-cola creator

2007-04-13 Thread Mark Walters

Hey guys,

It is AS2 and we did it by creating an svg representation of the flash
vector artwork on flash's side and passing that to Java. Java in turn takes
the svg data and creates a bitmap representation. Doing it this way was
actually much faster for us than going the BitmapData route.

--
Mark Walters

[EMAIL PROTECTED]
http://digitalflipbook.com


On 4/13/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:


Flash is uploading a bitmapData object representing the final image to the
server. This is a Flash 8 AS 2.0 solution


 I'm sure is JSP server merging predefined images, client-side tells
 server-side only the position, orientation, text, color, etc of the
image.
 You can do it with php, coldfusion, aspx, etc too.

 --
 Andrés González Aragón
 Desarrollador Multimedia
 http://www.quantium.com.mx


 2007/4/13, T. Michael Keesey [EMAIL PROTECTED]:

 The sniffer is looking for Flash 8, so I highly doubt it's an AS3
 solution.

 I believe it's a highly optimized server-side solution.

 On 4/13/07, Mick G [EMAIL PROTECTED] wrote:
  Does anyone know how this is done? (The saving as JPG option)
 
  http://coca-colacreator.coca-cola.com/creator.html?country=USlang=EN
 
  My guess is AS3 and some type of AS3 JPG encoder? It seems too fast
 and
  responsive to be doing any server side image encoding.
  ___
  [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

 ___
 [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


___
[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


Re: [Flashcoders] How is it done? coca-cola creator

2007-04-13 Thread Mick G

I'm sure it's possible in AS2 and probably is - it just seemed extremely
responsive and fast, especially considering you can choose a 1024x1280 image
and it sends it to you in a second. (And is that dialog box you get when you
save your drawing a normal download dialog box?)

Most AS2 solutions I've seen usually take much longer to process, and from
what I've seen with some BitmapData saving solutions - they usually max out
at anything larger than about 800x600 pixels. (such as
http://www.quasimondo.com/archives/000572.php and
http://www.5etdemi.com/blog/archives/2006/10/bitmapdata-saving-now-50-faster-on-encoding/)

Either way - it works well :)



On 4/13/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:


Flash is uploading a bitmapData object representing the final image to the
server. This is a Flash 8 AS 2.0 solution


 I'm sure is JSP server merging predefined images, client-side tells
 server-side only the position, orientation, text, color, etc of the
image.
 You can do it with php, coldfusion, aspx, etc too.

 --
 Andrés González Aragón
 Desarrollador Multimedia
 http://www.quantium.com.mx


 2007/4/13, T. Michael Keesey [EMAIL PROTECTED]:

 The sniffer is looking for Flash 8, so I highly doubt it's an AS3
 solution.

 I believe it's a highly optimized server-side solution.

 On 4/13/07, Mick G [EMAIL PROTECTED] wrote:
  Does anyone know how this is done? (The saving as JPG option)
 
  http://coca-colacreator.coca-cola.com/creator.html?country=USlang=EN
 
  My guess is AS3 and some type of AS3 JPG encoder? It seems too fast
 and
  responsive to be doing any server side image encoding.
  ___
  [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

 ___
 [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


___
[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


Re: [Flashcoders] How is it done? coca-cola creator

2007-04-13 Thread T. Michael Keesey

On 4/13/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:

Flash is uploading a bitmapData object representing the final image to the
server. This is a Flash 8 AS 2.0 solution


The AS2.0 BitmapData class doesn't have any methods for uploading
data. I'm pretty sure Flash 8/AS2.0 cannot send binary data except via
FileReference. (Or via some hack where zeroes are taken out and the
data is sent as a string.)


 I'm sure is JSP server merging predefined images, client-side tells
 server-side only the position, orientation, text, color, etc of the image.
 You can do it with php, coldfusion, aspx, etc too.


That sounds far more likely.
--
Mike Keesey
___
[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


Re: [Flashcoders] How is it done? coca-cola creator

2007-04-13 Thread Mick G

I have this theory that if you ask Flashcoders about any given Flash
internet application, it takes less than 10 replies to get a response from
someone who actually worked on it ;)

The power of Flashcoders!

Nice job guys!



On 4/13/07, Mark Walters [EMAIL PROTECTED] wrote:


Hey guys,

It is AS2 and we did it by creating an svg representation of the flash
vector artwork on flash's side and passing that to Java. Java in turn
takes
the svg data and creates a bitmap representation. Doing it this way was
actually much faster for us than going the BitmapData route.

--
Mark Walters

[EMAIL PROTECTED]
http://digitalflipbook.com


On 4/13/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:

 Flash is uploading a bitmapData object representing the final image to
the
 server. This is a Flash 8 AS 2.0 solution


  I'm sure is JSP server merging predefined images, client-side tells
  server-side only the position, orientation, text, color, etc of the
 image.
  You can do it with php, coldfusion, aspx, etc too.
 
  --
  Andrés González Aragón
  Desarrollador Multimedia
  http://www.quantium.com.mx
 
 
  2007/4/13, T. Michael Keesey [EMAIL PROTECTED]:
 
  The sniffer is looking for Flash 8, so I highly doubt it's an AS3
  solution.
 
  I believe it's a highly optimized server-side solution.
 
  On 4/13/07, Mick G [EMAIL PROTECTED] wrote:
   Does anyone know how this is done? (The saving as JPG option)
  
  
http://coca-colacreator.coca-cola.com/creator.html?country=USlang=EN
  
   My guess is AS3 and some type of AS3 JPG encoder? It seems too fast
  and
   responsive to be doing any server side image encoding.
   ___
   [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
 
  ___
  [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

___
[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


RE: [Flashcoders] How is it done? coca-cola creator

2007-04-13 Thread David Ngo
Sounds like the exact same implementation I did for Warner Bros' Toonify
engine.


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Mark Walters
Sent: Friday, April 13, 2007 5:27 PM
To: [EMAIL PROTECTED]
Subject: Re: [Flashcoders] How is it done? coca-cola creator

Hey guys,

It is AS2 and we did it by creating an svg representation of the flash
vector artwork on flash's side and passing that to Java. Java in turn takes
the svg data and creates a bitmap representation. Doing it this way was
actually much faster for us than going the BitmapData route.

-- 
Mark Walters

[EMAIL PROTECTED]
http://digitalflipbook.com


On 4/13/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:

 Flash is uploading a bitmapData object representing the final image to the
 server. This is a Flash 8 AS 2.0 solution


  I'm sure is JSP server merging predefined images, client-side tells
  server-side only the position, orientation, text, color, etc of the
 image.
  You can do it with php, coldfusion, aspx, etc too.
 
  --
  Andrés González Aragón
  Desarrollador Multimedia
  http://www.quantium.com.mx
 
 
  2007/4/13, T. Michael Keesey [EMAIL PROTECTED]:
 
  The sniffer is looking for Flash 8, so I highly doubt it's an AS3
  solution.
 
  I believe it's a highly optimized server-side solution.
 
  On 4/13/07, Mick G [EMAIL PROTECTED] wrote:
   Does anyone know how this is done? (The saving as JPG option)
  
   http://coca-colacreator.coca-cola.com/creator.html?country=USlang=EN
  
   My guess is AS3 and some type of AS3 JPG encoder? It seems too fast
  and
   responsive to be doing any server side image encoding.
   ___
   [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
 
  ___
  [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

___
[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


Re: [Flashcoders] How is it done? coca-cola creator

2007-04-13 Thread Weyert de Boer
SVG and Flash? Are you saying you just had a list of SVG xml code which 
you send to your server?

I am not aware of any Flash artwork to SVG converts libraries for Flash.
___
[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


Re: [Flashcoders] How is it done? coca-cola creator

2007-04-13 Thread Mark Walters

Add in SVG to the mix of what Andrés said above... stir..., cook..., and
serve. :)

Although you still should look around out there... there are some great
examples of flash and svg mixing.
ie: http://flash-creations.com/notes/sample_svgtoflash.php


On 4/13/07, Weyert de Boer [EMAIL PROTECTED] wrote:


SVG and Flash? Are you saying you just had a list of SVG xml code which
you send to your server?
I am not aware of any Flash artwork to SVG converts libraries for Flash.


___
[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


Re: [Flashcoders] How is it done? coca-cola creator

2007-04-13 Thread Guntur N. Sarwohadi

Here's another with an example and source code.
http://www.bytearray.org/?p=26 and http://www.bytearray.org/?p=29

I'm currently using the same JPEGEncoder class on something similar (draw
and stick activity multimedia-application) for a local kindergarten using
haXe and screenweaver :)
___
[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


Re: [Flashcoders] How is it done? coca-cola creator

2007-04-13 Thread T. Michael Keesey

On 4/13/07, Weyert de Boer [EMAIL PROTECTED] wrote:

SVG and Flash? Are you saying you just had a list of SVG xml code which
you send to your server?
I am not aware of any Flash artwork to SVG converts libraries for Flash.


If you track what the user is doing programmatically, you can create
SVG (XML) that reflects what's onscreen. There's no way in
ActionScript to convert vectors *already made in the Flash* to SVG,
but that's not what's going on here--it's being made dynamically.

We did a similar project a while back (unfortunately it was cancelled
before we could finish). Basically we generated SVG data according to
user input and then drew that in Flash, using MovieClip drawing
methods. We were also going to create a utility for sending the SVG to
a back-end, but
--
T. Michael Keesey
Director of Technology
Exopolis, Inc.
2894 Rowena Avenue Ste. B
Los Angeles, California 90039
--
The Dinosauricon: http://dino.lm.com
Parry  Carney: http://parryandcarney.com
ISPN Forum: http://www.phylonames.org/forum/
___
[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