Webcam Project in Flash

I'm working on a project and I have been told that Flash is capable of doing what I want to do.
My project consists of taking a webcam and using it to read panels of color on a spinning wheel. The computer will then play a specific sound based on the color it just viewed through the webcam.
I'm not sure if flash is capable of doing this and if it is where would I start? I really have no experience using flash so If anyone could point me in the right direction of what I should be looking for.
Basically I want to create a flash program (I'm assuming I have to use ActionScript)  to take LIVE video from a webcam and display it on the screen. At the same time I want the program to sample the color from the video and play a specific sound for each color.
Any help would be much appreciated!

Anyone ? Please take a look into this cause with no code hints at all it is totally useless to use flash builder to code Flash Pro projects ! ;-/

Similar Messages

  • How to re-size project using flash bulider to be the same size in all screens

    Hi,
    Im develop  a chat project using flash bulider, my question is how i make sure that the porject when open from diffrent screens size no change,
    becouse after i finish th chat project i publish on website later i discover this problem for example when i access project from screen have size 17 or 21
    is work fine but in the same time i access from my notbook that him screen is 14 is not work and seems the project is mixed the webcamera no appear complete also other function dosent appear complete like sharescreen.
    can some help  guide me to find the way that i access the project whatever screen size is work fine and not mixed od disappear functions.
    Thanks,

    What email are you using?
    The easiest way to send pictures is to use Apple's Mail.app that is part of the OS - it DOES NOT require a .Mac account.
    If you are using a purely web-based email account, the File>Export method is the easiest.

  • Can't create Flash Pro projects in Flash Builder

    In the most basic of Flash Pro/Flash Builder Projects, I get this error when I compile.
    My .fla is just in a folder...Please help. It will not publish at all.
    These are the contents of the flashExport.jsfl file:
    function testMovie( flaURI, projectName, clearErrors )
         var doc = fl.openDocument(flaURI);
         if(doc != null && doc.canTestMovie())
              doc.testMovie("flashbuilder-4.0", true, clearErrors);
              finishExport(projectName);
    function debugMovie( flaURI, projectName, clearErrors )
         var doc = fl.openDocument(flaURI);
         if(doc != null && doc.canTestMovie())
              doc.debugMovie("flashbuilder-4.0", true, clearErrors);
              finishExport(projectName);
    function publishMovie( flaURIArray, incremental, outputURIArray, profileURIArray, projectName )
         if(incremental)
              if(flaURIArray.length == outputURIArray.length && outputURIArray.length == profileURIArray.length )
                   for(var i = 0; i < flaURIArray.length; i++)
                        var outputURI = outputURIArray[i];
                        if(outputURI != null && outputURI.length > 0)
                             var pubProfileStr = fl.exportPublishProfileString(flaURIArray[i]);
                             if(pubProfileStr != null && pubProfileStr.length > 0)
                                  // first fix up the SWF export location                         
                                  var swfLocationURI = outputURIArray[i] + ".swf";
                                  var swfLocation = FLfile.uriToPlatformPath(swfLocationURI);
                                  var newFlashFileName = "<flashFileName>" + swfLocation + "</flashFileName>";
                                  pubProfileStr = pubProfileStr.replace(/<flashFileName>.+<\/flashFileName>/i, newFlashFileName);
                                  // fix up the HTML export location
                                  var htmlLocationURI = outputURIArray[i] + ".html";
                                  var htmlLocation = FLfile.uriToPlatformPath(htmlLocationURI);
                                  var newHtmlFileName = "<htmlFileName>" + htmlLocation + "</htmlFileName>";
                                  pubProfileStr = pubProfileStr.replace(/<htmlFileName>.+<\/htmlFileName>/i, newHtmlFileName);
                                  // fix up the Permit Debugging setting
                                  pubProfileStr = pubProfileStr.replace(/<DebuggingPermitted>.+<\/DebuggingPermitted>/i, "<DebuggingPermitted>1</DebuggingPermitted>");
                                  // fix up default flags
                                  pubProfileStr = pubProfileStr.replace(/<defaultNames>.+<\/defaultNames>/i, "<defaultNames>0</defaultNames>");
                                  pubProfileStr = pubProfileStr.replace(/<flashDefaultName>.+<\/flashDefaultName>/i, "<flashDefaultName>0</flashDefaultName>");
                                  pubProfileStr = pubProfileStr.replace(/<htmlDefaultName>.+<\/htmlDefaultName>/i, "<htmlDefaultName>0</htmlDefaultName>");
                                  // and fix up the profile name attribute, and add the xml decl header
                                  // we know the first instance of "name=" has to be the profile name - the other usages are
                                  // within the rest of the tree
                                  pubProfileStr = pubProfileStr.replace(/<flash_profile.+>/i, "<?xml version=\"1.0\"?>\n<flash_profile version=\"1.0\" name=\"FlashBuilder-Debug\">");
                                  // now save the new profile in the .settings folder
                                  FLfile.write(profileURIArray[i], pubProfileStr);
         fl.publishDocument("", "", flaURIArray, profileURIArray);
         // once the publish is complete, save out the errors and let Builder know (this will only occur when
         // projectName is non-null. so in the Test/Debug Movie case, the finishExport call here won't do anything,
         // and the one in testMovie/debugMovie will.
         finishExport(projectName);
    function finishExport(projectName)
         if (projectName == null || projectName.length == 0)
              return;
         var errorsXMLURI = fl.configURI + "ActionScript 3.0/FlashBuilderInfo.txt";
         var errorsXMLPath = FLfile.uriToPlatformPath(errorsXMLURI);
         var errorsPanel = fl.compilerErrors;
         errorsPanel.save(errorsXMLURI, false, false, true, false);
         fl.queueBridgeTalkScript('flashbuilder-4.0', "fb.loadCompilerErrors('" + errorsXMLPath + "', '" + projectName + "');");
    function toggleBreakpoint( filename, lineNumber, enable )
         fl.toggleBreakpoint(filename, lineNumber, enable);
    function getAppConfig()
         var appConfig = fl.applicationURI + "Common/Configuration/";
         // do a little reformatting to get the slashes right, plus
         // we want an OS path
         appConfig = FLfile.uriToPlatformPath(appConfig);
         fl.queueBridgeTalkScript('flashbuilder-4.0', "fb.setAppConfig('" + appConfig + "');");
    function getFLABuildPaths(projectName, targetFlaURI, flaURIArray)
         var sourcePath = new String();
         var libPath = new String();
         var script = "fb.setFLABuildPaths(" + projectName + ", " + targetFlaURI;
         for(var i = 0; i < flaURIArray.length; i++)
              var flaURI = flaURIArray[i];
              sourcePath = fl.getCompilerPath(flaURI, "source", false, true);
              libPath = fl.getCompilerPath(flaURI, "library", false, true, true);
              script += ", " + flaURI + ", " + sourcePath + ", " + libPath;
         script += ");";
         fl.queueBridgeTalkScript('flashbuilder-4.0', script);

    I have the same issue. My project is super simple. All the files are in the same directory. The doc class and the .fla have the same name. The project publishes without a hitch in Flash Professional CC. When I try to add the project to Flash Builder 4.7 it give me:
    Exception in BridgeTalk call
    Function: getFLABuildPaths
    Error message: Error. Cannot find the file ....
    I have checked the path to the .fla twice and scrutinized the spellings and they are correct. It is pointing right to the correctly named .fla, but for some reason it fails. I'll post if I find out something usefull.

  • Using mx components in Action Script project in Flash Builder

    Hi
    I have created an Action Script project in flash builder 4 and want to use a mx.controls.button.
    The as file looks like this:
    package
        import flash.display.Sprite;
        import mx.controls.Button;
        public class as_test_project extends Sprite
            public function as_test_project()
                var btn:Button = new Button();
                btn.label = "test";
                addChild(btn);
    I have added C:\Program Files\Adobe\Adobe Flash Builder 4\sdks\4.0.0\frameworks\projects\framework\src as a Source Path in the project settings. I have also added framework.swc to the library path.
    I still get errors like :
    Description    Resource    Path    Location    Type
    Unable to resolve resource bundle "core" for locale "en_US".    as_test_project        Unknown    Flex Problem
    Have then tried added various Bundles folders like
    C:\Program Files\Adobe\Adobe Flash Builder 4\sdks\4.0.0\frameworks\projects\framework\bundles
    to the source path and library path, but I still get the errors.
    WHAT IS THE CORRECT WAY OF USING MX COMPONENTS IN A PURE ACTION SCRIPT PROJECT ?
    If I want to use th fl.controls componets instead but dont have CS3 where can I download them ?

    Thank you for your quick reply.
    But how then can I obtain the fl.controls components and use them in an Action
    Script project in Flash Builder 4?
    I don't have CS3 or CS4 (the flash authoring tool) installed.
    Is there an SWC somewhere to be downloaded?

  • Importing Flex 2 projects in Flash Builder 4.5

    I have a decent amount of Flash/ActionScript experience, but I'm brand new to both Flex and Flash Builder... so apologies for asking a potentially stupid question.
    I just received a Flex project from a client, and I assumed I'd be able to work on it with my recent install of Flash Builder 4.5
    But when I go to File > Import Flash Builder Project and navigate to the Project folder, I just get a warning that says:
    “The folder does not contain a valid Flash Builder Project.”
    I think this project might have originally been developed in Flex 2. Am I doing something wrong, or is it normal to not be able to import older Flex projects into Flash Builder? If Flash Builder can't import old Flex projects, what's the recommended workaround?

    dont import it, do it from scratch in fb4

  • Convert Flash 8 AS 2.0 project to Flash 9 AS 3.0

    I have a animated menu created using Flash 8 AS 2.0. Is there
    anyway I could convert that project to Flash 9 AS 3.0 project. I
    don't care about the AS codes. I could convert them by hand. But I
    would like to import all the designs to Flash 9 AS 3.0 paoject. Is
    it possible? If so how to do it? I could import it to Flash 9 AS
    2.0 but I want to use the AS 3.0 features in that project. Any help
    is appriciated. Thanks.

    open your fla in flash cs3 and change the publish settings to
    as3. then change your code and whatever else you want to
    change.

  • Converting Air Project to Web Project in Flash Builder 4

    I have an Air project that I need to convert to a web project to post online.  I've looked online with no luck so far, but perhaps someone can point me in the right direction.
    The closest thing I see to being what I want is if I go to Properties > Run/Debug Settings.  In there I tried going to New > Web Application but when I browse for Project it comes up empty, and so is the "Application file" dropdown.  I tried screwing around int he Source tab in the same window but it doesn't seem to help much.
    Other things that look close to what I want but don't work are when I right click my project, there's a "Add/Change project type" but all options are greyed out and I don't see anything web related in the options anyway.
    Also there's Properties > Targeted Runtimes, but there's nothing there I can do.
    Then in Properties > Flex Compiler I have "Generate accessible SWF file" checked.  But when I try to use that file it won't work in the browser flash player.
    So... is there an easy way to convert an Air project to a Web project?
    Thanks!

    I'm glad (but at the same time sad) someone has had the exact same problem I had.
    I've tried a few things (though none successful).
    - creating a flash pro project from the fb project
    - creating an AS3 project from the as3 mobile project (which runs on air). now this one I thought would work, and it does in Flash Player, however, when I try to run it with the generated html file, all I get is a string of errors.
    Here is something that does work.
    If you create an AIR project in Flash Pro (I've only tried this in CS5.5), when you publish the project, it will generate the swf and html files and the html file works and the swf runs great. Unfortunately you have to start that way (which sucks for programmers that want the benefits of Flash Builder). I haven't found anything to properly convert it yet.
    I hope this is some insight, even a year later.

  • AS3 Project in Flash Builder

    Hi I am an experienced AS3 developer working on a Mac, been working in the CS4 IDE and using Textmate for html, PHP etc. I am very keen to use Flash Builder IDE to build my AS3 projects. I have been able to create actionscript projects but when I try to incorporate FLA and the library assets in FLAs I get stuck.The way I want to work is to use CS4  for creating graphics, timeline animation, so when I run the project it compiles the fla and scripts as if I was in CS4 ide.
    So my question: Is there any good tutorials or sites that can guide me thru setting up an Actionscript project in Flash Builder and manipulation of stage, timeline and library assets from an FLA?

    Firstly flashbuilder doesn't use a timeline, it can use assets in a CS4 compiled flash file, but knows nothing about the fla format. A good starting point would probably be to down load the tour deflex which has a lot of  flex examples with the source.
    http://www.adobe.com/devnet/flex/tourdeflex/
    there is also the cookbook page
    http://www.adobe.com/devnet/logged_in/esullivan_cookbook_20.html
    this is a great site for resources when you run into problems
    http://blog.flexexamples.com/
    Adobe also have a lot of video tutorials which are great to get an idea of just how Builder works.
    David.

  • Can I develop CF projects using Flash Builder 4.5 for PHP?

    I currently develop CF projects using Flash Builder 4.5.  I am considering purchasing Flash Builder 4.5 for PHP.  Will I still be able to work on my CF projects using FB for PHP?

    Because in the installation instructions for FB for PHP it says that you have to uninstall the current installation of FB which I have several CF projects that I use regularly.  I hate to uninstall if it turns out that I can't transport my current projects into FB for PHP. 
    Oh that sux!  It's just an Eclipse plug-in, and one can have installed multiple installs of Eclipse OK, so I wonder why they're said this?
    OK, because I give suck advice, I'll D/L it and install it on a spare machine and take a look.  FB usually has a CF perspective does it?  So what you need to know is whether FB for PHP still has the CF perspective?
    Or are you asking whether you can install CFB (or CFEclipse) as a plug-in to FB for PHP, like one can with FB?
    Sorry about the bad advice.
    Adam

  • Draw line in Action Script project in Flash Builder (Gumbo).

    Hi
    I am working on drawing tool application and want to draw line and rectangle in Action Script project in Flash Builder (Gumbo). Please guide and help me with an example.
    Thanks
    Rangrajan.

    This should be helpful http://help.adobe.com/en_US/ActionScript/3.0_ProgrammingAS3/WS5b3ccc516d4fbf351e63e3d118a9 b90204-7dd9.html

  • Load Flex/Flash Builder project in Flash Professional CS5

    Is there a way that I can load (or export) Flex/Flash builder project in Flash Professional CS5?
    As it turns out we got Flash Prof for our team, but it may look like we actually need Flash builder to build lots of UI related stuff..

    Specifically, I want to use flex chart in CS5. Is there a way to do this?
    Message was edited by: bart2335658
    And flex ui

  • Importing Flex project into Flash CS5 for use with iPhone packager? Please Help.

    Hi all,
    I have been developing an application in Flex builder for the iPhone using the iPhone packager, where I've been using the Flex framework.
    Now I'm stuck at trying to use my existing libraries in Flash. It seems I can't add the UI components I used in Flex (class VideoExample) to the default Flash container. I need someone's help who has experience with that.
    I have created a .SWC file, but when I'm trying to add the container in Flash using addChild(new VideoExample) it doesn't work. I can't load the .SWF externally using loader.load() at runtime, because the application is for iPhone. Any solutions how could I import the project to Flash?
    I was thinking about changing the UI components classes from mx.* to fl.*, but I would have to change many code and I'm not sure if it would even work, and I don't want to loose compatibility with mxml.
    Please respond, help would be very much appreciated!
    Here's my mxml wrapper, from which I start the main application:
    <?xml version="1.0"?>
    <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" applicationComplete="EntryPoint.main()">
    </mx:Application>
    Then I have a class which creates the main container:
    package {
    import mx.core.*;
    public class EntryPoint {
        public static function main():void {
            var client:VideoExample = new VideoExample();
            var mxmlApp:Application = Application(Application.application);
            mxmlApp.addChild(client);
    Here is the main class VideoExample:
    package {
    import mx.controls.*;
    import mx.containers.*;
    public class VideoExample extends Canvas {
        public function VideoExample() {
            super();
            init();
            private function init():void {
            loadImage();
            loadText();
                    loadDisplay();
                    startConnection();

    This forum is for Flash Media Server Developers so most likely you migth get much traction here. I would recommend you to post your query on Flash Builder forum: http://forums.adobe.com/community/flash_builder/using_flash_builder
    Also you can try posting here:
    Flash Platform Services For Promotion - http://forums.adobe.com/community/promotion
    Flash : http://forums.adobe.com/community/flash/flash_general

  • Encore CS5.1 - Black project after flash build

    When I export my encore project to flash all my videos are black, can't see anything.
    Everything works fine though in preview mode, I can see everything. 
    What could I be doing wrong? 

    I am playing locally.  I read on another forum with someone who had grey project they had to rename their source files because it included characters that was messing with the xml file. 
    I don't really know how xml works but I tried doing the same thing since i recall having many hyphens, but that didn't do anything either. 
    I don't understand what could be causing this to happen. 
    Do you NEED time lines in Encore?  I have Menu with 5 buttons, split to 5 additional menus (with buttons).  Every menu I have has a background video (mp4) attached to it.  They all loop/connect to each other.   It's like a browse products type of thing.  
    Now preview works perfectly, but does not having a timeline have anything to do with my problem?  I don't see why it would be a problem, but this is my first time using this program. 

  • Java projects in Flash Builder

    Hi all,
    I previously used Flex Builder 3 on Vista x64.   Inside Flex Builder 3, I had both flex projects and java projects.  I needed both because I use BlazeDS and kept the java code in a separate project.  I would only like 1 development environment.
    I recently upgraded to Windows 7 x64 and went ahead and upgraded my Flex Builder 3 to Flash Builder 4.
    It was a simple measure to import my flex projects into Flash Builder 4.
    When I tried to import the Flex 3 java projects into Flash Builder 4, Flash Builder responded with:
      " The folder does not contain a valid Flash Builder Project."
    Short of installing Eclipse, a 32bit version of java, and using the Flash Builder Plugin, is there a way to get my java projects to import and compile in Flash Builder 4 while running on Windows 7 x64?
    Thanks in advance for any thoughts,
    - Steve
    P.S.  I may have had to import something special to get it to work in Flex Builder 3, I just can't remember.

    If you're trying to compile Java projects in FB4, you'll need to add eclipse's Java Development Tools (JDT).
    You can add the JDT this way:
    - quit FB4, and launch with "Run as Administrator" from the context (right-click) menu
    - from the Help menu choose "Install New Software..."
    - in the resulting dialog click "Add", and enter a name of your choosing such as "Galileo Updates" in the Name field
    - enter this URL into the Location field:
    http://download.eclipse.org/releases/galileo/
    - hit OK and then browse the available Galileo Updates
    - select Programming Languages > Eclipse Java Development Tools
    - continue on with the usual Update workflow, and after finishing it will prompt you to relaunch automatically.
    Allow FB4 to relaunch, and you should now have the JDT available for compiling Java projects.
    -Chris

  • Cannot export 16:9 aspect widescreen project to flash. 4:3 screen

    I am trying to export an Encore project to flash and everything is setup in preferences and filmed in 16:9 wide screen format, however when I export to flash the project is automatically letter boxed and fitted into a 4:3 flash window. Very disappointed that no option is available to choose an aspect and with everything wide screen now days why would you choose to offer 4:3?
    Is there a work around here or is there plans to offer a choice soon for us guys who desire the 16:9 aspect?

    The manual says it exports to 640 x 480 (or something smaller than 720 x 480 cant remember.) It is a bummer, but i love this feature so much I will take whatever. Maybe next version they will have options for different pixel aspect ratios.

Maybe you are looking for

  • Jmxri running under javaw but not from java web start

    Hi all I've got following problem. I've got application that uses special jar that requires jmxri.jar This jar is black box for me. It provides some interface to get data from server. When I run my application using jmxri.jar and mentioned black box

  • Two different apple ID's with purchased songs in one library

    I have a user who had an ipod. Had several disks and 100 songs or so purchsed under email lets say [email protected], He then purchased an iphone and setup the phone under [email protected] on his work computer. He wanted his music on his work pc so

  • ITunes 10.2.1 Freezes while syncing music to iPhone 4 with iOS 4.3.1

    I hooked up my iPhone 4 the other night to my computer to update it to the new iOS version 4.3.1. The entire time my iTunes would continually freeze and I would have to force quit it. Once I finally got it to stabilize I began to install the update w

  • ITunes library isn't updating when iTunes Match is on.

    I am using iTunes 10.7 on OSX Mountain Lion when I import a CD or song file or purchase music on my iPad or iPhone, it is not visible in the iTunes library until I turn off iTunes Match.  Any thoughts?  It is a pain to turn off iTunes Match just to s

  • MultiCube Configuration

    Hi All, We have 2 ODS. We are using both to create a Multicube. ODS1                    Key                                                                              Delivery       Delivery Itm       Order       Order Itm       Batch  Data      Qt