Help on Flex Project

Hello,
First, I want to say I'm a designer, not a coder/programmer. I work with a programmer though, but I just came here to garner some info, as he just doesn't seem arsed looking anything up. He works solely in LabView and the UI elements in LabView are brutal, so I want to skin that/run an app on top of LabView that will look a lot better.. I see from this blog post  http://www.adobe.com/devnet/flex/articles/flex_kiosk.html#ionComHeading that you can build a UI for a Kiosk using Flex. I'm building a UI at the moment (AI, PS and Flash Catalyst for mocking it up) to give my programmer an idea of what I need. I need to be able to talk to the app through Flex, as it is stated in the Blog post:
You can, for example, create and ActiveX or Java application that has native support for hardware interaction. The application might have to be signed (and trusted) in order to run with heightened permissioning to talk to the hardware; but as long as you have a valid Certificate Authority (CA) and signing certificate, it should be no problem. To bridge the ActiveX or Java application to Flex, I use ExternalInterface and create a hardware class in my Flex app that will take care of everything for me.
What is that Externallinterface? And what does he mean by creating a hardware class in his Flex app? I have no idea where to begin. Help would be appreciated.

hi
ExternalInterface (details here: http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/external/External Interface.html) is a class in AS3 to allow communication between a swf and javascript in the surrounding html page. by "hardware class" i assume he means a custom class he created to handle all the ExternalInterface interactions.
As you're a designer, that probably doesnt help very much...sorry

