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


Similar Posts:


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

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.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

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

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

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 3.0 :: Sending A User To A Php Page From Flash?

Mar 31, 2011

So I am successfully able to send variabls from Flash to PHP, but I am still unable to figure out how to send the USER to the php page along with their variables. The reason I want to do this is because the PHP script in question spits out a bunch of text to the user based off the variables sent to it from flash.
 
Right now, when the user clicks the submit button in flash it sends the variables to flash ok, but to the user, they just continue to sit idly on the flash page, even though it no longer serves a purpose. So I guess my question is, how can I get flash to send the user AND their data to the php script when they click the submit button?

[Code]...

View 2 Replies

ActionScript 2.0 :: Sending Variables From One Flash Page To Another?

Jan 5, 2009

I am having trouble with what would seem to be a simple thing...I need to pass a variable generated by the user from a swf/html page to another swf/html page. I am encoding the variable in the URL....?bagVar=How do I get whatever the content of this variable is imported to the other swf/html page? None of the documentation I've found seems to answer this (maybe I am looking in the wrong places).

View 1 Replies

ActionScript 2.0 :: Sending Variable To Php Page - Login Page?

Feb 19, 2008

I'm trying to login to a password protected php page through a form in flash.When the user provides correct information the flashmovie opens a php-page, but how do I protect the php page from unautorized accesses?Can I send a variable containing the user/pass given?but then everyone who checks history can access the page without even having to access the flash page..

View 2 Replies

ActionScript 3.0 :: Sending Vars From A Classic ASP Page To Flash?

Feb 23, 2011

I am having a bit of trouble retrieving variables from an ASP page. It returns the entire page whereas I just need the variable strAnswer from the page.Here is my code:

PHP Code:
var loader:URLLoader = new URLLoader();
loader.addEventListener(Event.COMPLETE, onDataSaved);

[code].....

View 2 Replies

Actionscript 3 :: Sending Vars From A Classic ASP Page To Flash?

Feb 23, 2011

I am having a bit of trouble retrieving variables from an ASP page. It returns the entire page whereas I just need the variable strAnswer from the page.

Here is my code:

var loader:URLLoader = new URLLoader();
loader.addEventListener(Event.COMPLETE, onDataSaved);
loader.dataFormat = URLLoaderDataFormat.VARIABLES;

[Code]......

View 1 Replies

ActionScript 2.0 :: Sending Flash Vars To Php Without Refreshing Page?

Jan 4, 2010

i'm sending flash vars to php, but the .swf refresh when the fuction "send" is call.

fo exemple:

var myFlashVars:LoadVars = new LoadVars();
myFlashVars.cor="Blue";
myFlashVars.send("http://urlpage.php","_self");

when this happen, the page refresh and also the .swf

View 3 Replies

ActionScript 3.0 :: Sending Variables AND The User To A Php Page From Flash?

Mar 31, 2011

So I am successfully able to send variabls from Flash to PHP, but I am still unable to figure out how to send the USER to the php page along with their variables. The reason I want to do this is because the PHP script in question spits out a bunch of text to the user based off the variables sent to it from flash.

Right now, when the user clicks the submit button in flash it sends the variables to flash ok, but to the user, they just continue to sit idly on the flash page, even though it no longer serves a purpose.

how can I get flash to send the user AND their data to the php script when they click the submit button?

Here's what I'm using now (inside flash):

//variables used to send data to server for processing
var scriptRequest2:URLRequest = new URLRequest("qm-results.php");
var scriptLoader2:URLLoader = new URLLoader();
var scriptVars2:URLVariables = new URLVariables();

[Code].....

View 1 Replies

ActionScript 2.0 :: Sending Parameters To Flash From Html (asp) Page

Mar 13, 2006

I have a project where I need to keep track of where the user is at a certain point of a flash training orientation.

Flash application needs to accept a parameter which contains a unique ID for the user running the flash application. This ID needs to be stored throughout the session of the flash application, from page to page. Once a user travels from page-X to page-X in the Flash, the next button needs to call an aspx page in order to send that ID and the page position so the aspx can write to an XML file this information. If the user does not finish the flash, once they return, the aspx needs to read the correct XML file and send 2 parameters to the flash application. These 2 parameters will be the user's ID and the page the user was on the flash can load the correct page. Instead of passing 2 parameters so the flash can dynamically load the correct section, the aspx can call the correct flash file (i.e. flash_file2.swf) but still pass the user's ID as a parameter.

View 1 Replies

ActionScript 3.0 :: Sending Variables In Flash Back To HTML Page

Dec 16, 2009

I had posted this in the PHP section but think it may be more relevant in Flash as have'nt had any replies yet..I have been asked to create a photo canvas website that allows users to upload an image, then apply several effects such as re-sizing/cropping/desaturate, then viewing the updated image on a generic wall and going to check out to buy the canvas.I am pretty new to web developing/designing, i am confident with html,css and actionscript to an extent, but have only used small parts of php before.My biggest worry is how to go between html > php >flash >back to html again.From what i understand i need to create the following functions:

