Actionscript 3 :: Pan&Zoom Over A Captured Image With Cam?

Mar 26, 2012

I have an issue with zooming gesture in iOS over AIR. Here is the code (an excerpt):

package
{
import flash.display.DisplayObject;
import flash.display.Sprite;

[code]....

Where, the app, basically captures an image using the iphone's device and then should scales (zoom), but doesn't...

View 1 Replies


Similar Posts:


ActionScript 3.0 :: Show Captured Image In MovieClip Without Saving Image First?

Jan 31, 2009

How can I show an image that I have just captured with the webcam?I am able to save that image using PHP but before I save it, I want to show a preview. How can I do this? Here is a snippet of the code that I think can be used to do this:

ActionScript Code:
foo = new BitmapData(640,480);
foo.draw(myvideoobject, scaleMatrix);

[code].......

View 3 Replies

Flash :: Save Captured Still Image From Webcam?

Jul 14, 2010

I have written enough code to preview the webcam video in Flash.Now, I want to capture images at 10 second intervals.

Here's my code:
import flash.display.BitmapData
import flash.geom.Matrix

[code].....

View 1 Replies

Actionscript 3 :: Morph Image Captured Through A Webcam?

Jul 15, 2010

I'm trying to morph image captured through a webcam. The webcam snapshot part is already working but I still have no clue on how to do the morphing part. Can anyone point me to a tutorial (or kindly post code sample) on how to achieve image morphing using flash actionscript 3?

View 5 Replies

Asp.net :: Sending Captured Image From Flash To Page

Mar 27, 2012

I am using Asp.net/C# in my application , I am using a .swf file which is placed on my Default.aspx page to capture images from webcam, I have a requirement that the captured image should be sent to server or aspx page without storing it on the clients machine,

View 1 Replies

Actionscript 3 :: Webcam Captured Image Resolution / Size

Mar 9, 2012

I have been having a bit of trouble with AS3 and webcams. I have a script that connects to a webcam and then sends its output to a php script that saves the captured image. This works all except for one problem. It seems that the maximum resolution allowed for the actual Camera object is 320x240. I went to the extreme of hooking a Canon 60D up as a webcam because I have a normal webcam that is supposed to have max resolution of 1280x720 and all I can get is a 320x240 image from it. What I have found so far is the max I can get out of the Canon is also 320x240. Maybe I have been looking at this to long but I am stumped. Below is a sample of the action script where videoCapture should be 1024x768. What happens instead is a 1024x768 image is created with a black background and in the top left is a 320x240 image from videoCapture. I could obviously resize this but that would defeat the purpose being poor quality. Is there something I am missing here or maybe some limitation of Flash even?

[Code]....

View 1 Replies

Actionscript :: Passing Image Captured Using Flash To Asp.net Page

Mar 21, 2012

I am using ActionScript 3 to capture image via users webcam in one of my Asp.net Page. Here is the code i am using

package
{
import flash.display.Sprite;

[Code]....

Here the image is saved using file reference, which prompts the user to save. However i want that the image should be sent to asp.net page or server, so that i can get the image and save it to the database

View 1 Replies

ActionScript 3.0 :: Mouse Over Actual Panzoom Animation Graphic Causes All To Vanish?

Jun 25, 2010

see code below. We have movieClip called Map_Collection (in properties) within which are movie clips BusRoute_42 and BusRoute_43 (in properties) as well as the basic map artwork graphic. These are lines that glow (motion tween alpha1% to 100% to 1%) when buttons outside of the map boundary are clicked on. Buttons sit on Scene1 stage outside of the map area and are named in properties Button42 and Button43
 
Coding also makes the map zoom and pan, using mix of freesource whitecat redcat and greymouse coding for pan and another for zoom with focus at mouse location.
 
The problem:-
1) Map route glows ok when button clicked, and pan zoom is ok until user happens to shove map around just on the location of the glowing line, the entire flash movie then goes white, all artwork vanishes.. Why ? Near it ok, but on it, zappo !

2) zoom works but zoomout eventually inverts then gets larger !
 
Envirographics
 
PS I dont suppose there is a way of copy pasting code in from CS5 retaining the colouring of it ?

[Code].....

View 3 Replies

Actionscript 3.0 :: Captured Audio Is Not Playing

Jun 4, 2009

I am using red5server and flash cs3 and as3.0 and windows xp. i am trying to capture audio when user clicks on button start. next i will keep capturing for a maximum of 10 seconds or user clicks on stop button.once the maxtime ie 10 seconds reached or user clicks on stop then capturing will be stopped. my application working till this point.but if he clicks on play button then it should play the captured audio. [code]...

View 2 Replies

Save Video Captured From Webcam In Flash?

Oct 4, 2010

Im making a flash app that will capture video from the users web-cam, show whats being captured and when he clicks submit, send this to the server.Its already capturing video from the user web cam, but its not recording anywhere. Whats my next step to save it somewhere where it can be played to the user after recorded and after he clicks in a submit button send it to the server?

View 1 Replies

Actionscript 3 - Save Video Captured From Webcam Using Flash?

