Resizing Extension Panel does not layout Flex controls at all, simply scales stage

Hello,
I'm having this issue with Extension Panels in Fireworks compiled with the Flex 4 SDK. When the panel is first opened, it has the correct dimensions and controls are laid out correctly. If I resize it at all, it scales itself instead of laying out it's controls to take advantage of the new space. This doesn't seem to occur when using Flex 3's mx:Application, only Flex 4. Any ideas?
Before Resize:
After Resize:
This occurs no matter the Application container control I use - mx:Application, mx:ApplicationWindow, cs:CSXSWindowedApplication, and so on.
My Application MXML is as follows:
<?xml version="1.0" encoding="utf-8"?>
<cs:CSXSWindowedApplication
  xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:mx="library://ns.adobe.com/flex/mx"
  xmlns:cs="com.adobe.csxs.core.*" xmlns:s="library://ns.adobe.com/flex/spark"
  <!-- Setting width & height are the only way I can get it to show properly when first opened. -->
  width="200" height="200" historyManagementEnabled="false" showStatusBar="false">
  <s:Button label="Click Me" />
</cs:CSXSWindowedApplication>

So they key is apparently to have this as a compiler flag:
-includes=mx.managers.systemClasses.MarshallingSupport
And in applicationComplete:
CSInterface.instance.autoThemeColorChange = true;
Also use CSExtension as your base application class/component.

