Can I render a Flash frame as a bitmap and send it over TCP/IP?

I want to draw some combination of bitmaps, flash shapes, vectors, text etc and draw them programmatically into my movie using ActionScript, and then get every "rendered" pixel of my movie (at 100% view) into an array that I send to another program over TCP/IP. Can anyone help me here?
The first part of the question is if its possible to render a frame that is a collection of Flash elements as a bitmap? I know that I can iterate through a bitmap and get every pixel using the getPixel method but I'm trying to access the final rendered frame displayed on my screen, including, as I said Flash shapes and text.
The second question is what would be the best way to send this "video frame" over TCP/IP? Would I use an XML socket connection? That is the only way I know how to send data out of Flash over TCP/IP but I don't know if it is the only way - the help page says the data needs to be formatted as XML, which seems unwieldly for this application.
I'm doing this now by using Max/MSP/Jitter to do a screen capture the size and location of my Flash movie and then send out the resulting matrix using a "jit.net.send" object (which lets you send frames of video over TCP/IP), but this is too clumsy for the installation I am building.
Any help would be greatly appreciated!
-bob

Thanks! That was exactly what I was looking for in the first half of the question. And I guess the draw() method works in AS2 as well as AS3. I will test it but from what I understand, I can use a Bitmap as kind of my bottom-level container, then create (in ActionScript) a movie clip that can contain other movie clips or drawing API commands or whatever, animate these various elements then finally draw() them into the bitmap. I see that in AS3 I can even use getPixels or getVector to capture the full "video frame" in one line of code.
Thanks rothrock, for the helpful links. My application is kind of unusual, in that I'm sending "video" data to a proprietary LED controller box for display on a low resolution LED display. I connect to the box over TCP/IP and send it "frames of video" 20 times a second. I got this to work with this other content and software (Max/MSP/Jitter) and I want to see how I could capture all the rendered pixel data in successive frames of Flash animation, format it properly, then send it over TCP/IP to this controller box. Don't really now enough about the various flavors of TCP/IP connections to figure out how to do this in Flash, and I know there are security limitations built in to Flash that have to be worked around. But my movies are small (say 96 pixels by 72 pixels) and I need to send uncompressed data directly to my controller box, so these interesting links showing how to use server-side scripts to create jpgs or pngs are probably not going to help me. I will hopefully find a higher-level programmer than myself to work this out, and I think some of the techniques here will hopefull prove to be helpful.
Thanks again for your help!

