Hi all, am trying to experiement with VVVV and Flosc. What I am trying to do is to track the mouse location (X and Y position), and send these values into Flash. What is the best way of doing so?
ja, osc. did you have a look at the OSCDecoder nodes helppatch?
Do I only have to use the Decoder to send he values then, and not the Encoder to send?
ah. sory. right. you. need. the. Encoder. ofcourse.
of course the Renderer (Flash) is made for that. just enter names and values of your flash variables into the input pins, and you can control anything in flash from vvvv
So I would have to define the buttons in Flash as variables for VVVV to detect them and do its thing? I knew you could ctonrol a VVVV project with a Flash interface with the renderer, but not the other way round…?
Also I’ve not got a clue about what to do with the Flash movie for it to recieve the variables, I’m thinking of taking the example Flosc movie apart and possible using a trace fuction to output the values of the mouse x and y.
One other thing is that VVVV uses 1 to -1 as mouse co-ordinates, how will this translate back into Flash? Will I have to come up with some kind of formula which converts the value into a screen location (i.e. from say 1 to 800/1024 depending on screen resolution?)
basically you can read and write variables of the flash embeded in vvvv´s Renderer (Flash). i am no expert in flash but the FAQ Nodes contains some bits about it.
Thanks, but I am using the internal Flash Renderer for it now, but still not having much luck!
There was a nice discusion about it on the forum (patching questions -> Flashy buisness) check the patches, hope they make sence.
One other thing is that VVVV uses 1 to -1 as mouse
co-ordinates, how will this translate back into Flash?
Well, just map the Mouse to the screen size… like this…
Map Mouse to Pixels.v4p (10.2 kB)