controlling quicktime movies in flash using PIR sensor - can anyone please help!!?!
Up to Flash
controlling quicktime movies in flash using PIR sensor - can anyone please help!!?!
Complete newbie.
Hoping to control a movie with a sensor in Flash, but I'm having a problem with understanding how... 
Have been trying to use the Analogin.fla example as a starting point (the boxtext variable seemed to be the easiest way, using some kind of 'if then' statement.
I have experience of this kind in Director, but the Actionscript is completely throwing me...
Can anyone help please?
Re: controlling quicktime movies in flash using PIR sensor - can anyone please help!!?!
Can you describe in more detail your setup, what you've tried, what you expected to happen, and what you observed? Re: controlling quicktime movies in flash using PIR sensor - can anyone please help!!?!
Re: controlling quicktime movies in flash using PIR sensor - can anyone please help!!?!
Re: controlling quicktime movies in flash using PIR sensor - can anyone please help!!?!
Hi Liam,
Could you elaborate with a full actionscript example for a simple analog in controlling an out? A lot of us just want an input value on a sensor to trigger an mcsend output command.
I would love a practical example like that!
Thanks so much!!!!
Previously Liam Staskawicz wrote:
You can create a variable that stores the last value from the sensor, then each time you read the sensor, check to see if that value changed. If it changed, you can trigger whatever you like and then store the value in your variable for next time.
if(newValue != oldValue)
{
doSomething();
oldValue = newValue;
}
Re: controlling quicktime movies in flash using PIR sensor - can anyone please help!!?!
Re: controlling quicktime movies in flash using PIR sensor - can anyone please help!!?!
Hi Liam,
I was hoping you would reply to the other thread I started.
I am convincing my clients to buy your products. I think a simple "if analogin/x/ is blah, then mcsend blah" piece of actionscript to make the product do what most people need to would take you about 1 minute to copy/paste here for us all. It would also be immensely appreciated!
Thanks so much in advance!
Re: controlling quicktime movies in flash using PIR sensor - can anyone please help!!?!
On the Flash AS3 side of things...
To get decent control over the video, you're going to need to turn it into a .FLV. Also, to be able to manipulate the video player position, you should probably start looking into this blog posting:
http://mrdoob.com/blog/post/504/
Let me know if you need any clarification. Hope that gets you started. Go ahead and plan on it being a little tricky. I've been trying to get dynamic control of video (not involving the Make controller).

