Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
  Advanced Search
  HOME    TRACKER    Flash








Need Flash To Display Images From IP Cameras...


hi guys,

I'm making a web page for my client's IP network cameras (the ones with built in web server, etc).. The intention of the web page is to display the IP cams in FLASH, with Flash pulling images from the IP Camera itself rather than having to use the cameras' default interfaces that use active X and stuffs to display the streams.

My mission is to make a simple Flash project that will display the images of the IP cameras in Flash, refreshing every second or 2 (depending on load speeds)..

I've already figured out the internal workings of the cameras and found that i can LINK to the cams' image directly via

http://mydomain.com/goform/video/index.jpg

and some cameras, seem to stream it and can be access through:

http://mydomain.com/img/mjpeg.cgi


now i got 3 problems:

1) How do i load image from http://mydomain.com/goform/video/index.jpg, is it a simple loadMovie command or somethng else?

2) How do i load image from http://mydomain.com/img/mjpeg.cgi, again, will loadMovie suffice?

3) The cams have basic server authentication requiring a username and password... how do i get flash to authenticate itself before loading the images? this is probably the reason why im not getting anything when attempting a simple loadMOvie command.

please shed light on me little project.

Thanks

Tea




SitePoint > Design Your Site > Flash and Actionscript
Posted on: Nov 28, 2007, 17:20


View Complete Forum Thread with Replies

Sponsored Links:

Need Flash To Display Images From IP Cameras...
hi guys,

I'm making a web page for my client's IP network cameras (the ones with built in web server, etc).. The intention of the web page is to display the IP cams in FLASH, with Flash pulling images from the IP Camera itself rather than having to use the cameras' default interfaces that use active X and stuffs to display the streams.

My mission is to make a simple Flash project that will display the images of the IP cameras in Flash, refreshing every second or 2 (depending on load speeds)..

I've already figured out the internal workings of the cameras and found that i can LINK to the cams' image directly via

http://mydomain.com/goform/video/index.jpg

and some cameras, seem to stream it and can be access through:

http://mydomain.com/img/mjpeg.cgi


now i got 3 problems:

1) How do i load image from http://mydomain.com/goform/video/index.jpg, is it a simple loadMovie command or somethng else?

2) How do i load image from http://mydomain.com/img/mjpeg.cgi, again, will loadMovie suffice?

3) The cams have basic server authentication requiring a username and password... how do i get flash to authenticate itself before loading the images? this is probably the reason why im not getting anything when attempting a simple loadMOvie command.

please shed light on me little project.

Thanks

Tea

View Replies !    View Related
Compatible Cameras For Flash 8?
Hello,

Does anyone know if Adobe has an updated Camera compatibility matrix that lists the cameras compatible for Flash 8?

Also, would it be possible to use a digital camera as a webcam? I am looking for a solution where I can get at least 2+ megapixel output. I am taking a bitmap snapshot from the webcam.

Thanks,

-Dan

View Replies !    View Related
Cameras That Accept Flash
Hello, have told me that flash does not accept all that there are cameras on the market, therefore I wondered whether there was a list which says it accepts firewire flash cameras in order to carry out a project?

I thank in advance all the assistance

View Replies !    View Related
Display Images Within Flash (.swf)
All,

Does anyone know if there is a solution where I could have a flash object that I can embed into my blog which I can set some parameters for.


1) width
2) Height
3) ImageUrl
4) AltText
5) ClickUrl
6) LogoUrl

This would be really handy to show photo's that I want to make it a little harder to steel from my site. I would also like to have my logo on top of all of the images in the bottom right hand corner.

Is there any solutions out there or could anyone help me out please?

Thanks,

Al

View Replies !    View Related
Flash Media Encoder With Multiple Cameras?
Hi,

Is it possible to stream 2 or more cameras on one computer with Flash Media Encoder, or are you restricted to one camera per machine?

Cheers

View Replies !    View Related
Cameras In Flash---Unexpected File Format
hi guys, i had download the source file at "Cameras in Flash section", but i used Flash 5 to open it but came out a "Unexpected file format" message, why..?!! need MX to open it?!
thanx for help

Free

View Replies !    View Related
Zooming And Panning Withing A Flash Doc, Like Cameras In AE?
Hi all,

I am making a flash site in which the navigation system is a map (as in an actual street map-style graphic).

What I would love to know is how to do the following; when i click on certain points, the map scales up, just like zooming in on that point. I only want this to happen when you click on certain points, rather than have it dynamically zoom on whatever you click on. I would also like to be able to rotate the map on the zoom to a certain angle.

Thanks in advance,

View Replies !    View Related
[F8] Upload And Display Images In Flash?
I've tried alot of tutorials for uploading images and viewing them. All the methods have been using flash 8 and php

