Flex module sometimes is blank.

Hi guys,
My application consistens two parts : client side and server side. Client side is created using flex . Client side includes several modules under different tabs.When first access the client by browser, the module will load data from server backend.
I met such problems that the module sometimes be blank. There's nothing in the tab.I moniter the http request and response when blank tab is met . There's data in http request content  and the data is same with  content of http response when tab is correct.
I have already be troubled with this for several days and could some one give some  advice about what problem maybe? Flex sdk3.2 is used.
Thanks very much.
Ivan.

Thanks for the suggestion. I add flexspy button in the first tab. And I moniter the property value tree when empty tab is met. All is same with the value when no errors happen. But I notice one thing:
1. only one canvas in the tab navigator visible=true at one time. i.e. currently A is the initial page, and you changed canvas b's visible property to true using FlexSPY , the display object of canva B will be overlapped with canvas A's object.  This is the regular scenario, For the empty tab case, nothing change when you do above action..
So I am thinking whether there exist such a scenario:
as you know, when switching between tabs, the current canvas' visible property will change from false to true. And does there exist sometimes, only the visible property value changed , the display object isn't changed to display?
The action happened during first lanuching is :
1. get a list of tabs
2. create canvas based on above list and add to tabnavigator
3. then initial from the first canvas to last.
My application will create most UI component at the launch time