Dec 29, 2009

I'd like to use Flash to capure video from the user's webcam and then save it on the same server that hosts the Flash file. The web server will be running ASP.Net technology. Lot of searches yielded the same lines of code to start a webcam capture using Flash. I can't find anything that sends that captured video back to a server.

I can find lots of blog and forum posts that imply 3rd party software or Flash Communication Server is required to collect it on the server, but I don't understand why. It seems like Flash ought to be able to capture some video and send it as an HTTP post to the same server that hosts the Flash file. That's pretty basic Flash/webcam functionality, right? It seems like we don't need to introduce 3rd party dependencies just yet.

View 1 Replies

Actionscript 3 :: Directly Upload Video Captured From Webcam?

Aug 3, 2011

I'm working on a site, which needs to have a feature of users capturing their opinions about a specific topic with their webcam, and uploading them to the server. After a short research, and viewing similar questions like this one I ran out of possibilities:

I cannot use Flash Media Server (out of budget) I cannot use Red5, as the server where the app will be hosted is not able to build or install it. (our server guy told me that Red5 was last updated in 2007, and he got some errors which I include below (in case that someone would have an idea how to fix it) )

red5 install errors:

xxyyzz@zzyyxx ~/red5 $ sh red5.sh
Exception in thread "main" java.lang.NoClassDefFoundError: org/red5/server/Standalone

[Code]...

View 3 Replies

Actionscript 3.0 :: Keyboard.ENTER Not Captured In Fullscreen Mode?

Apr 3, 2009

I have a keyboard.enter working in my flash movie, meaning when i hit the ENTER key my listener function is fired. But when i switch to fullscreen mode the Keyboar.enter event is not captured by my listener anymore.

View 8 Replies

Actionscript 3 :: Upload Library Or Captured Images On IOS With Flex Mobile 4.6

Jan 18, 2012

I'm running into a lot of setup issues and the documentation is lacking. I'm trying to setup an image upload component where a user can either capture a new photo or choose an existing from their library.

For capturing, there seems to be a huge hang (like 10 seconds where the app just sits non-responsive) when the image is being saved as a JPEG, and I'm using the Alchemy swc.