Ive decided to try and get working flash 8's sample they provide in the tutorial folder.
Heres my attempt:
http://www.webdesignhull.lincoln.ac....fileupload.swf

When you upload a file nothing appears.. I assume its supposed to load in that .swf and be saved in the images folder..

Please can someone tell me how to get this working!

Below is the action script and php.

actionscript used in fileupload.swf:

Code:
System.security.allowDomain("http://www.helpexamples.com");
import flash.net.FileReference;

// The listener object listens for FileReference events.
var listener:Object = new Object();

// When the user selects a file, the onSelect() method is called, and
// passed a reference to the FileReference object.
listener.onSelect = function(selectedFile:FileReference):Void {

// Update the TextArea to notify the user that Flash is attempting to
// upload the image.
statusArea.text += "Attempting to upload " + selectedFile.name + "
";

// Upload the file to the PHP script on the server.
selectedFile.upload("http://www.webdesignhull.lincoln.ac.uk/jecgardner/upload_flash/uploadFile.php");
};

// When the file begins to upload the onOpen() method is called, so
// notify the user that the file is starting to upload.
listener.onOpen = function(selectedFile:FileReference):Void {
statusArea.text += "Opening " + selectedFile.name + "
";
};

// Once the file has uploaded, the onComplete() method is called.
listener.onComplete = function(selectedFile:FileReference):Void {

// Notify the user that Flash is starting to download the image.
statusArea.text += "Downloading " + selectedFile.name + " to player
";

// Add the image to the ComboBox component.
imagesCb.addItem(selectedFile.name);

// Set the selected index of the ComboBox to that of the most recently-
// added image.
imagesCb.selectedIndex = imagesCb.length - 1;

// Call the custom downloadImage() function.
downloadImage();
};

var imageFile:FileReference = new FileReference();
imageFile.addListener(listener);

uploadBtn.addEventListener("click", uploadImage);
imagesCb.addEventListener("change", downloadImage);
imagePane.addEventListener("complete", imageDownloaded);

// If the image does not download, the event object's total property
// will equal -1. In that case, display a message to the user.
function imageDownloaded(event:Object):Void {
if(event.total == -1) {
imagePane.contentPath = "Message";
}
}

// When the user selects an image from the ComboBox, or when the downloadImage()
// function is called directly from the listener.onComplete() method,
// the downloadImage() functino sets the contentPath of the ScrollPane in order
// to start downloading the image to the player.
function downloadImage(event:Object):Void {
imagePane.contentPath = "http://www.webdesignhull.lincoln.ac.uk/jecgardner/upload_flash/images/" + imagesCb.value;
}

// When the user clicks the button Flash calls the uploadImage() function,
// and it opens a file browser dialog.
function uploadImage(event:Object):Void {
imageFile.browse([{description: "Image Files", extension: "*.jpg;*.gif;*.png"}]);
}

This is the uploadFile.php script im using:

PHP Code:



<?php
//path to storage
$storage = 'http://www.webdesignhull.lincoln.ac.uk/jecgardner/upload_flash/images/';

// add current datetime to filename
$now= date("Y-m-d_Gis_");

//path name of file for storage
$uploadfile = "$storage/" . basename( $now.$_FILES['Filedata']['name'] );
//$uploadfile = "$storage/" . basename( $_FILES['Filedata']['name'] );

//if the file is moved successfully
if ( move_uploaded_file( $_FILES['Filedata']['tmp_name'] , $uploadfile ) ) {
echo( '1 ' . $_FILES['Filedata']['name']);
//file failed to move
}else{
echo( '0');
}
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<title> Upload Page </title>
<meta name="Generator" content="EditPlus">
<meta name="Author" content="">
<meta name="Keywords" content="">
<meta name="Description" content="">
</head>

<body>
<h3>Upload Successful</h3>
</body>
</html>

View Replies !    View Related
XML Contains Text & Images To Display Via Flash
Hi

i'm looking to sort 1 problem i'm working on for last 2 days but my head can get around with it.

i've got xml file which contains text & my pictures information i want to access using Flash

but it has to be to the top of every thing like the following link

www.livingtv.co.uk with masking effects

if any body know any thing regards this plz let me know
thx in advance

Fary

View Replies !    View Related
Flash Can't Display JPEG2000 Images?
I am building a Flash interface to display high quality photos on a CD that will be included in a book. However, the author has decided to use JPEG2000 images and they will not load using my image loader. JPG will work just fine, but Flash does not seem to recognize the JPEG2000 format. Is there a workaround for this, or do I tell him to resave as JPG?

View Replies !    View Related
Display Images From MySQl Using Php In Flash
hi there i'm new to flash and php i saw this tutorial
http://www.devshed.com/c/a/Flash/Bu...-Flash-Movies/2

