Flex applications and user activity tracking

Hello

My question is simple: is there a way to monitor the activity of users within a Flex application?

Best regards

Thanks a lot David for explanations. I will apply this as soon as possible.

Tags: Flex

Similar Questions

  • Flex application and several basic material

    Hello

    my company is developing an enterprise application pretty huge involving 4 Flex, BlazeDS, a server side Java-spring and frame matte on the client side.

    It works very well but as demand is growing bigger and bigger performance problems are a major concern for us... And our customers!

    We just noticed a performance problem and I could not find any resource from Google, it's here:

    It seems to us that no matter what the number of CPUS of your computer has, our Flex application always use only one. Accordingly, our application rolls over on a P4 core at 3 GHz computr processor than, say, on a core i7 with 8-processor 1, 6 GHz! Pretty strange isn't it?

    However, I learned that multicore of handfuls of Flash Player since version 9, so perhaps am I missing something simple? Is there something I should do to enable multicore processing? What is my application which is poorly designed? Or an operating system issue maybe?

    Any help would be greatly appreciated

    Thank you

    Matt

    ActionScript is single-threaded, so there is no advantage to try to spread his treatment between multiple cores.  Once the actionscript code has implemented the displaylist for a framework, certain aspects of the rendering of the display list can be distributed to the other cores or even a gpu.  Use the performance profiler to see where you as usage patterns are expensive and optimize.

  • Flex application and component talk to each other?

    Hi all.

    I have built on a large flex project and try to condense a little downwards out of the code and put it in the individual components.  Can I call then.  Not only to reduce the number of lines of code, but to also make it easier to make improvements, and if others get involved with the project that they may be charged a component rather than all of the code.  In my view, it is logical to try to work this way.

    I should point out that I am using Flash Builder 4.

    To try it, I worked on an example.

    What I hoped to do, it is to pass variables and the values of a component to the main application, is it possible?

    That's what I've tried but I get an error the main code can not see the text field in the component.

    Code in the main file

    <? XML version = "1.0" encoding = "utf-8"? >
    " < = xmlns:fx s:Application ' http://ns.Adobe.com/MXML/2009 "
    xmlns:s = "library://ns.adobe.com/flex/spark".
    xmlns:MX = "library://ns.adobe.com/flex/mx" minWidth = minHeight = "955" "737" height = "600" width = "470" xmlns:ns1 = "*" >
    < s: states >
    < name s: State = "on" / >
    < name s: State = "two" / >
    < / s: states >
    < fx:Declarations >
    <! - Place non-visual elements (e.g., services, items of value) here - >
    < / fx:Declarations >

    < fx:Script >
    <! [CDATA]

    private function btn_submit (): void
    {
    If (txt_user.text = 'Hello')
    {
    currentState = "two";
    }
    on the other
    {
    currentState = "a";
    }
    }

    []] >
    < / fx:Script >

    < s:Label x = "10" y = "10" text = "Test Log In on component" width = "717" textAlign = "center" fontWeight = "bold" fontSize = "18" / >
    < ns1:Loginform = "190" x y = "71" >
    < / ns1:Loginform >
    < / s:Application >

    The component code

    <? XML version = "1.0" encoding = "utf-8"? >
    " < = xmlns:fx s:Group ' http://ns.Adobe.com/MXML/2009 "
    xmlns:s = "library://ns.adobe.com/flex/spark".
    xmlns:MX = "library://ns.adobe.com/flex/mx" width = "400" height = "300" >
    < fx:Declarations >
    <! - Place non-visual elements (e.g., services, items of value) here - >
    < / fx:Declarations >
    < s:TextInput = "53" x = "62" width = "298" id = "txt_user" / >


    < s:Button = "281" x = "92" label = "Button" click = "btn_submit ()" / >
    < / s:Group >

    I don't know if I want to do (spend data from a component to the application main and rear) is possible.

    If someone could develop on it, I would be grateful!

    If the "publishName" of the component property is writable, then Yes.

    Two solutions:

    -First if you always use the same file name:

    
    

    -So if you want to change it, you can always use:

    
    

    And then in the Script code:

    myRecorder.fileName = "myFileNameOrWhateverStringHere";
    

    If the property is not writable, because it has no Set accessor, you must provide one (that is if you can change the code of the component).

  • How do 'Enum Control' disabled during the execution of an executable application and make activated when the application is stopped/abandoned?

    Hello

    I use a "Enum control" on the façade of an executable application built with application builder for LabVIEW 2013 full professional development system. I want Enum control remains activated prior to execution of this request so that I can choose any value from the list of available numeric values, but when I run this application; Enum control should become disabled so that the user can not select another value in the list of data during application execution values so that the default setting remains unchanged during the execution of this application. Enum control must also be activated when the application is stopped/abandoned so that the user can select any value.

    Could someone pls suggest a solution to this problem?  If I select the active state' to 'Disabled' in appearance tab then all listed values becomes disabled.

    Concerning

    Jamal

    I suggest to use the node property of persons with reduced mobility.  You can then disable the enum at the beginning of the program and then activate it in the judgment.

  • 10.11.3 upgrade kills applications and user data

    After the upgrade 10.11.3 this morning my Applications folder is emptied down. No application will run more. For any application, it just says: "cannot open the application... because it may be damaged or incomplete." I run Chrome through dialogue about this Mac, try to run the docking station does not work. My Documents folders and images, downloads, Dropbox all appear empty in the Finder.

    Is it possible to return to this particular update? I am aware that I can do a restore from backup, but my latest backup is too old.

    Start the RecoveryHD and open disk utility and perform a repair disk

    on the OS X volume (hold down the command-R during startup).  See if

    It solves your problem.

  • The data of the user of a Flex application recovery

    Hello! I need to use an application Flex (not a form guide) in the workspace.

    I am able to make a Flex application that is activated in the workspace, but I do not know how to retrieve data from the user.

    I know that if I use a form Guide, I can use a custom renderer Service that can retrieve data from the user, but how can I do the same if I don't use form Guide, but a pure SWF (variable type is form)?

    Thank you

    Alessio

    There is a way you can get the information of the user of the Flex application. You can get the user name, e-mail address and such things.

    You can see the following blog on how to do it: http://michael.omnicypher.com/2008/12/get-current-user-for-workspace-enabled.html

    If you need other data, you may need to make a call service or remote Web access once the Flex form has loaded.

    In the next version of LiveCycle, you will be able to use the same concept as the service rendered.

    Jasmine

  • FileReference - crossdomain.xml - restrict access to all MY Flex application?

    I have a Flex application based on the web (domain A) concerning must download files on the desktop of the user FROM an external server (domain B). I use Adobe FileReference class to do this. Now, I know that I need a file crossdomain.xml to the external server in domain B to establish trust between the Flex application and the server download. In the end, I need any user to any domain to have access on the server download for the cross-domain file must specify:

    allow-access-from domain="*"

    But this will open up acess to the downloadble files to any flex app out there on the web . Is there a way to restrict access to just MY Flex app in the
    crossdomain.xml file?

    thx in advance!

    -MC

    Why do you need any user to any domain access?

    Anyone using your web application will be in area a. unless you count should the swf for others to download from their servers (which woiuld be strange)

    the field is the place where its hosted

  • Simple Newbie Question - download flex applications

    I'm very new guy, sorry for the stupid question. It is my first adventure in Flex.

    I'm working on a graphic spring flex application and I went to show a worker co on his computer and it wouldn't work. I went to the html file in the bin-debug, it works on my machine, but not hers.

    This also got me questioning what I have to download online when I'm done so that it can work.

    The paths of the library are all absolute links on my machine like that

    C:\Program Files (x 86) \Adobe\Adobe Flash Builder 4\sdks\4.1.0

    Any help is really apprieciated. I did a few tutorials, but none of them actually go to upload files.

    Thank you

    Randy

    Hello

    Your Flex program will work on your computer if you are using Flash Builder because it puts in place a 'special' environment to allow you to test your applications at the local level.  These files are all based on mxml and do not work outside the Flash Builder environment.

    For others to access your application, open the Project menu, and then select 'Export Release Build'.  This will create the code html, swf and other files for people using your app.  The main application will be the same name as your project - something like: myApp.html.  (unless you have changed the default application)

  • Flex 3 and PHP Sessions

    I use PHP with my Flex application and I am trying to create a shopping cart. I have a PHP Session for the contents of the basket and tried to send data in XML shopping cart. However, this works if I am on the XML/PHP page, but not in the Flex application.

    Here's my PHP file that produces the XML:
    <? PHP
    Header ("' Content-type: text/xml '");
    echo "<?" XML version = "1.0"? > ';
    session_start();
    If (! isset($_SESSION['ShoppingBasket']))
    {
    $_SESSION ['cart'] = array();
    }

    If ((isset($_GET['BuyPalette'])) & & (isset($_GET['NoOfPalettes'])))
    {
    $_SESSION ['cart'] [] = array)
    'PaletteNo' = > $_GET ['BuyPalette'],
    'NoOfPalettes' = > $_GET ['NoOfPalettes']
    );
    }

    $NoOfItems = count($_SESSION['ShoppingBasket']);
    $Return = "< basket > < NoOfItems Total ="$NoOfItems"/ > < / basket > ';
    print ($Return);
    ? >


    It's my addition of basket in ActionScript function:
    public void AddToBasket (): void {}
    document. ShoppingBasketItems.url = "" http://localhost/Flex/Personalised%20Palettes-debug/Header.php?BuyPalette= "; "
    document. ShoppingBasketItems.url = PaletteNumber;
    document. ShoppingBasketItems.url = '& NoOfPalettes =';
    document. ShoppingBasketItems.url = NumberOfPalettes;
    document. ShoppingBasketItems.send ();
    }

    And it's the label that I want to update:
    < mx:Repeater id = dataProvider = "{ShoppingBasketItems.lastResult.NoOfItems 'ShoppingBasketRepeater'} ' startingIndex = '0' >"
    < mx:Label '640' = x y = '13' text = "Your Shopping Basket contains {ShoppingBasketRepeater.currentItem.@Total} Item (s)" color = "#FFFFFF" id = "ShoppingBasketLabel" / >
    < / mx:Repeater >

    Y at - it a particular way for the delivery of PHP sessions in a Flex application?

    Thank you
    Katy

    Add each of your service url variables rather than crush them.

    TS

  • You can use the activity tracker and an application running at the same time?

    I've been running just with my watch and the Apple activity tracker.

    But I wanted to calibrate so tonight I ran with my iPhone, too.

    I tried to use the Nike + and the PPP of activity both starting on my watch. I ran with the application of the activity on the screen.

    When I did I stopped the activity app and went to the Nike + app, but it was stopped.

    Then can you run the application of activity and a different running application at the same time. Or do you need to start another app on your phone and activity on your watch?

    Thank you all

    Hello

    To save your route at the same time apps, save the workout using the application of the workout on your Apple Watch (early check it there first) and also through the application of Nike + running on your iPhone.

    Monitoring of your training via the integrated application of the watch workout will cause your heart rate to be monitored at all times for the duration of your workout.

    The app Nike + running cannot currently access heart rate monitor watch directly, but if I read the heart rate data of the health on the iPhone app, it will always be able to access - indirectly - the same heart rate for your exercise data:

    -On your iPhone, in the application of health, press Sources (tab) > Running > turn on Allow 'Running' to read heart rate data.

  • How to incorporate and display a SWF in a Flex application.

    Hi all

    I'm trying to embed a swf animation in a flex 4.5 application and display it, but it does not work!

    I get error after error.  When I try to use addElement(), I get the following error:

    1067: coercion of a value of type mx.core:MovieClipLoaderAsset to an unrelated type mx.core:IVisualElement.

    If I use addChild(), then he throws another error when running.

    Here is my code:

    [Embed(source="assets/con_mov.swf")]
    private var connectMov:Class;
    private var conMov:MovieClipLoaderAsset = new connectMov();
    

    Here's the code I'm trying to use it to displey:

    borderContainer.addElement(conMov);
    

    I tried just to add to the application using this.addChild (connectMov), but I get an error during execution.  It's ridiculous!  Bringing a swf created in Flash into Flex and displaying should not require so much effort - IMHO.  There is a lot of documentation on how to embed a swf in Flex, but almost nothing about how to post!

    It's just a simple animation placeholder so I need access to all the functions on the inside, I want to integrate rather than using swfLoader.

    Thanks for any help or advice you can give!

    Matt

    Hello Matt,

    Yes you are right, it is not necessary to set the source of the image that we add a movieclip with swf. It was a mistake in my

    code, because I have tried it with too many crazy ways.

    Now the SWFLoader, ABT

    This technique works well with the SWFs that adds a graphical application or animations, but are not intended to have a large amount of interaction with the user. If you import SWF files that require a large amount of user interaction, you must build them as custom components. (Adobe Docs)

    Thank you and best regards,

    ---------------------------------------------------------------------- ----------------------------

    Kanchan Ladwani | [email protected] | www.infocepts.com

    ---------------------------------------------------------------------- ----------------------------

  • Is it possible for a flex application to reproduce a structure of files and folders to the customer without zip

    I have an upload/download of flex based app that works very well for download, but when it comes to download, I have coldfusion zip files and folders together and then just by downloading this single file.  I would like to have the flex application to replicate files and folders on the clients computer without having to zip & unzip them and I was wondering if this is even possible.  If I remember correctly, I thought that flash could not create folders on the clients computer...

    Thank you!

    a desktop AIR application can write files/folders to the users ' computer

    a web application could not

  • In Flex application feature sometimes works and sometimes does not...

    Hello

    Please help me on this...

    In my flex application features works sometimes and doesn't work sometimes does not...

    In my project, I have 5 sections with 5 separate screens... Each screen is a module of different.

    After logining in the application:

    I'll go to a screen... First time each feature works in this form...

    Ex: I have a screen with datagrid. This user select name from a datagrid job click on the next button...

    According to the name of the selected user work, I display information on the next screen and customer names.customer whose name is a drop-down list box.

    Here is the code:

    public void populateAllOEMCustomers(event:ResultEvent):void
    {

    1) var object_CustomerList:CustomerList = event.result as CustomerList; the values of the object //Assigining the object reference variable result.

    (2) var allOEMCustomersCollection:ArrayCollection = new ArrayCollection(); Variable declaration ArrayColliction referance.

    (3) var i: int = 0;
    (4) var customerComboLabel:Label = new Sun;

    (5) for (i = 0; i < object_CustomerList.arryCollCustName.length; i ++)
    {
    var strCustName:String = object_CustomerList.arryCollCustName.getItemAt (i) m:System.NET.SocketAddress.ToString ();
    var strCustId:String = object_CustomerList.arryCollCustId.getItemAt (i) m:System.NET.SocketAddress.ToString ();

    customerComboLabel = new Sun; Dynamic Declaration of the label.

    customerComboLabel.name = strCustName; Assinging the customer name in the label name box.
    customerComboLabel.text = strCustId; Assingning the customer id in the text box on the Label.

    allOEMCustomersCollection.addItem (customerComboLabel); Addition of Lable in the referace ArrayCollection variable collection.
    }
    customerComboID.selectedItem = ' - ';.
    OEMCustomersComboID.dataProvider = allOEMCustomersCollection;
    OEMCustomersComboID.selectedItem = - 1;

    }

    This feature works very well when I visit the first time on the screen... If you go back to another screen and return to the same screen and click the button following this names combo box customer time has no customer Details... I get Nullpointer Exception and it shows the number of the line 5 (I gave the above code number..)

    If I change the first line of the code to the following: each time the feature above works fine. Not getting no not an error msg...

    var object_CustomerList:Object = event.result;

    If I type cast in specific class (CustomerList), the feature does not work... do null pointer exception... If I type cast to object everything works fine... In my code each time I'm typecasted for the features of the specific class is not working (gettingNullpointerExcepion).

    Please help me on this... I don't get what could be the reason...

    I am using::Flex 3, Flash player 10.1

    Thanks in advance...

    Kind regards

    Satya

    Hi Satya,

    This sometimes as in your case may not work the way you have specified the RemoteClass attribute in your AS class. Because sometimes there may be a case because before it is mapped to a server-side, you are returned to the data and so that you can not get your custom class data but as normal object type.

    So to avoid this, you can map the class server-side for as classes in the Manager PreInitialize itself as shown below:

    Specify the preinitializeHandler in your main application and write the function below. That way, too, you can map as classes on the side server. So you will have no problem referring to your application AS class types.

    You can use the same line for recording of all classes. Using this, you can remove all of the [RemoteClass] attributes on all CLASSES and attach it to the unique place.

    preinitialize = "onPreinitialize ()" "

    private function onPreinitialize (): void
    {
    registerClassAlias ("com.expeditor.ScriptAdmin.Objects.CustomerList", list of clients);
    }

    In the line above the quoted string code refer to the namespace of the class on the server side and the second is your AS class. Also, remember to import the namespace from the correspondent as a class in the file.

    Try this and let me know...

    Thank you

    Jean Claude

  • Rendering problem - all the text in my Flex application is not visible, but only for a single user

    Hi all

    I have a very strange problem... we had a trouble report from a user who said that she could not see the text in a Flex application, we are working on.  It works for everyone but this one user - and still unknown, it works for me when I open as the user, on the same hardware that is using this user.

    The only difference is the remote desktop client that is used.  In my test case, I connect to the Terminal Services Server in Windows 2003 server from my workstation, and it works.  It connects on the same Services Terminal Server in Windows 2003 workstation server, using the same credentials, and it does not work.  If I don't see it with my own eyes, I'm not sure I would have believed it.

    To prove that I'm not crazy, I made a record.  Check it out:

    http://screencast.com/t/OWE0YWMzMz

    What's happening in the world!

    -Josh

    Wmode causes a lot of weird problems.  Avoid at all costs.

  • Synchronization of the activity Tracker and map my Ride app

    Today, I drove 2 hours and 45 minutes on my bike for 36 miles. My activity tracker shows only 105 minutes of exercise. It should be closer to 165! Help!

    Hello

    Make sure to watch fits correctly > Port Apple Watch - Apple Support

    Aside from that, see if calibrate your watch help > calibrate your Apple Watch for improvement of accuracy of training and activity - Apple Support

Maybe you are looking for