Alert Alternative spend vales to draw attention in the mobile app

So, I'm one of my apps in Flex 4 Flex 4.5 conversion mobile, and I understand that alert should not be used. I looked at Tour de Flex, a nd they have a nice way to do an alert, but I need to pass a function name and value that are used. Depending on the case, the user presses 'OK' or 'Cancel '. I pass a function name, because the method I use is used several times. Alert old man was next.

protected function unSavedAlertCheck(func:Function,_current:int):void {}
If {(bApply.enabled is true)
var o: Object = new Object();
o ['func'] = func;
o ['current'] = current;
Alert: var alert = Alert.show ("you changed something and are now sail away. This does not save the changes. Are you sure you want to navigate away and lose your changes? «, «Change without saving...» ", mx.controls.Alert.YES | mx.controls.Alert.NO, processChange, null);
Alert.Data = o;
} else {}
Func (Current);
}
}

Any help would be great.

Just do a SkinnablePopUpContainer and set variables, you must pass as a public

declare the popup in the declarations section (not visible) and assign an id

then to open it only to call the open method

to get the result sending an event custom

devgirl has a useful blog http://devgirl.org/2011/06/07/flex-4-5-mobile-development-alert-popup-and-other-skinnable-popups-avec-code source /

could help

Tags: Flex