and thought i'd implement it however
PHP Code:
<?
// message.php

// open connection to database
$connection = mysql_connect("localhost", "root", "secret") or die
("Unable to connect!");
mysql_select_db("data") or die ("Unable to select database!");

// formulate and execute query
$query = "SELECT message FROM message_table";
$result = mysql_query($query) or die("Error in query: " .
mysql_error());

// get row
$row = mysql_fetch_object($result);

// print output as form-encoded data
echo "msg=" . urlencode($row->FirstName);

// close connection
mysql_close($connection);
?>


is the text.. i need to display all the images(from the image path names in mySQL) and be able to click drag them around the screen individually.

someone.. anyone.. some help please?

View Replies !    View Related
Tring To Display Images In Flash From Php/mysql
Hi there, i'm trying to display lots of images (thumbnails) in one movieclip in flash which are loaded from a mysql database and read from PHP. I've crated the sql and php files and they work correctly

My question is:

How can i load the images into flash from the results of the php?
i do not know how many images will be on the page (somewhere 100-150), so i cannot create placeholders for every image. I think somehow i need to create new instances for each image depending on how many it finds in the database. I assume i need to change the X and Y coordinates of each of these movie clips too. Also, do you think it is possible to make these new instances clickable, so that they load a bigger picture (url2) of the thumbnail that was clicked over the top of what the user is viewing?

Please please could someone help me with the flash for this? i've been trying for about 10 days. searched every search engine and find nothing like it.

This is my php file. and it works fine:


Code:
<?php

include_once("settings.inc.php");

//getPictures.php to retrieve pictures from database.

$query = "SELECT * FROM swatches ORDER BY id";
$result = @mysql_query($query);

if($result)
{
$i = 0;
while($cat = mysql_fetch_array($result))
{
echo "&id" . $i . "=" . $cat["id"];
echo "&name" . $i . "=" . $cat["name"];
echo "&url1" . $i . "=" . $cat["url1"];
echo "&url2" . $i . "=" . $cat["url2"];
echo "&price" . $i . "=" . $cat["price"];
$i++;
}
echo "&picCount=" . $i;
}
else
{
fail("Error", mysql_error());
}
?>
thanks so much for your time

View Replies !    View Related
How To Display The Text Under The Scrolling Images In Flash Using Xml
Hi

I am Having the Action script of Scrooling Images.

My requiremnt is i need to get the Text for each Image in scrolling.

Now i am retriving the Images from the Xml. I have the Correspoinding text in that Xml. How can i retrive the text and How can i display the Text under the Image.


Can any one Plz help me to solve this Problem.

.................................................. .................................................. ..

Here is my action script

.................................................. .................................................. ..

function loadXML(loaded)
{
_global.total = this.firstChild.childNodes[0].childNodes[0].firstChild.nodeValue;
if (loaded)
{
xmlNode = this.firstChild;
for (i = 1; i <= _global.total; i++)
{
if (this.firstChild.childNodes[i].childNodes[1].firstChild.nodeValue != null)
{
set("_global.thumbimg" add (i - 1), this.firstChild.childNodes[i].childNodes[0].firstChild.nodeValue);
set("_global.title" add (i - 1), this.firstChild.childNodes[i].childNodes[1].firstChild.nodeValue);
set("_global.url" add (i - 1), this.firstChild.childNodes[i].childNodes[2].firstChild.nodeValue);
} // end if
}
//Duplicating
num = 1;
xpos = 37.8;
width = 85;

loadMovie(_global.server + (eval("_global.thumbimg" add (_global.total - 1))), _root.main.verti.roller.thumb.image.pic);
loadMovie(_global.server + (eval("_global.title" add (_global.total - 1))), _root.main.verti.roller.thumb.image.text_mc);
setProperty("_root.main.verti.roller.thumb", _x, -93.6);
sometext = eval("_global.url" add (_global.total - 1));
while (num < _global.total)
{
duplicateMovieClip(_root.main.verti.roller.thumb, "thumb" add num, num);
timg = _global.server + (eval("_global.thumbimg" add (num - 1)));
ttext = _global.server + (eval("_global.title" add (num - 1)));
mlink = _global.server + (eval("_global.url" add (num - 1)));
loadMovie(timg, "_root.main.verti.roller.thumb" add num add ".image.pic");
loadMovie(ttext, "_root.main.verti.roller.thumb" add num add ".image.text_mc");

setProperty("_root.main.verti.roller.thumb" add num, _x, xpos);
xpos = num*width+37.8;
num++;
}
// Duplicasting ends
}
}
load123();
function load123()
{
if (_global.album == undefined && ttinterval <= 2)
{
ttinterval = setInterval(load123, 1000);
}
else
{
clearInterval(ttinterval);
clearInterval(2);
clearInterval(1);
xmlData = new XML();
xmlData.ignoreWhite = true;
xmlData.onLoad = loadXML;
xmlData.load("test.xml");
//xmlData.load(_global.server + "albumxml.php?album=" + eval("/:album"));
} // end else if
} // End of the function
_global.server = "";
load123();
stop ();

