@JpDejean gotoAndPlay needs no translation in AS3.0. It's still valid. Your problem must be somewhere else in your code. Make sure you don't have a Stop action on the timeline target frame of the MC you are trying to target. I have no idea what ostrich lib is btw. I pretty much moved over to Objective-c these days and have not done any Flash in almost a year, lol.
@metanurbTube Thanks so much for your help! I´ll give it a try, my boss whants to make a presentation of a flash devided into scenes using this method... and guess how he´s driving me lol
Hi, Im working on a college project where im using motion tracking in flash as3. I was getting the centre point of objects / width / height. Im now looking at Frame difference. With this video did you compare each pixel in a for structure? Did ya use collision detection?
Have you worked with AS 2.0's to make something like this? I've had some interesting results with it, and I'm wondering how much better AS 3.0 is. Obviously the computing power is probably what's faster...
oh and to rybo5000's point, by using his method you can also change the backgrounds of the person's by way of converting the change in pixels part to a movie clip and caching it by way of cacheAsBitmap, then use that as a mask on your video MC, with a static background image behind it :d.
Your video is popular on Phnom Penh
pacquiaovsmarquezIV 4 weeks ago
This video went viral on Ireland
ynardhowar1229 2 months ago
Hi! I´m trying to work with ostrich lib, but I cant get it to goatonplay (etc)
That´s because I don´t know as3... could you explain me how to translate a gotoandplay to as3 pls? Itd be really appreciated
JpDejean 1 year ago
@JpDejean gotoAndPlay needs no translation in AS3.0. It's still valid. Your problem must be somewhere else in your code. Make sure you don't have a Stop action on the timeline target frame of the MC you are trying to target. I have no idea what ostrich lib is btw. I pretty much moved over to Objective-c these days and have not done any Flash in almost a year, lol.
metanurbTube 1 year ago
@JpDejean P.S. In AS3.0 you attach event listeners to buttons etc.
e.g.
btn1.addEventListener (MouseEvent.CLICK, myFunction, false, 0, true);
function myFunction(event:MouseEvent):void
{ my_mc.gotoAndPlay("5")
}
metanurbTube 1 year ago
@metanurbTube Thanks so much for your help! I´ll give it a try, my boss whants to make a presentation of a flash devided into scenes using this method... and guess how he´s driving me lol
Thanks so much again, best regards from Argentina
JpDejean 1 year ago
Hi, Im working on a college project where im using motion tracking in flash as3. I was getting the centre point of objects / width / height. Im now looking at Frame difference. With this video did you compare each pixel in a for structure? Did ya use collision detection?
Cool video,
Thanks
racmc393 1 year ago
can you post a download link it looks fun lol
0ChrisMackle0 1 year ago
simple and looks very fun
StropwenProductions 2 years ago
Have you worked with AS 2.0's to make something like this? I've had some interesting results with it, and I'm wondering how much better AS 3.0 is. Obviously the computing power is probably what's faster...
oh and to rybo5000's point, by using his method you can also change the backgrounds of the person's by way of converting the change in pixels part to a movie clip and caching it by way of cacheAsBitmap, then use that as a mask on your video MC, with a static background image behind it :d.
AdriaanGTAP 2 years ago
Greate man, awesome!
fadiammmaralbonni 3 years ago
Most motion-traking works by accepting anything that moves as an object.
A simple way around this, is to ask the player to first take a snapshot of their background, without them in it.
This way, it'll track where they are regardless of it their still or not.
Just a pointer for you :)
Nice work btw.
rybo5000 3 years ago
I like that. Thanx. I will try it.
metanurbTube 3 years ago
That's AWESOME!
fdtoonsman 3 years ago
Yes, indeed
pickleotron5000 3 years ago