Similar Messages

  • Programmatically resizing Front Panel does not repaint

    I am trying to extend the width of a front panel at run time when a user hits a button. The problem is
    that the contents of the newly exposed front panel section are not redrawn. I have to either drag
    another window over that section or minimize-maximize it to get it to repaint.
    My issue is how can I get the front panel to refresh/repaint, or if that is not possible what other
    ways are there to do resizing. I have tried changing the "Window Bounds" and "Panel Bounds" properties of
    the VI (not at the same time) as well as using LVWUtil32 (Windows API Function Utilities (32-bit) for
    LabVIEW). Each of these methods results in the same problem.
    Thanks for the help!
    Naveen

    HI Naveen,
    It seems to me that you are having Problem with your Graphics Hardware, rather than labview. Generally the window should be repainted by system.
    If you go to Display Properties -> Settings -> Advanced -> Troubleshooting or Graphic Acceleration - You may see the slider to full Acceleration. Under this setting the OS basically relegates most graphic duties to Graphic Hardware.
    What you may want to do is to Move the slider a couple of notches back. And then try your VI's. Infact try all the settings on your Slider. See if it works at No Acceleration.
    The Problem for me is I do not Have this Problem and cannot even simulate it to try a solution.
    Another Solution is this -
    There is a vi Property Class called "Front Panel" Which can be access
    ed from Vi Server. Under this Class you will see a Property "Defer Front Panel Update" Generally this Property is used to Prevent a redraw. But if this Property is set to False, Labview immediately redraws the Panel.
    What you may want to do is after resizing to let you program go through this Property Node set to False and See if this Helps.
    By The way, the way you have to wire this Property is to Open a Vi Ref, Wire it to Property Node, Select Property as "Front Panel". Right Click on "Front Panel" and Click on Create-> Property -> Defer Front Panel Update. Wire the Referneces of the these Objects, with the output of "Front Panel" going to "Defer FP Update".
    I hope your ver of Labview has these Properties. I am Using 6.1
    I hope you can take it from there!!
    Please advise How you solved the Problem. Good Luck!!
    Mache
    Another Solution which you can try is this
    Good Luck!
    Mache

  • Officejet J3680 Control Panel does not respond to buttons, just make "beep sound"

    Hi everybody, thanks for reading.
    The problem is that my (brand new) J3680 control panel does not work until I press all the buttons, yes its weird.
    Note #1: The printer works perfect when used through the computer (I am Linux user).
    Note #2: Once I have pressed all the buttons at control panel the control panel (kind of) works.
    Heres how this happens:
    I plug the power cord
    Now, the printers start and not even the Power button works, so I cant turn it off, each time I press any button it just do a “beep sound” and the LCD screen keeps the same
    The LCD shows this:
    0 Speed Dial
    <One-Touch 1>
    Now I have figured out what the LCD screen initialization means:
    0: Thats the times I have pressed the “Speed Dial” button
    Speed Dial: Thats the button I have to press to make the Control Panel works
    <One-Touch 1>: This is the next button I have to press after the “Speed Dial” has been pressed
    The printer then makes me press all the buttons (...)
    I think this is kind of some “Control Panel button calibration", because the LCD respond perfect when I press the button the printer ask
    The other problem is that I don't know how to finish this calibration or whatever this is, because I reach a point where I cant find the button it ask
    The LCD ends showing:
    1 Color Start
    <Hidden 1+Black>
    Where “1 Color Start” was the last button it asked me to press, and the <Hidden 1+Black> is the next one combination.
    Note that “Hidden 1” is not “1” not “Speed Dial 1”, I have just tried that combinations, but does not work.
    Please help I have to do this each time I turn on the printer to make the control panel work. Thanks a lot.
    Message Edited by NxGTR on 08-14-2009 07:15 AM

    Nao    Consigo  estalar   impressoura   HP  Officejet  J3680   Faz  horas   que estu tentando  estalar  nao  sei se  esuporte   ou provedor  gostaria  muito  de ajuda  para  italar.  obrigado  Rui

  • My control panel does not have flashlight,calculator or portrait lock

    Control panel does not have flashlight,calculator or portrait lock

    There is no flashlight since the iPad has no flash with it's camera. There is no calculator icon since the native calculator app available with the iPhone version is not included with the iPad's version of iOS 7. The rotation lock depends on Settings/General/Use side switch to..., setting it to mute audio will put the lock screen button on Control Panel. Setting it to lock screen rotation will change the button in Control Panel to a Mute button.

  • How do I uninstall CS2 on a PC when it does not appear in control panel add or remove programs, the hard drive was replaced and the program corrupted.

    how do I uninstall CS2 on a PC when it does not appear in control panel add or remove programs, the hard drive was replaced and the program corrupted.

    reinstall over your current installation and then uninstall, Error: Activation Server Unavailable | CS2, Acrobat 7, Audition 3
    or uninstall manually, Manually remove Adobe Creative Suite 2.x | Windows

  • Beware: icloud control panel DOES NOT WORK for icloud email

    Opposing evidence is welcome. Please comment.
    After dozens of hours, emails and chat sessions with both MS and Apple tech support (the latter escalated as high as it could go - "after this we have to refer you to engineering"), I was finally told by Apple Senior Advisor Ciara Ferguson that icloud control panel does not properly sync icloud mail with Outlook 365 (Outlook 2013).  After several months of working on dual systems I discovered that many (but not all) changes to folder names and filing of emails in various folders made in Outlook were not reflected on icloud and vice versa.   Ms. Ferguson has stated that icloud control panel "works better with calendar and contacts."  Obviously, this non-committal statement is grossly insufficient.  It either works or it doesn't.  It doesn't. 
    Allegedly, icloud control panel does work to sync other email (the example of an outlook.com email address was given) into apple devices.  This doesn't sound right to me either, since one can just add any POP or IMAP or Exchange account into a Mac device, so why would one need icloud control panel to interface?
    I remain stymied as to the actual purpose of icloud control panel, despite asking exactly that question of Ms. Ferguson on several occasions.  The Apple literature and its own setup screens suggest that it will sync email, contacts, calendar and notes with MS Outlook, but as to email, that is apparently untrue.

    I don't think so.  I'd like to sync photostream from two iPhones with distinct Apple IDs on our PCs and I don't see a way to do it.  It synced my wife's iPhone while she was logged in to iCloud control panel but not mine until I logged in (and disconnected her photostream PC syncing).

  • On my computer, windows xp home, firefox icon does not appear in control panel, therefore i cannot remove it. i want to remove firefox how do i remove it?

    I just want to remove firefox but cannot do so as the icon does not appear in control panel

    It should be listed as "Mozilla Firefox"
    *See --> https://support.mozilla.com/en-US/kb/uninstalling%20Firefox
    '''If this reply solves your problem, please click "Solved It" next to this reply when <u>signed-in</u> to the forum.'''

  • 7510 does not appear in control panel

    HP Photosmart 7510, WIN 7, 64bit.  No other changes. HP Pavilion dv4.
    Installed with CD.  Printer connected to netowrk just fine, everything indicates it installed correctly.  Won't print from PC.  Printer does not appear in control panel.
    Tried reinstall, with same issue. 

    Download and run this utility: http://h20180.www2.hp.com/apps/Nav?h_pagetype=s-926&h_lang=en&h_client=s-h-e17-1&h_keyword=dg-NDU&ju...
    What does it say?
    Say thanks by clicking "Kudos" "thumbs up" in the post that helped you.
    I am employed by HP

  • HT201317 My icloud control panel does not allow me to turn on photos. Contacts, Bookmarks etc.. are ok

    My icloud control panel does not enable the Photos check box. Cannot view photos on PC that are taken with iphone and ipad.

    Hi Randers - thank you for the advice.  I signed out of the account on all devices, however when I try to go into iCloud on the Mac to re-input my account details, I'm presented with the following error message:
    'Could not load iCloud preference pane'.  Is there something additional I'm meant to do to be able to load an iCloud account on the Mac?

  • My ipod 6th generation does not show in control panel on computer Windows 7.....also when I try to download from itunes, I get message network cannot make connection.  can you provide me help?

    My ipod 6th generation does not show in control panel on computer Windows 7....also when I try to download from itunes, I get message saying network cannot make connection.  Can you help me with these issues?

    Hello jrsmallwood,
    I've a couple of articles that should get you back on your way!
    iPod not recognized in 'My Computer' and in iTunes for Windows
    http://support.apple.com/kb/TS1369
    Can't connect to the iTunes Store
    http://support.apple.com/kb/TS1368
    Cheers,
    Allen

  • Control panel does not show the home page when Newsstand app is open - could this be a bug?

    When Newsstand is open and I press the home button twice to access the control panel, the home screen is replaced by the Newsstand app. Is anyone else having this issue? Is there a fix?

    Zephuros2000 wrote:
    I press the home button twice to access the control panel ...
    Pressing the home button twice does not access the control panel ... at any time.
    To access the control panel, press the home button once to get to the home screen.  Then swipe up from down near the home button to view the control panel.
    Pressing the home button twice generally shows you the apps that are running.

  • Control panel does NOT come up when I swipe up in ios7

    the control panel does not come up when I sipe up on the home screen [ or any screen ]

    When you start the pre-swipe basically start the swipe with your finger from the lower left-hand corner of the hard case then upwards... not touching the actual screen first (make sure you start the swipe upwards from the actual hard plastic of the case before touching the edge of the screen)
    then move your finger upwards onto the screen.  Now I can pretty much do it every single time when starting from the bottom left-hand side. Let me know if this works for everybody else.
    Still looking forward to Apple adding a couple of millimeters to the actual swipe area (higher) on the next update, This will make it much easier for everybody with cases to access the control panel. Cheers

  • Extract panel does not show in Dreamweaver CC 2014 - using Mac - Why?

    It is odd - as I used the Extract workspace, the Extract panel does not show - not even if I try opening it via Window -> Extract.
    I have updated my Dreamweaver 2014 to the most recent version.
    Can anyone help me?

    Good to know that your issue has been resolved.
    To further investigate why that issue happened we would need some more information from you.
    Please tell us more about the settings of DW before applying patch
    > Which workspace you were working before applying the patch ?
    > What all panels were ON before applying the patch ?
    > Did you perform any specific steps before applying the patch ?
    > What is the version of your Mac ?
    > Any extensions of DW installed?
    Thanks,
    Lalita

  • Hints image on the animation panel does not change.

    Help I have several animation panels when the program initializes from the constructor. I have a separate AnimationPanel class that creates each panel for display. The initial ?hello ? welcome panel (from the constructor) animates on the main panel when the program begins.
    The problem is I want to have different animation panels (that are stored ) to animate and replace the main panel animation at a push of a button. While, the various panels can animate if called from the constructor, they do not animate when called from a button.
    The buttons I created to switch the main animated panel with a different one seems to work to the extent that it gets the correct music, but the image on the animation panel does not change.
    I know this is a more in depth of a question but might you be able to give me a point in the right direction?
    Here is the code from the constructor that works fine in the constructor to start the main animation.
    public PingPong()
    // null layout because it has a main panel where this display panel is placed
    super(null);
    //panels are created
    instantiatePanels();
    //panels are added to the main content pane
    placePanelsOnView();
    startAnimation();
    initializeAudio();

    The problem is that I now start it with no animation to begin with and just an empty panel, but still when I try to add an animation from the button and it will not start. The contentPane is in a different class that places the buttons and the view together.
    Here is the code that the button calls back with a getNextPanel() :
    AnimatedPanel expertPingPongPlayerPanel
              = new AnimatedPanel( );
    add(expertPingPongPlayerPanel );
         expertPingPongPlayerPanel.animate();
              expertPingPongPlayerPanel.setVisible(true);
              startAnimation();

  • When transfering tracks across to ipod a sliding panel appears on the right hand side of itunes. after acknowleadging the transfer the panel does not slide back out of the way to alow another transfer.

    When transfering tracks to an ipod a sliding panel appears on the right hand side of itunes. This allows the selected track to be transfered. After registering this action the panel does not slide back out of the way to allow scrolling and more song selection. Any solutions..Help?

    I have an even simpler method. I use MyPublisher to print my books. I select their page layout for a two-page spread, drag and drop the image. DONE!  I understand that most people have their favorite places to have work done. I have been extremely pleased with MyPublisher.com, so I haven't even tried the book module in Lightroom.

Maybe you are looking for

  • Is this a problem? Or is it normal?

    Just a quick question, does your iPhone 4/4S make a rattling sound near the camera? and if you tap it near the bottom right hand corner (see picture) does it make a faint humming sound (much like the vibrating sound).

  • Time Capsule with External HD

    Can anyone tell me what happens when you connect an external HD to a Time Capsule? Does the TC recognise the new drive and treat it as more capacity and therefor continue to do backups spilling over onto the new drive? Or does it just see it as anoth

  • Group function is not allowed here

    Hi, I have a problem running the following sql command, i know the error is over the count function, but i don't know how to solve this. Can you please help me solve this. ( i would like to select titles that have more than 2 authors.) select distinc

  • File Host Scan for MAC

    Hello, Any guidance or help is appreciated. Looking at performing a File Host Scan/Check for MACs and have not seen any exemples for file path. Windows file check is easy and straightforward. In a MAC, let's say we create a text file and place that i

  • Why won't all the music from my iPhone sync to my iTunes on my macbook?

    PLEASE HELP!