View Replies !    View Related
How To Display Uploaded Images In Flash From The Directory?
Ive got a secure flash image upload form to work my only problem is the images don't display in the flash window?!

The images upload fine from THIS LINK

All the files go to THIS DIRECTORY

On the upload PHP script I've added readdir() that displays all the images that have been uploaded to the files directory which can be SEEN HERE

What I'm trying to do is get the images to load in the drop down menu in flash and to get them to display in the flash window when selecting an image!?

The .fla for this .swf can be found in this macromedia 8 folder:
MacromediaFlash 8Samples and TutorialsSamplesActionScriptFileUpload.fla

Please can someone help me!!?

View Replies !    View Related
I Need To Display News Articles/images In Flash (component?)
is there any good news archiver components out there that can also display images?

View Replies !    View Related
Flash Resize - How Display Clear Text And Images In All Screen Settings
PLEASE COULD SOMEONE HELP ME.......

I have designed a website in FLASH using the following Settings:

Dimentions: 100% x 100%

Scale: Exact Fit

Transparentlece Backgroud

The page WIDTH and HIGHT of the website pages designed is: 800x600

THE PROBLEM I AM HAVING IS THAT when I view the website on a 800x600 screen resolution the text gets disorted and the images become smaller too. The website begins to looks scruffy.

WHEN I view the website on a 1024x768 screen size or greater the webpages are clear and easy to read.

This is a website where the size of the WEBPAGE changes when the screen size changes but the txt and pics remin the same and dont become disorted. HOW CAN I VIEW MY WEBSITE LIKE THIS AND HAVE CLEAR TEXT AND CLEAR PICS IN ALL SCREEN SETTINGS LIKE THIS SITE BELOW...

http://www.x1xfilmanddesign.co.uk/ (HOW CAN I HAVE MY PICS AND TXT APPEAR CLEARLY LIKE THIS WEBSITE IN ALL SCREEN SETTINGS)


THANK YOU

JOE

View Replies !    View Related
Two Cameras
Hi
I have two cameras connected to my computer,In my flashMedia application I want to display the names of the camera(Driver) in a comboBox?
Please Help

View Replies !    View Related
Web Cameras
Does anyone know if you can view web cameras with Flash ovr the internet. I want to create a private link to my family in Turkey with out having to join so external club.

Thanks in advance.

electronic ink

View Replies !    View Related
Switching Between Cameras
i got a problem i've used AVPresence in my application. there are 2 instances. its mean 2 users can broadcast video. problem is that as admin i want to tranfer control of AVPresence to any user. how can i do that? any suggesstion or example?

View Replies !    View Related
Using 2 Or More Firewire Cameras In MAC OS 10.5.1
Is it possible to use more than 1 Firewire camera in Flash?

If I go to the camera settings window, Flash displays always 3 cams: DV-Video, IIDC Firewire Video and USB.
I want to use only DV-Video. I've only attached a DV-Video cam.

View Replies !    View Related
Switching Cameras
Hello Im trying to do a lil something that gets the available cameras in a broadcasting computer and puts em in a combo box. When the broadcaste changes the combo box selection, the reciever should seamlessly stop seeing the first cam and start with the new one.
I used an adobe script to start, currently if I were to switch camera Id have to stop broadcasting(button), stop connection(button), select the camera and press the connect button and the broadcast button again.
I tried to ad the code in the buttons so that when the broadcaster chooses from the comboBox the connection/unbroadcasting and reconnection/broadcasting is done automatically. When I do this, the receivers video stops but does not update to the new video.

HERE IS THE CODE FOR THE BROADCASTER:
startstop_pb.enabled = false;

connect_pb.onRelease = function(){
if(this.label == "Connect"){
status_txt.text += "Connecting..." + newline;
this.label = "Disconnect";
nc.connect(rtmp_txt.text);
} else {
status_txt.text += "Disconnecting." + newline;
this.label = "Connect";
nc.close();
}
}

nc = new NetConnection();
nc.onStatus = function(info) {
status_txt.text += "NC.onStatus> info.code: " + info.code + newline;
if (info.code == "NetConnection.Connect.Success") {
status_txt.text += "Connected to " + this.uri + newline;
startstop_pb.enabled = true;
createNetStream(this);
}
}

