ActionScript 3.0 :: Face Detect In Flash Builder?
Dec 19, 2010
am working on face detection and able to implement in flash but i want to do it in flex to protect code, the problem am facing is how to convertcameraBitmap to videoDisplay in Flash Builder / Flex i.e.in as3 (flash) its like thisQuote:
camera = new CameraBitmap(488,366,30,w,h);
camera.addEventListener( Event.RENDER, cameraReadyHandler );
addChild(myvideo);
[code].....
View 2 Replies
Similar Posts:
Jul 8, 2011
I got a working code to detect face in flash. It just detects and draws a square mark over the face displayed in flash player. Now I do need when ever a face is detected automatically a photo to be taken. How to implement this? Is there any open source project available for this?
View 1 Replies
Apr 21, 2010
Does anyone know if there is a way to make the new Package Explorer window in Flash Builder emulate Flex Builders 'Flex navigator' window?
Bottom line is I don't always need to peer into SWC's, and I don't like having a 'default package' automatically created for me. Not sure why the interface wasn't made simpler, allowing access to more power and complexity only if necessary. I want to focus on the code, not on how to navigate and use the bells and whistles in the coding environment.
View 1 Replies
Feb 24, 2011
I'm trying to accomplish something with flash but I'm having some problems, if not a solution I'm hoping someone can tell me a method and what I should read up on to do this: I want to have an image on the stage that has a gap the shape of a face in the middle of it, I'd then like to put a webcam feed behind it so people can line their face up in the gap and press a button to take a picture. (I've managed to put the webcam on the stage and take the picture but can't work out how to put it behind an image). Then I cant quite work out how I'd put the face onto a character I've drawn.
View 1 Replies
Jun 27, 2011
I have an AIR project that I was working on Flash Builder 4.5 which now I'm trying to import to my updated Flash Builder 4.5.1 and it is prompting me to fix some paths before the import is completed. I'm kinda clueless what I should put in those fields.
[URL]
The project access a web server to retrieve data using JSON.
View 2 Replies
Feb 25, 2011
Built a nice Flash page and exported it to use as a web page (didn't export to HTML just exported image to SWF). Plunck it into DW CS5 and test in FF & it looks great. Try it in IE8, only get a white page, same in Chrome & Opera. What gives?
View 2 Replies
Feb 27, 2007
I've been trying to develop a Flash Cube that has different images on each face as well as individual links for each, but I'm having trouble coding it - I can either get it with images and one link per cube, or no images and individual links!!(I've seen this elsewhere) I'd like it to freeze its rotation when you hover over each face as well.
View 3 Replies
Nov 21, 2011
I am trying to print a string with html formatting. Part of the formatting includes font face. I have found that my print job will not print any string that includes a font face declaration. I'm guessing because the font isn't embedded, but I'm not positive.
This works:
string = "<b>bold</b> not bold";
Doesn't work:
string = "<TEXTFORMAT LEADING="2"><P ALIGN="LEFT"><FONT FACE="Arial" SIZE="12" COLOR="#000000" LETTERSPACING="0" KERNING="0">this is my string</font></p></textformat>";
How can I get around this. I need the ability to print any font on a users computer.
View 1 Replies
Nov 28, 2011
I am trying to migrate a project from Flash Builder 4.0 to Flash Builder 4.5. After Flash Builder prompts me to choose my new SDK, I choose 4.5, Then I get the following error:" error "The required skin state 'disabledWithPrompt' is missing".
View 1 Replies
Oct 6, 2009
I just upgraded to Flash Builder 4 (beta 2) from Flex Builder 3 which I have been using since it came out. Problem: All the projects that were in my workspace from Flex Builder 3 did not carry over into Flash Builder 4 (e.g. in the "Flex Navigator" view if FB3). Flash Builder 4 now uses the .FXP format to manage projects, but Flex Builder 3 did not. Is there an easy way to get all my projects back into Flash Builder 4?
View 2 Replies
Jun 30, 2011
i am currently having trouble with my object rotating to face another object.currently it works fine as in this picture, my object at the origin will be able to rotate and move to the object in the 3 quadrants except the quadrant with positive 90degrees to 180 degrees, my object will rotate a few full rotation for some time while moving to the object does anyone know why? the sentence that i use to rotate is rotation += (foodLocationDegrees - (rotation - 90)) * .2; whereby food is calculated using
[Code]...
View 1 Replies
Jun 28, 2011
currently i have a function in which my object fish will move to a food i am having trouble getting it to rotate nicely to the food currently my function is as below.if the food is above the fish my fish rotation is 0 which is facing up, if the food is below my fish i will give it a rotation of 180 which will make it face down , however the rotation is too sudden it does not give a nice and realistic effect of rotating to the food.how can i make it when rotating to move some distance and at the same time rotate? because it cant rotate to the food in the same spot as it would not be realistic.
public function moveToFood():void
{
var foodTarget:Food = fishArray[fishArray.length - 1];
[code]......
View 5 Replies
Aug 15, 2011
I'm recently playing with Away3D Library and have a problem in finding Face center in Away3D. Why Away3DLite has a face.center feature while Away3D doesn't have it ? and what is the alternative solution for this ?
View 1 Replies
May 22, 2010
I have the project where I need to use papervision3d engine. It's 3d model of building. Each floor is separate .dae model embedded within swf file. Everything is okay regarding performance, but z-sorting of BasicRenderEngine is making me sad. If you take a look over attached image you will see that sometimes wall faces appear above cover and backwise, cover faces appear above wall. Each floor model was made with Swift3d by path extrussion. It has two types of material: one for wall and another for cover. Is there any way I can go through all faces and regading material applied to it assign them ViewportLayer and sort index ?
I tried to use QuadrantRenderEngine, it does correct z-sorting, but is CPU killer.
View 1 Replies
Oct 13, 2004
is it possible to rotate an object so that it always faces another object that is able to move around the screen? as in track it on the y and x axis?
View 2 Replies
Nov 19, 2010
I have a flash movie i would like to create that will be around 400px x 500px.
I would then like to have a rhino charging towards you (the user) so it would have the effect that the rhino is trying to break the screen to charge at you (face on) but it stumbles because of the glass on the screen.
how they would go about this animation?
View 1 Replies
Aug 31, 2009
I am making a simple Flash animation that I would like to put online and let people visiting my site upload a picture of their face so they can be the character, like on Elf Yourself. How do I do that? I'm assuming I make the animation with a square image of a face that I mask out, and the image gets replaced when a new one is uploaded, but I don't know how to set that up dynamically, or if there's a better way.
View 3 Replies
Sep 3, 2009
what is involved to create a Flash file where the user can upload a .jpg of their face, crop it, and then add that picture to an animation? I'm sure you've all seen this...sort of a jib-jab type animation.
View 1 Replies
Jun 18, 2009
I am trying to map an image(webcam image or dynamic image) on an collada object(head). In fact I have a head, and I would like to put my face on it . Something like that[url]..
How to stretch the dynamic picture so it can fit the mapping ? Match the eyes with the eyes, the nose with the (UV map) nose,... and draw the new bitmap
View 1 Replies
Oct 21, 2009
I'm trying to get my font to change when clicking a button.
The text field itself is inside a movie clip called draggabletext. The inside text field is called tfield, and is dynamic with a var: output2. It renders as HTML (but doesn't have to if you have a better solution). It gets its text from a different input field.
I have a "dropdown" menu with 2 buttons (instance names arial and georgia).
On the root I have this code:
Code:
onEnterFrame = function() {
draggabletext.output2 = "<font face="" +textface+ "" color=""+textcolor+"">" + inputBox.text + "</font>";
[Code]...
I have embedded the fonts. Still, I can not get the text to change between the font faces when I click the buttons.
View 7 Replies
Jan 27, 2007
Since each face of the Script 3D rotating cube is a movieclip, I thought you could load an image on it. I couldn't get that to work.
View 2 Replies
Sep 17, 2009
I'm making a top down shooter and I'm encountering some interesting code lag with the function I'm using to make the player face the mouse.
Code:
//The function is called through a ENTER_FRAME listener.
//mX & mY are the current position of the mouse.
public function facePoint(mX, mY){
if(this.visible){
this.rotation = (-Math.atan2((this.x - mX),(this.y - mY))) * 180 / Math.PI;
}}
If I hold down two movement keys and then spin the mouse around the character really fast, it builds up some kind of buffer that sends the character out of control for a few seconds, even after you've released the keys. Just discovered that reducing the quality to low removes the issue entirely... so its a graphics problem. How to avoid this?
View 1 Replies
Nov 19, 2010
I have a flash movie i would like to create that will be around 400px x 500px. I would then like to have a rhino charging towards you (the user) so it would have the effect that the rhino is trying to break the screen to charge at you (face on) but it stumbles because of the glass on the screen.
Can anyone point me in the right direction of executing this or advise on how they would go about this animation please?
View 1 Replies
Dec 4, 2011
I have a symbol which stays stationary, and another symbol that moves around when I use the arrow keys.I want to make symbol1 (stationary one) to face symbol2 (the one I move).I'm guessing using _rotation to make it face it depending on symbol2's _x and _y position?
View 4 Replies
Dec 6, 2011
I have a symbol which stays stationary, and another symbol that moves around when I use the arrow keys. I want to make symbol1 (stationary one) to face symbol2 (the one I move). I'm guessing using _rotation to make it face it depending on symbol2's _x and _y position? Also, I'm using class files.
View 1 Replies
Jan 13, 2009
Few days ago I uploaded my flash face morphing application and now I'm thinking of writing an article about creature process.URL... anyone curious about how I made it?
View 5 Replies
Jul 8, 2011
I wouldn't think this to be a very difficuly question to find a solution to. My question is; I have a movieclip with instance name "player" and I am trying to layout it's basic movement properties. I already have made it so that the mc will move up, down, left, and right. Cake. What I am having trouble with is getting the mc to rotate in the designated direction (right = 0 degrees, up = 90 degrees, etc).
I have tried using the xscale 100/-100 strategy, but that doen't do anything for up and down movements.
My code so far is as follows:
Actionscript Code:
playerDirection = 0;setInterval(function () {if (Key.isDown(Key.RIGHT)) {setDirection(0);_root.player._x += 3;}if (Key.isDown(Key.LEFT)) {setDirection(1);_root.player._x -= 3;}if (Key.isDown(Key.DOWN)) {_root.player._y
[Code].....
View 4 Replies
Dec 24, 2011
How would I go about doing this but not directly like 360. like lets say my mouse is to the left of the character the character would than face its left frame I made for him like lets say his left frame is frame 2.
View 8 Replies
Dec 14, 2009
All I need to do is rotate an object (which could spawn at any point along each of the four edges of the screen) so that it faces towards the centre of the screen. Obviously this will be done using the .rotationZ property. I will know the starting point of the object, and the centre point of the screen (400, 300). The object begins facing directly 'up' (e.g. if it spawned directly below the centre of the screen it would already be at the correct angle).
View 2 Replies
Jan 21, 2011
I have one character which can face several directions: t, b, l, r, tl, tr, bl, br.The type of camera is top-down 2d
T stands for Top, which is when he is looking to the top of the screen
B = Bottom
L = Left
R = Right
The character can look to other directions, like the Top-Left of the screen, which is tl
How do I calculate which direction he should look to if I only have one variable, rotation?
View 1 Replies