Module that doesn't scale 100% to its container

Hi,
I have a module that doesn't scale 100% to its container
<?xml version="1.0" encoding="utf-8"?>
<mx:Module xmlns:mx="http://www.adobe.com/2006/mxml" layout="vertical"
    percentWidth="100" percentHeight="100" verticalGap="0"
    >
    <mx:creationComplete>
        <![CDATA[
        vo = VO.getInstance();
        ]]>
    </mx:creationComplete>
    <mx:Script>
You see anything wrong?

I set up the panel like this      
privileges= new SuperPanel();
        privileges.x=0;
        privileges.y=0;
        privileges.width=725;
        privileges.height=500;
        privileges.verticalScrollPolicy='off';
        privileges.allowDrag=true;
        privileges.allowResize=true;
        privileges.allowClose=true;
        privileges.allowMaximize=true;
        privileges.allowMinimize=true;
        privileges.allowMaximize=true;
        privileges.addEventListener(CloseEvent.CLOSE,privilegesClose)
        privileges.layout='vertical';
        privileges.title="Assign privileges";
        privileges.addChild(privilegesML);
then I load the module
          privilegesML.url = 'modules/Privileges.swf';
The module looks a bit like this
<?xml version="1.0" encoding="utf-8"?>
<mx:Module xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" paddingBottom="0" paddingLeft="0" paddingRight="0" paddingTop="0"
    width="100%" height="100%" verticalGap="0"
    >
    <mx:creationComplete>
        <![CDATA[
        vo = VO.getInstance();
        ]]>
    </mx:creationComplete>
    <mx:HBox width="100%">
        <mx:Button label="Save changes to server" click="deals.dataProvider=tradesResult">
            <mx:icon>@Embed(source='../../images/32px-Crystal_Clear_app_kwrite.png')</mx:icon>
        </mx:Button>
        <mx:Button label="Refresh list" icon="@Embed(source='../../images/cog.png')" click="myService.getUsers();"/>
    </mx:HBox>
    <mx:AdvancedDataGrid id="deals" displayItemsExpanded="false" dataProvider="{vo.usersResult}" width="100%" height="100%" sortExpertMode="true" variableRowHeight="true" headerStyleName="smallHeader" editable="false" fontWeight="normal">
        <mx:columns>
            <mx:AdvancedDataGridColumn dataField="name" headerText="User name" width="120" textAlign="center" editable="false"/>
            <mx:AdvancedDataGridColumn headerText="Add trade" width="70" editorDataField="addTradeView" rendererIsEditor="true" backgroundColor="0xddf5ff">
                <mx:itemRenderer>
                    <mx:Component>
                            <mx:CheckBox >
    <mx:Script>
                                <![CDATA[
                                    override public function set data(value:Object):void
                                        super.data=value;
                                        if(value != null){
                                        this.selected=this.data.addTradeView;
                                ]]>
                            </mx:Script>
                                <mx:change>
                                    <![CDATA[
                                    this.data.isModifiedClientSide = 1;
                                    this.data.addTradeView = this.selected; //used to check through data and update server
                                    ]]>
                                </mx:change>
                            </mx:CheckBox>
                    </mx:Component>
                </mx:itemRenderer>
            </mx:AdvancedDataGridColumn>
        </mx:columns>
    </mx:AdvancedDataGrid>
</mx:Module>

Similar Messages

  • FIFO read that doesn't use 100% CPU

    The FIFO read looks like an event based node (like a dequeue or wait on occurance) and I think there's a lot of people that assume it's going to use minimal cpu resources while it is waiting for data. I'm wondering if we can have an option that behaved like that. For example, could we have fixed sized FIFO read where the FPGA could trigger an interupt to let the RT side know the data is ready?

    Hey igagne,
    I think this is a good idea. I get that timeouts implemented with polling are exactly the right thing for some applications, and quite problematic for others. I think having an option would also make the behavior more obvious to the user, which is a good thing. That being said, we do have a few programming practices that we recommend that can help if the polling behavior is not suitable for your application. Have you been able to find a solution that's suitable for your application? What hardware are you using?
    Along the lines of potential workarounds, I think you'll be interested in this knowledge base, http://digital.ni.com/public.nsf/allkb/583DDFF1829F51C1862575AA007AC792. A couple things I'd highlight, firstly some hardware does already work in the way you've described. Secondly, we generally recommend the example code shown at the bottom of the KB. In this way,your code has control over the polling rate and the tradeoff between a low latency response to data being available and consuming resources on the system. If you wanted an interrupt based solution to reduce time spent polling, it'd be possible to also add a wait on irq node and raise the irq from the FPGA when the data has been written. I'd still recommend polling for data after recieving the IRQ on the host because it's not generally guaranteed that the IRQ will arrive after all the data has made it's way to the host buffer, but it should be a much shorter poll.
    Thanks,
    Sebastian
     

  • What good is it to have a router that doesn't block mac addresses like its supposed too!!!

    what good is it to have a router that doesn't block mac addresses like its supposed too!!!

    At 10:30pm I think I'd like to talk this out....Lemme give you some more details and lets get some hardware programmers involved. I think this is a cross-platform conflict or at the remote a outdated hardware problem. What do you need from me to track this issue down? I have been patient and have waited over 1yr or maybe 2, waiting for an update to correct this issue. Alas, there has been no solution to this problem. I have 13 seperate MAC addy's on the network. 1 wired and the the rest wireless(some constant, others random). All on a schedule(some timed access, some all the time). I have macBooks, Labtops, Desktops, Ipads, Ipods, DSIs, Windows7, WindowsXP Pro, PS3, AppleTV and a few random BlueTooths. Not that much.
    Anyways, I think somehow there is a hole because of cross-platfom compatability that is making my daughter able to get on the net unless I change the wireless password......
    No I have no proof...It's just a feeling

  • I am going through a divorce and she has the computer. I'm trying to tranfer my music to a new computer but for about 100 songs its asking for her authorization password that I dont have. How can I get these songs transfered or can I?

    I am going through a divorce and she has the computer. I'm trying to tranfer my music to a new computer but for about 100 songs its asking for her authorization password that I dont have. How can I get these songs transfered or can I?

    It sounds like two Apple accounts were used in the purchase of songs, yours and hers.  Assuming she won't give you her password, you're kinda stuck.  For $129 or so you can repurchase them all.
    By the way, if she has the computer and it has your account info in it, you ought to change your password.

  • I am looking at a MacBook pro 17 early 2011 with water damage that doesn't turn on. Now t would have a voided warranty wondered if anyone knew how much apple would charge to fix. If its worth fixing?

    I am looking at a MacBook pro 17 early 2011 with water damage that doesn't turn on. Now t would have a voided warranty wondered if anyone knew how much apple would charge to fix. If its worth fixing?

    It mostly depends on the damage that was done (the LCD, keyboard, etc) but yours does not turn on so I am assuming it was fully submerged and completely damaged. Therefore, I would think your warranty is most definitely void.
    When did this happen? How bad was it? Have you taken any measures to get it to dry? You can go online and you can find tips on how to dry it at least a bit so that it is not as bad, it might not get it to work, but it can help you prevent rusting, which would cause further damage thus reducing the probability of getting repaired/replaced. Also, do not try to turn it on unless you have tried to dry it as it will damage it even more (electricity + water = destruction). I would suggest giving this a try, and if it is still not working then it is probably worth a try with Apple, just go in for a consultation in terms of pricing. If they seem too high and/or the warranty is void, then you can opt for after-market products which significantly reduce the repair costs... as you would have nothing to lose anyway in terms of warranty.
    It's $3,000, that pays my rent. Even investing $1,000 would be better than just not giving it a try at all lol.

  • HT1353 I have a Ipod mini 6gb that still works but a new computer that doesn't have its software.  How can I download the software for it

    I have a Ipod mini 6gb that still works but a new computer that doesn't have its software.  How can I download the software for it

    Check the iPod Hardisk health with the iPod  Disk Diagnostic, as posted by tt2
    https://discussions.apple.com/message/17776595#17776595
    It wont fix your problem, but may tell help troubleshoot, why it is freezing iTunes, especially when the Pending and Realloc numbers are high.
    have a nice day!

  • Why is it that my iPod only charges while its off when I use my power bar that has a USB thing for my iPod 4g 6.1 When it's on it doesn't charge, but if its turned off completely it charges what has happend?

    Why is it that my iPod only charges while its off when I use my power bar that has a USB thing for my iPod 4g 6.1 When it's on it doesn't charge, but if its turned off completely it charges what has happend?.

    .

  • Royalty free music that doesn't suck

    I'm not a music composer (and I don't play one on TV) but I am someone who needs music for projects sometimes, mainly video modules for conference openers. The big problem is that, more often than not, my clients aren't willing to pay for an audio engineer/composer to do up a custom track for them. I know, in the big scheme of things, that this is cheaper than me sitting for hours/days sifting through websites with royalty free music but they see the price tag for custom work and freak out.
    So, since Google will allow you to pay to up your placement in their searches, I am fed up with searching sites that suck and thought that, while it doesn't exactly have to do with fine Adobe products (of which I've purchased several [including Audition], spending many thousands of dollars over the years, for any Adobe personnel out there who might read this post and doesn't think it applies to this product), I thought I'd come to this forum and ask you people directly if you know of any sites with RFM that don't suck. You know what I mean, if I have to hear another 60 sec. clip of "atmospheric strings", I may just puke. I did try to find an audio forum to ask this question on but, once again, Google let me down.
    There's simply got to be some music library out there somewhere that's fairly consistently good, or at least the amount of corporate hoaky blech is at a minimum. Or maybe you, as a composer, have your own site with decent stuff that doesn't appear within the first 100 returns of a Google search. Please, let me know! I've got a project I'm working on right now where I'm in a similar bind with a client who thinks they're David Foster without the audio board and doesn't understand that all this costs money, even if it's only $39.95 (and the additional hours of all my searching). They also don't understand that just because they own the CD doesn't mean you're allowed to set pictures to it and call it your own. And if I have to listen to "Simply the Best" used in another video, I may just scream.
    Thanks for any help you can provide!

    I have been using IB Audio for years. Ian is a great composer (and nice guy). It's a yearly membership or by the track. The membership is the best value. For one price you get HUNDREDS of tracks and loops.
    www.ibaudio.com
    Jake

  • How to print with "Scale: 100%" by default from Preview

    The print dialogue in Preview is set by default to "Scale to Fit".
    I never need this, I always need "Scale: 100%".
    It's annoying to change all the time I have to print a PDF from Preview the setting!
    I tried to save the print setting, but it does not work.
    So. Is there a way to set the print dialogue by default to "Scale: 100%" ?
    Mayby with a Terminal command?

    AFAICT, only for PDF files. If you want to report this issue to Apple's engineering, send a bug report or an enhancement request via its Bug Reporter system. To do this, join the Mac Developer Program—it's free and available for all Mac users and gets you a look at some development software. Since you already have an Apple username/ID, use that. Once a member, go to Apple BugReporter and file your bug report or enhancement request. The nice thing with this procedure is that you get a response and a follow-up number; thus, starting a dialog with engineering.

  • How to deauthorize a computer , that doesn't exist anymore?

    I unisnstalled windows , and for some reason when i inserted my ipod to the freshly installed windows+itunes , and logged on my account , iTunes said , that its a new computer and asked me to authorize it , and so i did.
    My question is: how can i deauthorize my old version of windows , that doesn't exist anymore?
    I also have another question in this topic : When i want to buy items from itunes from a new device , it asks for my bank card number , and takes 1-2 dollars from it. Is this ok?

    Take a look at this Apple support article; it may help:
    One computer using multiple iTunes Store authorizations
    When i want to buy items from itunes from a new device , it asks for my bank card number , and takes 1-2 dollars from it. Is this ok?
    I'm not sure what you mean by this. What "items"? If you are referring to music, videos or movies, you get only one download per purchase, so if you buy the items again, whether from another device or the same one, yes, you will be charged again. Only apps allow redownloading without additional charge.
    Regards.

  • My mac is completely blocked because of a pop up that doesn't let me open any app or safari's page. What do i have to do?!?!

    I was on the internet playing a game them suddenly a pop up page came on and i pressed the "x" at the top to exit (like i always do) than the page askes me "are you sure you want to leave this page?" The text after this is so long that i can't say "leave this page" i tried to open other apps or pages but it tells me that i have to leave this page. I have no idea what to do. I can't even turn off the computer because it tells me that before i have to leave the safari... Please help!!!

    There are several ways to recover.
    1. Some of those scam pages can be dismissed very easily. Press the key combination command-W to close the tab or window. A huge box will pop up. Press the return key and both the box and the page will close. If that doesn't happen, continue.
    2. Press and hold command-W. You may hear repeating alert sounds. While holding the keys, click the OK button in the popup. A different popup may appear, which you can cancel out of as usual.
    3. From the Safari menu bar, select
              Safari ▹ Preferences... ▹ Security
    and uncheck the box marked Enable JavaScript. Leave the preferences dialog open.
    Close the malicious window or tab.
    Re-enable JavaScript and close the preferences dialog.
    4. If the Preferences menu item is grayed out, quit Safari. Force quit if necessary. Relaunch it by holding down the shift key and clicking its icon in the Dock. None of the windows and tabs will reopen.
    After closing the malicious page, from the menu bar, select
              Safari ▹ Preferences... ▹ Privacy ▹ Remove All Website Data
    to get rid of any cookies or other data left by the server. Open your Downloads folder and delete anything you don't recognize.

  • How can I delete an app that doesn't appear on my screen?

    My tapped out app doesn't appear on my home screen and I can't find how to delete it. The app will not work. Every time I try to access it I get the message that it 'cannot connect to server'.

    Your iPod is connected to the internet, and have you tried closing the game via the taskbar and seeing if it works when you re-open it ? From the home screen (i.e. not with Tapped Out app 'open' on-screen) double-click the home button to bring up the taskbar, then press and hold any of the apps on the taskbar for a couple of seconds or so until they start shaking, then press the '-' in the top left of the Tapped Out app to close it, and touch any part of the screen above the taskbar so as to stop the shaking and close the taskbar.
    If that doesn't fix it then try a soft-reset : press and hold both the sleep and home buttons for about 10 to 15 seconds (ignore the red slider), after which the Apple logo should appear - you won't lose any content, it's the equivalent of a reboot.
    If you can't find it on any of your iPod's homescreens then can you connect the iPod to your computer's iTunes ? If you can then do File > Devices > Transfer Purchases to make sure that all apps (and other downloads) are on your computer, and then on the iPod's Apps tab on your computer's iTunes you should be able to use the listbox of apps to find where a downloaded app is on your iPod (double-click an app in the listbox and it should show on the screen mock-ups where it is), and use the 'remove' button next to an app to delete it (which will also remove its content and settings) and click 'Apply' at the bottom right of the screen - the 'remove' button will then change to 'install' so that you can re-install it (and again click 'Apply') :
    e.g.

  • Is there a (relatively simple) way to skip tracks with an iPod touch 5th gen using a physical button? I'm aware songs can be skipped on-screen without unlocking the iPod, but I'm looking for a method that doesn't require taking my eyes off the road.

    Is there a (relatively simple) way to skip tracks with an iPod touch 5th gen using a physical button? I'm aware songs can be skipped on-screen without unlocking the iPod, but I'm looking for a method that doesn't require taking my eyes off the road while driving. For that reason, I'm also not interested in adding in headphones or additional devices that have the desired button functions. Going both forward and back would be great but I would be pleased just to have a "sight-free" way to go forward.
    I've seen some mention here and there about ways to maybe change it so the volume buttons change tracks and holding the volume buttons changes the volume... but I don't know what's involved in that or if its even possible/recommended for a new 5th gen iPod. I think its a great device but its sadly lacking in music oriented functions and features... which is disappointing since music is why most people would bother getting one instead of some other "iDevice" :/

    Given that you cannot do what you have asked for, perhaps you simply need to find another solution to your root problem.
    Presumably, you want to skip to the next track because you don't want to hear the current one, and that is because...
    You don't like it.
    You've heard it recently and don't want to hear it now.
    Simply don't want to hear it at this time.
    For problem number 1. Don't put it on the iPod in the first place. (I know, obvious answer!)
    For problem number 2. How about playing from a Smart Playlist (initially created in your iTunes Library) which has only songs you've not played recently?
    For problem number 3. Hhhmmm! Create alternative Playlists for use in the car.
    As for going back to the start of the "now playing" track.... Well, if your Playlist has only songs that you really, really want to hear, then you'll be looking forward to that rather go back to the beginning of the current song.
    I'm not trying to be prescriptive, just giving you food for thought.
    (They are all cheaper options than buying a car which can control the iPod from the steering wheel.)

  • 2014 Mac mini doesn't scale the entire HP Envy 32 monitor screen

    I recently purchased a HP Envy 32 monitor for use with my 2014 Mac mini with the Iris display. I get 2560x1440 resolution at 60 Hz on both the DP (1.2) as well as the HDMI ports (using the auto-detected HP Envy 32 color profile) but the display doesn't scale the entire screen of the monitor. Is anyone else using this configuration successfully? If so, what have you done to make full use of the 32" monitor real-estate? I simply cannot find any options in Display preferences (Yosemite) to change underscan options or for that matter within the monitor itself. Is there a particular display profile or driver I can use to fix this issue?

    I'm using a 4K compatible DP cable connected to the Thunderbolt port and getting to the max resolution of the monitor. So I don't think the issue lies there. I was able to use SwitchResX trial mode to discover an underscan option that allowed me to scale to the entire monitor screen. Assuming SwitchResX is manipulating core OSX functions, I'd assume there is some display related configuration within OSX that I should be able to tweak in order to scale the monitor screen natively in OSX without requiring any 3rd party software. Any thoughts for how to go about tweaking the display natively?
    Thanks

  • Another burst A1189 battery that doesn't fit within the recall

    Battery model A1189, Serial No. 6N64905XW4HB. Was doing the abrupt shut offs, started about a month ago. Battery Update and all other patches were current. Now its bulged out and is now unsafe if usable at all. But I guess that's my problem, not Apple's. Sorry your power source is obviously defective, but we can't help you. Great service.
    Whats scary is the new ones that are now inside the case, where will those have room to bulge out of? And will Apple say you're SOL if you don't fit what they determined to be the range of serial numbers that were bad?

    Glad you got your issue sorted.
    bshomb wrote:
    ... inferiority of Apple that they can't make a laptop battery that doesn't have issues. Can't say I blame them, the lenovos we use are pretty decent.
    Apple doesn't make their own batteries. They use batteries made by Sony, SMP, etc. If your colleagues want to discuss the batteries in Lenovo laptops, which you call 'pretty decent', you might refer them to this article discussing the recall of over half a million batteries in Lenovo laptops, and the related incident at the LA International Airport in which a Lenovo T43 caught fire due to a faulty battery.
    Just some food for thought...
    As a side note, a brand new Lenovo T400 that my work's IT department issued to me last week died this morning - it fails to boot beyond the initial BIOS screen. That Lenovo was my fifth work-provided PC laptop in the past 3 years. My 3-year old MBP is working just perfectly...and I'm still productive at work at this very moment because I'm running an image of a corporate Windows installation via Parallels on my MBP.