Similar Messages

  • Help Configuring PHP Server with new Flex project.

    Hi,
    I'm curious if someone can help me with a frustrating problem.
    While creating a new flex project, I can't seem to validate the configuration of the php server. I keep getting the message: "Cannot access the web server. The server may not be running, or the web root folder or root URL may be invalid."
    I'm running MySQL, PHP and Apache 2.2. These program have worked indepentally without flex, so I know the program isn't with the install of the stack.
    For my web root I entered: "C:\Program Files\Apache Software Foundation\Apache2.2\htdocs" the location where I installed Apache
    And for root url I'm using "http://localhost"
    The other wierd part of this is that even though Flex would not validate this connection, I went ahead and started the project anyway and made a succesful connection to mysql, obviously though when I tried to launch the project it couldn't connect to the server.
    Any suggestions would be much appreciated because flex is pretty much useless to me unless I can figure out how to connect with php and mysql.
    Steve

    hey ya
    you were responding to like a real old post
    what exactly is your problem perhaps i can help

  • Help with project/folder setup for new flex project??

    Hello all,
      I need help deciding how to set up my projects for a new flex application we're developing.
    We have an in-house custom java/jsp "framework". This framework has JSP pages for administering applications that are built using this framework. One part of the framework generates all java base and model objects from our database tables to be used in the new application.
    The new application will have a back-office part (Adobe AIR) and a web facing part (Adobe Flex).  Both the AIR and Flex parts of the application need to access the java model objects via AS3 classes (I believe I'll do this using remoteobject).
    My questions are as follows:
    After I create the base and model AS3 classes that remoteobject with the java classes can I put these in a common library project so both my AIR and Flex app can access common AS3 code.  I feel I should do this to keep from duplicating code by copying the AS3 classes in both my AIR and Flex projects.  Can you give my any examples or links to information on how to do this??
    I plan to also create a common java project for all base and model objects generated from my db tables so that the common library project with AS3 classes could remoteobject interface with the java classes in the java project. I would like to keep all of my business logic in the java model classes.  Does this seem appropriate for the projects/setup listed above?
    Here are the projects I think I need in Flex Builder.
    FlexWebApp
    AIRBackOfficeApp
    JavaApp - Common
    AS3FlexLibraryApp - Common
    The FlexWebApp and AIRBackOfficeApp will reference the AS3FlexLibraryApp and the AS3FlexLibraryApp will remoteobject to the java classes in JavaApp.
    Any help or direction with this is greatly appreciated.
    Thanks,
    Whitney

    Hi,
    Please post only once (do not post same thread across multiple forums).
    help with Financials setup from very basics...
    Re: help with Financials setup from very basics...
    Regards,
    Hussein

  • Help me with a flex project... how do i use it ?!?

    i have this entire project and i don't know how to use it... what should i do with it ?!?
    Any help ?

    In Flex Builder menubar:
    File - Import - Flex Project - Import project from - Archive file      and navigate to the file.
    If this post answers your question or helps, please mark it as such.

  • FLEX Builder Pro 3 New Flex Project cannot configure J2EE

    I have FLEX Builder Pro 3 installed on a Windows XP machine.  LiveCycle Data Services is installed (with Tomcat) on a Linux RHEL 5 machine.  When trying to create a new FLEX project and configuring a J2EE server am very confused on what to put in Root Folder and Root URL.  I have tried various paths on the Root Folder (with a drive mapped through windows and also with just using the servername) and keep getting the error message:
    Invalid root. The WEB-INF/flex folder must contain either flex-config.xml or services-config.xml.
    I've located the flex-confing file in the tomcat5\webapps\ROOT\WEB-INF directory, but still get the error.
    Please any help would be greatly appreciated.

    Are your new classes referenced from the old code? Mxmlc employs a questionable form of "as-needed" linking, so classes that are not referenced from the main application are not even compiled. This referencing requirement is recursive; that is, any classes that are to be included have to be referenced from the main application, or from classes referenced by the main application, or from classes referenced by classes referenced by the main application, and so on. But if your new classes are not referenced at all from the old code, they will be ignored.

  • Create library (swc) in Flash Builder 4 / Flex Project (not in a Library Project)

    I want to create a swc file to use it in an other project. I can't use the Flash 4 Library Project to do this, because in a Library Project I
    haven't the possibility to use data/services, which I need for my library. After click on "data / services" I get the message "This view is only for Flex-Projects available".
    Has anyone a solution for my problem?
    Thanks for your help.

    Connect to PHP in FB4 is used when you have a PHP Class and you want to use that in FB, for example Employee.php and it has a Employee class and various methods in that like create, update, get, delete.
    However, if you have exposed your functionality in PHP as a HTTP URL (i.e. it is not a class), then you should be using HTTPService from the data menu.
    So if your file is login.php and is accessible as a URL, then using the HTTPService and enter the URL.
    Does this help?
    -Sunil

  • Flex Project ; Compile Locally

    When I set up a Flex project in Flex Buiilder 2 , and select
    Flex Data Services, Compile Application locally in Flex Builder ,
    then select root folder, root URL and context root, the application
    fails to compile locally . I get an error in the problems section
    stating , "Unexpected attribute 'url' found in 'endpoint' from
    file: services-config.xml" . I am using LiveCycle Data Services ES.
    Anyone having the same issue ? My co-worker was able to do a
    similar set-up successfully using FDS2 , so I'm wondering if there
    is an issue with LCDS ?
    Thanks, Steve

    sjlib,
    I was able to resolve my same error by updating the Flex SDK
    2. I found some information to do this here:
    http://www.adobe.com/cfusion/webforums/forum/messageview.cfm?forumid=72&catid=640&threadid =1253123&highlight_key=y&keyword1=flex%20Builder
    I followed the directions posted on 03/29/2007 by
    "nodogbite".
    After updating the Flex SDK, I removed my projects from the
    workspace & the J2EE DIR and rebuilt them from the source path.
    After doing this I no longer got the "Unexpected attribute 'url'
    found in 'endpoint' from file: services-config.xml" when I
    recompiled.
    I hope this helps, good luck!
    -Gavin

  • Cant install air-flex projects

    Hello, my AIR applications cant be installed in my system
    because Windows do not recognizes files with .air extension.
    Do you know if is needed additional software (like Adobe AIR
    Runtime) to install my air based flex projects? I thought that the
    installers detected if you have or not the necessary libraries to
    run the file.
    Regards

    http://livedocs.adobe.com/flex/3/html/help.html?content=distributing_apps_1.html
    Uops!

  • How can I load a youtube stream in a video AIR flex project?

    I'm trying to implemente OSMF youtube plugin into a flex project, but I can.
    There is one sample about it? I need to see the code of one YouTubeElement playing to understand how I can use it. Can anyone help me?

    even i faced this problem..
    the image remain static though it has animation,
    well the beat way to put animation in flex is to run a .flv
    video.. and show the kind of animation u want

  • Flex Project with Java

    Hi,
    I want to create a Flex Project which uses Java EE Server.
    This is my requirement...I have a login Page, Register Page...when I Register the data should be sent to Database Table. when I login with existing username and password, It should validate from the Database and then a new page opens up which shows any info.
    Can anybody tell me, how this can be achieved??
    Thanks for the Help...

    You'll probably use the Flex RemoteObject to connect to your J2EE app.
    http://livedocs.adobe.com/flex/3/html/help.html?content=transitions_2.html
    http://www.summa-tech.com/blog/2009/03/05/flex-remote-object-services-blazeds/
    http://learn.adobe.com/wiki/display/Flex/Creating+Flex+Builder+Projects+that+Use+Server+Te chnologies
    http://livedocs.adobe.com/flex/3/html/help.html?content=projects_3.html
    If this post answered your question or helped, please mark it as such.

  • Shifting Flex project from Flex SDK 3.5 to Flex SDK 4.0

    Hi,
    I am currently working on a Flex project using Flex 3.5 SDK. I want to shift my project to Flex 4.0 SDK.
    When I changed the project settings to use SDK 4.0, I got lot of unknown location errors.
    1) 1046: Type was not found or was not a compile-time constant: ImportExportConfiguration
    2) 1061: Call to a possibly undefined method setSelection through a reference with static type mx.core.ITextInput
    While the same code of flex was working satisfactorily in Flex SDK 3.5.
    Please tell, how can I get rid of these error and successfully shift my project to Flex SDK 4.0.
    Regards,
    Nitika Agarwal

    Hi,
    While I am migrating my project from flex 3.5 to Flex 4, I have to keep the Flex 3 compatibility mode off and theme as Flex 4 default theme that is Spark.
    Then while i compile I get foloowing errors:
    The   style 'backgroundAlpha' is only supported by type 'mx.controls.TextInput'   with the theme(s) 'halo'.
    The style 'backgroundColor'   is only supported by type 'com.app.model.WLSMSTextArea' with the theme(s)   'halo'.
    The style 'borderColor' is   only supported by type 'mx.controls.ComboBox' with the theme(s) 'halo'.
    The style 'borderThickness'   is only supported by type 'mx.containers.Canvas' with the theme(s) 'halo'.
    The style 'cornerRadius' is   only supported by type 'com.app.model.WLTextInput' with the theme(s) 'halo'.
    The style 'cornerRadius' is   only supported by type 'mx.controls.TextArea' with the theme(s) 'halo'.
    The style 'fillAlphas' is   only supported by type 'mx.controls.Button' with the theme(s) 'halo'.
    The style 'fillAlphas' is   only supported by type 'mx.controls.ComboBox' with the theme(s) 'halo'.
    The style 'fillColors' is   only supported by type 'mx.controls.Button' with the theme(s) 'halo'.
    The style 'fillColors' is   only supported by type 'mx.controls.ComboBox' with the theme(s) 'halo'.
    The style 'themeColor' is   only supported by type 'com.app.model.WLSMSTextArea' with the theme(s)   'halo'.
    The style 'themeColor' is   only supported by type 'com.app.model.WLTextInput' with the theme(s) 'halo'.
    What is the resolution for these, as for most of the controls there is no substitute to these properties. If I do not want ot change my <mx:> controls to <s:>controls because it will hamper my UI look and field, which I cannot afford to do.
    I have added following lines at the beginning of my stylesheet (*.CSS) as well:
         @namespace "http://www.adobe.com/2006/mxml";
        @namespace "library://ns.adobe.com/flex/mx";
        @namespace s "library://ns.adobe.com/flex/spark";
         Button { .... }
         ........ / * other styles */
    Please help me on this.
    Regards,
    Nitika

  • "Import Flex Project" Menu Disappear [FB 4.6]

    Hi All,
    I am not sure what's going wrong here but I'm not able to see "Import Flex Project" menu item under File Menu.
    Can any one knows how to get it back ?
    Thanks
    Mac

    I'm having the exact same issue as he described. This doesn't help at all.
    I am using a fresh install of Flash Builder 4.6.
    I have tried closing and re-opening the project, and cannot get the design view to work.
    I have tried creating a completely new project, it comes up bad.
    **Edit**
    I think the problem has to do with the workspace. Most of my projects are flex 4.5. I started using an old flex 4.5 workspace that I have been using for several months. It worked well for a few hours of development, and then the design view started messing up.
    I created a fresh new workspace, and imported the projects into the workspace by using file->import flash builder project->Folder, and manually selected the projects I needed.
    This method worked for me and I am good to go.
    Another point of note, is that my workspace was in my dropbox folder, which may have had some tampering going on in the background, I doubt it, but that could also have been the issue.
    Good luck guys, hope this helps.
    Message was edited by: darkscrypt

  • Flex Project Exports - Adobe SWC Distribution

    Hi,
    I'm having a difficult time trying to find any information regarding this so I would be really grateful for any help here. Let's say I have created an ActionScript project in Flex Builder -- I am not using a Flex SDK, it has been removed from the project's library path -- instead I have added one of the playerglobal SWC files from Flash CS4 to the project. This essentially allows me to program within Flex Builder without the overhead of the Flex Framework - which I never use.
    Now, if I wanted to export that project (as a Flex Builder project) when it was completed and make it available via a website, would I run into any legal problems if the playerglobal SWC was exported/distributed along with the rest of the project files - keeping in mind that the project could only be imported/re-published using Flex Builder?
    Thanks in advance for any info.

    Hi si-robertson, I understand what your dilemma is but I'm not sure I follow why you have your development environment setup like this. You can create pure ActionScript projects from within Flex Builder and these don't use the Flex framework at all - obviously you can't use MXML in these projects .
    While AcionScript projects in Flex Builder might use the same compilers as a Flex project they don't compile in the Flex framework classes; so I'm somewhat confused why you'd even need the playerglobal.swc from Flash CS4 in your project as it'd already have a complementary version of it available?
    If on the other hand you want to access Flash Player 10 functionality, again if you have the Flex SDK 3.2 or greater you can create content via the pure ActionScript projects without the overhead of the Flex framework.
    I know this isn't exactly what you were asking, but in a round-about way it would negate your concern about distributing your project if it contained the playerglobal.swc from Flash CS4 as you wouldn't need to.
    HTH
    regards
    m
    Mike Jones
    FlashGen.Com
    Adobe Community Expert For Flex
    Adobe Certified Expert for Flex 3 & AIR
    w./ www.flashgen.com
    b./ blog.flashgen.com
    Catch Me At
    Scotch on the Rocks London '09
    Flash on the Beach Brighton '09
    Author Of Developing Flex Components
    Addison-Wesley (Q4 / 2009)

  • Add a TextArea to a Sprite, in a Flex project

    Hi guys!
    I'm fighting with this problem and i can't get the solution.
    I've a Flex project (in FB 3.0.1) with a Sprite in which i do some drawings (coded in AS3). The Sprite is wrapped in UIComponent, that is contained in a WindowedApplication.
    Now, i want to display a TextArea in the Sprite. As long as i understood i can't add an mx.controls.Textarea to Sprite (i tried it and nothing is displayed), but i can use fl.controls.TextArea.
    i tried to import fl.controls.TextArea but FB can't find the package. How can i include it in build path ? Where i can find the right SWC ?
    Before you suggest me to recompile library sources i tell you i don't own Flash CS and i don't know where to find sources.
    http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/fl/controls/TextArea.html says Runtime AIR 1.0 and Player 9.0.2 . Why it's not included in FB 3 ??
    Thanks

    yes you can add TextArea to Sprite
    set the x,y, width and height of the TextArea object and added to Sprite using
    spriteObj.addChild(textareaObj);
    If this post answers your question or helps. Please mark it as such

  • Convert Action script Flex project to MX Component

    Hi gurus,
    I am looking into one of the examples on "Inspectable" in Flex project. As per my knowledge to convert we need to define a .MI file.
    Can anyone help me in converting this project into a MX component.
    Thanks and Regards
    Srikanth Anthargam

    Sorry its MXP component

Maybe you are looking for

  • Freight Charges after doing GR in PO

    Dear All, We have not entered any Freight charges in PO by mistake, And for that PO, already we have done GR also. Now how can add the freight charges to that PO ? Now the freight charge condn type in PO became as Grey.Can make it as editable after G

  • PO output print in vendor language

    Hi, 1. I need to get the print of Purchase Order based on vendor      language and not the message language. How to do this? 2. I am given a set of translated words to be used in the     output in each language. Should I put some command in the form/

  • How many transactions can we retrieve from flash back query in oracle9iR2?

    For Example.... user1 deletes some records in the table1 at 10:30am user2 adds some records in the table1 at 10:40am user3 updates some records in the table1 at 11:00am i have set the undo-retention parameter for 5 days..... so can i retrieve all the

  • How to ignore the popup message in TCD mode

    Hi All, I'm relatively new to all this. Could anyone kindly show me how to ignore those pop up message (which requires click 'yes' 'no') during the TCD recording and replay? The trouble I'm having at the moment is that depending on the effective star

  • What's Inside SAP?

    Hi I am an SAP functional consultant, with limited knowledge of the technical details of the system. I would like to understand SAP system on a high level. If there is any articles, documents, blogs which could help me understand the inner arrangemen