Creating User Alias in Flash Air Application

I am trying to create an Flash Air application whereby users
are able to change their user alias on the application anytime they
want. This will be saved and when users sign in the application
again, it will show the "new" user alias instead of the previous
one.
Image can be seen below:
http://i192.photobucket.com/albums/z63/nellehs/AirBiff/1copy.jpg
As you can seen in the red box, that is the user alias. Users
is to clicked on the name and they could just change it straight
away. To confirm it, just press the "Enter" button. It works
somehow like MSN. I tired to search for many tutorials online
however there weren't much. Hope you guys can guide me along as I
am still new to Actionscript 3 plus AIR. Thank you so much.

is it possible to do add a user alias in Flash Air
Application?

Similar Messages

  • Creating User Alias

    I am trying to create an
    Flash Air application whereby users are able to change their
    user alias on the application anytime they want. This will be saved
    and when users sign in the application again, it will show the
    "new" user alias instead of the previous one.
    Image can be seen below:
    http://i192.photobucket.com/albums/z63/nellehs/AirBiff/1copy.jpg
    As you can seen in the red box, that is the user alias. Users
    is to clicked on the name and they could just change it straight
    away. To confirm it, just press the "Enter" button. It works
    somehow like MSN. I tired to search for many tutorials online
    however there weren't much. Hope you guys can guide me along as I
    am still new to Actionscript 3 plus AIR. Thank you so much.

    is it possible to do add a user alias in Flash Air
    Application?

  • Calling a created Java file from an AIR application

    I've got a guy helping me out who is creating a Java file that outputs an F1 keypress to the operating system/desktop (which Flex alone can't do.
    My problem is I need to know how I can call/activate this file from within an AIR application. I want my app to be ready for when he has created it for me but I've never used Flex to call an application so I would not know what classes need to be called or if any script would be required.
    In the following simple code lets say if the Java file itself was called keypress.java (or whatever file extension a java file has) what code would need to be added in, including imported classes, to make the click of the button activate this java file?
    <?xml version="1.0" encoding="utf-8"?>
    <mx:WindowedApplication xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute">
    <mx:Button id="KeypressButton" label="Button" horizontalCenter="0" verticalCenter="0" click=""/>
    </mx:WindowedApplication>

    I think one solution is to use a Java proxy to call the Web services.
    In the Java proxy you can have a method that accepts the user/pass and sets them correctly for the Web service.
    Then you expose that Java proxy as a data control (right click, create data control) - and then create a page that invokes that method.
    (For the basics of working with a POJO data control see: http://blogs.oracle.com/shay/2009/07/java_class_data_control_and_ad.html )

  • After creating an alias, the App Store application has disappeared from the Launchpad. Huh?!

    So, I opened the Applications folder, then selected the App Store application and created an alias of it.
    Now, when I activate the Launchpad the original app is nowhere to be found. The alias is there, but the application proper is not displayed.
    It IS displayed (as well as the alias) in the Applications folder when I open that in the Finder.
    I have no idea how to remedy this. Logging out and back in is fruitless. And a reboot makes no difference.
    Any ideas, please?  Any one?  Bueller?  ;-)

    Yes. The alias works.  And the App Store application (which is still in the Applications folder) also works.
    Interestingly, I just tried a similar thing with the Adobe Reader app...created an alias of the application in the Applications folder. The same thing happened. The Adobe application disappeared from the Launchpad, replaced by the working alias. The fix for that was to delete the alias from the Applications folder. Then copy the Adobe app onto the desktop and finally copy it back into the Applications folder, answering "Replace" the original when prompted.
    Of course, when attempting to copy the App Store app back into the Applications folder, the process cannot be completed because the OS says... “App Store” can’t be modified or deleted because it’s required by Mac OS X."

  • Can worker created/packaged/executed into a Air application use Air features(like File?

    Hello,
    I have compiled "successfully" a Worker swf that uses some Air classes (like File, FileStream etc).
    Then i have embedded it into an AIR desktop application, but when i execute the application (with ADL or even installing and then executing it),
    i receive a Security Error from the worker, like if it's context doesn't support that type of operations. Is it correct?
    Can't workers use Air features like file write/access even if they are embedded in a Desktop Air Application?
    It means that can't workers open o write a file in every scenarios?
    Thank you
    Daniele

    Sorry. This is the answer:
    http://forums.adobe.com/message/4688380#4688380

  • Any pointers on implementing user authentication in Adobe AIR application ?

    Hello
    I am using an AIR 3.0 to create my client that connects to my server LCDS application that uses oracle XE database. I now need to implement the user authentication & access controls to GUI screens. Any pointers that show best practices in this regard or get me started...
    thanks
    RK

    You can use the mechanisms built into the AMF protocol, or manage the session manually by passing around an authentication token generated on the server.
    Here is some basic info on AMF sessions: http://livedocs.adobe.com/blazeds/1/blazeds_devguide/help.html?content=services_security_5 .html
    It's written for BlazeDS, but the principal is the same.

  • Option to not create a shortcut when installing an AIR application

    Hello Adobe AIR community,
    Does anyone know if there is an option to not create a shortcut for an AIR application?
    Currently, all I have found is an option to choose the location of the shortcut from within the start menu (in the application descriptor file, using the programMenuFolder option).
    Thanks,
    Mauricio

    I figured it out.  The AIR installer was stripping out my query parameters.  I made the URL use slashes for the parameters with a rewrite instead of ? and & it worked.

  • Using NSIS to install an AIR application

    Can I use NSIS to create an installer for an AIR application? I won't be distributing the application.air file, instead I will be distributing the unpacked/installed application files that are generated by the application.air file. I believe Adobe has no legal right to the unpacked/installed application files therefor Adobe can't dictate how those files are distributed, but I need that confirmed if possible.
    The default AIR installer looks very intimidating to end-users due to the design and the "this app will kill your computer and then kill you" messages, and I really don't want end-users to be put off by it, nor am I going to pay for a code-signing certificate when the application itself is free of charge. Adobe really need to take another look at the way AIR applications are installed, the current process/design is a joke.

    I would be very interested to know if you had any luck using NSIS to install your AIR application. I have hit a roadblock using Adobe's sidecar installer because my AIR file is too big. I'm looking at having to split out the content so that my AIR file is small, and then install the content separately. However, I need to install the content to app://, not app-storage:// so that all users can use the application. I'm finding this difficult with Installshield Express, so I'm now attempting to do it with NSIS.
    Kevin

  • Flash AIR Make Linux/Ubuntu Shell Commands?

    What is the AS3 commands that makes it possible for my flash air application to make shell calls in Ubuntu Linux? I'd like my AIR app to eg. start programs or open folders.
    Cheers,
    Artheus

    This will be supported in AIR 2.0 (which is being announced today).

  • Create system alias (Mac) or shortcut (Windows)

    Hi,
    is there any way to create such "files" from an Air Application ?
    I think there's no API able to do this. But maybe is it possible using raw binary data writing ?
    Thank you.

    How did you remove Windows 7? If you did not use Boot Camp Assistant you have messed up your drive and will have to start over by erasing and formatting your drive then reinstall OSx and and Windows 8.

  • Flash air desktop application

    Hello there,
    We developed an application.
    The window of our application cannot be maximize after it is install on our desktop.
    How could we get this fonctionnality?
    Please help.
    Many thanks

    Are you saying that it is possible to get this fonctionality (maximise
    without stretching) when using flash air desktop application?
    Yes, you can maximize a window without distorting the contents. When using Flash, the stage scale mode defaults to one of the scaling modes. For your app it sounds like you should set the scale mode to the "noScale" option.
    If yes, Do you recommend the utilization of aire for the distribution of our
    application?
    I don't know enough about your application to make any kind of recommendation, and anyway my opinion might be biased since I am an Adobe employee.
    Also could you recommend us a way for limiting the illegal distribution?
    I don't think there is a fool proof way to do it (in general DRM is a race between the publishers and the hackers). Adobe doean't provide any tools for this. Presumably, there are 3rd party tools for application DRM that you could use (but that's outside my area of expertise).
    For a homegrown approach to the problem, you could require that users of your application create a user account on your web site and download a license file in order to run the application.  This isn't perfect, because someone could hack your application to remove the check for the license, but it would prevent casual copying.

  • AIR Intrinsic Classes-Tried and Proven Approach to building AIR applications   in the Flash CS3 IDE

    Hi everyone,
    For all of you out there who would like to develop AIR
    applications
    from the Flash CS3 IDE but aren't sure how to get those pesky
    intrinsic
    classes working, I have a technique that you can work with to
    create
    your classes and make fully functional AIR applications.
    First of all, those solutions out there that list
    "intrinsic" functions
    in their class definitions won't work. That keyword has been
    taken out
    and simply won't work. The "native" keyword also doesn't work
    because
    Flash will reject it. The solution is to do dynamic name
    resolution at
    runtime to get all the classes you need.
    Here's a sample class that returns references to the "File",
    "FileStream", and "FileMode" classes:
    package com.adobe{
    import flash.utils.*;
    import flash.display.*;
    public class AIR extends MovieClip {
    public static function get File():Class {
    try {
    var classRef:*=getDefinitionByName('flash.filesystem.File');
    } catch (err:ReferenceError) {
    return (null);
    }//catch
    return (classRef);
    }//get File
    public static function get FileMode():Class {
    try {
    var
    classRef:*=getDefinitionByName('flash.filesystem.FileMode');
    } catch (err:ReferenceError) {
    return (null);
    }//catch
    return (classRef);
    }//get FileMode
    public static function get FileStream():Class {
    try {
    var
    classRef:*=getDefinitionByName('flash.filesystem.FileStream');
    } catch (err:ReferenceError) {
    return (null);
    }//catch
    return (classRef);
    }//get FileStream
    }//AIR class
    }//com.adobe package
    I've defined the package as com.adobe but you can call it
    whatever you
    like. You do, however, need to import "flash.utils.*" because
    this
    package contains the "getDefinitionByName" method. Here I'm
    also
    extending the MovieClip class so that I can use the extending
    class
    (shown next) as the main Document class in the Flash IDE.
    Again, this is
    entirely up to you. If you have another type of class that
    will extend
    this one, you can have this one extend Sprite, Math, or
    whatever else
    you need (or nothing if it's all the same to you).
    Now, in the extending class, the Document class of the FLA,
    here's the
    class that extends and uses it:
    package {
    import com.adobe.AIR;
    public class airtest extends AIR{
    public function airtest() {
    var field:TextField=new TextField();
    field.autoSize='left';
    this.addChild(field);
    field.text="Fileobject="+File;
    }//constructor
    }//airtest class
    }//package
    Here I'm just showing that the class actually exists but not
    doing much
    with it.
    If you run this in the Flash IDE, the text field will show
    "File
    object=null". This is because in the IDE, there really is no
    File
    object, it only exists when the SWF is running within the
    Integrated
    Runtime. However, when you run the SWF as an AIR application
    (using the
    adl.exe utility that comes with the SDK, for example), the
    text field
    will now show: "File object=[object File]". Using this
    reference, you
    can use all of the File methods directly (have a look here
    for all of
    them:
    http://livedocs.adobe.com/labs/flex/3/langref/flash/filesystem/File.html).
    For example, you can call:
    var appResource:File=File.applicationResourceDirectory;
    This particular method is static so you don't need an
    instance. If you
    do (such as when Flash tells you the property isn't static),
    simply
    create an instance like this:
    var fileInstace:File=new File();
    fileInstance.someMethod('abc'); //just an example...read the
    reference
    for actual function calls
    Because the getter function in the AIR class returns a Class
    reference,
    it allows you to perform all of these actions directly as
    though the
    File class is part of the built in class structure (which in
    the
    runtime, it is!).
    Using this technique, you can create references to literally
    *ALL* of
    the AIR classes and use them to build your AIR application.
    The beauty
    of this technique is its brevity. When you define the class
    reference,
    all of the methods and properties are automatically
    associated with it
    so you don't need reams of code to define each and every
    item.
    There's a bit more that can be done with this AIR class to
    make it
    friendlier and I'll be extending mine until all the AIR
    classes are
    available. If anyone's interested, feel free to drop me a
    line or drop
    by my site at
    http://www.baynewmedia.com
    where I'll be posting the
    completed class. I may also make it into a component if
    there's enough
    interest. To all of you who knew all this already, I hope I
    didn't waste
    your time.
    Happy coding,
    Patrick

    Wow, you're right. The content simply doesn't show up at all.
    No
    JavaScript or HTML parsing errors, apparently. But no IE7
    content.
    I'll definitely have to look into that. In the meantime, try
    FireFox :)
    I'm trying to develop a panel to output AIR applications from
    within the
    Flash IDE. GSkinner has one but I haven't been able to get it
    to work
    successfully. Mine has exported an AIR app already so that's
    a step in
    the right direction but JSFL is a tricky beast, especially
    when trying
    to integrate it using MMExecute strings.
    But, if you can, create AIR applications by hand. I haven't
    yet seen an
    application that allows you to change every single option
    like you can
    when you update the application.xml file yourself. Also, it's
    a great
    fallback skill to have.
    Let me know if you need some assistance with AIR exports.
    Once you've
    done it a couple of times, it becomes pretty straightforward.
    Patrick
    GWD wrote:
    > P.S. I've clicked on your link a few times over the last
    couple of days to
    > check it out but all I get is a black page with a BNM
    flash header and no way
    > to navigate to any content. Using IE7 if that's any
    help.
    >
    >
    >
    http://www.baynewmedia.com
    Faster, easier, better...ActionScript development taken to
    new heights.
    Download the BNMAPI today. You'll wonder how you ever did
    without it!
    Available for ActionScript 2.0/3.0.

  • How to create paging in air application

    hi ,
    I have created an  air application which takes the data from a feed.
    I ve to create paging for my Richtext which wiil hold the description of my image.i took the length of the description from the feed using substring
    using the following code
    var description:String=event.result.rss.channel.item.description;
                    if(description.length > 2000)
                        des1inner.text = description.substring(0,2000);
                    else if(description.length <= 2000)
                            des1inner.text = description;                       
    i need to display the remaining description using pagination. .can any one give solution for this?????????????

    The SQL statement results in a SQLResult object that you can
    get from the SQLConnection object using getResult().
    For example, if I create and execute the following
    SQLStatement against a SQLConnection object referenced by
    connection:
    var getAllQuery:SQLStatement = new SQLStatement();
    getAllQuery.text = "SELECT * FROM foo;";
    getAllQuery.addEventListener(SQLEvent.RESULT, setData);
    getAllQuery.sqlConnection = connection;
    getAllQuery.execute();
    Then, the setData() event handler is called in response to
    the completion of the query:
    private function setData(event:SQLEvent):void{
    tableView.dataProvider = event.target.getResult().data;
    In this example, event.target is the SQLConnection object for
    the database. The handler calls the getResult() function to get the
    most recent result. The function sets the dataProvider property of
    the following DataGrid component to the result data property. This
    results in the SQL results being displayed in the DataGrid.
    The definition of the DataGrid is (although only the id is
    really significant to this example):
    <mx:DataGrid id="tableView" top="0" bottom="0" right="0"
    width="100%" height="100%">
    </mx:DataGrid>
    If you have a lot of queries that may be returned in
    non-determinate order, then you can use a Responder object to deal
    with each query as it is produced, rather than just getting the
    most recent result with getResult().
    Edit: I just noticed that you are using HTML. The basics are
    still the same, but of course, you can't use the DataGrid. You will
    have to consume the SQLResult object and insert the appropriate
    data into your HTML objects. See
    http://livedocs.adobe.com/air/1/jslr/flash/data/SQLResult.html

  • User to User file transfer via FMS or RED5 in AIR application.

    Hello!
    It is possible to make file transfer from air application via server?
    I think need to create like byte array streaming or somethink like this from sender and write the destination file on receiver user pc.
    Someone know how to do this? It is possible?
    Thanks.

    Search more on socket class you can send anything between two machines using them
    see the code snippet below:
        sc = new Socket("<IP address>",8000);
      sc.connect("<IP address>",8000);
      sc.addEventListener(ProgressEvent.SOCKET_DATA, readFromServer);
      sc.writeUTFBytes("Hi this will be sent to the IP address provided by you on port no 8000!\n");
      sc.flush();

  • Does Air applications Require Flash Player?

    Well, this question may sound stupid but please help me out with my basic doubt. Does those applications created in Flex (as AIR application) require Flash Player at the client side or just installing AIR at the client side will do?

    No, Just AIR runtime is enough. Air application will use the airglobal.swc for compile.

Maybe you are looking for

  • How to display Base values (AFS Grid) in the Report

    Hi Friends, We ar using AFS, in that we have Grid value like 0003A34 (8 chars: first 4 chars colour (0003), A represents Cup, 34 represents size of the Material), in that we can able to store the Base values like for International or US, and for size

  • BPEL FTP Adapter Active Mode

    Does BPEL FTP Adapter supports active ftp mode (instead of passive). Apparently the ftp site for one of the Interfaces uses FTP Adapter and that ftp server it is using supports ONLY active ftp sessions, NOT passive. Want are configuration to made to

  • Restoring Backed up data

    I have a Palm Pre that is not ativated on any cell network yet. I was having problems with it and it was recommended I run webOS Doctor to correct the problem. I did this and now can't get past the Palm Profile set up page, it tells me I need to be c

  • Photos are cropped after printed

    Hello - my question is concerning sending pictures to be printed at a photo place (Wallgreens, CVS, Target etc.). I want to print 4x6 pictures, and I realize now that the aspect ratios are different from what I took the pictures in. Therefore what is

  • HP Photosmart printer assistant will not run

    When I am trying to run the assistant (the logo that looks like a picture of my printer) for my hp photosmart plus b210a, instead of running the control panel for this, it opens the "printer setup and software" options. This means I am unable to view