Alert component

Hello,
I have a table where the user can choose items to it and add them for later viewing. The last column of the table is linked to an action which adds the row to a java bean. I also have two different alert (which use the Alert component) to notify the user when the item is missing some info, or if the item is already added to the basket. I want the table to be positioned a little lower in the page when the alert is visible. This is why, in the first place the alert is setVisible(false), and when one the cases above happens it becomed setVisible(true). But the alert components are positioned a lot higher than the table component..
Code:
<webuijsf:alert binding="#{licencewizard$BasicResults.missingInfoAlert}" detail="#{msg.Missing_Alert_info}" id="missingInfoAlert"
style="left: 219px; top: 21%; position: relative; width: 241px" summary="#{msg.Missing_Alert_title}"/>
<webuijsf:alert binding="#{licencewizard$BasicResults.dupAlert}" detail="#{msg.Alert_info}" id="dupAlert"
style="left: 219px; top: 21%;
position: relative; width: 241px" summary="#{msg.Alert_title}"/>
<webuijsf:table binding="#{licencewizard$BasicResults.resultTable}" id="resultTable" lite="true" paginationControls="true"
style="left: 10%; top: 15%; position: relative" title="#{msg.SearchResultsBasic}" width="600">
<webuijsf:tableRowGroup aboveColumnFooter="true" binding="#{licencewizard$BasicResults.tableRowGroup1}"
emptyDataMsg="#{msg.No_Results_Msg}" id="tableRowGroup1" rows="10"
sourceData="#{licencewizard$BasicResults.osdelbooksDataProvider}" sourceVar="currentRow">
<webuijsf:tableColumn align="center" binding="#{licencewizard$BasicResults.tableColumn1}"
headerText="#{msg.SearchResults_tc1}" id="tableColumn1" style="#{licencewizard$BasicResults.columnStyle}" valign="middle">
<webuijsf:staticText binding="#{licencewizard$BasicResults.staticText1}" id="staticText1" text="#{currentRow.value['Titles1']}"/>
</webuijsf:tableColumn>
<webuijsf:tableColumn align="center" binding="#{licencewizard$BasicResults.tableColumn2}"
headerText="#{msg.SearchResults_tc7}" id="tableColumn2" style="#{licencewizard$BasicResults.columnStyle}"
valign="middle" width="109">
<webuijsf:staticText binding="#{licencewizard$BasicResults.staticText2}" id="staticText2" text="#{currentRow.value['Name']}"/>
</webuijsf:tableColumn>
<webuijsf:tableColumn align="center" binding="#{licencewizard$BasicResults.tableColumn3}"
headerText="#{msg.SearchResults_tc4}" id="tableColumn3" style="#{licencewizard$BasicResults.columnStyle}" valign="middle">
<webuijsf:staticText binding="#{licencewizard$BasicResults.staticText3}" id="staticText3" text="#{currentRow.value['Ekdotis']}"/>
</webuijsf:tableColumn>
<webuijsf:tableColumn align="center" binding="#{licencewizard$BasicResults.tableColumn7}"
headerText="#{msg.SearchResults_tc6}" id="tableColumn7" style="#{licencewizard$BasicResults.columnStyle}" valign="middle">
<webuijsf:staticText binding="#{licencewizard$BasicResults.staticText7}" id="staticText7" text="#{currentRow.value['Etos1st']}"/>
</webuijsf:tableColumn>
<webuijsf:tableColumn align="center" binding="#{licencewizard$BasicResults.tableColumn8}"
headerText="#{msg.SearchResults_tc2}" id="tableColumn8" style="#{licencewizard$BasicResults.columnStyle}" valign="middle">
<webuijsf:staticText binding="#{licencewizard$BasicResults.staticText8}" id="staticText8" text="#{currentRow.value['OsdelCat']}"/>
</webuijsf:tableColumn>
<webuijsf:tableColumn align="center" binding="#{licencewizard$BasicResults.tableColumn9}" headerText="ISBN"
id="tableColumn9" style="#{licencewizard$BasicResults.columnStyle}" valign="middle" width="53">
<webuijsf:staticText binding="#{licencewizard$BasicResults.staticText9}" id="staticText9" text="#{currentRow.value['ISBN']}"/>
</webuijsf:tableColumn>
<webuijsf:tableColumn align="center" binding="#{licencewizard$BasicResults.tableColumn10}"
headerText="#{msg.SearchResults_tc3}" id="tableColumn10" style="#{licencewizard$BasicResults.columnStyle}"
valign="middle" width="78">
<webuijsf:staticText binding="#{licencewizard$BasicResults.staticText10}" id="staticText10" text="#{currentRow.value['Selides']}"/>
</webuijsf:tableColumn>
<jguard:hasPrincipal principals="user">
<webuijsf:tableColumn align="center" binding="#{licencewizard$BasicResults.tableColumn4}"
headerText="#{msg.SearchResults_tc9}" id="tableColumn4" rowHeader="true"
style="#{licencewizard$BasicResults.columnStyle}" valign="middle">
<webuijsf:button actionExpression="#{licencewizard$BasicResults.addToLicence_action}"
binding="#{licencewizard$BasicResults.addToLicence}" id="addToLicence" imageURL="/resources/download.png"
mini="true" onMouseOut="document.getElementById('form1:academicBubble').close();" onMouseOver="document.getElementById('form1:academicBubble').open(event);"/>
</webuijsf:tableColumn>
</jguard:hasPrincipal>
</webuijsf:tableRowGroup>
</webuijsf:table>
Basically, I think it has something to do with the position:relative but I am not sure how this thing works ..