private var cam:CameraUI;
protected function takePhotoHandler(event:MouseEvent):void
{
if(CameraUI.isSupported) {

[Code]....

View 1 Replies

Actionscript 3 :: Post-processing Captured Video, Creating Slow Motion?

Apr 25, 2011

I have an interesting project wherein I need to allow users to capture video of themselves with a webcam at a kiosk, after which I email them a link to their video. The trick is the resulting video needs to be a 'slow motion' version of the captured video. So for example, if someone creates a 2 minute movie, the resulting movie will be 4 minutes.I'd like to build this in Flex / AS3 if possible. I don't have issues capturing the video and storing it / generating and emailing a link, but slowing down the video is the real mind bender. I'm unsure how to approach 'batch post-processing' a set of videos using Adobe tools

View 2 Replies

Flash :: Eliminate The Difference Between Captured Bitmap Data And Filled FXG Paths?

Feb 13, 2012

I am trying to find a way to avoid using FXG in one of my applications but run into a problem where the captured bitmap is not exactly the same as the original filled FXG paths.Originally, let's say I have a 3 shapes that are adjacent to each other (you can imagine a pie chart with 3 slices). I used "cutImage" function below to capture the filled bitmap data and display the 3 pictures. However, we discovered that there is a 1 pixel gap on the side where each shape meets the other shapes. Not sure if there is any relationship, but the captured bitmap is exactly the same as displaying the filled path directly but with "cacheAsBitmap" set to true. If we just display the filled paths with cacheAsBitmap set to false, there are no gaps between the shapes

<?xml version="1.0" encoding="utf-8"?>
<s:WindowedApplication xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"

[code].......

View 1 Replies

Actionscript :: Calculate The Average Frequency Of An Audio Recording Captured As A ByteArray In Flash?

Nov 30, 2011

Keeping it simple for now but assuming i have a ByteArray full of sample data is it possible to calculate the average frequency (thus a pitch) from the entire recording? Is this along the right lines? p = 69 + 12 x log2(f/440hz) ...

View 1 Replies

ActionScript 3.0 :: Make Brightness Of Footage Being Captured By Webcam As Trigger To Start / Stop Event?

May 9, 2011

Im looking to make the brightness of footage being captured by a webcam as a trigger to start or stop an event or animation. basically when the brightness being captured by the webcam goes below a certain level a layer will be effected and when the brightness goes back above this level it will revert back to its original state.

View 1 Replies

ActionScript 3.0 :: Reading A Click Event Even When Its State Is Not Captured; So Not "clicked"?

May 26, 2009

Im working on menu where I need to capture a "holded" mouse click in order to register a second event handler. Only problem is that the click is "on hold", meaning that the mouse button is beeing pressed and "holded" - so its not be catched by Flash's "MouseEvent.CLICK" listener as completed "CLICK".
 
Is there any workaround to capture this event before its registered as a completed click? - Maybe using the "useCapture" flag of the event handler?

View 3 Replies

Actionscript 3 :: Get Full Camera Area Captured Inside Flex Using Camera.getCamera ?

Apr 1, 2012

I 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 Replies

Media Server :: Setting File Name Of Captured File In DVRcast application

Jun 29, 2011

I've looked through the scripts in the scripts/ directory, but haven't seen anything obvious.

I would like to be able to specify the file name to capture the stream to. At present, the capture file is always named the same as the stream, which means if I stream for a bit, stop, then restart, the originally captured file gets overwritten. I'd like to be able to incorporate something, i.e. the stream start time, into the capture file name.

View 3 Replies

ActionScript 3.0 :: CurrentFrame "realtime" Reported / Captured

Jan 25, 2011

We (myPartner & i) have created a AS3 .fla file with 6 movieClips that play in succession. We are ready for a content review of our work by the biology experts (this is a presentation of protein synthesis). Each MC covers (in great chemical detail) a step in that process for bacteria. I would like to include a text line (dynamic text) at the bottom of the draft-Protein Synthesis FLASH movie that will enable our biology reviewers to cite "the movie clip" and the specific frame of the movieClip that they wish to comment (or correct us) on. For example: ID = mcID:frameID

I am not able to find a way to get the "realtime" currentFrame value to print to the stage. Yes - I can get the currentFrame to show on the stage at the beginning of each movieClip (frame 1 or 2) -- but, I am at a loss to get "realtime" currentFrame information. Some MovieClips have over 900 frames. And, I have play & stop buttons included in the interface.

View 3 Replies

Flex :: Image Rotate 3D But Display Another Image On Back Of Image?

Oct 24, 2011

i want to rotate 3D an Image called img1 in Flex. I want to rotate it around y axis 180 degree. I can do this by using 3D effect already built in Flex but i want to do a bit more different. I want during rotating, there's another image called img2 appear on back of img1 (in default case, the image appear on the back is img1) and when rotating finish, the image will be img2.

View 2 Replies

C# :: Apply Image Manipulations To An Image To Make A New Image?

Jun 6, 2011

I am working on an Image manipulation application which will be developed using Flash/ C#.Net. Is this possible to save the image manipulations (not the image) saved from Adobe Lightroom for a specific image & then merge these change sets with an image to make a new image using C#.Net?

Also, the application for image manipulation will be developed in the Flash/ Action Script. Please share some links as to how we can save the image manipulations for an image (not the image) so that it can be merged with an image later on.

View 1 Replies

Flex :: Get Updated Image In Flex Image Control After Changing Source Not Name Of File (image)?

Jan 25, 2012

I am changing image through flex every time i change it saved into server directory with same name(which i am referring to show). So when i refresh my page my browser didn't send new request to server since it's already in request.so didn't getting new image.Tip:- when i clear browser history it will come with new image

View 2 Replies

Flash :: Video In CS4 - Importing An Image To Stage And Set The Width And Height To Match The Image

Nov 8, 2009

I have a Flash CS4 Professional version installed in my machine. Here is my problem.

1st - I'm importing an image to stage and set the width and height to match the image. (everything is good, no problem) 2nd - I am using the FLVPlayback components build-in from Flash CS4. It does load the video and everything. (everything seems good) 3rd - Publish the video to my local drive (everything seems good) 4th - I could play the video from my local pc and it loads fine and fast 5th - Upload everthing from my local folder to the Web server, it does display the background image but not the video. It has a white blank screen. What is going on? I copy the exact folder from local to server. What have I missed? How could I make the video to load?

View 1 Replies

ActionScript 1/2 :: Masking - Load A Colour Image And Then It Is Changed To Black And White Image

Oct 14, 2009

I am trying to load a colour image and then it is changed to black and white image. Here I am using a mask. But it is not getting worked. The code that i am using for this purpose is attached following: import

[Code]...

View 7 Replies

ActionScript 1/2 :: Gallery Where Passing Over The Image A Rectangle Drops Down Showing The Caption For The Image

Jun 3, 2011

I have a gallery where passing over the image a rectangle drops down showing the caption for the image. The informations are read from an XML file and some of my images don't have a caption, for those emails I want to avoid the tween.

[Code]...

View 2 Replies

Flex :: Place An Image By Dragging And Placing It In The Drag Proxy Image Position

Mar 23, 2010

I found examples in adobe site only to position the object where the mouse pointer is. But i have to place the image in the position of drag proxy image.

View 1 Replies

Flex :: Align Image To Bottom When It Doesn't Fill The Space Allocated For <mx:Image> ?

Mar 28, 2011

I have an image that doesn't fill the <mx:Image> tag because it's not the exact dimensions (it is too short) and I have maintainAspectRatio set to true:

<mx:Image id="theImage"
source="{data.photo_thumb}"
horizontalCenter="0"[code]....

The <mx:Image> tag has a fixed width and height (it's 100% of the tile size--this is in an ItemRenderer). How do I get the image to sit on the bottom of the <mx:Image> tag?

View 2 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved