How dose the user interaction flow break ?

Main objective is to upload the screen capture to the Amazon S3 fully on client side. Here is the workflow I need
User click a button to process all the workflow described below .
1. Do the AMF request to backend and retrieve the S3 policy file information.
2. Once the result comeback need to upload the screen capture of the image+ parent movieclip.
3. After the image successfully loaded need to popup the html page .
Second step not initiate and throws a security Error. The security restriction describe here:
http://kb2.adobe.com/cps/405/kb405546.html
What I want understand is, how dose the above workflow break user interaction event flow?
Can I do the following way.?  dose this break the user interaction for upload data
myButton.addEventListener(MouseEvent.CLICK,onClick)
function onClick(event:MouseEvent):void
         var myTimer:Timer = new Timer(1000, 1);
    myTimer.addEventListener("timer", timerHandler);
    myTimer.start();
public function timerHandler(event:TimerEvent):void
   //stuff to upload the image data with URLLoader 
Thanks in advance

You are trying to wait for an async event.  You are no longer doing the work
in the event handler.

Similar Messages

  • How to get the User Id from the user interactive task?

    If I need to get the user id or whoever process the user interactive task and save this information to the database, how can I get the user identity who process the interactive task? I tried the owner, creator on the execdata, but it doesn't work.
    Thank you

    try using
    Participant.id or Participant.name
    in the interactivity and update this value in the database.
    HTH
    Narasimha
    Edited by: Narasimha on Mar 6, 2011 9:42 PM

  • After recording text using the dragon dictation app, it is converted, it can be copied to the iOS system clipboard for use in any app, how does the user access the clipboard to retrive this information if it is no longer on the screen?

    after recording text using the Dragon dictation app, it can be copied to the iOS systme clipboard for use in any app, how does the user access the clipboard to retrive this information if it is no longer on the screen?

    You need to do a long-press in any data entry field, then select Paste.

  • How get the user initiador in gp?

    hi all
    How get the user initiator of a process GP with a Web Dynpro Callable Object?
    because with this code I get the current user...
    IWDClientUser wdUser = WDClientUser.getCurrentUser();
    IUser user = wdUser.getSAPUser();
    String userid = user.getUniqueID();
    thanks!

    Hi,
    processId is the design time template id of the process. This you can find in the instantiation tab while designing the process.
    Code for getting user context:
    IWDClientUser wdUser = WDClientUser.getCurrentUser();
                   IUser user = wdUser.getSAPUser();
                   IGPUserContext userContext = GPContextFactory.getContextManager()
                             .createUserContext(user);
                   IGPRuntimeManager rtm = GPProcessFactory.getRuntimeManager();
    Hope it helps.
    Regards,
    Srinivasan Subbiah

  • Report: How long the user has not logged into SSHR

    Hi experts,
    I am looking for a report, which showing me, how long the user has not been logged into SSHR?. Because some poeple dosn't work any more in the company, and the list should enable use to deactivate their accounts.
    Thanks in advance
    Mehdi

    The AOL signon capabilities are good and you'll find useful stuff in those links.
    If you're after something quick in SQL try this:
    SELECT last_logon_date, user_name
    FROM fnd_user
    WHERE trunc(last_logon_date) < trunc(sysdate) - 90;
    That will get you everyone who hasn't logged in for 90 days.
    Edited by: Duncan Casemore on Jan 20, 2011 9:26 AM

  • How check the user roles in Business Partner edition screen?

    Hello Masters,
    I'm having a little problem figuring out how to check the user roles to allow modification in some fields.
    At the 'Manage Organizational Data' screen ('Manage Business Partners' -> Business Partner Data -> edit). I need to check the user roles to let him change the 'Tax Numbers' values. The values can be changed only if the user is a administrator; otherwise it must only show the value.
    I checked the HTML Template and found where I can restrict this edition option, but the problem is that I don't know how to check the user roles here. Maybe there is a function to do this?
    Any ideas of how I can do it? Is there any magical BAdI to check this?
    Thanks in advance,
    José Omar

    Hi José Omar,
    there is no BADI for this...
    You have to change the standard code to display only tax data if the SY-UNAME does not have correct role.
    You can retrieve user roles with BAPI_USER_GET_DETAIL, or access directly the activity groups table.
    Rgds
    Christophe

  • How are the User Id created

    Hi,
    We went live with the external posting for e-recruiting and the user id's generated contain a nine char value in the back end. Now we are working for internal candidates and this question poped up because for any internal employee who's applying for a job should have his PERNR number too in the user id(correct me if I am wrong), so that his with his user id he can login into any HR related applications. This is when CUA is coming into picture. CUA is going to be implemented to our productions system which currently for external postings only, will this create for internal problems.
    Is there to know how these nine character user id's are getting generated.
    Your piece of information is highly regarded.
    Please elaborate if possible.
    Regards,
    Victoria

    You are user that you created a new account with the same primary email address, and/or you hadn't changed the address on the existing account ?
    Only Apple can potentially delete an account, and if you had asked them to do so and they did delete it then its purchase history will also have gone.

  • How do the User and Shared Folders relate to the main drive? Can we delete?

    I'm curious how the User and Shared folders relate to the main hard drive and if there is duplicate files in these folders and the main hard drive. Some software programs I have seemed to have loaded content/info into these folders and I'm wondering why they put files in there instead of just the regular main hard drive pathing. These 2 folders are more confusing than anything. I can see that might be of use to a family and each family member wants to keep files in a personal file, but when I'm the only one using my computer, it seems like I should have the option to remove these folders completely, but I don't because I feel like I would be deleting some important files that I wasn't aware were in these folders.
    Another thing is, when I click on User folders (at least I think it's the User and not Shared folder), it brings up my name and 'Shared' in 2 seperate subfolders. Is anything in these folders duplicates of what's on my main hard drive? Is there anything significant about these folders if I'm the only user on my computer?
    I would nice to get rid of clutter and to eliminate options for software to install things by deleting these folders and not have home/user/shared folders. Is that possible?

    stikygum wrote:
    Yeah, I'm really low on space, so I'm going about a bunch of different consolidating options. But I mainly posted my main question to help me understand what 'stuff' is in the User and Shared folders and whether or not they act like an Alias, in order to help me make an informed decision what is best for my needs.
    They are not aliases; it is a hierarchy, and there is intentional duplication at different levels. This is a feature.
    First thing is that Users and Shared are at different levels. Users is at the top level, but Shared is one level inside Users, at the same level as any other user account you have created.
    Therefore, if you delete the Users folder, you delete all user accounts, which means you delete all personal data. OS X probably won't even let you delete the Users folder unless you start up from a different hard drive, because you can't delete your user account while you are running in it.
    Now, more about the hierarchy. The intentional duplication is so that documents and software can exist for individual users or all users. For example, there are multiple Applications folders:
    Hard Drive\Applications - applications any user can see, installed at the system level
    Hard Drive\Users\username1\Applications = applications only that user can see
    Hard Drive\Users\username2\Applications = applications only that user can see
    In the same way, there are multiple Preferences, Cookies, Application Support, etc. folders at different levels, for the same reasons.
    If you do not know what you are doing and you delete one of these folders that "looks like a duplicate" you could cripple some essential part of your system or your account. That is why people are telling you not to do this.
    The Shared folder is there because if you are in one user account you are prevented from seeing the files inside other user accounts. (Because you don't want other accounts to be able to see your personal data.) If you want to share files with others in your house using the same Mac, that's a problem. But the Shared folder solves this. if you want some files to be accessible to all users, like some photos or music, just put them in the Shared folder and now anyone with an account on that computer can see those shared files.
    The reason shared files are not simply stored at the top level is because everything above the Users folder is supposed to be reserved for the system. User-specific are supposed to stay in the Users folder. That is why they put the Shared folder in there.
    If you are not using the Shared folder and are just eyeing it because you want to free up some disk space, well, it probably won't help to delete it. Because if you are not using the Shared folder, it is probably not taking up much space, even though you see stuff in there. And if there is stuff in there taking up space, first figure out if someone put it there for a reason before you delete it.

  • Mod_ntlm/AD/LDAP How is the users password recovered and used.

    I have an application that currently uses LDAP authenticationand authorisation based on a username and password derived from the page 101 login screen. I am trying to convert it to a SSO solution using mod_ntlm to retrieve authenticate the users windows login against Active Directory. I authenticate fine with a standard mod_ntlm page sentry letting me access the application and I can use the owa_util.get_cgi_env('remote_user') to get the username. What I haven't established is how to retrieve the users password to pass as a parameter into the existing LDAP authorisation functions.
    I've based a lot of the ground work on the following article
    http://withasmiletomeltathousandhearts.wordpress.com/2009/01/29/apex-windows-integrated-authentication/
    However, this relies on a prestored LDAP_user and LDAP_Passwrd to retrieve data from AD. Rather than doing that I am trying to use the currently logged on user, whose login name I can retrieve but I have not found a way to retrieve and use their password?
    What am I missing?
    Thanks in advance
    FunkyMonky

    My question is regarding how to use LDAP to retrieve the users AD group information. mod_ntlm has successfully authenticated the windows user to get into the application without having to login. I now want to implement the applications functionality based on that user's Active Directory groups. Prior to the ntlm solution this was done with using LDAP with the authorisation and the credentials were available from the user manually logging on.
    The LDAP group determining method I referred to in my original post relies on a stored user to access the LDAP information rather than the actual logged in user as we had originally done it. Is this the only way we can implement our group based authorisation requirement?
    Cheers
    FunkyMonkey

  • How get the user that use CRM in my web site

    Hi all,
    I have a web app that connect to my CRM. I use C#.
    I connect to CRM with my credential because I'm admin in CRM.
    But my app is used from others CRM user and I need to know who is systemuser CRM that use app.
    I need the same of Xrm.Page.context used in js or the same context used in plugin, but I have the problem that I connect  to CRM with my user. So If I use WhoAmIRequest class I have my userid and not the userid of the user that use my web app.
    Is it possible know this? Do I change my login with user login in CRM?
    Thanks

    Hi,
         As you use system admin to connect to CRM, WhoAmIRequest does not return the user from website. You are correct. Change that so that it uses logged in user however be aware that means each user needs to be a valid CRM user else they
    will get not a valid user error.
    Hope this helps.
    Minal Dahiya
    blog : http://minaldahiya.blogspot.com.au/
    If this post answers your question, please click "Mark As Answer" on the post and "Vote as Helpful"

  • How does the user exit of validation rules get triggered?

    SPRO
    FinancialAccounting> GL Accounting > Business Transaction > GL posting > Carry out doc settings > Validation in accounting docs
    Here you can specify rules and call user exits also.
    To add code into the user exit, we have to copy the standard program that contains this user exit and then create a z version?
    If so, where do you tell to branch into the custom z program and not the standard program?

    Go to transation GGB0(Change Validation), Go to Application Area/Time -> Financial Accounting -> Line Item. Create a validation what ever you want and add the steps/rules for that. You have a provision to give Rules/Exits(User Exit).

  • How can the user authorization  "Display , not Edit" be fixed?

    Hi,
    I need to give users the authorization to "DISPLAY" a transaction (e.g. VKM1). They are not allowed to "EDIT" or "RELEASE DOCUMENTS".
    How can I do that?
    Thank you for your feedback.
    Kind regards,
    Linda

    for every transaction code there will be objects which is linked to the transactions code.
    For ex:- For  VKM1 Transaction code there are two objects (V_KNKK_FRE, V_VBUK_FRE)  with activity 03(display) and 23(maintain). So,  give the authorisation activity 03 to the transaction.  So, users can able to see the data but not having the authorisation to release or maintain.
    Reward points if helpful

  • How dos the application will know the path of persistence.xml file

    Hi ,
    I am seeing examples for ConatierManaged EntityManager
    @PersistenceContext
    public class Test extends HttpServlet
    public void doGet()
    EntityManager em
    // JnDI Lookup code
    em = (EntityManager) ctx.lookup("java:comp/env/persistence/em");
    em.persist(Employee)
    }Inside web.xml file
    <web-app>
    <persistence-context-ref>
    <persistence-context-ref-name>persistence/em</persistence-context-ref-name>
      <persistence-unit-name>my-pu</persistence-unit-name>
    </persistence-context-ref>
    </web-app>Please tell me how the Application will know the path of persistence.xml file .
    Thank you for reading

    it is predefined; JPA always looks for the persistence.xml file in the META-INF folder.

  • How Get the users machine name

    I need to develop the intranet ticketing system on SharePoint. When user create the ticket I need to fetch their machine name as well. I have search that lot of solution given for ASP. Net with c#. But I have use JavaScript for the application. if any
    possibility to achieve this on JavaScript if it's not possible means what is the possible way to fetch user machine name in sharepoint
    Ravin Singh D

    Hi,
    the below link I got answer. Thanks sagar
    http://forums.codeguru.com/showthread.php?495819-Getting-windows-machine-name-via-the-browser
    <BODY>
    <Script Type = "text/JavaScript">
    try
    var ax = new ActiveXObject("WScript.Network");
    document.write('User: ' + ax.UserName + '<br />');
    document.write('Computer: ' + ax.ComputerName + '<br />');
    catch (e)
    document.write('Permission to access computer name is denied' + '<br />');
    </Script>
    </Body>
    Above code do that. But we need change browser security level to low. And it showing one warning also. I have tested with IE. other browser I need to test.
    Ravin Singh D

  • How are the User screen and the Configuration screen Related in SPRO

    Thanks

    stop trying to read directly from the database. it's not supported and you're only going to make things harder for yourself. 
    import-module smlets
    $userclass = get-scsmclass System.User$
    get-scsmobject $userclass | ? {$_.OrganizationalUnit -ne ""} | ft DisplayName,OrganizationalUnit
    DisplayName OrganizationalUnit
    LAB\Public Folder Management Microsoft Exchange Security Groups
    LAB\Recipient Management Microsoft Exchange Security Groups
    LAB\Help Desk Microsoft Exchange Security Groups
    LAB\Exchange All Hosted Organizations Microsoft Exchange Security Groups
    LAB\Exchange Windows Permissions Microsoft Exchange Security Groups
    LAB\ExchangeLegacyInterop Microsoft Exchange Security Groups
    LAB\Discovery Management Microsoft Exchange Security Groups
    LAB\View-Only Organization Management Microsoft Exchange Security Groups
    LAB\UM Management Microsoft Exchange Security Groups
    LAB\Server Management Microsoft Exchange Security Groups
    LAB\Delegated Setup Microsoft Exchange Security Groups
    LAB\Compliance Management Microsoft Exchange Security Groups
    LAB\Exchange Servers Microsoft Exchange Security Groups
    LAB\Exchange Trusted Subsystem Microsoft Exchange Security Groups
    LAB\Hygiene Management Microsoft Exchange Security Groups
    LAB\Records Management Microsoft Exchange Security Groups
    LAB\Organization Management Microsoft Exchange Security Groups

Maybe you are looking for

  • Theres very little sound coming from my speaker and people cant hear me i phone 4

    theres very little sound coming from my speaker when i play music and ringtone it was working fine last night also when its going straight to voicemail when people ring but then coming through as a missed call, then when i recive calls i can hear peo

  • A Headache of a problem! After Effects to DVDSP

    Hello to every one! I am having a heck of a time trying to figure this out. I will try and sum this up as best as I can The goal of the project is - To create a motion menu in After Effects, export and bring into DVD Studio Pro and add buttons for th

  • Bouncing To MP3 Format: Stereo Mode = Normal or Joint Stereo?

    After much research on these forums and listening test, I finally realized that having the "Normalize" box checked (in the Bounce window) resulted in a different sound from what I had mixed. It did "protect" my songs from being distorted in iTunes bu

  • Creating Hot Spots in DPS

    I have a spot where I would like the same position to have both the open and the close button. For example, an image with a little "+" icon : when you tap the "+" icon, a box opens up with information, and the "+" icon changes to an "x" icon (the "x"

  • Restricting Calculated KF on Fiscal Period - Data constant 1.00

    Hello, I am using planning and forecasting infocube, where I created Calculated Key Figures , Margin(Actual), Margin(Forecast). They are working fine by themselves but when I restrict Margin(Forecast), it gives me result constant 1.00 and Margin(Actu