Unable To Make The Camera Move Up And Down?
Apr 27, 2010im making a platform game project but as of yet im still un able to make the camera move up and down when the charater jumps or stands on a platform?
[Code]...
im making a platform game project but as of yet im still un able to make the camera move up and down when the charater jumps or stands on a platform?
[Code]...
I need to make the background image move opposite the cursor to make it seem like the camera is moving.[URL]
View 1 RepliesI'm trying to a make a small animation, and I was wondering if there is a way to make the flash "camera" move on the x, y, and z axis on a specific frame? LMK if you need more details.
View 7 Repliesis it possible to move the 'camera' around in flash (cs4 as3) as apposed to moving the scene around it?
View 2 RepliesA friend of mine asked for a simple program. Input: Coordinates of some points, spheres, planes etc. (from an excel document (strictly) ) Output: A 3D view of the input which the user can move the camera. The questions is, how can I do that easiest way. I have experience in C++, C#, Flash (AS), Java
View 2 RepliesI'm making simple 3D transformations in Flash to rotate stuff, but I get distortions. I can rotation left, right, up, down, but not diagonally since it completely distorts my faces (the ones I draw).I think I fail to move the camera somehow, but I'm not experienced enough to understand my error.Here's the file: http:[url]....
Example: when a face is rotated at about 45° around the y axis (vertical to screen) and then rotated around the x axis the perspective doesn't feel right... the faces are too narrow.What I do is multiply the rotation matrices between themselves (the mouse position providing the angles) get the transformed points, project them to screen and draw boxes with them.
you know how in some flash game the camera always follow the main character, and you move the character with arrow keys?
View 1 RepliesI'm new to flash and following a tutorial on how to make a small game. I've made some subtle changes, namely I imported .png's and made them into shapes and now am trying to move them. Here is the tutorial:
[Code]...
well i want to make buttons that on rollover move to left, on rollout move back to their initial position, and if clicked, they but stay this time at the final rollover place, and be there until something else is clicked. When something else is clicked, the previous button , returns to its initial place. So i ve got it all figured out except for the freeze and move part when the buttons are clicked. All it does now , is when they are clicked they freeze at the position i want, but i havent got a clue how to update them, after so they start moving back, and reacting on rollover and rollout, when the next button is clicked.
[Code]...
I've used one of the hangman source code online and i couldn't get it to work. I want to move from hangman 1.2.1 to hangman 1.2 but i can't do that because the button just won't work. By the way, i'm using adobe flash cs5.URl...this is the original source code.URL...i need some reply asap as my project submission is due 3 days later.
View 4 RepliesI am trying to assign buttons my on my 'gameScreen' to move my character. though I am receiving an error msg saying: Error #1010: A term is undefined and has no properties.at Mainas()
package{
import flash.display.MovieClip;
import flash.events.MouseEvent;[code]....
Using Tween class maybe? I tried the easeOut. But if will write 2 Tween, the 2nd one will overwrite the 1st one, so I only see the obj moving in the 2nd Tween direction, not the 1st Tween direction. I know the coordinates for the 2nd Tween below is not correct (cos all coordinates shld follow the defined reference point), so I need to find out the logo's width and height. But is alright now cos it is for testing purpose.
[Code]...
Everything going well so far except for camera control. I want the character to always be in the center of the screen. only when the side boundaries are reached, the character should leave the center of the screen to be able to reach the sides of the screen.Somewhat like this: http:[url]....I've tried 2 ways but both without succes:
- move the character using the keyboard, but somehow keep it in the center of the screen (have no idea on this one)
- move the entire area except the character to simulate movement.
This seems kind of ineffeciant but it worked out better that the previous attempt, the only problem is that the character doesn't return to the center of the screen when he leaves the boundary.The .fla's are available for download here http:[url]....
the actionscript is all in the first frame.try not to be too hard on the crappy visuals Ignore the comments too, theyre only there to help me understand what I did.The boundaries seem to be a bit sketchy aswell when moving to the sides, but that's not a big problem right now.
I am working on flash application TELESCOPE or Camera. My goal is to move around the scene and zoom-in or zoom-out I found that if I move scene, I have to move registration point, because I always want to zoom in the centre of my ocular. So far application works fine only if I move, zoom-in and than before I move any further, zoom-out! But when I move, zoom-in (not fully), move again and zoom-in again, the second zooming doesn't appear on desirable registration point
View 1 RepliesFor some "mysterious" reason I cant surf on my text fields. And when I choose a combo box, the focus insist to not move to the next field unless I double click the next field...
I removed the code, and everything worked. Since the file is quite big, i uploaded here:
here: [URL]
when i use the connect pro, in the classroom I can't make my web camera running. I alredy install FMS and opened port 1935. what can I do else?
View 11 RepliesI have 4 cubes with Papervision and i like the camera to fly thru the 4 cubes, how can i set this up?/
View 0 RepliesIn my first AS3 project (not used Flash since AS1) I need to use a custom movie clip as a cursor and detect clicking on a button. Using the code below, the custom cursor works as expected, but I am unable to capture clicking on the button.
If I comment out the first line, the trace for clicking works as expected. I have tried changing the order of the event listeners, applying the follow to the button rather than the stage, but cannot get both to work together.
stage.addEventListener(MouseEvent.MOUSE_MOVE,follow);
start_button.addEventListener(MouseEvent.MOUSE_UP, playPhrase);
function playPhrase(event:MouseEvent) {
[Code].....
im making a platform game at the moment and i need for the screen to follow the character, at the moment i've got the code on the background symbol and all the baddies in that symbol so when you press the arrow key the symbol moves to the side the code i have on this is
onClipEvent (load) {
walkSpeed = 2;
}
onClipEvent (enterFrame) {
if (air == true) {
[Code]....
if anyone knows a way to put this on the camera
I want to run a website where people could see each other through web camera.
View 6 RepliesI am capturing camera on flex for android using air 3.1,and found that the camera is only showing the a part of of actual camera video.When i view camera using normal camera application in android galaxy tab, it shows full camera area but when i am capturing the camera in flex its showing only the center area for it.I tried using setMode to set the resolution, but its not of any use.Is there any way to get full camera area captured inside flex using camera.getCamera ?
View 1 RepliesFrom a Flash object, I would like to be able to detect the presence of a webcam that the user might grant access to, without actually asking the user whether they want to grant access. This is to streamline a large application that has extra features if a webcam exists — if there is a webcam, the application will present several dialogs that lead up to the normal cam-security prompt, but if the user doesn't have the hardware, I want to skip over them altogether. Requesting access to the cam before those dialogs won't make sense to the user.
It appears not to be possible to call Camera.getCamera() without the security prompt happening. Is there a workaround? (For instance, could I, perhaps, call getCamera in a hidden Flash object and inspect its return value, or does it block until the user acknowledges the security prompt?)
I have a site that plays either .mp3 or .flv files depending on what is selected from the menu. Menu loads in from xml. I get "unable to make connection with server or unable to find flv on server" when I try to play the video. But the video and audio files are all in the same directory and the mp3 files play fine. I think I'm having a problem with the setMedia command. Here's the code that loads the video and audio files.
[Code]...
how to make the camera follow my hero (mc), I think the problems involve me using the mouse to move my player instead of the keyboard. This is my code:
var distx:Number;
var disty:Number;
var gravity = 0.6;
[code]....
The result is my Hero following my mouse and when I click it jumps. But the camera is not following it.
make the camera zoom as an animation plays from an entire body shot to a closeup of the head?
View 3 RepliesI am making my second flash game, I am still very much a beginner. This time i am trying to make a platformer in the style of fancy pants adventure. To do this i obviously need to make the camera follow my character. The problem is; i simply don't know how. I have yet to find a CS5 compatible solution with my less than good google skills, and so here I am.
View 6 RepliesI have a video capture device on a machine. I have written a windows application to capture the video from this device. While capturing, if i try to broadcast using flash it does not connect. If i'm already broadcasting and then try to capture then my windows application does not get the capture pin of the device. So, flash seems to be taking the capture pin. Is there anyway to broadcast using the preview pin on the device so that i can capture using my application. Or is there way where i can split the capture pin and give one to my app and one to the broadcaster
View 10 RepliesUsually Adobe Flash applications can access any usb-webcam.I have a USB camera for microscopes which understands TWAIN and DirectShow.Is there a possibility to access the video data from this camera with flash?
View 1 RepliesIm new to AS but Im working everyday to improve, Im trying to make a menu but Im having difficulties with moving the menu:
I have a bar in 500 length and mask of 100 And I have 5 buttons. When I click 1 ofthem I want it to bring the correct positon of the bar with easing. Btw the registration point of thebar is upper left corner
I was wondering how to do the box effect like on [this] site. The lines move up and across to form a box. I have tried a few things that I could think of, but have't got it.
View 2 Replies