1. Create a general html website which will store the upload form and flash photo editor swf on, when the user first access's the site i start the php session...

2. The user then uploads there image to the server using a simple php upload form which will store the file and create a unique named file also on the server...

3. The flash editor swf will then load up on the html page. Inside the actionscript of the swf i will tell flash to continue with the php session by calling it again and call users image on the server with the 'file reference' command. The editing functions such as cropping, canvas size will all have variables to mark what the user has chosen and these varaibles will get ent back to the html page using php to keep track of them for the checkout process...

4. Once the editing has finished the user will click 'finish' in the swf taking them to the php shopping basket/checkout which will call the variables sent in flash to determine final cost depending on what effects chosen.

Is the above correct and more importantly is it possible? The main part i am struggling to get my head around is editing in flash (say changing the uploaded image to 20 x 26) and then saving this back to the server and sending the new settings back into the html/php page.Is this all possible without using database and tables such as MySql?

View 0 Replies

Php :: Sending Image Data From Flash To GD?

Oct 26, 2010

If i send bitmap data from Flash AS3, to PHP and then PHP turns the bitmap data into a image file and saves on server... Would it take too much resources?I mean, The Bitmap Data could contain too much pixels etc does that affect the resources? If 10-100 people send data simultaneously is it going to cause problems.

View 3 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 2.0 :: Sending Email With PHP - No Success Of Failed Page

May 30, 2009

I've followed the contact form tutorial and believe I've updated the php to php5. The email sends but I never get a success or failed page. It just stays there. I'm being hosted by Go Daddy and I am on a Linux server.

[Code]...

View 3 Replies

Actionscript 2.0 :: Sending Email With PHP - No Success Of Failed Page?

Nov 22, 2009

I've followed the contact form tutorial and believe I've updated the php to php5. The email sends but I never get a success or failed page. It just stays there. I'm being hosted by Go Daddy and I am on a Linux server.

php (removed actual email):

Code: Select all<?PHP

$to = "name@email.com";
$subject = "Flash Contact Form Submission";
$message = "Name: " . $_POST['theName'];

[code]....

View 1 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 2.0 :: Email PHP Page - Sending Variable In Form MovieClip

Aug 26, 2004

[URL]. I am trying to make the code into a function so that I can place it in a frame instead of attaching it to a mc.

onClipEvent(data){
this.sendSent.text = "MESSAGE WAS SENT";
this.textEmail.text = "EMAIL";
this.textSubject.text = "SUBJECT";
this.textName.text = "NAME";
this.textMessage.text = "MESSAGE";
} on (release) {
// send variables in form movieclip (the textfields)
// to email PHP page which will send the mail
this._parent.form.loadVariables("email.php", "POST");
}

View 10 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 :: Retrieve Xml Data In Aspx Page After Sending It Using URLLoader.load

Jul 23, 2009

How to retrieve xml data in an aspx page after sending it using URLLoader.load

This is the flash code i am using:
 
var urlLoader:URLLoader = new URLLoader();
urlLoader.dataFormat = URLLoaderDataFormat.TEXT; //tried by giving VARIABLES also urlLoader.addEventListener(Event.COMPLETE, handleComplete);
urlLoader.addEventListener(IOErrorEvent.IO_ERROR, ioErrorHandler);

[Code]....
 
I were able to accept data in above statement when i send a string in var1 say "test". But on sending xml above error is getting.I have tried to load the xml data in XMLDocument also.
 
In AS20 i used sendAndLoad method to send and reterive xml data. 

View 2 Replies

Server Side :: Have A Different Image Load On Home Page Everytime The Page Refreshes?

Jun 2, 2011

I want to have a different image load on my home page everytime the page refreshes or someone visits it. Is it possible to do it without using Flash?

View 2 Replies

ActionScript 3.0 :: Sending Image Through Socket

Jan 15, 2009

I'm loading a small portion (rectangle), of a png file and extracting the ARGB (Alpha, Red, Green, Blue) values of the bitmapdata using C#. I then send this bytearray to the flash player (using sockets). The flash player receives this as a ByteArray. I then use LoadBytes but it gives me the error "unknown file type". I'm guessing that it could be because the data is not png encoded (I don't know how to do it), and loadBytes requires that.

View 6 Replies

Sending Image (Screenshot Of Stage) By Email

Sep 5, 2009

I would like to take a "screenshot" of the stage within flash and send it as an image by email. I have tried AMFPHP and the method described here - [URL]. This is saving a jpg of a movie on the server, but no email function. I know how to setup a very simple php email file but without attachment. So my problem is I have no idea how to "connect" all those parts together and make it so that when you click the button in flash it'll send the jpg by email directly.

View 2 Replies

Flex :: AIR: Sending Email With Embedded Image?

May 22, 2009

I'm making a Flex AIR application that will produce a giftcard from a webcam picture. This giftcard needs to be sent in an e-mail to a recipient provided in the program. Should I upload the picture to a server and use php to send the mail?

View 2 Replies

ActionScript 3.0 :: Sending The Code For Image Compression

May 4, 2010

sending the code for image compression.

View 2 Replies







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