We closed this forum 18 June 2010. It has served us well since 2005 as the ALPHA forum did before it from 2002 to 2005. New discussions are ongoing at the new URL http://forum.processing.org. You'll need to sign up and get a new user account. We're sorry about that inconvenience, but we think it's better in the long run. The content on this forum will remain online.
Page Index Toggle Pages: 1
Newbie quesiton (Read 476 times)
Newbie quesiton
Jul 13th, 2009, 5:08pm
 
Quite new into processing.

I wanted to know how far is it possible to integrate processing code into Flash.

I'm looking forward to get the same effect in Flash for this SIMPLE code:

background(mouseX, mouseY);

...and i'm lost.

if anyone can help me Wink

thx

PS.: I tried to export it as HTML and put my SWF document on top of it with a DIV layer but unfortunately it doesn't work...eventhogugh fixing the z-index of the DIV layer, the processing code seems to bug with the top layer...

Re: Newbie quesiton
Reply #1 - Jul 13th, 2009, 5:48pm
 
what should background(mouseX, mouseY); do
change the background color
mouseY doesnt make any sense here.

I would say you probably get some better help in a flash forum asking for ways to achieve the effect you want.

And im Sorry, but the PS:.doesnt make any sense to me at all...


Anyway i dont believe that you can integrate Processing into flash somehow, and i dont see a reason to do so. but if you want to find out more about connecting flash and Processing maybe this post is interesting, but i dont believe that is what you are looking for :
http://processing.org/discourse/yabb2/num_1115427973.html
Page Index Toggle Pages: 1