Application.application problem

Hello,
    I know that Application.application is replaced by FlexGlobals.topLevelApplication, but I still encounter some problem when using it.
    Main.mxml is my main application and now it is top level tag is <s:Application> .
    I have defined a public function populateUserList() in it. I used to be able to invoke this method inside an action script class using Application.application.populateUserList(). But now when I invoke it by using FlexGlobals.topLevelApplication.populateUserList(), such an error message comes up : ReferenceError: Error #1069: Property populateUserList not found on Main and there is no default value.
    Does any one encounter such a problem and have a solution for it?
    Thanks ahead!
~Russell

Thank you for remaining me! I've solved the problem.
Have a great day!
Russell
2009/9/29 Flex harUI <[email protected]>
You sure that method is public and Main.mxml is file that contains that
method?
>
Alex Harui
Flex SDK Developer
Adobe Systems Inc.
Blog: http://blogs.adobe.com/aharui
>

Similar Messages

  • Application Builder problem on one server but not another

    I am having an Application Builder problem. When I get into App Express and go inside the builder and try to edit a listed application, I get an “http 404 the page cannot be found. The page might have had its name changed or is temporarily unavailable” situation. I can get into SQL commands, utilities, and administrative activities. I can also run the application. Also, if I go onto a different server with App Express on it, I can get into the builder and edit applications with no trouble. Our DBA had the server in question rebooted a little over a week ago and that took care of the problem for a couple days. Any ideas? Is this an Express problem or a server problem? He had also tried restarting Express before he had the reboot done and that didn’t help.
    Thank you for any help.
    Cordially,
    Robert J. Smith

    I have messages from the Apache error log files from the dates I was getting the builder error. For future reference, I will post them below. The builder has been working fine lately.
    Robert Smith
    ** error log messages follow **
    [Mon Jul 16 07:25:12 2007] [error] [client 147.159.5.134] [ecid: 
    79143788610,1] File does not exist:
    /app/oracle/oraappsrv10g/forms/java/java/awt/KeyboardFocusManager.class
    [Mon Jul 16 07:25:12 2007] [error] [client 147.159.5.134] [ecid: 
    79143788611,1] File does not exist:
    /app/oracle/oraappsrv10g/forms/java/java/awt/event/MouseWheelListener.class
    [Mon Jul 16 07:25:13 2007] [error] [client 147.159.5.134] [ecid: 
    83438757083,1] File does not exist:
    /app/oracle/oraappsrv10g/forms/java/oracle/forms/registry/default.dat

  • ASP application has problems working with oracle database 8.1.7

    ASP application has problems working with oracle database 8.1.7 through both oracle ODBC driver and Microsoft ODBC driver
    We have an ASP application running on Windows 2000 server, and with 8.1.7 Net8Client and MDAC 2.6 SP1.
    The application worked fine with an Oracle 8.0.5 database.
    After upgrading oracle database to 8.1.7.0.0, our ASP application works fine except when updating the same data record more than once. The application is not saving our updates.
    We tested our application using Oracles ODBC driver v8.1.7.5.0
    and experienced more problems. We had problems just bring up our data entry pages. In either case, we are returned with some 505 errors in our browser, problems with the ASP pages and IIS, the page is not displaying.
    If anyone has some suggestions on how to fix my problem, please advise. Thanks in advance.

    thanks...i saw one article with this approach..but the document did not present the detailed process...do you have one? i am still searching for a good procedure to follow...since it is an old database and focusing/studying old versions like this is a pain in the a**... :(

  • Application Language Problem

    Hello,
    I am writing From Turkey. I have an iphone 5s and i believe i am the one of first iphone 5s buyer in Turkey.
    I had a problem and i called apple and nobody solved my problem. I tunes help desk or whatever thay said that problem is not their problem its applications developers problem...
    I am explaining my problem :
    I downloaded Skype, ICQ ,Air Wings, Shazam , And some of other applications but its koming with japanese language. I change my prefered language to Turkish and my location is also choosen Turkey. But I have still the same problem.
    I tunes help desk gave me these link below to solve my problem.
    If Apple keep telling me that this is not their problem i am going to change my iphone and my all families phone to another brand...
    ICQ – Free Calls and Messages support url is http://www.icq.com/support/
    Air Wings® support url is http://www.pangeasoft.net/support.html
    Shazam Version 15244739; support url is http://www.shazam.com/music/web/faqs.html?
    When i seach from google this problem happens to other people...

    Hi
    I am not sure but it may be fixed from the portal during WebDynpro ABAP iView creation. Please contact your portal admin for this.
    Thanks
    Vishal kapoor

  • Adobe Story free application install problem

    I have been using Adobe Story Free version for a year but with the most recent automatic update (Dec 2012) the desktop application will not open. Upon clicking the icon for Adobe Story it attempts to take an update but stops with the following message:
    " Sorry, an error has occurred. This application cannot be installed because this installer has been mis-configured. Please contact the application author for assistance."
    Does anyone know how to fix this?

    Sandeep,  Thank you! Adobe Story is okay now.
    Date: Sat, 29 Dec 2012 10:58:48 -0700
    From: [email protected]
    To: [email protected]
    Subject: Adobe Story free application install problem
        Re: Adobe Story free application install problem
        created by [email protected] in Adobe Story - View the full discussion
    Hi, Please uninstall the current Adobe story application and then install latest from https://story.adobe.com/AIR/AdobeStory.air . That should fix it. Thanks,Sandeep
         Please note that the Adobe Forums do not accept email attachments. If you want to embed a screen image in your message please visit the thread in the forum to embed the image at http://forums.adobe.com/message/4953552#4953552
         Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page: http://forums.adobe.com/message/4953552#4953552
         To unsubscribe from this thread, please visit the message page at http://forums.adobe.com/message/4953552#4953552. In the Actions box on the right, click the Stop Email Notifications link.
         Start a new discussion in Adobe Story by email or at Adobe Community
      For more information about maintaining your forum email notifications please go to http://forums.adobe.com/message/2936746#2936746.

  • When are you going to fix your 12_0_0_77.exe Application Error problem?

    When are you going to fix your 12_0_0_77.exe Application Error problem?

    What error specifically?
    What OS amd what browser?

  • Preview Application Resizing Problem

    Preview Application Resizing Problem
    Microsoft platforms have two significant advantages. The first is the concept of an operating system that can function with hardware that ranges from cellular phones to desktop computers. The second is that Microsoft has excellent software development tools
    for creating and testing computer programs.
    Software compatibility across hardware platforms requires not only meeting CPU and memory requirements. Application programs must be able to automatically adjust Window and control sizes to meet the needs of available window sizes, video display unit sizes
    and screen resolutions, switching between vertical and horizontal viewing, vertical and horizontal scrolling, changes in font sizes , and variations in the available screen space due to usage of vertical and horizontal toolbars.
     Software developers must be careful that resizing doesn’t squeeze controls too close together or make them so small that they cannot be finger or stylus selected when used with touch screens.
    Some of the required automatic resizing options are provided by the Microsoft software compilers and the Windows operating system.  Softgroup Component’s “.NET  Forms Resize” is an example of one of the third party applications that provide advanced
    resizing functionality.
    Many of the resizing functions are programmer options and, if not properly enabled, an application may not have the required resizing functionality. At the current state of the art, application programs are highly variable in their capability to do the “intelligent
    resizing” that is required to handle different display environments.
    A case in point is the Microsoft Preview Application for Windows 10. When entering lengthy comments, the send button becomes positioned off the end of the program window. It is possible to scroll to the button, but the display automatically resets when scroll
    is released. The result is that the text cannot be sent. You can try a "blind" TAB to the SEND button. This appeared to work after several tries, but the comment was apparently not received,
    RERThird

    Hi,
    What do you see when you open the same PDF file in Acrobat Reader? Are the words still squeezed than?
    Dimaxum

  • Hello everyone I have a problem with the app store as secret questions asks me to download the application, the problem is that I do not remember the answers as I do?? thank you very much to all

    Hello everyone I have a problem with the app store as secret questions asks me to download the application, the problem is that I do not remember the answers as I do?? thank you very much to all

    Hello andreabn90
    If you can't remember your security questions go to  Express Lane.
    select iTunes from the list, then iTunes store.        On the next screen select account Management.          There, select iTunes store account security and write that you would like to reset your security questions and / or answers.
    You should get an eMail reply over the next 24 hours.

  • How to know reason for Application down problem?

    sometimes, Application down problem occurred Live System.
    Recently, Two generated during about 2 month.
    problem have something in common.
    it's to discover problem When Monday moning.
    I want to find out execute program list.
    example) concurrent, schedule job, access user action, query by FORM
    I guess because called execute program when Friday, Saturday, Sunday.
    How to find out reason?
    And, What's Applicatin down Reason case study mothod?
    I can not access Matalink becouse a maintenance contract ended.
    I am man of ripe experience as programmer.
    However, I have little experience experience system admin.
    Help me!
    Message was edited by:
    user638293

    Hai user638293 ,
    There are so many experts in this forum who will be very happy to help u unless and until u've made your question clear.. think that is the reason u didnt get any reply yet..
    AFAIU, your application system is goin down frequently.. twice during 2 months.. rite ?..
    can u please make your question clear ?
    Kai

  • Application List problems - will Nokia ever addres...

    The empty Application List problem on the Nokia Go To select options list is well known.
    My new 5610 takes this a step further. When you try to select Applications List when choosing Go To options, the machine just hangs.
    Has anyone else experienced this? I guess the phone's a bit new for a s/w upgrade...
    Max

    Please, dial *#0010# to determine which firmware version do you have.
    Furthermore, what is the name of that theme you are using because that is non-standard, isn’t it?

  • Unable to load ITUNES onto PC HP, windows 7 Home Version.  Error message reads "Application Application Support not found".  "Unistall and reload".  I have done that 4 times on Explorer and Firefox without success.  Help??

    Unable to load ITUNES onto PC HP, windows 7 Home Version.  Error message reads "Application Application Support not found".  "Uninstall and reload".  I have done that 4 times on Explorer and Firefox without success.  Help??

    I had gotten a similar problem, except with "provider services", i believe, but i solved it by copying sqlite3.dll from E:\Program Files\Common Files\Apple\Apple Application Support to E:\Program Files\Common Files\Apple\Mobile Device Support. doing that solved my first problem, but now i have been getting the error described in this topic (unable to load dataclass info... etc.). i tried reinstalling itunes (i already had 9.1.1, and thats what i reinstalled) by using the method described on apples site (using the "remove programs" tool in the control panel) and then downloading and installing itunes. when i opened it again, i still got the same error, and just now i got an error saying "the instruction at "0x00aadb6b" referenced memory at "0x00000008". the memory could not be read" it gave me the option to cancel and debug, or to press ok and terminate the program. I tried pressing cancel, and the popup went away but nothing else happened. a minute later the popup was back, so i pressed ok and itunes quit. Upon opening Itunes again, i got the very same error. sorry for the long post, but its really been bugging me. thanks for any help you might give, and if you need anymore info, feel free to contact me.

  • "You can't open the application [application name] because it may be damaged or incomplete"

    I just wiped a Macbook Pro and freshly installed OS 10.6.3.(since ran updates to 10.6.8) I installed Adobe CS4 and when you try to open InDesign, bridge or Illustrator you get the error message:
    "You can't open the application [application name] because it may be damaged or incomplete" The Icon to each of these three also have crossed out symbol over them.
    I have done this whole process twice, the 2nd time I used a different Adobe Install CD and a different license, same result.
    Photoshop and Acrobat work fine. What happened to these three?

    I am having a simular problem with cs5.5 Dreamweaver.

  • Flash builder 4.5  application.application.getchildbyname

    Hi,
    I came from flex 3 to the newer version flash builder 4.5, so not everything is clear for me..
    for example:
    I have a project and i dynamically add a custom component on it like this:
    var mycanvas:MainCanvas=null;
         mycanvas = new MainCanvas();
         mycanvas.name = "myMainCanvas";
         this.addchild(mycanvas);
    i noticed that in the new spark settings addchild no longer is used, so this.addchild would be this.addelement.
    fine, by me.. now my problem
    later in my program I want to refer to that element.
    in flex3 i did:
    //maincanvas is my custom component (a canvas with stuff in it like a viewstack)
    var myMainCanvas:MainCanvas=null;
    myMainCanvas = MainCanvas(Application.application.getChildByName("myMainCanvas");
    i now do:
    myMainCanvas = MainCanvas(FlexGlobals.topLevelApplication.getChildByName("myMainCanvas"));
    this because application.application is no longer supported... also fine by me..
    the problem: when i run this.. the program gives an error that myMainCanvas is of a null object reference.
    What am i doing wrong here?
    The custom component (canvas) i added to the main application is showing on my screen.. so it is definitely loaded..
    please some help

    Suppose you have a class like the following:
    package {
         public class AppModel {
              public var myCanvas:MainCanvas;
    Then on your code you could create a instance of that class and set the myCanvas property with the newly created MainCanvas class:
    var model:AppModel = new AppModel();
    model.myCanvas = new MainCanvas();
    From that point on, whenever you need to reference that instance of MainCanvas, you just reference it through the model:
    model.myCanvas.width = 100;
    If you have to use the myCanvas throughout several classes in the application, it would be better to make it a static property and reference it directly through the class reference. So:
    package {
         public class AppModel {
              public static var myCanvas:MainCanvas;
    Then:
    AppModel.myCanvas = new MainCanvas();
    And finally, whenever you need to reference it:
    AppModel.mycanvas.width = 100;
    Hope this helps. If it does, please signal the thread as answered.
    Cheers,
    Rui

  • Exception ... MyClass is not a subclass of javafx.application.Application

    Hi,
    I am creating a Java based Framework, with it proper components that i create based on Java FX, so I know that every Class that uses JavaFx should extends "Application", the problem is that this class already extends from another one to verify the Class Diagram consistency "public class ZCPageDesktop extends ZCAbstractPage", now ZCPageDesktop should also extends "Application" to meet with Java FX specification but Multiple extends are not permitted in Java, So what i did is that i Created a Class Member called "private ZCFXApplication fxapp" which is an instance of the class ZCFXApplication that i created and extends "Application", so i redefined the method public void start(Stage primaryStage){/} then i created also another method to simulate the method public static void draw(String []args){  launch(args) // calling launch } all of this is done in my framework implementation, but when i go to the test , called "UserView" in the main i got this message " Exception in thread "main" java.lang.RuntimeException: Error: class org.zerocouplage.component.test.view.UserView is not a subclass of javafx.application.Application
         at javafx.application.Application.launch(Application.java:211)
         at org.zerocouplage.component.test.view.UserView.main(UserView.java:57)"
    How do i can fix this problem in a way that ZCPageDesktop extends Application, all in respecting the Java FX specification and the non permitted multiple extends ?
    // Test Class
    package org.zerocouplage.component.test.view;
    import static org.zerocouplage.component.common.ZCComponentFactory.newComponent;
    import java.io.IOException;
    import org.zerocouplage.component.api.component.ZCButton;
    import org.zerocouplage.component.api.component.ZCCheckBox;
    import org.zerocouplage.component.api.component.ZCLabel;
    import org.zerocouplage.component.api.component.ZCTextField;
    import org.zerocouplage.component.api.layout.ZCBorderLayout;
    import org.zerocouplage.component.api.page.ZCPage;
    import org.zerocouplage.component.common.exception.ZCCompNotFoundException;
    import org.zerocouplage.component.impl.component.ZCAbstractLabel;
    import com.zerocouplage.api.controller.IZCManager;
    import com.zerocouplage.common.exceptions.ZCExceptionConfig;
    import com.zerocouplage.impl.controller.ZCManagerFactory;
    import org.zerocouplage.component.desktop.page.ZCFXApplication;
    *public class UserView {*
    *     @SuppressWarnings("unused")*
    *     private IZCManager manager;*
    *     public UserView() {*
    *          manager = ZCManagerFactory.getNewManager(this);*
    *     public Object createGui() throws IOException, ZCCompNotFoundException, ZCExceptionConfig {*
    *          ZCPage page = (ZCPage) newComponent(ZCPage.class);*
    *          page.setTitle("Page login");*
    *          ZCBorderLayout layout = (ZCBorderLayout) newComponent(ZCBorderLayout.class);*
    *          ZCAbstractLabel label = (ZCAbstractLabel) newComponent(ZCLabel.class);*
    *          label.setLabel("Nom");*
    *          ZCTextField textField = (ZCTextField) newComponent(ZCTextField.class);*
    *          textField.setText("Text");*
    *          ZCButton button = (ZCButton) newComponent(ZCButton.class);*
    *          button.setText("OK");*
    *          layout.setComponentCenter(button);*
    *          page.setBody(layout);*
    *          return page.display();*
    *     @SuppressWarnings("static-access")*
    *     public static void main(String[] args) {*
    *          UserView userView = new UserView();*
    *          ZCFXApplication Fpage;*
    *          try {*
    *               Fpage=(ZCFXApplication)userView.createGui();*
    *               Fpage.launch(args);*
    *          } catch (IOException | ZCCompNotFoundException | ZCExceptionConfig e) {*
    *               // TODO Auto-generated catch block*
    *               e.printStackTrace();*
    // the implementation of my API the class defining the consistency of the class diagram
    package org.zerocouplage.component.desktop.page;
    import org.zerocouplage.component.impl.page.ZCAbstractPage;
    public class ZCPageDesktop extends ZCAbstractPage {
         * @author Taoufik RIFAI
         private ZCFXApplication fxapp;
         public ZCPageDesktop() throws Exception {
              this.setFxapp(new ZCFXApplication());
         public Object display() {
              fxapp.setTitle(this.getTitle());
              fxapp.setLayout(this.getBody().display());
              return fxapp;
              // seul difference c'est que il faut que dans le test faire
              // f.launch(String[] args) dans le main
         public ZCFXApplication getFxapp() {
              return fxapp;
         public void setFxapp(ZCFXApplication fxapp) {
              this.fxapp = fxapp;
    // the class which extends Application defining the JavaFX specification
    package org.zerocouplage.component.desktop.page;
    import javafx.application.Application;
    import javafx.scene.Group;
    import javafx.scene.Node;
    import javafx.scene.Scene;
    import javafx.stage.Stage;
    *public class ZCFXApplication extends Application {*
    *     * @author Taoufik RIFAI*
    *     private String title;*
    *     private Object layout;*
    *     public void start(Stage stage) throws Exception {*
    *          Group group = new Group();*
    *          group.getChildren().add((Node) getLayout());*
    *          System.out.println(getTitle());*
    *          if(getTitle()!=null){*
    *               stage.setTitle(getTitle());*
    *          stage.setScene(new Scene(group, 300, 250));*
    *          stage.show();*
    *     public static void draw(String[] argument) {*
    *          launch(argument);*
    *     public Object getLayout() {*
    *          return layout;*
    *     public void setLayout(Object layout) {*
    *          this.layout = layout;*
    *     public String getTitle() {*
    *          return title;*
    *     public void setTitle(String title) {*
    *          this.title = title;*
    *}*

    I guess you are in the wrong forum. Try JavaFX 2.0 and Later
    Timo

  • How do I get "Application.application" to work

    In my continuing quest to solve a print problem, I keep getting other errors.
    the lastest is "Application.application.addChild(someObject)" not working.  Here is the 1st message:
    1119: Access of possibly undefined property application through a reference with static type Class.
    Here is the 2nd message:
    1195: Attempted access of inaccessible method validNextPage through a reference with static type
    mx.printing:PrintDataGrid.
    Here is the 3rd message:
    Multiple markers at this line:
    -1119: Access of possibly undefined property application through a reference with static type Class.
    -AS3
    (note "AS3" is one of the code assist options - application is not an option)
    Here is the code:
    <?xml version="1.0" encoding="utf-8"?>
    <options:OptionContent
        xmlns:fx="http://ns.adobe.com/mxml/2009"
        xmlns:s="library://ns.adobe.com/flex/spark"
        xmlns:mx="library://ns.adobe.com/flex/mx"
        xmlns:options="gov.il.dhs.wvs.view.options.*"
        xmlns:cust="cust.*"
        creationComplete="_init();"
        show="showHandler(event)">
                    var numNotes:int = model.dpCASENOTES.length;
                    if (numNotes > 0)
                        var dataSource:ArrayCollection = new ArrayCollection();
                        for (var i:int = 0; i < numNotes; i++)
                            var dataHolder:Object = new Object();
                            dataHolder.NoteNum = (model.dpCASENOTES[i] as CaseNotesVO).notes.toString();
                            dataHolder.UpdatedBy = (model.dpCASENOTES[i] as CaseNotesVO).updatedBy.toString();
                            dataHolder.PostedDate = (model.dpCASENOTES[i] as CaseNotesVO).postTs.toString();
                            dataHolder.Description = (model.dpCASENOTES[i] as CaseNotesVO).shortDescription.toString();
                            dataHolder.Notes = (model.dpCASENOTES[i] as CaseNotesVO).notes.toString();
                            dataSource.addItem(dataHolder);
                        var printJob:FlexPrintJob = new FlexPrintJob();
                        if (printJob.start())
                            var myGridPrint:PrintDataGrid = new PrintDataGrid();
    ==>                        Application.application.addChild(myGridPrint);
                            myGridPrint.dataProvider = dataSource;
                            myGridPrint.width = printJob.pageWidth;
                            myGridPrint.height = printJob.pageHeight;
                            printJob.addObject(myGridPrint);
    ==>                        while (myGridPrint.validNextPage())
                                myGridPrint.nextPage();
                                printJob.addObject(myGridPrint);
    ==>                        Application.application.removeChild(myGridPrint);
                            printJob.send();
    This is a component (CaseNotes.mxml).  There might be a scope of names thing going on.

    Hello,
    If You are using Flex 4
    Application.application has changed to FlexGlobals.TopLevelApplication

Maybe you are looking for

  • Pricing Procedure in Delivery Document- SD

    Hi Friends Its Ravi again. In general pricing procedure. RVAA01 the conditions and assignment i know. But in delivery document ( VL01N) How we are getting ZLF001 pricing procedure which has 3 header conditions HB00, HD00 and....... This pricing we ca

  • Error at SJSAS-8_1(XP Pro SP2) startup:Can't create EJB Container

    Hi Guys, I installed Sun Java System App Server v.8 update 1 on my XP Pro(SP2) machine. Here are the particulars: Install Dir : C:\Sun\AppServer Java Version : 1.4.2_04 J2EE_HOME: Set to Install Dir JAVA_HOME:C:\j2sdk1.4.2_04 PATH : Includes [Install

  • Getting WSDL in reverse order after server upgrade from WAS 5.1 to 6.1

    Hi All.I need your help.I am working in RAD 7.0 .After the IBM websphere upgrade from 5.1 to 6.1 i am getting the wsdl generated exactly in reverse order(in 6.1) as compared to that in version 5.1.Can you tell me wat can be the issue .We are using gl

  • 5.5 Project crashes when trying to save

    A colleague can't seem to open his 5.5 project. When he sent it to me, I was able to open it but as soon as I tried to do anything in it, I got a "failed to back up the data" error (even by just clicking on a slide). At first, it was prompting me to

  • Test for se37 BAPI_ACC_DOCUMENT_POST

    Dear Sapgurus, i am testing in se37 with functional module for BAPI_ACC_DOCUMENT_POST in this one i gad given header date, account receivale table, g/l account, amount in currency after execute this one below getting message E RW                   60