FAQ
Cover
This is the archive Discourse for the Processing (ALPHA) software.
Please visit the new Processing forum for current information.

   Processing 1.0 _ALPHA_
   Discussion
   Community, Collaboration, Status
(Moderator: REAS)
   output to flash?
« Previous topic | Next topic »

Pages: 1 
   Author  Topic: output to flash?  (Read 2679 times)
billiam


output to flash?
« on: Mar 22nd, 2005, 4:22am »

Hi,
 
I recently began using processing and enjoy it a lot. Thanks for the great product!
 
Is there any interest in making it possible to export code to flash? (Basically a processing -> actionscript converter). I think this would have wide appeal.  
 
Has this been discussed before? (Searching didn't show anything).
 
-bill
 
tex

WWW
Re: output to flash?
« Reply #1 on: Mar 22nd, 2005, 9:43am »

Flash and Processing work quiet different. The processing drawing engine goes down at pixellevel. This is not possible with flash. So you cannot work with images in flash like in Processing.
 
Macromedia has published the swf file specification so it would theoretically be possible to export but that would really need hard work.  
 
Infact I 've also been thinking porting processing code to flash. A realistic way to do so, is to port the processing library to flash with Actionscript 2.0 this is possible. But you would only have a reduced version. The coding style would differ a bit but using the same method signatures it should be easy to port processing sketches to flash.
 
Director would be another Alternative I'm not so familar with that, but you can go down there on pixellevel and have also an implemented 3d engine. Also Actionscript 2.0 is now implemted in Director so it should be possible to port Processing to Director.
 
tex
 
gabon

WWW
Re: output to flash?
« Reply #2 on: Mar 22nd, 2005, 11:37pm »

bill> why to do that? flash ide is not so nice, but i don't think the processing one will be more comfortable and the performance will rest the same of flash, so the utility could be just to help people from processing to use/learn ActionScript, couldn't it?
 
tex> I don't think you have the ideas so clear... actually Director doesn't support ActionScript 2.0. It just support JavaScript 2.0 sintax.
 
The problem with all this tools, processing included, is the IDE. their ide's don't help hardcoders. Then the big difference between them is the player. I don't know if it would be so useful, if possible, to translate a flash project in processing. Just because the player is too different and so the features where you can push on, and I think it should be something you have to consider in the design process.
 
cheers, chr
 
Pages: 1 

« Previous topic | Next topic »