Flex :: Embedding Live Camera Images?

Mar 4, 2010

I know how to embed standard images(in JPEG, GIF, and PNG) in Flex but can't figure out how to embed "live" image feeds. For example:

http:[url]....

View 1 Replies


Similar Posts:


Publish Prerecorded (or Live) Video, Instead Of Camera In Flash/Flex/Air Via RTMP To FMS?

May 17, 2011

I'm looking for a way to stream video from the desktop to an FMS installation. I know that in ActionScript, it's possible to do:

netStream.attachCamera(camera);
netStream.attachAudio(mic);
but not:

[code].....

View 1 Replies

Flex :: Conditional Embedding Of Images?

Apr 26, 2011

We are working on a flex project where we want to balance two challengesa) want to ensure that there is minimal need to be connected to internet- so it can be used offline. This will be used in rural locations with flaky connectionsb) Reduce file size by only embedding those assets in compile mode as is requiredBroadly, the project will go down one of three flows in the module called, based on user choice- Path A, Path B and Path C, which will require image set-A, set-B & set-C respectively (based on settings in the module)We want to send over all images in Set-A or set-B or set-C right upfront in the module called, based on choice made in primary project, to minimize need for connectivity once accessed. At the same time I want to avoid sending all three sets and bloating up download size three times.

View 2 Replies

Flex :: Embedding Images And Then Displaying Them

Oct 27, 2011

I have 2 images that are used hundreds of times throughout my application. Although they are only ~2.5 kilobytes each, they're multitude is causing the browser to load nearly 7 megs of data if reference them like this[code]...

Instead of having this issue, I would like to embed the image once, and then repeatedly reference the embedded object. I'm not exactly sure how to do this. From what I've read online, doing the following should work[code]...

View 1 Replies

Flex :: Actionscript 3 - Embedding Images In An Application?

Dec 21, 2010

I use the images in the tooltips. Images are on the server. I'm using the code:

var tip1:String;
tip1 = "<img src='assets/images/yes.jpg' align='center' width='150' height='150' hspace='3' vspace='3'/>";
tip1 += 'some text';
yes.toolTip = tip1;

But many of images are more than 100 kb, then the image in the tooltip appear with some delay. Is it possible to embed all the pictures during loading swf, to appear at once with the text when the mouse over?

View 2 Replies

Flex :: Mobile: Embedding Images For Speed

Oct 2, 2011

Would embedding images in mobile Air applications speed up the process of drawing the UI that uses images? How does one properly embed the images?

View 1 Replies

Use IP Camera With FMS For Live Video Streaming?

Mar 2, 2010

How i can use IP Camera with FMS for live video streaming.

View 2 Replies

ActionScript 3.0 :: Flex Embedding Images And Dynamic Variables

Jul 18, 2011

I'm having some trouble with loading images for my tiles in a small game I'm making. It's isometric and tile based. I have two questions: I have a class called MapTile which is for each tile in the map. Each tile is made up of 1-9 blocks stacked on top of each other (like Final Fantasy Tactics). For example, let's say there are 4 different kinds of blocks: grass, dirt, stone, and water and they all have different images. I was considering embedding only the images needed (so if a tile is just grass on dirt then it would only embed the dirt and grass images). Will this actually make the game faster and smaller or is it worthless? If it's worthless then just ignore my next question.I'm trying to embed my images dynamically as stated above. So I have an array called loadedTiles that contains the class names of the tiles that have been loaded so that I don't embed the same thing twice. And I try something like this for embedding new images:

Code:
var sourceT:String = "../../../lib/tiles/" + tilesList[data[i]]["image"];
var nameT:String = "block" + tilesList[data[i]]["id"];
[Embed(source = this[sourceT])] var this[nameT]:Class;

[Code]....

View 1 Replies

Media Server :: Camera Settings Are Not Same After Live Recording?

Jan 25, 2010

I have an application where it records stream from my webcam, stores it in fms 3.5 application folder.
 
Recording is fine, I am using camera.setMode() method to set the width and height properties for the recording.
 
for eg: cam.setMode(388,284,15,false);
 
But when we check for the recorded video i am getting the widht and height as 352 , 264. even after changing the faovare boolean to false.
 
how i should set the camera so that the recorded video is of same size which i have given.