Similar Messages

  • Is there a software in which I can hook up my iPhone 4s to my computer and send and receive text messages and calls (via headset) through my computer?

    Is there a software in which I can hook up my iPhone 4s to my computer and send and receive text messages and calls (via headset) through my computer? Whether it's free or cost money, can someone please give me a name of a program or software that allows me to do this? I can't seem to find anything like this for the iPhone.

    No.

  • How can i get my items to stay in place and not cross over each other when readjusting the browser s

    How can i get my items to stay in place and not cross over each other when readjusting the browser size.
    Basically on my site when i go from a small screen to a big screen everything doesn't adjust to the screen size. I don't know what im missing
    Here's the link to the page all the pages & they all do it
    http://theatricalworkslive.com/
    Thanks in advance

    Please read this whole message before doing anything.
    This procedure is a diagnostic test. It’s unlikely to solve your problem. Don’t be disappointed when you find that nothing has changed after you complete it.
    The purpose of the test is to determine whether the problem is caused by third-party software that loads automatically at startup or login, or by a peripheral device. 
    Disconnect all wired peripherals except those needed for the test, and remove all aftermarket expansion cards. Boot in safe mode and log in to the account with the problem.  Note: If FileVault is enabled, or if a firmware password is set, or if the boot volume is a software RAID, you can’t do this. Post for further instructions.
    Safe mode is much slower to boot and run than normal, and some things won’t work at all, including wireless networking on certain Macs. The next normal boot may also be somewhat slow.
    The login screen appears even if you usually log in automatically. You must know your login password in order to log in. If you’ve forgotten the password, you will need to reset it before you begin. Test while in safe mode. Same problem? After testing, reboot as usual (i.e., not in safe mode) and verify that you still have the problem. Post the results of the test.

  • I am new to the Apple world and yesterday i bought an APPLE IPAD (4th Gen) .. My Question is "Can we connect a flash drive to the IPAD4 and transfer pdf files to and fro"??

    Hi all,
    I am a newbie to the Apple World and Yesterday I bought an APPLE IPAD (4th Generation).. My primary purpose is to read pdf files on IPAD4.
    I have 3 questions ..
    1. Can we connect a usb flash drive to the ipad4 and read pdf files from it?
    2.  I am using windows since 2000 and accustomed to the file explorer and file management in it. Can I get such kind of environment in IPAD4 ?
    3. Do I have to sync the IPAD too often?
    Regards,
    Manikanth

    Sandisk has recently come out with a device
    http://www.sandisk.com/products/wireless/flash-drive/
    Never used it so I can't comment on whether or not it works well. There are very few devices out there that allow file transfer without going through iTunes or via the internet. IMHO, one real weakness of the iPad, great for consuming data, however not very fully featured when it comes to moving data around, especially if that data doesn't come from iTunes or other online source.
    there is also a device called a WiDrive
    http://www.kingston.com/us/usb/wireless
    that is also a wireless drive for iPads.

  • I would like to copy my iPhoto (9.4.1) library from my Mac Pro (10.7.5) to a Macbook Pro (10.7.5). Can I drag the iPhoto Library to Air Drop and send them to the MacBook? Will that then be a usable iPhoto library on the Macbook?

    I would like to copy my iPhoto (9.4.1) library from my Mac Pro (10.7.5) to a Macbook Pro (10.7.5). Can I drag the iPhoto Library from the Pictures folder to Air Drop and send them to the MacBook? If I then move that to the Pictures folder on the MacBook will that then be a usable iPhoto library on the Macbook?

    It would be better if you could connect the two Macs via a hard wired LAN to copy the library from the Mac Pro to the MacBook.  Wireless connections can have momentary dropouts which could affect the reliable copying of files. 
    If you do go with Air Drop be sure to open and inspect the copied library closely to confirm it was a successulf copy.
    OT

  • How can I mail merge in new Pages 5.2 and send it by Mail?

         How can I merge mail in the new Pages version 5.2  and send it by Mail?
         It seems that there is not  a mail merger available anymore for Pages. Although it is a powerfull mecanism to send a bunch of letters by Mail, Apple has  downgraded themselves by excluding this feature from this app.  What is the solution to this problem?
         Should i seek a Microsoft program to resolve this issue, because the new version of pages simply will not cut it without these necessary features.

    If you have the previous version of Number and Pages you can still use those applications to perform a mail merge.  Neither the previous version nor the latest version support mass emailing.  There are other applications that can do that.
    Using my favorite search engine I was able to identify several services that can perform a mass email campaign:
    I used the search term: "mass email service"

  • Can HTML Help render a flash file with all bells and whistles?

    I use Captivate to generate a .swf file, and inserted that .swf  into my RH8 project and generated HTML Help.
    When I look at the .CHM file, the flash plays, but not ideally.
    a) It plays immediately when the topic is opened, and there's no way to re-start it except to close and re-open the topic.
    b) There are no stop/start/pause buttons on the flash video. Could I have added those in Captivate?
    Is the .CHM-player capable of flash videos with controls?
    What did I miss?
    Thx.

    Hi Bruce
    Ugh, from what you are describing, you are going at things all perfectly from the "Adobe approved and recommended" way of operating, but it's a method I don't personally use or recommend. Please tell me if I'm right with my assumption here.
    I'm assuming (based on what you have stated) that you didn't launch Captivate separately, create the demo and publish it, then close Captivate and open RoboHelp HTML and insert what Captivate created. I'm guessing you used the wonderful (cough) integration that exists where you are in the middle of a topic and BAM! It suddenly hits you that a Captivate demo would be PERFECT here. So you cease your chain of thought while editing the topic and from inside RoboHelp you click File > New > Captivate demo and RoboHelp magickally opens Captivate to record the demo. You finish and close and the demo magickally appears inside RoboHelp.
    Did I guess right?
    Assuming I did, your case is precisely why I avoid working that way and why I don't recommend it. When you work this way you give up control of many Captivate capabilities and you enter into a realm of frustration.
    I recommend using Captivate as the separate application it is. Open it separately. Record and create the Captivate parts separately. Then bring it into RoboHelp once it's reached prime time.
    Please advise and we will proceed accordingly with getting you squared.
    Cheers... Rick
    Begin learning RoboHelp HTML 7 within the day - $24.95!
    Click here for Adobe Certified Captivate and RoboHelp HTML Training
    Click here for the SorcerStone Blog
    Click here for RoboHelp and Captivate eBooks

  • Can't install Adobe Flash Player or latest update and need help to determine corrective action to take.

    When I try to download latest version of Flash Player get a box showing downloads but there isn't anything in the box.

    Well, that should mean that nothing is running in realtime and should not interfere as McAfee would. I think this version of Ad-Aware was an On-Demand, you ran it when you wanted to, it didn't run automatically, is that correct?
    Was the HJT just on the Desktop?
    When you left click on Ad-Aware what happens? We can remove it, but it isn't causing a problem now so we'll do that later.
    Did you have any ad block? What about pop-up blocker software installed?
    In your Manage Add ons, the All add ons, can you pull out all ActiveX Controls(list them?) If not don't worry about it.
    When you first began having problems, did you try to Install an older version of Flash Player thinking that would work?
    Are there any other Anti-Virus/Spyware that you had installed before that wasn't Uninstalled that may still be running in realtime?
    I'm trying to determine what caused the ActiveX Control error.
    Do you know how to find the Flash folder? If not, I do. Just tell me.
    Thanks,
    eidnolb
         P.S. I just noticed your last post. I'll check on that Wise Uninstall. Someone had that and I forgot what it was for. Will have to find the thread, first I had ever heard of it. Thanks
    Message was edited by: eidnolb  a P.S.

  • How can I Access the Flash "Slide class" using flex and ActionScript 3?

    Hi,
    I hope someone can help me solve a problem...
    I'm using the flex SwfLoader to load a flash side
    presentation as follows...
    <mx:SWFLoader id="ss_slides" source="ss_slides.swf"
    width="320" height="240"/>
    I would like to access the flash "Slide Class" using flex so
    I can make the following call...
    Slide.gotoNextSlide();
    Anyone know how I can do that?
    Would it be through the SwfLoader Object?
    Is there another way?
    F.Y.I. Here is a snippets about the Slide class from the
    Flash 8 help...
    Using the Slide class (Flash Professional only)
    You use the methods and properties of the Slide class to
    control slide
    presentations you create using the Screen Outline pane for a
    Flash Slide
    Presentation, to get information about a slide presentation
    (for example, to
    determine the number of child slides contained by parent
    slide), or to navigate
    between slides in a slide presentation (for example, to
    create "Next slide" and
    "Previous slide" buttons).
    You can also use the built-in behaviors that are available
    in the Behaviors
    panel to control slide presentations. For more information,
    see Adding controls
    to screens using behaviors (Flash Professional only) in Using
    Flash.
    Thanks,
    Chris S.

    Hi Chris,
    You cannot access the methods of the Flash 8 movie from Flex.
    And you can't do it the other way around either.
    The only way to communicate is to create a LocalConnection on
    each side.
    M.

  • The airplay icon has disappeared from my desk top. It was there two weeks ago, so I can't watch movies I've downloaded from iTunes and flick them over to my TV.

    The airplay icon has disappeared from my MAC desktop. It was there two weeks ago when I successfully used it to 'flick a movie i had purchased from iTunes over to my tv. Also, if I rent the movie through iTunes, why (because of the above issue) when I go to 'Purchased' it doesn't display as an option when actually using Apple TV, it doesn't display but when I go to rent it again a message comes up saying "you have already rented this movie, do you want to rent it again"? Frustrated!!

    Ok Fellas, let me give you a clue:  Games, particularly those that make heavy use of graphics and sound are notoriously power hungry.  In fact, when I was in the Navy many years ago, the folks working on the NTDS (Navy Tactical Data System)  computers used a version of Space Invaders to load test the AN/UYK-43 computers.
    I have also noticed that all of my laptops (I have a brand new Toshiba dual core, an older Toshiba single core, plus 2 Dell dual core machines) have significantly shorter battery life when I play Company of Heroes than when I am just reading e-mail or surfing the 'Net.  I have also noticed the same behavior when I play games on my 4th gen Touch and my iPhone 4.
    The fact is, iOS 5 did make some major improvements as well as adding some nice functionality like iMessage, wireless synch, and such, but the down side is that depending on how you use the device battery life can be shorter that what you may have experienced with pervious versions of iOS.  Its just the nature of the beast...
    We now return you to our regularly scheduled programming.....
    Oh John....  Oh Marsha.....

  • Using Swing how can we create socket and send data thru TCP/IP on the socke

    Hi All,
    Can anyone tell the link or answer to me about the Socket programming using Swing and data get & post onto the socket.
    Thanx & Regard
    Ashu

    swing is nothing to do with socket programing, you need to code using core java and API of net
    so please go through this link [http://www.javaworld.com/javaworld/jw-12-1996/jw-12-sockets.html]

  • How can Sales team assign groups to existing marketing campaigns and send mass emails?

    We would like to empower our sales team to be able to identify small groups of contacts in their CRM and assign them to existing Eloqua campaigns that Marketing sets up and makes available to Sales. Ideally Marketing would enable specific campaigns to be available to Sales team through Engage, instead of sending a one off emails.
    Does this functionality currently exist?

    Juan,
    from an earlier post you noted you were using SFDC.
    Your sales team could add multiple contacts to a campaign by creating a list view (or report) of your contacts and merely checking the box next to the name and hitting the 'add to campaign' button.
    Then you can use the CDO method from this post to have your marketers find the campaign members and add to a campaign.  This would work for ongoing campaigns as well as a 'one-time' send.
    Nathan

  • Can I change my development instance DV1 to DV2 and send transports to prod

    We have several divisions and want to pgrade our landscape specifically ERP ECC to EHP6 after ramp-up is finished. We will leave our DV1 instance which is our development and QV1 Test and copy those two to DV2 and QV2 for the EHP6 upgrade.
    Production will not be copied but will be upgraded after DV2 and QV2 are upgraded. Is there an issue with transport coming out of DV2 and going to our PV1 production instance.
    Originally our PV1 instance recieved transports from DV1 but now they will be from DV2, is there an issue with the version in production or any issues with object versioning?
    Thanks
    Loot Hudson

    Hi Loot,
    Is there an issue with transport coming out of DV2 and going to our PV1 production instance.
    - Once DV2 and QV2 are ready, you have to define transport routes to PV1 in DV2.
    Originally our PV1 instance recieved transports from DV1 but now they will be from DV2, is there an issue with the version in production or any issues with object versioning?
    - Should not be a problem. Please make sure you disabled transport routes to PV1 from DV1/QV1.
    Hope you are answered.
    Thanks,
    Siva Kumar

  • I cannot send e-mail . i can rec. but cannot reply or start a new and send.

    thats about it. I tried to reply to a e-mail and it will not send. I comprised a e-mail and tried to send it and it would not send

    Firefox doesn't do email, it's a web browser.
    If you are using Firefox to access your mail, you are using "web-mail". You need to seek support from your service provider or a forum for that service.
    If your problem is with Mozilla Thunderbird, see this forum for support.
    [http://www.mozillamessaging.com/en-US/support/] <br />
    or this one <br />
    [http://forums.mozillazine.org/viewforum.php?f=39]

  • Can not load adobe flash and now none of my video will work. may go back to internet ex.

    can not load adobe flash player. tried plug in- and adobe site. nothing works and now I can not view any of my video. OH ye, you are not listed under any of the plug ins. are you windows? Mac? 64? what?

    Dan,
    The only safe way is to erase the volume and reinstall SL.  Then use setup assistant to migrate your data from a Snow Leopard Time machine or clone backup.
    Regards,
    Captfred

Maybe you are looking for

  • Music won't sync in ios 8.1

    iTunes impossible to sync - My itunes music won't sync. I have tried it all, resetting, deleting the library and reloading, turning on and off all the possible related buttons on iphone and itunes and still mosto of the music is still with a doted ci

  • Xcode Error won't compile any new projects!?

    If you can help, please do. I have been having this problem for a whole day now and its really becoming a pain in the head. Whenever I create a new project (Im working in C and Objective-C) even if don't write any code and just try and run the starte

  • Diff in explain plan of 9i and 10g

    I am beginner and just started my dba career. Please can you help me by giving me the differences between a explain plan executed in oracle 9i and 10g. Why is there variations in the cost,cardinality and bytes. Is it that 9is explain plan is executed

  • Create Table based on RowSetIterator

    Hi, I have to create a ADF table based on RowSetIterator returned by one of the method in managed bean. Can someone please point me, on how can i do this using jdev 11.1.1.6. Regards

  • ISync / Palm AddressBook sync problem

    Supposedly I should be able to set up iSync so that iCal syncs with Palm DateBook but the Palm Desktop AddressBook continues to sync with the Addressbook on my handheld. Following the directions in the support document below to I have set up iSync to