Similar Questions

  • Windows Defender does not draw attention to the changes to the system, good event 'active' s, I don't get the error messages

    Windows Defender does not draw attention to the changes to the system, good event 'active' s, I don't get the error messages. How can I solve this problem?

    Defender alerted system changes in previous versions (Vista, etc.)

    It is no longer performs this function under Windows 7.

  • Can I use Draw on my desktop? Is it only the mobile app?

    Can I use Draw on my desktop? Is it only the mobile app?

    Hi EyeArt,

    Draw is a mobile application only.

    Hope that helps.

    Sue.

  • Draw attention to the application of the user interface

    Is it possible to use Dialog.alert () on the user interface, background processing application? I tested the Simulator but unfortunately it always freezes when the alert dialog box appear (alert did not appear, but I can see it is called in the JDE debugger) or perhaps a different approach?

    I think that this article will answer your question.

    How - to alert a user to a background application
    Article number: DB-00407

    http://www.BlackBerry.com/knowledgecenterpublic/livelink.exe/fetch/2000/348583/800332/800505/800608/...

  • Draw attention to the view of data store

    Hello

    I'm intrigued by this alert, shows a red! on the same data store you I have more than 50% disk free space. I remove a 300 GB VMDK to a VM about 2 months ago...

    Please see photo.

    Thanks, Julien

    Hello.

    Turn off this alarm and then immediately turn it on again. To clear the alert.

    Good luck!

  • Draw attention to the Cancel button

    Hello
    My requirement is... when the user press the button CANCEL on the form, check the State of P12_STATUS. If the status is 'NO' then show an alert. If it is false then redirect to page 125.

    To do this, I defined the button CANCEL 'Action' to "Defined by the dynamic Action" and created the DA as below

    Event: click ON
    Selection type: BUTTON
    Button: CANCEL
    Condition: Javascript
    Value: $v ('P12_STATUS') == 'NO '.

    True: Alert == > works very well

    False: Wanted redirecting to page 125.

    I don't know how to redirect to a page in my FALSE action.

    Please help me. If this is not the right approach, please let me know the right way.

    Thank you

    Leo.

    Hi Leo,

    In your dynamic Action add false Actions as below

    Action -> Execute JavaScript Code 
    
    Code:
          if($v('P12_STATUS')=='Y')
             {
                window.location="f?p=&APP_ID.:125:&SESSION.:::";
             }
    

    or use the below javascript in the HTML page header

    
    

    Button cancel change redirect to URL action

    javascript:Redirect();
    

    Brgds,
    Max

    Published by: Max on 18 August 2012 10:10

  • Draw attention to the name change.  Through self-service. Help!

    I created an alert that will detect when a persons name has changed and the alerts to their supervisor.

    This alert is on the per_all_people_f table.

    It won't fire, even if the request is correct and returns the right data during execution through SQL +.


    It was suggested that when someone changes their name using self-service, data is changed first in another table, and this is where my alert should be based?

    Surely a change will happen eventually in the per_all_people_f table that will make my alert to fire?

    Can someone shed light on this please?

    Thank you

    Scott

    When you perform a follow-up date update, no line is getting updated.

    You'd better understand if you have enabled the audit and check the audit tables.

    What is happening is a followed by removal of two inserts.

    Deletes the existing line, inserts two new lines. the one with the new data. the other with the old data and the end date column has changed.

    Kind regards
    Santhosh Jose

  • How I picked my email address when I don't have an alternative email to reset it and the mobile operator that I use is not there at all. Thank you

    How I picked my email address when I don't have an alternative email address to reset and also the mobile operator I'm using is not listed it at all.

    Hotmail gives me a few options, but non of them is useful to me...

    The problem is probably my junk e-mail generated from my e-mail address or something else, I don't know about you!

    Thank you

    Hi Beqiri2012,

    Just to clarify, please repost your question on the Hotmail Forums below to help with your Hotmail account number:

    http://windowslivehelp.com/forums.aspx?ForumID=d3fda415-1e53-4007-8e0c-2a77180ffb1d

    Thank you!

  • Drawing attention to an object FP is YOU know?

    Often when we walk a user through filling out some information we want to focus their attention on a particular control required. The traditional wasy of INGOs, is to use the "main goal" and if 'further help' is perhaps required change a chain of control with the statement saying "Please fill in your name! If you really want to get fancy, you can even change the background color.

    There is now a new approach, but I'm not going to tell you what it is (yet). Instead I'll show you!

    Run the attached VI (in LV 8.6) and tap the Highlighter button.

    The approach that I used is in the code, but I hid it so you can first ask "How would I could do this?"

    If did you know that?

    Ben

    PS to find the answer in the code, please rember that I don't use sequence structes I don't have a reason.

    SPOILER ALERT

    (Highlight to read)

    How is the documentation says 'this method works only in Edit Mode?

  • Since a Firefox update yesterday, Downloadhelper is no longer in effect. Is there an alternative, or can I go back to the previous version of FIrefox?

    Since a Firefox update yesterday, Downloadhelper is no longer in effect. Is there an alternative, or can I go back to the previous version of FIrefox?

    First of all, look for the updates. Check the support site for the program.

  • iMessage does not work for me. I have no text to send or receive texts as an alternative. I am able to use the Internet to navigate / social media but iMessage completely ceased to operate. I tried the usual phone turn off / on, reboot, etc.

    iMessage does not work for me. I have no text to send or receive texts as an alternative. I am able to use the Internet to navigate / social media but iMessage completely ceased to operate. I tried the usual phone turn off / on, reboot, etc. and still nothing. What can I do?

    What methods have tired to get it activated?

    You can disconnect from the iMessage

    Disconnect from the iCloud

    Reboot your phone

    Reconnect

    Wait iMessage activate

    Do you have a viable data plan?

  • Hello everyone! I need an application where I can hand write or type and draw, all in the same...

    Hello everyone! I need an application where I can hand write or type and draw, all on the same page,.

    I'm taking courses in biology and chemistry and sometimes I need to draw and explain

    Can someone help me?

    Thank you!

    I need an application where I can hand write or type and draw, all on the same page, I'm taking courses in biology and chemistry and sometimes I need to draw and explain

    @manuelito.castro,.

    Discover the "Mobilenoter" application, that includes the possibility of ink in free form. If you need to be able to classify and organize your writings, Mobilnoter works perfectly with a single Note.

    -Doc

  • draw lines on the graph of the intensity

    I want to draw lines on the graph of the intensity.

    I am already looking for some questions before.

    I know there is a vi could draw line on the graph of the intensity by dragging the mouse.

    But I need more precisely what set the length and the angle between the horzontal line.

    The setting is very ideal for me. But I don't know how to use it in the intensity chart.

    Is there anyone can help or give some advice?

    Your example is not so great because it uses 100% of CPU on a kernel at any time, do nothing.

    Here's a quick rewrite of my old example here. He draws an angle with the specified length and angle to where you click on the chart. This should help you get started. Modify if needed. (Also remember that trigonometry is much easier when using complex numbers )

  • The computer draws upwards of the instilation id, but have no other record numbers

    lost cd after that it was loaded on the computer have only the instilation id. do I have to get a new

    * original title - cd has been loaded on the computer before I bought it, but I lost the cd. The computer draws upwards of the instilation id, but do not have the other numbers off disc can u help me *.

    See: How to replace Microsoft software Carey Frisch

  • I just bought a new computer phone n want to spend all my outlook folders to the new unit. How can I do

    I just bought a new computer phone n want to spend all my outlook folders to the new unit. How can I do

    Put the .pst file from your old machine on a USB key with sufficient capacity or burn it to a CD - R. Copy the .pst to your new computer. Place it in your directory My Documents.

    Open Outlook on the new computer and set up your email accounts. Get the settings from the server of your Internet service provider's Web site if you do not know. There is usually a tutorial to set up different email clients.

    MVP Hal Hostetler:

    1. When you copy the. Your old HD to the new PST file, place it in a folder where it will NOT overwrite any existing. PST files; crush one. PST file that is in use can cause profile corruption.

    2 should NEVER use Outlook Import and export functions with. PST files. This feature is broken and has been for some time.  It often helps translates into corruption of the profiles, the more you lose the following data:

    1. custom Forms
    2 custom views
    3. links between contacts and activities
    4 receipt dates on mail
    5 birthdays and other events in the calendar
    6. journal connections
    7. distribution lists

    All you need to do is open Outlook on the new machine, go into "file |" Open | Outlook data file ", browse to your old." PST, and then click OK.  You now have access to all your old data. You can do this. Default PST file and continue to use it, or drag and drop its content in the new 2007 Outlook created during installation. MS - MVP - Elephant Boy computers - don't panic!

Maybe you are looking for