View 4 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

Flash :: Media Server - Change The Live Stream From Camera While Playing With Lite?

Aug 2, 2010

I know the stream can only be modified at publishing side by previous posts. I was thinking of using Server shared objects, but it's not supported by lite.

View 2 Replies

Media Server :: Streaming Video Live With A Video Camera?

Sep 17, 2009

I am looking to broadcast live video and need a camera that is better than a simple webcam. It looks like they used to make video cameras that would register as webcams, but stopped making them.If you wanted to broadcast an event live, what would be a good camera to use?

View 5 Replies

ActionScript 3.0 :: Capturing Images From Camera In Web Application With Flash?

May 26, 2010

We have requirement of web conferencing in our application.Before that we also need capturing images directly frm camera and stroed into our application.I searched a lot then find that it is possible with flash media and action scripting.with that you access client system.I have never done coding in AS3 before...So donot knw how to go about?Even dnt knw how add it later in our web application.

View 3 Replies

Professional :: Embedding Videos And Images?

Jul 26, 2010

How can i embed images and videos in swf through actionscript in flash? I am reading an xml through actionscript (3.0) and loading the content But is it possible to embed them and when a compile it , i get swf with content embedded in it (this possibly eliminates the need of giving the content separately with swf )?

View 2 Replies

ActionScript 2.0 :: Embedding Images In Textbox?

Aug 5, 2006

[URL] so I can load an external text file into a text box in flash. All that works fine but I'm having problems trying to embed a jpg into it. I have been searching the web and all I've found is that you use the "<img src>" method as you would with any html document. From what I have read, you place that code into the .txt file like I have done:

content=B. Clarke 12sg.
<img src="images/misc/briantech.jpg">
Sifu B. Clarke receiving his 1st Tech grade by Keith Kernshpect

I have followed kirupa's tutorial [URL] exactly and the only change I have made is changing the word "myNews" to "content" in the AS and start of .txt file.

View 2 Replies

ActionScript 3.0 :: Embedding Videos And Images?

Jul 26, 2010

I am using flash for developing a project(flash cs4 professional) with actionscript 3.0. I am reading an xml file from which i am getting the path of the videos and images to be loaded.When delivering the swf file, i also need to give the images and videos along with swf file.Is there any way through which i can embed the images and videos in compiled swf file and hence preventing the content to be given with swf file?

View 5 Replies

Webcam - Detect Flash-accessible Camera Without Prompting User For Access To Camera If One Exists?

Oct 11, 2010

From 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?)

View 3 Replies

ActionScript 2.0 :: Random Images Won't Load After Embedding Flash Into Site

Sep 16, 2007

Heres a direct link to the swf. (Flash Player 9 Req) [URL] Note that it loads random images to the right.

Now, when I embed this same swf into the actual site: [URL]

I don't understand

I've taken out the new javascript embed code, just to make sure that wasn't messing things around, but to no avail.

[Code].....

If I hard code the php file with the values listed above, everything works perfectly. But I'm using a php script that checks the directory for images, then provides that output.

View 9 Replies

Media Server :: Broadcasting From Camera Blocks Other Applications From Using The Camera?

Jun 10, 2009

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

ActionScript 2.0 :: Load Images From A Live Webcam On The Internet

Jun 12, 2010

I've made a flash file with actionscript 2.0 and I'm trying to load images from a live webcam on the internet. I've made 3 frames: frame 1 contains this code:

[Code]...

In the first frame i is a code for the frame i'm trying to load... it goes sort of random, i haven't quite found a formula by which it loads images... and find the next image. For exampel the current image is : 1276353066859 , the next one (as fast as i could right click the webcam image in the browser then Copy image adress ) is kinda like 1276353068859, 1276353127259, 1276353124265 so not necessarily a logical order that i've found yet ) Anyways...my problem is another... i've put those traces in the actionscript because after loading the first image, it stops... the output is like this:

[Code]...

View 1 Replies

ActionScript 3.0 :: Thoughts On Embedding Images Into Flash Files That Dynamically Change?

Jul 28, 2009

Is there any point/ can you embed images into a flash file where the user can change what images are displayed?

View 1 Replies

Camera - Access The Video Data From This Camera With Flash?