createNetStream = function(nc){
ns = new NetStream(nc);
ns.onStatus = function(info) {
status_txt.text += "NS.onStatus> info.code: " + info.code + newline;
}
mycam = null;
mymic = null;
mycam = Camera.get(cameras_cb.selectedIndex);
mycam.setQuality(25600, 0);
mymic = Microphone.get();
mymic.setRate(11);
ns.attachVideo(mycam);
ns.attachAudio(mymic);
myvid.attachVideo(mycam);
}

startstop_pb.onRelease = function(){
if (this.label == "Start Broadcast"){
status_txt.text += "Starting broadcast" + newline;
this.label = "Stop Broadcast";
ns.publish(streamname_txt.text, "live");
} else {
status_txt.text += "Stopping broadcast" + newline;
this.label = "Start Broadcast";
myvid.attachVideo(null);
myvid.clear();
ns.close();
}
}

var mycam:Camera = Camera.get();
var myvid:Video;
myvid.attachVideo(mycam);
var camera_lbl:mx.controls.Label;
var cameras_cb:mx.controls.ComboBox;
camera_lbl.text = mycam.name;
cameras_cb.dataProvider = Camera.names;
function changeCamera():Void {
camera_lbl.text = mycam.name;

//stopping broadcast
status_txt.text += "Stopping broadcast" + newline;
this.label = "Start Broadcast";
myvid.attachVideo(null);
myvid.clear();
ns.close();
//disconnecting
status_txt.text += "Disconnecting." + newline;
this.label = "Connect";
nc.close();
//reconnecting
status_txt.text += "Connecting..." + newline;
this.label = "Disconnect";
nc.connect(rtmp_txt.text);
do{status_txt.text += "connecting" + newline;}
while(info.code == "NetConnection.Connect.Success");
//starting broadcast

status_txt.text += "Starting broadcast" + newline;
this.label = "Stop Broadcast";
ns.publish(streamname_txt.text, "live");

}
cameras_cb.addEventListener("change", changeCamera);
camera_lbl.setStyle("fontSize", 9);
cameras_cb.setStyle("fontSize", 9);

AND THE CODE FOR THE RECEIVER:
startstop_pb.enabled = false;

connect_pb.onRelease = function(){
if(this.label == "Connect"){
status_txt.text += "Connecting..." + newline;
this.label = "Disconnect";
nc.connect(rtmp_txt.text);
} else {
status_txt.text += "Disconnecting." + newline;
this.label = "Connect";
nc.close();
}
}

nc = new NetConnection();
nc.onStatus = function(info) {
status_txt.text += "NC.onStatus> info.code: " + info.code + newline;
if (info.code == "NetConnection.Connect.Success") {
status_txt.text = "Connected to " + this.uri + newline;
startstop_pb.enabled = true;
createNetStream(this);
}
}

createNetStream = function(nc){
ns = new NetStream(nc);
ns.onStatus = function(info) {
status_txt.text += "NS.onStatus> info.code: " + info.code + newline;
}
myvid.attachVideo(ns);
ns.play(streamname_txt.text, -1)
}

I read somewhere about a reset function. Please help me out here I will appreciate it a lot :)

View Replies !    View Related
Multiple Cameras And Camera.name
Anybody know how to hook up two or more live cameras to a Flash movie using the camera.name actionscript? Ideally, I could switch back and forth between two or more live cameras by hitting a key. Currently, I'm using camera.get but this allows me to only view one live camera at a time.

Any coding hints would be greatly appreciated.

Thanks in advance.

View Replies !    View Related
Multiple Local Cameras
Camera question: Is is possible to connect more than one local camera at a time to Flash MX?

I want to have three or four local cameras -- all of which have the same video drivers -- connected to the same USB port. Ideally, I could switch back and forth between the cameras by hitting a key for each. Say "q" for camera1, "w" for camera2, and "e" for camera3.

Any coding hints would be greatly appreciated.

Thanks in advance.

View Replies !    View Related
Multiple Cameras Using Same Drivers
hi every one i am stuck with a problem
i am having two same web cams(using the same driver) how can i capture vidio from two of them in actionscript 2 as Camera class looks for the drivers but not device what shoud i do plz help me out
thak you

View Replies !    View Related
PLEASE HELP, How Do I Use Multiple Cameras For This Simple App
hey guys,

I'm setting up a website that I want to display 3 different video streams from 3 different cameras located within 3 different rooms of my clients office. Is this possible?

How does it work, would my clients computer "relay" the video to the flashcom server?

How would I send the camera signals to the Flashcom server? I would need 3 cameras but, would I also need 3 computers?

Thanks very much, I really appreciate your help!

artane

View Replies !    View Related
How To Connect 2 Cameras For Capture?
I am trying to connect two video cameras on the same time on my pc, but I get the same image on both, is there a way for capturing from two different source simustanely?