anyone ??

Similar Messages

  • Could not display Alert component in Visualweb JSP page

    Hi All,
    I am having difficulty getting the Ajax Autovalidation Alert Component to work in Netbeans Visualweb 6.5 on Windows XP with the following steps:
    ( i ) Set autoValidate attribute of firstnametextField and lastnametextField to "true" from property windows of Page1.jsp.
    ( ii ) Drag the Alert component of Page1.jsp and modified it's default id attribute to "form1:autoValidateAlert". Some how Netbeans change this attribute in the property window to "form1_autoValidateAlert" instead.
    ( iii ) Add notify="form1:autoValidateAlert" to Page1.jsp file for both firstnametextField and lastnametextField as follows:
    <jsp:root version="2.1" xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html" xmlns:jsp="http://java.sun.com/JSP/Page" xmlns:webuijsf="http://www.sun.com/webui/webuijsf">
        <jsp:directive.page contentType="text/html;charset=UTF-8" pageEncoding="UTF-8"/>
        <f:view>
            <webuijsf:page id="page1">
                <webuijsf:html id="html1">
                    <webuijsf:head id="head1">
                        <webuijsf:link id="link1" url="/resources/stylesheet.css"/>
                    </webuijsf:head>
                    <webuijsf:body id="body1" style="-rave-layout: grid">
                        <webuijsf:form id="form1">
                            <webuijsf:button actionExpression="#{Page1.button1_action}" binding="#{Page1.button1}" id="button1"
                                style="left: 130px; top: 144px; position: absolute" text="Submit"/>
                            <webuijsf:textField autoValidate="true" binding="#{Page1.firstNametextField}" columns="10" id="firstNametextField" label="First Name"
                                notify="form1:autoValidateAlert" required="true" style="left: 52px; top: 48px; position: absolute" text="#{SessionBean1.page1FirstName}"/>
                            <webuijsf:textField binding="#{Page1.middleNametextField}" columns="10" id="middleNametextField" label="Middle Name"
                                style="left: 47px; top: 71px; position: absolute" text="#{SessionBean1.page1MiddleName}"/>
                            <webuijsf:textField autoValidate="true" binding="#{Page1.lastNametextField}" columns="10" id="lastNametextField" label="Last Name"
                                notify="form1:autoValidateAlert" required="true" style="left: 53px; top: 94px; position: absolute" text="#{SessionBean1.page1LastName}"/>
                            <webuijsf:dropDown id="salutationdropDown" items="#{Page1.salutationdropDownDefaultOptions.options}" label="Salutation"
                                selected="#{SessionBean1.page1Salution}" style="left: 75px; top: 118px; position: absolute"/>
                            <webuijsf:alert id="autoValidateAlert" style="position: absolute; left: 96px; top: 216px"/>
                        </webuijsf:form>
                    </webuijsf:body>
                </webuijsf:html>
            </webuijsf:page>
        </f:view>
    </jsp:root>However, the Alert Component does not pop up after leaving First Name or Last Name text field blank prior to entering the field such as middlenametextField...
    Your suggestion would appreciated.
    Thanks,
    Jack

    timo
    Please be patient and wait for an answer in the other thread...
    how can i display the declarative components on the jsp page, am not able to diplay in runtime but can see decalarative components in design
    Edited by: Tshifhiwa on 2012/06/26 8:26 PM

  • Changing skin of Alert component in Flash *

    Hi this is Alok
    I want to change the skin colour and shape of my alert
    component using Flash8...
    Is there anybody to let me clear to do so easily.....?
    Plz reply Somebody...
    Alok

    I can reproduce the problem and filed a bug about this so we can figure out why this changed after CS3. I can't find someone who knows about it right away, so I reckon we'll have to ask around a bit to get to the bottom of it -- wish I could let you know more .

  • Custom Alert component

    Hallo, I am tryng to make my own Alert mx component. Can you tell me how can i do that?.. Some advices?... Thanks for all and sry for bad english.
    Max

    Really Helpful... Thanks
    Max

  • Alert Component with OnKillFocus Causes Infinite Loop

    I have this script...
    txtPPM.onKillFocus = function(txtPPM)
    import mx.controls.Alert;
    Alert.show("blah blah");
    When my focus shifts away from the txtPPM textfield I get an
    infinite loop error. I haven't been able to find a successful
    method to fix this. Any suggetions?

    Probably related to the FocusManager (V2 components). There
    may be other
    ways to work around it, but here's something quick:
    import mx.controls.Alert;
    var alertClickHandler:Function = function (evt_obj:Object) {
    switch (evt_obj.detail) {
    case Alert.OK :
    trace("You clicked: " + Alert.okLabel);
    break;
    case Alert.CANCEL :
    trace("You clicked: " + Alert.cancelLabel);
    break;
    txtPPM.onKillFocus = txtFocusHandler;
    function showAlert(){
    Alert.show("blah blah blah", "", undefined, this,
    alertClickHandler);
    function txtFocusHandler(newFocus:Object){
    this.onKillFocus = undefined;
    showAlert();
    txtPPM.onKillFocus = txtFocusHandler;

  • Alert - Component availability

    Hi SAP experts,
    we receive a requirement for business team, that is to check in alert monitor if the components for planned/production orders or for stock transfer orders will not be available on time.
    Probably we will develop an alert to do it. Does anyone knows any other idea?
    Regards
    Thiago Cyrillo

    Hi Thiago,
    Have you checked ATP check alerts available.Whether you can use those for your scenario.
    Regards,
    Santosh

  • Alert Box Component

    hi. i am using the alert component. when viewing locally,
    everythign is fine, however, when publishing and uploading, the
    alert box contains no text.... it seems similar to a dynamic text
    field with no embedded text problem. cant figure it out... has
    anyone experienced this?

    well, i searched everywhere but couldnt find help... tried
    some more tweeking and fixed it:
    i moved the function that pops up the alertbox to _level0;
    placed an alertbox from components panel onto _level0 timeline then
    deleted it(this puts it into the library); re-published both_level0
    and the child clip calling the alert function and passing it the
    necessary vars; everything is fine. heads up to anyone running into
    this
    ~maiku

  • Postback and Alert position

    Hello,
    I'm new to JSF so this is probably a silly question. I'm developing a web-app in Netbeans using the Woodstock library,
    and I'm having difficulty using the Alert component. To be exact, I want to implement a 'basket' functionality where the user selects rows from a table (by clicking on the last column which is filled with a button) which are then added to the basket showed on the page where the button's action navigates to. But when the user tries to add a row which is already in the basket I want an Alert component to show up and display that error. So I've added an Alert component to the page but with setVisible(false) and when the duplication occurs (which is detected inside the action method of the button of each row) I use setVisible(true) and return null to re-display the same page. The problem is that the table is not re-positioned a little bit lower than the Alert component, thus ..cutting the Alert component in half..
    Any ideas?
    Thanks in advance,
    Antony

    I am not aware of a way to do that. There is no property for position for alerts. You can of course write your own alert functionlaity using a window and set the x and y positions of the window with the set_window_property built-in.

  • Please, Help Embedding Fonts in TextArea , TextInput and Alert Components

    Please, forgive my bad english.
    Here is my problem (using Flash CS3 ActionScript 2).
    I have on the stage :
    • an instance of TextArea with Instance Name :
    message_ta
    • an instance of TextInput with instance Name : name_ti
    • and I have in the library an instance of Alert
    component, with default linkage Identifier : Alert
    for each one of this components I need to embed the same
    font.
    I already created a New Font in the library, choosing the
    font I want to use, giving it name "my_font" and size 8px.
    Now, please, can someone help me to write the actions to
    embed that font (my_font) inside the TextArea, TextInput and Alert
    components ?
    Thank you .

    You're right,my mistake, components don't have a font
    parameter, I was thinking of the textField. In any case you can use
    setStyle.
    1. Import the font(s) that you want to use into your movie's
    Library.
    2. Set each font's Linkage to be exported for Actionscript.
    Set the identifier name as you like
    3. Set your component(s) on the stage.
    4. Name each component instance.
    5. In a frame action space, define the style for each
    component:
    componentName.setStyle("fontFamily","fontName");
    componentName.setStyle("fontSize",12);
    componentName.text = "hello";
    componentName.embedFonts = true;
    There is a section in the online help that lists the various
    style properties that you can set for each component.

  • Dvt alert not showing icons on graph

    I am showing icons on the line graph with the help of dvt:alert component. Code snippet:
    Alert map:
    public Map getAlertMap() {
    Alert alert1=new Alert();
    //alert1.setXValue("2011-10-05 10:25:34");
    alert1.setXValue("20");
    alert1.setYValue(48.00);
    alert1.setId("al1");
    Alert alert2=new Alert();
    // alert2.setXValue("2011-10-06 12:56:09");
    alert2.setXValue("25");
    alert2.setYValue(39.00);
    alert2.setId("al2");
    Alert alert3=new Alert();
    alert3.setXValue("2011-10-07 12:5:09");
    alert3.setYValue(39.00);
    alert3.setId("al1");
    alertMap.put(1, alert1);
    alertMap.put(2, alert2);
    alertMap.put(3, alert3);
    return alertMap;
    Graph data:
    public List getLineGraphData() {
    Object [] a = new Object[]{"10","20","30","40"};
    // Object [] b = new Object[]{"USD","","",""};
    Object [] c = new Object[]{32.00,48.00,39.00,47.00};
    for (int i = 0; i < 4; i++) {
    lineGraphData.add(new Object[]{a[i],null,c});
    return lineGraphData;
    Jsff:
    <dvt:lineGraph id="lineGraph1" subType="LINE_VERT_ABS"
    tabularData="#{pageFlowScope.DatapointsChartBean.lineGraphData}">
    <dvt:background>
    <dvt:specialEffects/>
    </dvt:background>
    <dvt:graphPlotArea/>
    <dvt:seriesSet>
    <dvt:series/>
    </dvt:seriesSet>
    <dvt:o1Axis/>
    <dvt:y1Axis/>
    <dvt:legendArea automaticPlacement="AP_NEVER"/>
    <dvt:alertSet alertMap="#{pageFlowScope.DatapointsChartBean.alertMap}"/>
    </dvt:lineGraph>
    The same code is working in different project while its not working on my application. I doubt whether its an issue with adf library or web.xml entry.
    I am able to see graph but not icons. Can someone help me in this, and please tell me what adf libraries are requried for dvt:alert which is different from dvt:lineGraph

    Very strange!
    It should be safe to remove the file. As for the icons being gone, click on Finder in your dock, then go to the "Finder" menu, right next to the  in your menubar. Select "Preferences..." In the window that appears, make sure the boxes are checked that refer to the icons that should show on your desktop.
    If that doesn't fix it, try creating a new user account on your Mac.
    http://docs.info.apple.com/article.html?path=Mac/10.5/en/8235.html
    Log into that account and see if icons show up on your desktop. If so, there might be a problem with the preferences and settings files in your original user account.
    Let us know if that helps!

  • Alert class import causes errors

    Hello,
    I am the local new guy. I have followed many examples of how to create an alert popup window and have failed.
    Background:
    added alert component to stage and delete, component shows up in library
    added import mx.controls.Alert
    to actions layer first frame of fla file
    When I control enter to create the file, I get these wierd errors, 16 of them in fact
    rainging form there is no method to no poperty
    here they are:
    **Error** C:\Users\jim\AppData\Local\Macromedia\Flash 8\en\Configuration\Classes\mx\managers\PopUpManager.as: Line 123: There is no method with the name 'deactivate'.
              SystemManager.deactivate(o);
    **Error** C:\Users\jim\AppData\Local\Macromedia\Flash 8\en\Configuration\Classes\mx\controls\TextArea.as: Line 361: There is no property with the name '_color'.
           _color = UIObject.textColorList;
    **Error** C:\Users\jim\AppData\Local\Macromedia\Flash 8\en\Configuration\Classes\mx\controls\TextArea.as: Line 363: There is no property with the name 'focusTextField'.
           focusTextField = label;
    **Error** C:\Users\jim\AppData\Local\Macromedia\Flash 8\en\Configuration\Classes\mx\containers\Window.as: Line 348: There is no property with the name 'clickHandler'.
           button_mc.clickHandler = delegateClick;
    **Error** C:\Users\jim\AppData\Local\Macromedia\Flash 8\en\Configuration\Classes\mx\controls\alertClasses\AlertForm.as: Line 159: There is no method with the name 'createClassChildAtDepth'.
           var o:Button = Button(createClassChildAtDepth(Button, DepthManager.kTop,
    **Error** C:\Users\jim\AppData\Local\Macromedia\Flash 8\en\Configuration\Classes\mx\controls\alertClasses\AlertForm.as: Line 166: There is no property with the name 'clickHandler'.
           o.clickHandler = onClick;
    **Error** C:\Users\jim\AppData\Local\Macromedia\Flash 8\en\Configuration\Classes\mx\controls\alertClasses\AlertForm.as: Line 167: There is no property with the name 'detail'.
           o.detail = detail;
    **Error** C:\Users\jim\AppData\Local\Macromedia\Flash 8\en\Configuration\Classes\mx\controls\alertClasses\AlertForm.as: Line 212: There is no property with the name 'width'.
            extent.width += icon_mc.width + 8;
    **Error** C:\Users\jim\AppData\Local\Macromedia\Flash 8\en\Configuration\Classes\mx\controls\alertClasses\AlertForm.as: Line 218: There is no property with the name 'height'.
            var i:Number = icon_mc.height - (numlines * (extent.height + 4));
    **Error** C:\Users\jim\AppData\Local\Macromedia\Flash 8\en\Configuration\Classes\mx\controls\alertClasses\AlertForm.as: Line 263: There is no property with the name 'height'.
            icon_mc.move(x, (height - buttons[0].height - icon_mc.height) / 2);
    **Error** C:\Users\jim\AppData\Local\Macromedia\Flash 8\en\Configuration\Classes\mx\controls\alertClasses\AlertForm.as: Line 264: There is no property with the name 'width'.
            x += icon_mc.width + 8;
    **Error** C:\Users\jim\AppData\Local\Macromedia\Flash 8\en\Configuration\Classes\mx\controls\scrollClasses\ScrollBar.as: Line 272: There is no property with the name 'height'.
            var y:Number = ((pos-minPos) * (scrollTrack_mc.height-scrollThumb_mc._height) / (maxPos - minPos)) + scrollTrack_mc.top;
    **Error** C:\Users\jim\AppData\Local\Macromedia\Flash 8\en\Configuration\Classes\mx\controls\scrollClasses\ScrollBar.as: Line 494: There is no property with the name 'height'.
            thumbHeight = pageSize / (maxPos-minPos+pageSize) * o.height;
    **Error** C:\Users\jim\AppData\Local\Macromedia\Flash 8\en\Configuration\Classes\mx\controls\scrollClasses\ScrollBar.as: Line 497: There is no property with the name 'height'.
             if (o.height < st.minHeight)
    **Warning** C:\Users\jim\AppData\Local\Macromedia\Flash 8\en\Configuration\Classes\mx\controls\Alert.as: Line 27: There is no class or package with the name 'mx.containers' found in package 'mx'.
          static var symbolOwner:Object = Window;
    **Warning** C:\Users\jim\AppData\Local\Macromedia\Flash 8\en\Configuration\Classes\mx\controls\Alert.as: Line 213: There is no class or package with the name 'mx.controls.alertClasses' found in package 'mx.controls'.
           var tmp = AlertForm;
    Total ActionScript Errors: 16   Reported Errors: 16
    funny thing is that when i create the same code
    import etc alert.show etc in a new fla file it works just fine, when i use the working code from the new fla and place it here not changing anything it fails with the previoulsy mentioned errors,
    I have checked the class path, i have added the direct folder of the classes, I have even tried to import the .AS file it self with no luck.
    Any suggestions here?
    Thanks
    Jim

    Ahhhhh...thank you!
    One other question that is related...
    So now it imports the class ApplicationMain.as.
    But now there are path issues that I can't quite figure out.
    So I have a scene called Content - my main and only scene.
    In that scene there is a MC called content_MC as well as 2 buttons; a print button and a start over button.
    Inside the content_MC there are several objects, including those that are labeled with instances that are meant to point the ApplicationMain file to them so they can have the ApplicationMain.as class applied to them.
    I have an AS layer/frame inside content_MC that imports the ApplicationMain class just as you suggested.
    Inside the ApplicationMain.as file the targets are registered as e1, e2, e3, e4, etc.
    These instances, e1, e2, etc, are located inside content_MC on a layer below the AS layer where the import of the ApplicationMain code is located.
    When I export the SWF I get error 1120 access to undefined property e1. This error occurs for each instance I am trying to target.
    This is clearly a path issue but  don't understand...?
    Shouldn't those instances be found by the ApplicationMain.as class since they are resident in the same movie clip where the ApplicationMain.as class is being imported into?
    Here's how the targets are registered in the ApplicationMain.as file...
    _transformTool.targets = [e1, e2, e3, e4, f1, f2, f3, f4, f5, f6, f7, f8];
    Man, AS3 is making my head spin! 
    Thanks a ton for your help!

  • Alert depth

    Hi ,
             How to set the depth to "Alert" component.
    Ex:
    import mx.controls.Alert;
    Alert.show("Message", "Alert", Alert.OK,this);

    use swapDepths():
    import mx.controls.Alert;
    var a:MovieClip=Alert.show("Message", "Alert", Alert.OK,this);
    a.swapDepths(whatever);

  • Alert.show() interesting behaviour

    I use multiple SWFs loaded in one main SWF. Each SWF is form
    and its form is linked to a class that extends the form class.
    Most of the forms use a base class. The base class includes a
    prompt function that calls Alert.show(). The form class calls the
    prompt function and when used within the SWF itself it works as
    expected but when the SWF is loaded in a movieclip of the main SWF
    then the message becomes the title and the title becomes the
    message and everything else seems to be find.
    I cannot figure out what the fuddle doddle is going on.
    I know that some V2 components don't behaves as expected when
    used in a SWF loaded into another SWF such as the ComboBox
    component that requires a _lockroot to expand its list when clicked
    if it's SWF is loaded into another SWF.
    I suspect the same type of weirdness is going on with the
    Alert component. I do have the _lockroot set but no cigars.
    I also imported the mx.controls.Alert class in both, the base
    class and the form class with no success.
    Does anyone know how to make this work?
    Also, dos anyone knows of a list of SWF loaded into another
    SWF V2 component quirks and their solutions if any?

    I should add that if I use Alert.show() directly from the
    form class the it is working fine. It is only when I use it in a
    base class function such as 'prompt' called from the form class
    that it flips the message and title.

  • Mx.controls.Alert.show windowHeight

    Hello All
    I am trying to set windowHeight for my alert component.
    Below a snippet but does not seem to work any suggestion
    greatly appreciated
    Adam
    var myAlert;
    myAlert = mx.controls.Alert.show("Please
    select:\n"+msg+"","Info", {windowHeight: 400});
    trace(myAlert.windowHeight); // This comes up undefined
    myAlert.windowHeight = 400;
    trace(myAlert.windowHeight);// This comes up 400 but does
    not change alert size

    It sounds like you're referencing a NULL object somewhere.  Any chance you could provide us with some sample code?  I just successfully tried the following out:
    <?xml version="1.0" encoding="utf-8"?>
    <s:WindowedApplication xmlns:fx="http://ns.adobe.com/mxml/2009"
                                xmlns:s="library://ns.adobe.com/flex/spark"
                                xmlns:mx="library://ns.adobe.com/flex/mx"
                                applicationComplete="init()">
         <fx:Declarations>
              <!-- Place non-visual elements (e.g., services, value objects) here -->
         </fx:Declarations>
         <fx:Script>
              <![CDATA[
                   import mx.controls.Alert;
                   public function init():void
                        Alert.show("This is a test", "My Alert");
              ]]>
         </fx:Script>
    </s:WindowedApplication>
    Thanks,
    Chris

  • ActionScript 3 / Alert Box?

    Hi --
    I am trying to create a simple error message pop up for my
    user to see,
    however, I can't figure out how to access the Alert class in
    ActionScript 3.
    Has this been removed? Or placed into a new package?
    Thanks
    Rich

    Hi --
    Ok, thanks for the clerification. If I create my own message
    box movie clip,
    is there a way to make it "modal" so that the user has to
    dispatch it before
    continuing?
    Thanks
    Rich
    "kglad" <[email protected]> wrote in message
    news:ff6pog$dhq$[email protected]..
    > several as2 components didn't make the transition to
    as3, yet. the alert
    > component was one of those left out. it's the least
    usefull component to
    > be left out.

Maybe you are looking for

  • Running the Archiving actions through the Command Line

    Hi, I am not able to import and export archives using command line tools. I want to directly transfer the archive and don’t want to use a shared location. I have created the scripts that I need to run. For that I have created a sequence of steps that

  • Why does a secure site eg Paypal or any Bank not show the padlock on entry?

    I have noticed that when I enter a site such as PayPal or my Bank or for that matter any other secure area no padlock is seen anywhere in the browser such as in the previous version of Mozilla and also Internet Explorer. Without this emblem of securi

  • HT1766 is there any way of restoring from an older back up?

    i have accidentally overwritten my correct back up while attempting to restore my iphone. is there any way of recovering this seemingly now long lost information?

  • How can we enhance the locator?

    Hello, we would like to enhance the locator for new search criteria like Sales Organization (transaction search). Any idea what to do? Thanks and regards. uwe

  • I am not able to download my new order

    I have just purchase a subscription for the Adobe standard @$14.99 per month on a 12 months plan. I got all the emails and have followed the links. My order number is C0059079131AU my name is Isabella Foster. I am not happy about this as I needed to