Oct 20, 2010

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

Flex :: Upload - Adobe Flex Mobile Selecting Image From Camera Roll Or Taking Picture Restarts The Application

Jan 19, 2012

I have a flex mobile application that I am working on that I am having issues with selecting an image from roll/taking a picture. My application is not tabbed, however one part of it contains a Tabbed View Navigator with tabs across the bottom. Within one of those tabs, I have the ability to upload an image to a webservice that I have created. However, when I select an image or take the picture, it pops back out to the initial splash screen and the application restarts. If I use the component standalone (outside of the tabbed view navigator) it selects the image and uploads without any problem.

[Code]...

View 1 Replies

Flex :: Know If The User's Camera Is Broadcasting?

Feb 1, 2010

usually i do Camera.getCamera but when this method is called the user is prompted with a dialog box where he can choose to allow or to deny the application access to the camera, or he could not have a camera

how can the application now whether the camera is broadcasting ?

View 1 Replies

Flex :: Camera Stream In Flash?

Dec 30, 2010

I want to get a feed from my camera and to pass it to the receive function. Also in flash builder(in design mode) how do I put elements so they can play a camera feed?? Because as it seems VideoDisplay just doesn't work

public function receive(???:???):void{
//othercam is a graphic element(VideoDisplay)
othercam.??? = ????;
}

[Code]...

View 1 Replies

Flash :: Flex Use The Camera Without CameraUI?

Jan 19, 2012

Another question about the application I'm making. So when the user signs up, he needs to take a picture. I want to do this without using the cameraUI. I followed a sort of tutorial but the application doesn't run. I don't get errors, but the camera doesn't show. Here is what I did:

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

[Code].....

View 1 Replies

Flex :: Flash - Detect In App If A Camera Is Already In Use By Another Application?

Mar 30, 2010

I am making an application that plays the video stream from the user's local system (both Windows and Mac). I use the Camera.getCamera() method and in turn Camera.names to get a list of camera attached with the system.

Unfortunately, if the camera is already in use by another application, say a desktop application on user's system, the browser is crashed. Is there any way that I can detect if a specific camera from the list of available camera is already in use by any other application?

View 3 Replies

Actionscript 3 :: Show Snapshots From Camera Flex?

Mar 13, 2012

I created a flex application that snapshot a picture of the webcam. Im trying now to save every snapshop and display it directly when the image has been capture. But I cant seems to understand how to. I want the images to be display in the Thumbnail box.

This is what I have for the moment

<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="vertical" verticalAlign="top"

[Code]....

View 1 Replies

Flex :: Flash - Wrapping Or Embedding And MP3 In A SWF Using Flex's Mxmlc Compiler?

May 13, 2010

Our Flash web-based applications play lots of audio for narration and sound-effects. Some of our customers have firewall rules that block downloading of MP3 and other audio files. So, we need to wrap those MP3 files in SWFs. In the past, I've written JSFL scripts that automate the Flash IDE and walk through a complicated, fragile set of steps to embed MP3 files into FLAs and then publish those to SWFs. Now, Flex SDK provides the mxmlc compiler. I've mixed ANT into our workflow, and command-line and automated builds have been a joy. So, I want to make transcoding or wrapping of MP3s part of our build process. I've found Embedding Asset at Compile time in Pure AS3, but this will require that I write a script to generate a wrapper class AS file. Is there a cleaner way to wrap or transcode MP3 files into SWFs?

View 1 Replies

Flex :: Attach Camera To Spark.components.VideoDisplay?

Nov 14, 2010

I'm using Flash Builder and created a spark-application Flex project that will stream video from the local camera. If I use mx.controls.VideoDisplay; there is no problem since it has attachCamera(camera) method. But Spark's VideoDisplay component does not have that method. I know I can use mx controls inside a Spark app but I want to know:

What is the real difference between spark.components.VideoDisplay and mx.controls.VideoDisplay?How do I attach camera to spark. components.VideoDisplay?Is there any advantages if I go with spark (since it's newer to mx library)?

EDIT: In the documentation this is mentioned: "Starting with Flex 4.0, Adobe recommends that you use the spark.components.VideoPlayer class as an alternative to this class. (mx.controls.VideoDisplay)"

View 4 Replies







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