Maybe you are looking for

  • Why are Setup Assistant and Migration Assistant forcing me to copy everything from an old mac?

    Hi, I just bought a new Mac Mini (Late 2014, ships with Yosemite) to replace a defunct MacBook Pro (Late 2008, last ran 10.8.5).  I have a local administrative user account and some server and network data that I want to migrate from the latest Time

  • Problem in Composite deployment using SAR file

    Hello All We are facing issues during deployment of composites to a clustered environment. We created a simple HelloWorld Composite and deployed it as a SAR file. The deployment and test was successful for this composite. The WSDL and XSD of HelloWor

  • File opens in Reader, but prints with Acrobat

    Hi If I double click on a PDF file it opens in Reader. If I right click it and select 'print' it will attempt to print using Adobe Acrobat 5. I think Adobe Acrobat 5 is required for some old systems my company uses. How can I change default behaviour

  • Macbook suddenly dies/mouse pad not working

    Hi everyone, I've become extremely worried about my macbook lately. I rely on it on a daily basis for work. Last night my Macbook suddenly died on me. I was working and all of a sudden the screen turned off and the fans stopped. I thought the battery

  • How do I get the outlining feature to stop?

    How do I get the outlining feature to stop?  I hit return to start a new paragraph and it keeps putting it in outline format even though I have it set to "none."