Similar Messages

  • Flex Module issue with Panel

    Hello everyone. I have the following problem.
    In my application I have several modules and each of them have components CollapsableTitleWindow (extends Panel). After opening the window it is added to the container which is in the main application (CollapsableTitleWindowContainer). In these windows you can open another window (and so on).
    Now, what is the problem. When I change (reload) any module and I want to open a new window (sub window) with the already loaded window I get this error:
    TypeError: Error #1009: Cannot access a property or method of a null object reference.
    at mx.containers::Panel/layoutChrome()[C:\autobuild\3.2.0\frameworks\projects\framework\src\mx\containers\Panel.as:1405]
    at com::CollapsableTitleWindow/layoutChrome()[D:\Flex 3 Workspace\WesobCrm\src\com\CollapsableTitleWindow.as:216]
    at mx.core::Container/updateDisplayList()[C:\autobuild\3.2.0\frameworks\projects\framework\src\mx\core\Container.as:2867] (...)
    Indicates that the main applications have object Panel
    Please help.
    P.S. I found a similar problem on http://www.nabble.com/Flex-Module-issue-with-Panel-td20168053.html
    ADDED: I extendes the Panel class and do something like that:
    override protected function layoutChrome(unscaledWidth:Number, unscaledHeight:Number):void
                    use namespace mx_internal;
                    if(!(mx_internal::titleBarBackground is TitleBackground)) {
                            mx_internal::titleBarBackground = new TitleBackground();
                    super.layoutChrome(unscaledWidth, unscaledHeight);                     
    But now i had something like that: Before After
    You can see that it loos style declaration.H

    Thanks for the anserw.
    I don't exacly understand all but i found a solution for my problem and it works.
    Could you tell me if this is ok ?
    I Add in my main app
    public function getProductWindow():ProductWindow {
        return new ProductWindow();
    And in the module i change
    From var productWindow:ProductWindow = new ProductWindow();
    To var productWindow:ProductWindow = Application.application.getProductWindow();

  • Apache Flex Module

    Window XP
    Apache Server 2.2.4
    Flex 3 Builder
    Java TM 6 update 6
    Java 2 RE SE 1.4.2.17
    After installing Flex SDK and Apache Flex Module during
    testing *.mxml file by
    http://localhost/etc. I obtained
    an error message as follows:"An error occured on server. Server
    error is:"Error occured in server thread;nested exception
    is:java.lang.NoSuchMethodError;flex.license.License.(Ljava/util/Map;Ljava/lang/String;Lfl ex/license/Logger;)V'
    "

    Hi,
    Do you have problems installing FlexModule on Apache? Can you
    tell us more details about your problem?
    Regards,
    Catalin Anastasoaie

  • FlashBuilder 4.7 Flex Module "Output SWF" path not working.

    I would like to use the Flex Module feature in FlashBuilder to easily compile some child SWF which are Modules.  The problem is that the "Output SWF" path is not respected, when I compile FlashBuilder 4.7 aways compiles the file default path.
    Cheers,
    Hays

    I forgot to attach my image.

  • Flex Module

    Hi everybody,
    When create flex application, i usually create modules. Here is example that i handle when module is load:
    var module:Module =  evt.currentTarget as IFlexModuleFactory).create() as Module
    I don't know the exactly workflow of flex module so i digg flex code and language reference and find that:
    IFlexModule: "The IFlexModule interface is used as an optional contract with IFlexModuleFactory.  When an IFlexModule instance is created with the  IFlexModuleFactory, the factory  stores a reference to itself after creation."
    And here is the code:
    package mx.core {
    *  The IFlexModule interface is used as an optional contract with IFlexModuleFactory.
    *  When an IFlexModule instance is created with the IFlexModuleFactory, the factory
    *  stores a reference to itself after creation.
    *  @langversion 3.0
    *  @playerversion Flash 9
    *  @playerversion AIR 1.1
    *  @productversion Flex 3
    public interface IFlexModule
         *  @private
        function set moduleFactory(factory:IFlexModuleFactory):void;
         * @private
        function get moduleFactory():IFlexModuleFactory;
    The question is that when instance of IFlexModule and FlexModuleFactory are created?  The ModuleLoader and ModuleManager class do not create  them.
    Thanks

    It stopped happening for awhile but then started up again. I
    put an exception catch around the whole thing and now I know it is:
    Error #2124: Loaded file is an unknown type. URL: xx.swf
    Any thoughts?

  • Looking for a Flex module to do Login, Registration, and License management

    I'm looking for an open-source or commercial Adobe Flex module to do user Login, Registration, and License management. The back-end can be either on my site (PHP and MySQL) or secure 3'rd party site.
    User Interface would have the following:
    Register (new user)
    Log-in (registered user)
    Purchase a new license (logged-in user)
    Apply the license to enable Flex app features (logged-in user)
    Any suggestions are appreciated,
    OutputLogic

    I've seen Flex login components out there, but I'm pretty sure you'd end up customizing the heck out of them to work with your app and back-end server. It may be faster to look at some examples and roll your own to suit.
    "purchasing a license" ... Take a look at PayPal's site for instructions on how to use their payment gateway in your app. It is pretty straightforward.
    "enable Flex app features"... I would store the license information on the server, along with the user's account information. Then when they load the Flex app, a simple license check (during login) could enable certain protected views within the app.

  • Flex Module updated

    Hi everyone,
    Today we've just released an update to the Flex Module for
    Apache and IIS on labs. This update fixes the bugs you guys found
    on the forum and adds further support for Windows Vista and Apache
    1.3.7 on Windows. You can see the release notes on the
    wiki
    page.
    One of the most visible enhancements though will be the
    increased compilation speed - it now matches the incremental
    compilation speed of FCSH (another tool available on labs) - by
    caching the most recent 5 different Flex applications.
    Regards,
    Cristian

    So it works with FB 2? Awesome! Will check it out after 10:00
    meeting.
    Great work!
    Nancy Gill
    Adobe Community Expert
    Author: Dreamweaver 8 e-book for the DMX Zone
    Co-Author: Dreamweaver MX: Instant Troubleshooter (August,
    2003)
    Technical Editor: DMX 2004: The Complete Reference, DMX 2004:
    A Beginner''s
    Guide, Mastering Macromedia Contribute
    Technical Reviewer: Dynamic Dreamweaver MX/DMX: Advanced PHP
    Web Development
    "Ivascu Cristian" <[email protected]> wrote
    in message
    news:f1c5aa$pqk$[email protected]..
    > Hi everyone,
    > Today we've just released an update to the Flex Module
    for Apache and IIS
    > on
    > labs. This update fixes the bugs you guys found on the
    forum and adds
    > further
    > support for Windows Vista and Apache 1.3.7 on Windows.
    You can see the
    > release
    > notes on the
    >
    http://labs.adobe.com/wiki/index.php/Flex_Module_for_Apache_and_IIS#Release_note
    > s page.
    > One of the most visible enhancements though will be the
    increased
    > compilation
    > speed - it now matches the incremental compilation speed
    of FCSH (another
    > tool
    > available on labs) - by caching the most recent 5
    different Flex
    > applications.
    >
    > Regards,
    > Cristian
    >

  • Flex Module for Apache and IIS for Flex3 Release

    All materials said that Flex Module for Apache and IIS was
    included in Flex3 Release of Feb. 25,but I did not find it.
    Does Anyone know about where to download the kit.
    Thanks
    Aiguo

    This link seems to have it, for Win and Mac:
    http://labs.adobe.com/wiki/index.php/Flex_Module_for_Apache_and_IIS#Installation

  • Unload All Modules sometimes doesn't work with LabVIEW

    TestStand's File >> Unload All Modules (and its RunState.Engine.UnloadAllModules() function) sometimes works and sometimes doesn't (with LabVIEW). When it doesn't, I have to quit LabVIEW to make TestStand unload LabVIEW VIs, otherwise I can't edit them.
    Is there an "Unload All Modules" command that works all the time?

    Hm, i assume that you have callbacks defined which do call those modules. Possible callbacks to look first are: SequenceFileLoad/Unload, FrontEndCallback.
    Another possible reason is that there are components running in the LV RTE (runtime engine) calling into the VIs you try to debug/modify in the development environment.
    Can you pinpoint the "lock" to specific sequences/modules? Do they lock only after specific sequences/modules have been executed?
    Norbert
    CEO: What exactly is stopping us from doing this?
    Expert: Geometry
    Marketing Manager: Just ignore it.

  • Regarding flex module

    I am working in flex since last 7-8 months.I just want to know the main difference between swf loader and module loader as i was using swfloader previously but found module loader interesting.Plz help with proper explanation..And how i can make my application loosely coupled using this module loader with some basic example.Thanks in advance.

    Is there an InDesign question in there somplace? I suspect you may have posted in the wrong forum.

  • Macbook Pro Retina - HDMI monitor sometimes displays blank during reboot

    I'm running two monitors (HDMI, DVI-D) on my MBP Retina 13" running the latest Mavericks 10.9.2, and sometimes when I reboot the HDMI monitor which is set as the main monitor appears black/blank on reboot (power is on but nothing is displaying). The other two screens have signal and are displaying. When this occurs the HDMI monitor power button won't function and I end up having to un-plug/re-plug in the monitor for it to display.
    Has anyone come across this or have a solution to this problem?

    It appears this also happens when coming out of sleep mode, where the HDMI monitor comes up as a black screen and the DVI-D and laptop screen refresh correctly. (it's as if it's not getting the video signal although the monitor is turned on)
    Anyone else come across this? I highly doubt this is a one time case.

  • Flex Module call parentApplications Method

    I have got modules loading and can call methods and get and
    set variables in my module from my main Flex app. As per this code
    source:
    Design
    http://thanksmister.com/moduletest/srcview/index.html
    That all works great but it appears that this is one way. I
    want my module to do an outro then call the parentApplication to
    say 'i'm ready' before unloading it. Am I missing something
    obvious? I can't call parentApplication..perhaps I have to add a
    custom EventListener to the ModuleLoader?
    Q: How do I call a method in my parentApplication from the
    module?
    Holland Risley
    Mentor Digital - UK Web
    Design (Bristol) - Content Management System (CMS)

    Hi Baran,
    This thing is not possible with module pool program.......
    In case you want to do something like this do it with call screen or leave to screen so that you are you can go to next screen...
    Thanks and Regards,
    Kunjal Patel

  • Map lost in map module - just wite blank window. How to fix it?

    Happened few weeks ago, before worked well. Neither search works. No warning/error messages. Just blank map window. Any idea how to fix it?
    Using version 4.0.
    Thanks a lot for any hint, I miss the map as it is a very cool feature for me.

    Does this knowledge-base article help?
    http://helpx.adobe.com/lightroom/kb/map-module-white-lightroom-4.html

  • Need help with Flex Modules

    Hello..I am very new to flex. I have recently studied little
    bit about modular pgming in flex..I am doing a simple project as
    explained below..but for some reason I am not able to make it to
    work..I am gettig below error..I really apreciate some help on
    this.
    ReferenceError: Error #1069: Property subViewStack not found
    on IntranetHome and there is no default value.
    I have a 'IntranetHome' which has code similar to below:
    <mx:Application>
    <mx:ViewStack id="superViewStack" borderStyle="solid"
    width="100%" height="100%" >
    <mx:ModuleLoader url="Module1" width="100%" height="100%"
    />
    <mx:ModuleLoader url="Module2" width="100%" height="100%"
    />
    </mx:ViewStack>
    </mx:Application>
    In Module1..I have code similar to below:
    <mx:Module>
    <mx:ViewStack id="subViewStack" borderStyle="solid"
    width="100%" height="100%" >
    <mx:ModuleLoader url="SubModule1.swf" id="sm"
    width="100%" height="100%" />
    <mx:ModuleLoader url="SubModule2.swf" id="sm1"
    width="100%" height="100%" />
    </mx:ViewStack>
    </mx:Module>
    In SubModule1 there are couple of buttons..when I click on
    these buttons..I would like to load SubModule2.swf which is under
    subViewStack of Module1.. I am getting errors when I am trying to
    say :
    on button
    click="Applixation.application.subViewStack.selectedIndex=1"
    Am I doing something wrong...Please help me out here..If
    there is a better way please let me know. Thanks

    "Smart_flex" <[email protected]> wrote in
    message
    news:g7b8ol$d57$[email protected]..
    > Hello..I am very new to flex. I have recently studied
    little bit about
    > modular
    > pgming in flex..I am doing a simple project as explained
    below..but for
    > some
    > reason I am not able to make it to work..I am gettig
    below error..I really
    > apreciate some help on this.
    >
    > ReferenceError: Error #1069: Property subViewStack not
    found on
    > IntranetHome
    > and there is no default value.
    >
    > I have a 'IntranetHome' which has code similar to below:
    > <mx:Application>
    > <mx:ViewStack id="superViewStack" borderStyle="solid"
    width="100%"
    > height="100%" >
    > <mx:ModuleLoader url="Module1" width="100%"
    height="100%" />
    > <mx:ModuleLoader url="Module2" width="100%"
    height="100%" />
    > ...
    > </mx:ViewStack>
    > </mx:Application>
    >
    > In Module1..I have code similar to below:
    >
    > <mx:Module>
    > <mx:ViewStack id="subViewStack" borderStyle="solid"
    width="100%"
    > height="100%" >
    > <mx:ModuleLoader url="SubModule1.swf" id="sm"
    width="100%"
    > height="100%" />
    > <mx:ModuleLoader url="SubModule2.swf" id="sm1"
    width="100%"
    > height="100%" />
    > .....
    > </mx:ViewStack>
    > </mx:Module>
    >
    > In SubModule1 there are couple of buttons..when I click
    on these
    > buttons..I
    > would like to load SubModule2.swf which is under
    subViewStack of
    > Module1.. I
    > am getting errors when I am trying to say :
    >
    > on button
    click="Applixation.application.subViewStack.selectedIndex=1"
    >
    > Am I doing something wrong...Please help me out here..If
    there is a better
    > way
    > please let me know. Thanks
    http://blogs.adobe.com/aharui/presentations/
    Look at the last one

  • OS X Flash Player + Flex Modules + Embedded Assets cause errors

    I'm getting some strange errors when using modules which have
    embedded assets, the module will load fine the first time it loads
    after compile, but after then everytime I load the module I get
    lots of the following errors (once for each embedded asset, images,
    fonts etc.):
    TypeError: Error #2023: Class
    Test__embed__font_EmbedTrebuchet_medium_normal_1428760394$ must
    inherit from Sprite to link to the root.
    at flash.display::MovieClip/nextFrame()
    at
    mx.core::FlexModuleFactory/mx.core:FlexModuleFactory::deferredNextFrame()[E:\dev\flex_201 _borneo\sdk\frameworks\mx\core\FlexModuleFactory.as:365]
    at
    mx.core::FlexModuleFactory/mx.core:FlexModuleFactory::update()[E:\dev\flex_201_borneo\sdk \frameworks\mx\core\FlexModuleFactory.as:262]
    at
    mx.core::FlexModuleFactory/mx.core:FlexModuleFactory::moduleCompleteHandler()[E:\dev\flex _201_borneo\sdk\frameworks\mx\core\FlexModuleFactory.as:454]
    However this only seems to be happening on OS X and seems
    related to the flash player, I originally had 9.0.47 installed, but
    got the 9.0.28 version of the debug player to try (which gave the
    same errors).
    I've tried to access the same application from a Windows
    machine and vice versa and the errors only occur when viewing the
    application from OS X. Also this only seems to happen when I'm
    using the debug version of the application, the release version
    seems to be okay - but obviously this is making developing the
    application difficult when I'm on OS X.
    I have tried the latest beta version of Flash Player 9 also,
    but as that doesn't have a debug version it doesn't really tell me
    if it resolves the issue or not.
    I can't find any reference to this error elsewhere.
    Any help would be greatly appreciated.
    -D

    I found a suggestion in another debugger problem thread to run a Flash Player installer from within the Flex Builder folder. I found an app named "Flash Player 9 Silent Installer.app" and ran it.  My debugging functionality is back now, but the player version is a lot older.
    The only culprit I can think of for this problem is Firefox. I recently upgraded to v 3.5.3 and I remember it popping up a warning about Flash Player needing to be upgraded immediately. I wonder if it overwrote something that caused this?

Maybe you are looking for

  • I have the BOR object  selfitem not delegated to any subtype

    i use the above one in a task if i create a new subtype,delegate it to this and use it an another task does it effect the first one.

  • SAP BPC 7.5 NW business rules error

    Hi, I am facing business rules error in BPC 7.5 NW SP 01 client. When i click on any business rules for ex- carry forward rules to fill in the information, it's giving error like " Application has genarated an exception that could not be handled" Pro

  • Regarding Auditing

    Hi All, As per the Manual check list for database upgrade it is saying that AUD$ tables should have SYSTEM as their default Tablespace Ensure that the aud$ is in the system tablespace when auditing is enabled. SQL> select tablespace_name from dba_tab

  • FM to check available stock

    Hi experts, You Know some FM that checks the available stock of some material in somer Storage Location ? Thanks in advance. Alexandre Nogueira

  • My Applet Doesn't work in Microsoft VM!

    I created an Applet with Sun One Studio 4 CE, using the form editor. It also uses the class java.util.Timer, and some classes that extend Frame and Dialog that are used to create new windows from the applet. When I Start my Applet in a computer with