Flex 4 default preloader not centered when in sub application

The preloader app loads the mainApp using SWFLoader with height and width set to 100%. In the mainApp we have 1 big image to increase the download time. Check now where the preloader shows up. Why it isn't in the middle of the screen? Testing separately both applications it is centered, but like this.. it is not. I've tried centering the SWFLoader, putting it into groups, setting 100% width and height of the mainApp, nothing worked.
View source is enabled, feel free to test.
http://filip.nedyalkov.net/preloader/
If the only way to fix that is with a custom preloader please if u have a link of a good example doing the trick share it

link don't work.
i have some problem with preloader when make
systemManager.stage.scaleMode=StageScaleMode.SHOW_ALL; systemManager.stage.align = StageAlign.TOP;
on initialize or preinitialize )
fix it by moving my function to creationComplete event.
well i little bit late with words ))) year past, but bether leter then never )

Similar Messages

  • [svn] 4927: Fix RTE when a sub-application displays an alert.

    Revision: 4927
    Author: [email protected]
    Date: 2009-02-11 05:03:26 -0800 (Wed, 11 Feb 2009)
    Log Message:
    Fix RTE when a sub-application displays an alert.
    QE Notes: Regression introduced in revision 4866, in the trunk.
    Doc Notes: None
    Bugs: SDK-19228
    Reviewer: Hans, Alex
    tests: checkintests
    Ticket Links:
    http://bugs.adobe.com/jira/browse/SDK-19228
    Modified Paths:
    flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/SystemManager.as

    Hi;
    Compiling as 32 bit is only available for a Windows based application, not a Web one. You need to configure IIS to run either 32 or 64 bit.
    As for the bobj undefined error, try these kbases:
    [Bobj|http://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes_boj/sdn_oss_boj_dev/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/scn_bosap/notes%7B6163636573733d36393736354636443646363436353344333933393338323636393736354637333631373036453646373436353733354636453735364436323635373233443330333033303331333233373338333933353332%7D.do]
    [Undefined|http://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes_boj/sdn_oss_boj_dev/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/scn_bosap/notes%7B6163636573733d36393736354636443646363436353344333933393338323636393736354637333631373036453646373436353733354636453735364436323635373233443330333033303331333133383333333033363335%7D.do]
    Regards,
    Jonathan

  • Ssrs parameter default value not showing ,when available values is binded to query dataset

    I have developed a report using sql server data tools for vsiual studio2012 ,i have defined few parameters ,on one of the parameter when available values is binded to a dataset query, the report default value is  not showing in report preview .
    Many Thanks
    Chandra

    Hi Chandra,
    According to your description, you have set the default value for a parameter, but it's not displayed when initially running the report. Right?
    In this scenario, since you have set the available values bind to query, so your default values should be within these available values. If these default values are not within the available values, the default values will be not displayed. So please check
    the default values.
    Reference:
    Add, Change, or Delete Default Values for a Report Parameter (Report Builder and SSRS)
    If you have any question, please feel free to ask.
    Best Regards,
    Simon Hou

  • Selected default is not recogized when I want to print from stored photos

    I have 2 printers with wireless connections, connected to my Dell 1737 laptop 64bit operating system. Printer #1 is  a Dell Model 305 and Printer #2 is a new HP ENVY5530 all in one. When I select the HP printer as the default printer it will not respond when I try to print from the pictures folders I have stored in the computers hardrive, it will default to the Dell 305 instead. I have elimated the Fire Wall as the problem. Note: Otherwise It does respond if designated for other tasks.
    This question was solved.
    View Solution.

    Hello @REB54,
    Welcome to the HP Forums!
    I understand your Envy 5530 is not letting you set as default on your computer. I will do my best to assist you! Please follow this entire thread from @SuperMario1 on: Re: HP1510 0x00000709 can't set as default printer.
    Please post your results, as I will be looking forward to hearing from you. Have a great night!
    I worked on behalf of HP.

  • Crystal Reports are not centered when viewing on Crystal Viewer

    Hi
    I´d like to ask you if you reported some problem of using subreports and during the visualization from the Crystal Viewer the main report and of course the subreports are not centered. I´m running Vs.Net 2005 with CR 10.
    The main report and subreports access ADO.NET. Only one parameter is passed by the user. If we test the application and address the visualization to the crystal report viewer it is showed on right side even using DisplayGroupTree = False. But if we export the report to PDF it is showed centered. Is it a way to fix this one?
    Any advice or suggestions?
    Tks,
    Isocler

    When you say you're using v10 with VS2005, do you mean the full CR v10 product or the version that comes with VS.NET 2005 (version 10.2)?  Make sure you're using/referencing the 10.2.* CR assemblies in your project, as the 10.0.* are not supported.
    If you have the correct assemblies referenced, then make sure you have the latest patches applied.  I think there may have been a fix for DIV tags.
    -MJ

  • Pix are not centered when i print . tryed everything i kow to fix problem, help me please

    Like I said (re-above) I can't fix or figure out why my pix are printing out not centered on paper .. I tryed everything that I know and it's starting to cost to much to just print pix and keep getting the same result . Please Help me if you can. Thank
    you.

    What printer are you using?
    What OS are you using?
    What program are you using to print?
    What kind of paper are you printing on?
    How is the printer connected to the computer?
    HP designed a quick and easy tool that diagnoses and resolves many printing, scanning, and connectivity problems: The HP Print and Scan Doctor. HP recommends that you download and install the Print and Scan Doctor any time you need to troubleshoot a problem with your HP printer from the link below.
    Let me know what errors you receive?
    HP Printer Utilities Page
    -------------How do I give Kudos? | How do I mark a post as Solved? --------------------------------------------------------

  • Preloader not working when image scroller present

    Hi:
    I designed a .fla that involves a large panoramic image that
    I stitched together in PhotoShop, then imported into the library
    and made into a movie clip, I then have the movie clip of the
    panoramic load into an image scroller (the one in the components
    library) on the main timeline so you get the sense you are panning
    through the photo. Within the movie clip of the panoramic there are
    buttons in it that then call other movie clips to load another
    movie clip on top of the image scroller.
    code attached to the buttons is:
    on(release){
    _root.attachMovie("myMovie", "screen",1);
    _root.screen._x =10;
    _root.screen._y =425;
    My issue is the file is so large that I have made created a
    preloader.
    If I load the movie clip of the panoramic directly onto the
    timeline the preloader works fine...
    When I try to load the imagescroller that calls the movie
    clip my preloader does not work at all...
    Does anyone have any ideas?
    I will gladly supply you with any code you may need.
    Thank you
    Janalese

    Thank you for your information. It worked great as far as...I
    could build a preloader and have the movie show up on the screen as
    I wanted. Now for problem number two that has developed...
    The MovieClipLoader that calls external .swf file. This is a
    movie that has an image scroll bar that calls a movie clip that
    scrolls a panoramic photo. Within that movie clip of the panoramic
    I have buttons that then call other movie clips from the library
    using
    on(release){
    _root.attachMovie("myModelScroll", "screen",1);
    _root.screen._x =10;
    _root.screen._y =425;
    This is an example of what I am doing
    I have a panoramic shot that is in an image scroller, that
    panoramic is of a group of buildings each building has a button
    next to it. Those buttons then call up another movie clip from the
    library using the attachMovie clip to show another mini movie clip
    of what the building looks like inside, and what the purpose is.
    Issue:
    The buttons within the movie clip that is loaded into the
    image scroller fail to work. If I just load the .swf files into the
    browser it works just fine...
    but the issue is I have a huge file with an image scroller so
    I need a progress bar and a MovieClipLoader function.
    How do I now get the other code attached to the buttons
    within the movie clip that says attachMovieClip to work within the
    context.
    I am so baffelled as to why it won't work...
    Here is the code to my preloader and movieClipLoader
    My actionScript skills are very limited so any help is
    greatly appreciated but needs to be supplied in simple language.
    Thank you very much

  • Apply default transitions not working when applied next to AE Compositions

    I'm kinda pulling my hair out with this. My default transition is Dip to Black, duration of 2 seconds, and centered at cut. When I select a bunch of clips in the timeline with After Effects compositions mixed in and apply the default transition, the transition around the AE Compositions is ALWAYS changed to 1 second, centered at start/end. And I have to manually go in there and change it to 2 seconds, centered at cut.
    Here's a video describing it:
    http://www.youtube.com/watch?v=FDsyXhE7Ohk
    Why does it do this, and how do I get it to stop?

    Your AE comps don't have handles.  There's no extra video there for the transition.

  • Preloader not working when published

    Hi...I have situation with my preloader. I am loading audio
    from an external folder. When I click on the audio a preloader
    loads the audio and upon completion plays audio.
    My problem lies in that when I test the movie everything
    works as expected. Once I view the actual .swf or the .exe after I
    publish, the preloader doesn't work. The audio still loads but the
    preloader does nothing. It might be important to not after I
    ctrl+return to test, I ctrl+return again to test as if it were
    online. It works when I do the simulate download and not right away
    then.
    Does anyone know what I might be doing wrong? Is there a
    setting in the publish settings I need to change?
    This is the first time I've had this happen. Usually I have a
    pre-loader at the begining of a flash file and load the file. This
    one is in a movie clip and only activated upon a mouse action.
    Any help or suggestions is greatly appreciated.
    Luke

    Thank you for your information. It worked great as far as...I
    could build a preloader and have the movie show up on the screen as
    I wanted. Now for problem number two that has developed...
    The MovieClipLoader that calls external .swf file. This is a
    movie that has an image scroll bar that calls a movie clip that
    scrolls a panoramic photo. Within that movie clip of the panoramic
    I have buttons that then call other movie clips from the library
    using
    on(release){
    _root.attachMovie("myModelScroll", "screen",1);
    _root.screen._x =10;
    _root.screen._y =425;
    This is an example of what I am doing
    I have a panoramic shot that is in an image scroller, that
    panoramic is of a group of buildings each building has a button
    next to it. Those buttons then call up another movie clip from the
    library using the attachMovie clip to show another mini movie clip
    of what the building looks like inside, and what the purpose is.
    Issue:
    The buttons within the movie clip that is loaded into the
    image scroller fail to work. If I just load the .swf files into the
    browser it works just fine...
    but the issue is I have a huge file with an image scroller so
    I need a progress bar and a MovieClipLoader function.
    How do I now get the other code attached to the buttons
    within the movie clip that says attachMovieClip to work within the
    context.
    I am so baffelled as to why it won't work...
    Here is the code to my preloader and movieClipLoader
    My actionScript skills are very limited so any help is
    greatly appreciated but needs to be supplied in simple language.
    Thank you very much

  • Popups not centered when adding ReportViewerBean to JDialog

    This issue follows on from ReportViewerBean popup dialogs not located correctly
    When running ReportViewerBean from a JDialog, the Export dialog and other popups locate top-left on the screen instead of being centered over the Panel. The code listing below illustrates a standalone JDialog but the requirement is for the JDialog (which contains the RVB) to be owned by a JFrame.
    When a JFrame is used to contain the RVB instead of the dialog, it works as expected - all popup dialogs center.
          ReportViewerBean b = new ReportViewerBean();
          // ... bean config code
          JDialog d = new JDialog();
          //JFrame f = new JFrame(); // works
          d.setTitle("JRC Test");
          d.addWindowListener(new WindowAdapter() {
            @Override
            public void windowClosing(WindowEvent e) {
              System.exit(0);
          d.add(b, BorderLayout.CENTER);
          d.setSize(new Dimension(800, 500));
          d.setLocationRelativeTo(null);
          b.init();
          b.start();
          d.setVisible(true);

    ReportViewerBean looks for a parent instance of java.awt.Frame to do positioning.
    Sincerely,
    Ted Ueda

  • Default profile not working when home directory on Windows server.

    Hi,
    Using 10.6.4.
    I have created a default profile (stored in /System/Library/User Template/English.lproj) and this works fine for new local users.
    If I bind to AD (Using UNC path from Active Directory to derive network home location) and login as an AD user for the first time the default profile is not applied.
    Has anyone experienced this problem?
    Thanks,
    Dom.

    I'm experiencing the same thing, and am wondering if you had any success?

  • Photos not centered when printed

    Every time I print a photo with iPhoto either the top (in Portrait mode) or the left side (in Landscape mode) is shortened. I cannot find an adjustment to correct the lack of centration. Can anybody help me with this?

    Yes! ...all the obviuos things I've ruled out. These include drivers and options/settings. I even made sure to try and isolate the problem by removing the shared driver on the server and installing the latest drivers on just one computer to compare but got no differing result..all the computers sharing the driver on the server produced the same results as the islotated computer with direct access to the printer with the newest driver. So it's not the software nor the drivers that causes this problem. The problem is more noticable when printing on SRA3 (450 x 320mm) with 250gsm - 300gsm.
    You are right about what the tech would say +/- 1 - 2mm tolerance. There is no problem when copying straight from hardcopy on the machine ...all tests conclude prefect registration.
    I'm corrently using PCL drivers because they are better at handling graphics...I'm wondering if Postscript drivers would sort the problem out?
    Other that that the only wa7y I can see to work arund this issue is to offest the spread/page in the software environment ....it's only when I want to print 2 sides ...as the tray won't print 2 sides on greater than 120gsm I use the bypass tray to print then work & turn to print the other side...if I didn't offset the page in the software/application, side 2 would be out of registration by upto 4mm.
    Let me know if can think of any other way I can resolve this issue...I'm sure that the registration was pretty good previuosly ...may have been 1-1.5mm difference but now it's almost 3-4mm!

  • Preloader not centered

    Hi,
    I have a project that I developed in Preview 7 and that I have now opened in Animate 1.0. Most of the functionality of the project has been preserved except pe position of the preloader graphic.
    The layout is resizable, the preloader position is set in percentages but it only works for the x position. The y position is now 0px oven though it's set to percentage in the IDE.
    Any idea why this is so?

    Humm - I see the same result as you do! Setting the y as % does not seem to take affect.
    Try - select the preloader element in the preloader stage, keep the x to %, but set the y to px. Its' not perfect, and hopefully the dev team can verify this.
    Darrell

  • PDF not centering when printing....

    Hallo folks,
    I was just wondering if anyone knew why it is that when I compile a file on Adobe Illustrator, the image is centred within this Ai file then I save it as a PDF, I click on the Icon for that PDF and it is still centred but when I print this out the image is not centred and is evidently more to the left hand side than in the centre, sometimes considerably more.
    Any suggestions would be great
    Many thanks
    Steve

    Hi Jacob,
    Thanks for the suggestions, to be honest with you I think it is my printer, It's really really old.
    Regards
    Steve

  • Page break not applying when using sub report inside main report

    I have a main report inside which there is subreport (using SQL Server 2012). I placed some page breaks inside subreport but they were not working. I read on technet forums that this is a a known issue with SSRS. 
    One solution I found is to put a table inside main report, then in first row add a rectangle and set its property "Add a page break after" and then add subreport after this rectangle in that table in main report. I did that and now in some cases
    it does show sub report on a separate page but sometimes it shows subreport on same page.
    Could it be because in some case sub report has no or less data (hence it cannot cover whole page) and in that case it will always show on one page? How can I show empty subreport on a separate page?

    I fixed it by clicking both "Add a page break before" and "Add a page break after" in rectangle.

Maybe you are looking for