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.
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?
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.
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 ?
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.
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.
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.
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?
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
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).
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?
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?
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.
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?
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);
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.
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.
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).
I have a question about Papervision3D, or perhaps bitmapData, I am unsure where the problem is. I have constructed a program that takes 4 banners and splits them into pieces and then applies those pieces to cubes so that I can make a banner rotator. So after I run my program I have 10 cubes with a piece of a banner on 4 faces(front, top, back, bottom) of each cube. The problem is that some of the faces are oriented incorrectly(spun 180 degrees).
Is there a way in Papervision3D to spin a cube face? The other place I think the problem may be is when I create the bitmapData that will be applied to the cube faces. Is there some way to explicitly define orientation during bitmapData creation?
I'm trying to get a MC to rotate to face the mouse using tween: Code: import flash.events.MouseEvent; import fl.transitions.Tween; stage.addEventListener(MouseEvent.CLICK,clicks); var tween:Tween; function clicks(e:MouseEvent):void { var dx:Number = mouseX-mc.x; var dy:Number = mouseY-mc.y; var angle:Number = Math.atan2(dy,dx)*180/Math.PI+90; tween = new Tween(mc,"rotation",null,mc.rotation,angle,5); } While this works fine, there are certain clicks which make the MC pick the longer route to rotate.
I have a movieclip that shows an animation onRollOver and an animation on RollOut but onRelease the animation enlarge itselfs but now when I'll roll out when the animation isn't open (so i didn't release) the animation plays the animation for the minimizing of the animation. Here's my code (I know its a bit amateuristic but I'm not a programmer )
I'm making a platform game. The hero can move around, but the enemies are stationary. My problem is that I want the enemies to face the hero. The first enemy behaves correctly, but the subsequent enemies only behave correctly if I kill all the preceding enemies. I have added the hero and the enemies as Objects and put the enemies into an array called enemies. Both the hero and enemy objects have a direction property and an mc property that refers to their movie clips. This for loop gets called every frame.
I have my as2 code for my game im making so far the char can jump and move left and right. make him face the mouse like lets say my mouse is to the x- of my character than I would want his left facing movie clip (which I havent made yet) to be facing that way etc. where I could start heres what I have:
HI'm using the "PublishPost" method form the "AS3/Facebook API" to publish in the current user wall, but Facebook returns me a code:200 "Permissions Error", I'm just using the simple following code:
static public function postInWall( fbook:Facebook, message:String = "... Testing..." ):void {
var post:PublishPost = new PublishPost( message ); var call:FacebookCall = fbook.post( post ); call.addEventListener( FacebookEvent.COMPLETE, completeHandler ); }[code].....
Working on a maze game. When the leftkey is pressed the movieclip (char) should turn 90 degrees to the left.
char.scaleX *= -1;
However, the most important thing is that the character doesnt go through the walls of the maze.And I think thats my problem for implementing the code above.Because it doesnt work properly when i put in here;
I am working on a puzzle has four different eyes, nose, and mouth. These can be placed on a blank head. I want to be able to place all of the same parts of the face, and have a response that says "Beauty" if the mix up the pieces from different faces, it will say "Beast." I don't know how to set up the AS3 to make this work.
I'm new with Away3D 3.6 and I meet a problem to change the color of a cube. I can init a color on a face but when I click on the cube, impossible to change this color