Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 1095763
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 17, 20262026-05-17T00:10:36+00:00 2026-05-17T00:10:36+00:00

I currently have a network camera that streams video as a .swf (and also

  • 0

I currently have a network camera that streams video as a .swf (and also as a motion JPEG as well…) and I want to be able to embed the stream inside of either a Flash or Air project that I’m creating myself. The only examples i’ve been able to find though, require the .swf to be saved as a resource of the project; clearly, this is undesirable for a live stream. Is there any suggestion/tutorial/example for how to work around this issue?

Another option is to utilize the motion JPEG. I have some generated code (shown below), but unfortunately only the first image is displayed when viewed via adobe air (if I were to view it in a HTML browser, the image would automatically update, effectively showing the stream:

<SCRIPT LANGUAGE="JavaScript">
function displayImage( )
{
    // Set the BaseURL to the URL of your camera
    var BaseURL = "foo.com/";

    // DisplayWidth & DisplayHeight specifies the displayed width & height of the image.
    // You may change these numbers, the effect will be a stretched or a shrunk image
    var DisplayWidth = "320";
    var DisplayHeight = "240";

    // This is the path to the image generating file inside the camera itself
    var File = "axis-cgi/jpg/image.cgi?resolution=320x240";
    // No changes required below this point
    var output = "";
      theDate = new Date();
      output  = '<IMG SRC="';
      output += BaseURL;
      output += File;
      output += '&dummy=' + theDate.getTime().toString(10);
      output += '" HEIGHT="';
      output += DisplayHeight;
      output += '" WIDTH="';
      output += DisplayWidth;
      output += '" ALT="Camera Image">';
    document.write(output);
}
</SCRIPT>

Any suggestions?

Thanks and Regards.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-17T00:10:37+00:00Added an answer on May 17, 2026 at 12:10 am

    This is not the something you embed into project. You can pull pictures by url and show some slide show in your swf. You didn’t say anything about the stream, Flash might or might not be able to play it (is it flv?)

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I currently have a thread that listens for data from the network and then
Currently I have: <system.net> <mailSettings> <smtp from=me@mydomain.com> <network host=localhost port=25 /> </smtp> </mailSettings> </system.net>
I'm currently monitoring a large network with Hobbit and have been tasked with lowering
I am currently building a Neural Network library. I have constructed it as an
I currently have an MS Access application that connects to a PostgreSQL database via
I currently have the below tables representing a bus network mapped in hibernate, accessed
We (small team) currently have our Visual Studio projects on a network drive (no
I am currently using select() to act as a timer. I have network receive
I currently have a django site, and it's kind of slow, so I want
I currently have a single solution that contains both the one application developed so

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.