View Replies !    View Related
Live Broadcasting With DV Cameras
Hi,

I'm using this tutorial and everything seems to work ok: I can connect to my FMS2 and I can start the streaming, but nothing is displayed, although the security popup is display and I select the camera.
I've tried using a Canon XL1 and a Sony DCR-VX2100E and neither of them work with Flash (they work ok with other capture software). Is there any problem with DV cameras?

Thanks,

Oriol.

View Replies !    View Related
Best Way To Display Images..?
Hey guys, just need your advice on something (I don't expect a detailed explanation how to do it, although that would be nice..heh, just which way you think would be best for what I want to acomplish).

I am making a portfolio site for my images and am trying to figure out the best way to display the images. I already have a navigation system setup, where the user will click on different "levels". Level 1 Being Photography. Level 2 Being about 30 pages of photos. Level 3 Being the number of photos on each page (about 10).

Anyway, I have to decide if I should dynamicly load them in to each page, or import the jpg's into flash and just have about 300-400 kb movies per page. This is a negative for 56k users as they will have to wait for all images to load before previewing that page, but I have found that there are some complications with external jpg's and have not found it easy to do this way.

Let me know what you think, what experience you've had..and what you think will work best! Thanks..mUCHO apprieceated!

p.s. each image will be 550 x 412, either horizontial or vetical..the whole site is entirely flash based and optimized for either 800x600 or greater, and there is room on the left side that I am using for the levels/navigation..

_______________________________________________
http://www.therisenvariable.com/intro.html
_____________________________

View Replies !    View Related
Display Images And XML
I want to show dynamic images from xml which display in two rows & five columns. 5 images display in each row with underneth image info plz help

View Replies !    View Related
Multiple Video Cameras - Works - Sometimes...
I have an application that sends video feeds to FMS in a manner taken from the Live Video Switcher tutorial. I'm using USB cameras and I sometimes have serveral cameras connected to a PC at once.

My flash application seems to work well and when I right-click on the applet and choose Camera Settings, I can choose between the cameras that are installed. I have a couple of flash application instances running in separate browser windows and each one publishes to Flash Media Server. All is well and the switching works well, until:

I just built a second machine and connected two identical cameras to it. The first machine, which works well, has two cameras but they are two different models, one a Logitech Quick Cam 5000 and the other a Logitec Fusion. On the new system, however, I have installed a pair of Quick Cam 5000's and now Flash doesn't seem to be able to differentiate between the two and the selection list under Flash Settings shows the same name twice (which one might expect).

As I toggle back and forth between the two names in the list, the picture doesn't change, i.e., it always uses the same camera. Sure, I have a solution, and that's to buy different second camera. But why? There seems to be an instance problem here and its as if Flash is choosing them by name instead of by instance.

FWIW, when I installed two Creative Labs cams on the same system, it crashed 100% of the time with a blue screen.
Logitech at least has a better driver.

View Replies !    View Related
List Of Available Cameras/audio On Machine
Is there any way i can get a list of what camera's and sound devices a user has installed on their machine (even if it is a number) ?

View Replies !    View Related
Display Random Images
Is there an easier way to display random images, for example I want it to display an image or two and then three or four second’s later change to another.

I have over 100 images to display and don’t really want create each frame and place a new image on every 5 or so frame.

There must be somewhere out there some action script that can do this, can anyone help I would very much appreciate it, and thanks in advances for your help.

0rlando

View Replies !    View Related
Display All Images Of A Folder
hi
i would like to code a AS baseed animation.

The script should read all .gif/.jpeg files of a Folder.
And display in in a kind of slideshow.

-has anyone everdone this ? please attach a .fla (thx)
-my big problem is: i don know how to read out a folder

thx

View Replies !    View Related
156 Images On Automatic, 10-sec. Display...how?
Hi there.....thanks for hearing me out first of all....this is a bit pathetic I know....but I can't figure it out....

I'd like to produce a monitor display of 156 images that will appear on-screen for 10 seconds each or whatever....the only way I know how to do this is via the timeline where I place a keyframe every ten seconds and load in the image, which I have numbered from 1.jpg to 156.jpg onto a movie clip holder which I called pic_mc

pic_mc.loadMovie("images/1.jpg");

IS THERE AN EASIER WAY TO DO THIS VIA ACTIONSCRIPT....OR DO I HAVE TO DO IT LABORIOUSLY?
Thansk so much for your help....

View Replies !    View Related
How To Display .gif,.png Images In Flash8
in this code if i gave
mc.loadMovie("http://192.168.1.9/projects/khelorummy/cards/"+this["label"+i]+".jpg");
in browser 5 images are displaying

but if i gave
mc.loadMovie("http://192.168.1.9/projects/khelorummy/cards/"+this["label"+i]+".gif");
no image is displaying

code is
ActionScript Code:

var lvSend = new LoadVars(); var lvReceive = new LoadVars(); lvSend.SendAndLoad("http://192.168.1.9/projects/khelorummy/user/getcardimages.php",lvReceive,"get"); lvReceive.root = this; lvReceive.onLoad = function(bSuccess) {
for (var i:Number=1; i <= this.n; i++) {
this.root.createEmptyMovieClip("container"+i, i);
var mc = this.root["container"+i]; mc.loadMovie("http://192.168.1.9/projects/khelorummy/cards/"+this["label"+i]+".jpg"); mc._x = 30;
mc._y = 40 * i;
}
}


iam using flashplayer8.
and i also checked the file->publishsettings->flash in dreamviewer it is also set to flashplayer8. then why .gif images are not displaying?
cann't we display .gif or .png formats in flash using loadMovie?
if possible plz give me the modified code its urgent. plzzzzz

View Replies !    View Related
Display External Images
Hey guys, im trying to create a Blackjack game in my Adv. Higher computing class and i am having lots of trouble getting the card images (image/<cardname>.jpg) onto the screen, i found a way to do it with:

randomnumber = random.math()*52

if (randomnumber >= 1) then:
<load imagee>

but with the if statement im gonna have to do 1040 different if statements, can anyone give me a better way to do it (with code *beg*)

i would be really grateful

~Clone

View Replies !    View Related
Daily Display Images
How do I write a script to do a daily display images on Flash? For instance, I want to display a.jpg on Monday, b.jpg on Tuesday, and so on...

View Replies !    View Related
Images WON'T Display In HtmlText...
Hey Guys,
I am having an issue where an image is being loaded via HTML and a text area but WILL not display no matter what. If I click on the button that displays the html text, the words from the p and span and links work fine and will even jump to the right exactly the same distances as the images is wide but the image is invisible.

I have used the same EXACT code in a blank flash document and it works fine but when I incorporate it into the flash document I need it in, bam! I have been pulling my hair out for the last 3 days over this. Any advice will be much appreciated!!!

Thanks
-Jason

View Replies !    View Related
Display Random Images Using Xml
I need to make a simple flash video. In the video, I need to have two seperate images move across the screen or else just fade in/out. I would ideally like to have each of the two image change RANDOMLY each time it either scrolls across the screen or each time they fade in and out. I have previously used xml to make one picture change randomly so I could easily update the pictures without having to have access to flash software. Ideally I like to have both of the images moving across the screen load from the same xml file. Is this possible? Is there an easier way to do this?

My goal is to complete a website with a flash banner on it and hand it off to a group that doesn't know anything about flash. I would like them to be able to simply edit a line or two of code to update the banner with new pictures instead of having to buy flash to edit the .fla file

View Replies !    View Related
Why I'm Not Able To Read Display My Images
I was working with bitmap class I made an array containng all jpg file names, it was randomly picking any of those & displaying but when I stored all of them in an XML file , storing all the filenames in arrays and then picking randomly from thre its not displaying. Can anyone tell me y?

View Replies !    View Related
How To Display .gif,.png Images In Flash8
in this code if i gave
mc.loadMovie("http://192.168.1.9/projects/khelorummy/cards/"+this["label"+i]+".jpg");
in browser 5 images are displaying

but if i gave
mc.loadMovie("http://192.168.1.9/projects/khelorummy/cards/"+this["label"+i]+".gif");
no image is displaying

code is
ActionScript Code:

var lvSend = new LoadVars(); var lvReceive = new LoadVars(); lvSend.SendAndLoad("http://192.168.1.9/projects/khelorummy/user/getcardimages.php",lvReceive,"get"); lvReceive.root = this; lvReceive.onLoad = function(bSuccess) {
for (var i:Number=1; i <= this.n; i++) {
this.root.createEmptyMovieClip("container"+i, i);
var mc = this.root["container"+i]; mc.loadMovie("http://192.168.1.9/projects/khelorummy/cards/"+this["label"+i]+".jpg"); mc._x = 30;
mc._y = 40 * i;
}
}


iam using flashplayer8.
and i also checked the file->publishsettings->flash in dreamviewer it is also set to flashplayer8. then why .gif images are not displaying?
cann't we display .gif or .png formats in flash using loadMovie?
if possible plz give me the modified code its urgent. plzzzzz

View Replies !    View Related
How To Display 3D Simulation Images
Hi,

I am new to flash and recently involved in a 3D simulation project. I was given some jpeg images generated in 3DMax. The images when viewing in sequence will display an object rotating 360 degree. I need to import the images dynamically into Flash and let it play in sequence. But I don't know how.

I tried to use the XML Photo Slideshow Tutorial (http://www.kirupa.com/developer/mx20..._slideshow.htm) and set the delay = 100, but the screen flickers as the images are changing.

I am using FlashMX 2004. Can anyone suggest a way how to do it? Thanks in advance.

Richard

View Replies !    View Related
Display 4 Random Images
Hi, I want to display 4 random images in row when the page loads from a folder which has 15 jpg images and need to avoid repetition.
I don't want them to repeat. For instance I want images displayed like like: 3, 7, 11, 1, when you load the page but not 3, 7, 11, 3.
Many thanks.

View Replies !    View Related
Display Sequence Of Images
I want to display a sequence of images, and I'm loading the next one every 3 seconds from a folder. The whole thing works great locally, but when I upload it, only every second image is displayed. It seems that getBytesTotal() returns 0 - any thoughts?

Morten

View Replies !    View Related
Daily Display Images
How do I write a script to do a daily display images on Flash? For instance, I want to display a.jpg on Monday, b.jpg on Tuesday, and so on...

View Replies !    View Related
Display Images Dynamically
I am making slide show of images

I want to upload images from a directory abcd
& file name as during run time
img1
img2
img3

View Replies !    View Related
Display Of Dynamic Images In A Movieclip
Hello friends,

Got a small problem. I want to display certain images in a movie clip. The list of images will be selected in a form and submitted. This data will be stored in a database, Later on i want my movie clip to display those selected images. The images will be in either .gif or .jpg format

Shall I already have the images in my movie.... or just pass the image names and then make flash show the images.

how can i use the graphics already existing in the swf file to co-relate with the values coming from the form

I need help regarding this... I don't even know whether i am going in the right track.....
Somebody please help

View Replies !    View Related
Pumping Display While Fading Images
hi,

i'd like to use a slideshow where one image fades in over another.
the images (graphic-symbols) are composed in a looping movie-clip-symbol, which is placed on a layer in the main-movie.

when i look at the movie-preview the images seem to "pump". the scaling of each fading image (there is no scale-tweening!) differs 1 pixel until alpha 100% is reached.

have a look on http://www.smits-blumen.de

does anyone have an explanation or solution?

thnxxx
mowgli01

View Replies !    View Related
Preloading External Images For Display.
Hi, I'm creating a small flash application that displays 5 images in a constantly rotating order. Ie: each fades in & out into the next one. But in order for the fade to work, they all need to be loaded at runtime, otherwise the image is still loading while the fade is taking place.

Does anyone know a way of pre-loading a group of images so that they can be displayed when called without having to load them individually?

View Replies !    View Related
Htmltext, Images And Css' Display Property
Hi all,

I've got two questions; one about whether or not something is natively
possible in Flash and another if there is a free or commercial component
to fix the problem.

I know CSS/HTML in textfields is one of the weak points of Flash, but I
still would like to clear something up (couldn' find a definitive 'not
possible' through google).

I'm trying to display images from HTML/XML as block through CSS in a
dynamic textField but can't seem to get it to work. I kinda doubt
whether it is possible at all...

I've tried too many variations to display one piece of code which fails,
but it boils down to:

* I load XML in which headings, paragraphs and images (usually within a
paragraph) are set.
* I load CSS (or generate with AS for that matter) which set's the
properties of the various tags.

* Images always display inline even if just one single char fits beside
it in the field. If nothing really fits beside the image, Flash still
places text there which is then hidden from the reader. All attempts to
have the image's display set to block fail. Also if I try through a
surrounding p-tag.

I tried all from XML.ignoreWiitespace, TextField.condenseWhite, adding
p-, and br-tags. It just won't work.

If there really is no (why not?!) possibility to have it done natively,
does anyone know of a solution (paid or free) done previously? I can
think of some ways to make a start, but kind of don't have the time to
make a really thorough effort...

Thanks in advance?

--
----------
Manno Bult
http://www.aloft.nl

View Replies !    View Related
[MX] Display Images From The Library In A Textfield?
Hello.

I know it is possible to load a JPG on the fly and display it in an HTML-textfield using the "img"-tag... but what if it is not an extermal JPG but instead an internal PNG?

I already found out that flash can't read PNGs "on the fly" to display them in a textfield (it needs to be a textfield because it also contains scrollable text)... that's why I tried to see if it can be done when the PNGs are already in the SWF's library on runtime- but I can't seem to get it done.

Does any of you know how to do it? Is it even possible?

I wish Macromedia supported HTML-formatting and displaying of images more concisely and practically

Anyways... thanks for your support in advance. Oh- and I attached a sample PNG file

~Marcel

View Replies !    View Related
Copyright © 2005-08 www.BigResource.com, All rights reserved