Keeping things aligned / in place when stage / browser resized

Hi,
I'm trying to work out how to keep objects aligned when the user resizes the browser window.
I want the contents of the window to remain in view similar to how photoshop wourks when the window is resized. I also want any child components to remain "in place" relative to the position within the window.
do I have to listen for the stage resizing and recalculate the position of the child components?
Thanks
Tim

hi
use the layout features of flex to manage sizing/positioning of objects: http://www.adobe.com/devnet/flex/videotraining/exercises/ex1_05.html

Similar Messages

  • Keep recto/verso page placement when printing 'Multiple' pages on single sheet

    Dear All,
    my book is designed for duplex printing. Every chapter starts on recto (odd) page.
    When I need to print it for proofreading in the multiple mode (2 pages on single sheet), pages do not follow the original intent as the first page is placed on the verso page (left half of the sheet), not recto one (right half). I couldn't find any option to place the first page on the recto 'side' in the Print dialog.
    My current workaround is to place one blank page at the beginning of my PDF file.
    But I'd like to avoid this manual step in the future. Is there a more efficient way?
    Btw, it would be nice to add a single option for this into the Print dialog. It could be handy for everyone.
    What is the best place for such kind of feature request?
    Thanks, Jan

    have no idea about what is wrong on your machine.
    Here doing that I get a normal behavior:
    You may try:
    a - quit/close Numbers
    trash the preferences file:
    <bootVolume>:Users:<yourAccount>:Library:Preferences:com.apple.iWork.Numbers.pli st
    empty the trash
    restart Numbers.
    b - try to do the job from an other user account
    tell us how the beast behaves.
    Yvan KOENIG (from FRANCE samedi 31 mai 2008 14:47:07)

  • Help on font sizes and browser resizing issues

    When browsers resize the text, they can have a significant impact on the my designs. I am using CSS positioning, and not tables. I am also using relative font sizes, usually ems. I can get everthing to look right on my pages when the browsers are set at the normal or medium text size. But, i run into problems when the browser is set at the large or largest text size. I need help dealing with this issue in general. But, here's an example that best illustrates the problem:
    I set some white-colored text on a dark background in a  banner at set at 800px x 50px. The font size is set at 1 ems. The background color for the rest of the page is white. So, when the white-colored text fits easily within the banner, everything works okay. But, when the browser resizes the text, the white text flows beyond the dark background color of the banner and becomes invisible on the white background of the page. Is there some way to use margins, padding, or line size to manage this type of situation?
    What are the best tactics to use regarding font size when using CSS positioning ?
    Thanks for any help on this question.

    Thank you for your prompt response. I will put my page on a test server when I can. But, for now, here is my code below.
    I get your point about flexibility.The question is how? What are the best approaches to use?  I have the sense that more experienced designers have some conventional tactics for ensuring the pages read reasonably well even when the text size is enlarged in the browsers, but I am not sure what approach might work in general.
    Part of the issue with this particular design is that I am actually using a background image in the header/banner. And it has a set height:51 px. I don't want it to repeat it vertically whenever someone enlarges the text size in their browser.
    Again, I would appreciate any help offered.
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
    <title>Untitled Document</title>
    <style type="text/css">
    <!--
    body,td,th {
         font-family: Arial, Helvetica, sans-serif;
         font-size: 1em;
    body {
         margin-left: 0px;
         margin-top: 0px;
         margin-right: 0px;
         margin-bottom: 0px;
         background-color: #000000;
    #Container {
         height: 600px;
         width: 800px;
         margin-right: auto;
         margin-left: auto;
         background-color: #FFFFFF;
    #Banner {
         width: 800px;
         background-image: url(images/800x51bluebackgroundbanner.jpg);
         background-repeat: repeat-x;
         background-position: left top;
         height: 51px;
    #astandardlink {
         font-family: Arial, Helvetica, sans-serif;
         font-size: 1em;
         color: #333399;
         text-align: left;
    #FlashArea {
         float: left;
         height: 400px;
         width: 800px;
    #leftBlock {
         font-family: Arial, Helvetica, sans-serif;
         font-size: 0.8em;
         color: #000000;
         text-align: justify;
         float: left;
         width: 58%;
         margin-right: 1%;
         margin-left: 1%;
         line-height: 1.5;
    #rightBlock {
         font-family: Arial, Helvetica, sans-serif;
         font-size: 0.8em;
         color: #000000;
         text-align: justify;
         float: right;
         margin-right: 1%;
         margin-left: 1%;
         width: 32%;
         clear: right;
         line-height: 1.5;
    #Logo {
         text-align: left;
         vertical-align: middle;
         float: left;
         margin-right: 1em;
    #Bannertext {
         font-family: Arial, Helvetica, sans-serif;
         font-size: 0.8em;
         color: #FFFFFF;
         text-align: center;
         float: left;
         width: 30%;
         line-height: 3;
         white-space: normal;
         display: block;
    #Email {
         font-family: Arial, Helvetica, sans-serif;
         font-size: 0.8em;
         color: #FFFFFF;
         text-align: right;
         margin-right: 0.3em;
         line-height: 1.5;
         background-repeat: no-repeat;
         background-position: left top;
         margin-bottom: 1%;
         padding-bottom: 1%;
    .imageleft {
         vertical-align: middle;
         float: left;
         clear: left;
         margin-right: 1em;
    a:link {
         color: #FFFFFF;
         text-decoration: none;
    a:visited {
         text-decoration: none;
         color: #FFFFFF;
    a:hover {
         text-decoration: underline;
         color: #CC0000;
    a:active {
         text-decoration: none;
         color: #FFFFFF;
    -->
    </style>
    </head>
    <body>
    <div id="Container">
       <div id="Banner">
         <div class="imageleft" id="Logo"><a href="pricinginfo.html"><img src="images/Logo177x51.jpg" alt="Darragh Logo" width="177" height="51" border="0" usemap="#Map" /></a>
    <map name="Map" id="Map"><area shape="rect" coords="8,7,166,41" href="pricinginfo.html" alt="Darragh Logo" />
    <area shape="rect" coords="167,39,168,53" href="#" /></map></div>
         <div id="Bannertext">wines to savor with family and friends </div>
         <div id="Email"><a href="mailto:Darragh Cellars, Proprietor, Andrew Aitken [email protected]">Darragh Cellars, Proprietor, Andrew Aitken [email protected]</a></div>
       </div>
       <div id="FlashArea"><img src="" alt="" name="FlashArea" width="800" height="400" id="FlashArea" style="background-color: #CCCCCC" /></div>
       <div id="leftBlock">Darragh Cellars produces boutique wines that express a balance between earth and fruit. Our wines are crafted to provide a rich wine experience for all palates.- Proprietor, Andrew Aitken Produced &amp; Bottled ByCRUSHPAD San Francisco, CA www.crushpadwine.com </div>
       <div id="rightBlock"><a href="pricinginfo.html" id="astandardlink">Reservations & Contact Information</a>: Darragh Cellars offers an extremely limited supply of Pinot Noir and Chardonnay vintage wines. Reservations may be placed directly with Proprietor Andrew Aitken. </div>
    </div>
    </body>
    </html>

  • Mac Keeps Freezing When Internet Browsing

    Hey guys,
    I don't know if this'll help but all the threads I usually go on, the person with the problem usually gives their computer details, so:
    - OS X Yosemite 10.10.1
    - iMac (21.5-inch, Late 2012)
    - 2.7 GHz Intel Core i5
    - 8 GB 1600 MHz DDR3
    - NVIDIA GeForce GT 640M 512 MB
    Well, anyways, now to the problem;-
    Lately, whenever I'm browsing the Internet on Google Chrome of Safari, 100% of the time after about 10 minutes it will always freeze for about 30 seconds, then go back to whatever it was doing. It will do this a few times until it freezes for good (spinning rainbow wheel), and I actually have to turn off the computer.
    In the past, I have accidentally installed an adware called Genieo, which I got removed when I went to the mac store. I'm not sure if that's come back to haunt me, or I have done something else stupid while browsing. I haven't installed any software applications recently, which has got me confused as to why my mac keeps freezing.
    Also, if I'm browsing on Google Chrome and it doesn't freeze, shockwave will always crash whenever I try to view something, then it will freeze.
    After this, when I try to turn my computer back on, the kernel on the white screen will always come up, which I then have to manually turn the computer off again. It usually turns on normally after a few times of trying.
    I've gone onto Recovery Mode and verified my disk many times, to which it says there are no problems.
    I've looked up Antivirus' for mac, and have come across a few (Avast, CamXav, etc), but I have also browsed many forums with the majority of people saying your mac doesn't need an antivirus and it will slow your computer instead of benefiting you, so I'm not sure what to do.
    Just wondering if anyone else has come across problems similar, or know how to fix this. Should I install an antivirus? Should I go to the mac store (last resort)? Will reinstalling OS X or restarting then booting up from Time Machine with my external drive help?
    Thanks.
    -Chris

    acpqo wrote:
    Just listing everything wrong just in case these are symptoms of something and there is a solution, thanks.
    The suggestions in the 2 links I previously posted did not work?
    If you have Apple Care, call them & let them deal w/it.
    OOW, try the following:
    1 - set up a test account.  You need to determine if the problem crops up in the test account.  This will determine if the problem is system wide or not.
    2 - Run Apple Hardware Test.  Make sure when troubleshooting you have disconnected all devices from your comp except for the keyboard.
    3 - Run OS Recovery again.  Only this time select "Repair Disk."
    4 - Reinstall the update.   Only this time use the OS X Yosemite 10.10.2 Combo Update
    5 - Take your comp to your local AS or an AASP.  Diagnostic testing is FREE!

  • How to keep the stage aspect ratio when stage width=100%?

    Hey,
    if I would like to make an animation that always fits into the browser window by fitting the width to 100% I'm having trouble keeping the aspect ratio of the stage's height. I can only configure 100% there which will stretch the content also to 100% of the browser window's height. If I configure a pixel value for the height, then I am also stuck on this value.
    All I want is the stage to adjust to the width of the browser window, and the height of the stage to preserve the aspect ratio depending on the width.
    this video shows what I mean. unfortunately I am not familiar with coding: http://www.youtube.com/watch?feature=player_embedded&v=hrLt0Y9QAY8
    Can somebody help me?

    sorry can't get the code working properly onwith the html code function. Sorry for that

  • When the browser is open the mouse does random things in all open programs, I can close FF and it works fine is there a mouse bug?

    Since the last upgrade, when the browser is open the mouse randomly clicks on things changes windows by itself. In addition highlighting things to cut and past is almost impossible... this transfers over to all open programs word, movie maker, audacity, etc... and as soon as the browser is close the problems go away... I am having this on two computers the first is a 32 Bit Vista system with a corded mouse the second is a dual boot 64 bit Win 7 and Linux Mint laptop using a Logitech cordless mouse and built in mouse pad both mouse and pad does this... in both operating systems.
    I thought it was a problem with the mice or interference with the wireless receiver or from an Xbox in the same room interfering with the systems, however updated drivers were downloaded and installed on both computers for all three operating systems.

    '''[https://support.mozilla.org/en-US/kb/troubleshoot-firefox-issues-using-safe-mode Start Firefox in Safe Mode]''' {web link}
    While you are in safe mode;
    Type '''about:preferences#advanced'''<Enter> in the address bar.
    Under '''Advanced,''' Select '''General.'''
    Look for and turn off '''Use Hardware Acceleration'''.
    Poke around safe web sites. Are there any problems?

  • I just did the recent upgrade and now I keep getting an error message when I try to open a book on my Kindle app, I have deregistered the app and reloaded and the same thing happens, does anyone know how to fix?

    I just did the recent upgrade and now I keep getting an error message when I try to open a book on my Kindle app, I have deregistered the app and reloaded and the same thing happens, does anyone know how to fix?

    You are seeing the message because the new AirPort Extreme has some specific System Requirements:
    http://www.apple.com/airport-extreme/specs/
    Setup and Administration
    iPhone, iPad, or iPod touch with iOS 5 or later and AirPort Utility 1.3
    Mac with OS X Lion v10.7.5 or later and AirPort Utility 6.3
    AirPort Utility 5.6.1 in Snow Leopard may or may not work correctly with the new Extreme for all functions. As long as things are working OK for now, you can probably leave them "as is" and wait for another Mavericks update to fix some issues before you "upgrade".
    If you have an iPhone or iPad, you could use that to administer any settings changes on the new Extreme.

  • Will an ipod touch keep me place when listening to audiobooks?

    does the ipod touch keep your place when listening to audiobooks?

    In iTunes right click on the audio book and select Get Info. Under the Options tab Remember position should be checked. It should be checked by default for audio books.

  • Some websites keep asking to enable cookies in my browser when they are and I can't get this sites to see that, they worked fine yesturday but not now, any help

    Some websites keep asking to enable cookies in my browser when they are and I can't get this sites to see that, they worked fine yesterday but not now. I've restarted the browser, restarted the computer, disabled then enabled cookies in the privacy settings and still nothing. Any help?

    Hi,
    Many site issues can be caused by corrupt cookies or cache. In order to try to fix these problems, the first step is to clear both cookies and the cache.
    Note: ''This will temporarily log you out of all sites you're logged in to.''
    To clear cache and cookies do the following:
    #Go to Firefox > History > Clear recent history or (if no Firefox button is shown) go to Tools > Clear recent history.
    #Under "Time range to clear", select "Everything".
    #Now, click the arrow next to Details to toggle the Details list active.
    #From the details list, check ''Cache'' and ''Cookies'' and uncheck everything else.
    #Now click the ''Clear now'' button.
    Further information can be found in the [[Clear your cache, history and other personal information in Firefox]] article.
    Did this fix your problems? Please report back to us!

  • My App Store keeps coming on when I browse the internet.

    My App Store keeps opening when I browse the internet?

    If you accidentally tap on a link that is for an App Store app, that will open the App Store. Try clearing Safari, close Safari and then reboot your iPad and see if that fixes this.
    Go to Settings>Safari>Clear Cookies and Data.
    In order to close Safari, Double tap the home button and you will see apps lined up going left to right across the screen. Swipe to get to the Safari app and then swipe "up" on the app preview thumbnail to close it.
    Reboot the iPad by holding down on the sleep and home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider if it appears on the screen - let go of the buttons. Let the iPad start up.

  • How to invalidate a session explicitly when a browser is closed

    hi,
    i am keeping the information of a logged user when he logs succesfully in a session. the session time is maintained for half an hour.
    i am also storing his information in an application object.
    when a user logs out i am invalidating the session and his information is removed from the application object .
    when a person is logged and another person at other place stries to log in with the same username and password, i am making use of this application object to check whether the anyone is looged in with that user id or not. if the id aleady exists in the application object i will not allow the second person to log in and i will provide with a relavent mesasge " already logged in with this ID".
    But the problem is arising when a person loogs in and closes the browser (wth out looging in).
    in this case the session is not invalidated and his information remains in the session and application object.
    when he tries to loog in immediatly after closing the browser, the same checking is done for the duplicate log in and a message is displayed to him saying that " already logged in with this ID".
    he has to wait till the session expires (i,e till 30 min) and then log in
    As this creates problem, i want to invalidate the session the time when the browser is closed.
    i tried with the onUnLoad() methos in javascript, but that method is not only called when closing the browser but also when a link is clicked ot when refreshed the page.
    i am trying with Cookies but i am not gettin ga good approach as how to go forward with this problem.
    Any body who can solve this please....reply soon or mail me
    Its very Urgent................
    Thanks
    sowjanya

    2.Any business critical web site should not allow
    multiple users to
    work under same account at same time.Not true. My customer's web site is "business critical" and they explicitly wanted to be able to login multiple times with the same ID. At least in this scenario we completely circumvent your problem.
    The Javascript solution will never be 100%. What happens if their internet connection drops and doesn't come back? Suppose their OS crashes? What if their power goes out? What if IE crashes? What if JS is turned off? What if the user just walks away and leaves the browser open forever?
    You may be trying to get too much control, which on the web always leads to failure. Maybe a better alternative would be to warn the user that is logging in the second time that there is an outstanding login and that the previous user will be logged out if he proceeds. Then, keep a record of the event in case someone is messing with other accounts (although, since he obviously knows the username and password it is probably a user concern.)

  • IPod function looses place when playing in the background

    I have an iPhone 3g and since getting it I've been able to cause the iPod to loose its place if I run an application and let it play in the background. If one song is playing and I start any other application in the phone (even built-in ones like the browser) that doesn't cause the iPod to stop playing music the iPod will keep playing and if I use the browser or other apps long enough for the ipod to move to the next song and I return to the iPod app the time and track information will reflect the time and song that was playing when I started the other app! This is particularly noticeable in long files like audio books where you are listening to chapter 5 when you start the browser and go back to the ipod sometime during chapter 6 and the ipod still shows you at some point in chapter 5. Anyone else noticed this? I've also had it not remove the 'new' (blue dot) from podcasts unless I pause it then resume playing.

    I've seen both these issues when listening to podcasts. also, i've noticed that when this issue is occurring, fast forward sounds like it's seeking forward but when you let go of the button it resumes in the exact same spot from where you were before you push fast forward.

  • Alignment Issues between dreamweaver and browser

    Hi
    Hoping someone can help, i'm trying to learn how to make
    better sites with advanced tools like apDIV's but seem to be
    running into an alignment issue. When I make the html file in
    dreamweaver I seem to have to off set the images and div tags
    inorder for the site to show up aligned properly in firefox,
    explorer, etc. I'm thinking there might be a problem in the actual
    code causing this but am not good enough yet to find it or the
    problem, any ideas or guidence would be greatly accepted. below if
    the links work is the difference I see between dreamweaver and when
    its launched in a browser.
    DreamweaverScreen
    BrowserScreen

    > over a centered frame
    You are not using frames - that's a table.
    Yes - there's a way to do this, but it will involve your
    working in code.
    Make your page left aligned by removing any centering.
    Then position your layer so that it is properly located over
    the table.
    Change this -
    </head>
    to this -
    <style type="text/css">
    #wrapper { width:760px; margin:0 auto;position:relative; }
    /* 760px will display on an 800px screen maximized browser
    window without */
    /* horizontal scrollbars. */
    </style>
    </head>
    (you may need to adjust this width so that it's consistent
    with the width of
    your centering table)
    change this -
    <body ...>
    (the ellipsis represents any other attributes that might be
    mentioned in the
    body tag, and SHOULD NOT BE INCLUDED EXPLICITLY!)
    to this -
    <body ...>
    <div id="wrapper">
    and this -
    </body>
    to this -
    <!-- /wrapper -->
    </div>
    </body>
    and see if that helps.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "Vinx21" <[email protected]> wrote in
    message
    news:ge9t3e$92s$[email protected]..
    > thanks for the help osgood, I see now what my problem is
    and am just
    > wondered
    > if there was a way to place the absolute layer over top,
    in the right
    > position,
    or will have i have to remake one of the elements a
    > different way???
    >
    > thanks again, dave
    >

  • I cannot retrieve my emails on my Mac Book Pro operating on 10.7.3 Icloud was already workingit keeps asking for password and when i put correct password in it keeps asking for it again and again. This has just started today

    I cannot retrieve my emails on my Mac Book Pro operating on 10.7.3 Icloud was already workingit keeps asking for password and when i put correct password in it keeps asking for it again and again. This has just started today

    Though it's unlikely to be wrong if things were set up properly in the first place, as a check go to Mail Preferences>Accounts and check that the server setting for IMAP (incoming) is imap.mail.me.com (not just mail.me.com).
    Your next step either way would be to go to System Preferences>iCloud and sign out, then sign back in again. (You can ignore warnings about data disappearing - your calendars etc. will disappear when you sign out but reappear when you sign back in).

  • After I create a series of tabs, how do I save them so they remain in place when I open and close Firefox?

    I create tabs for google, netflix, aol, etc., but when I close and re-open Firefox, they have disappeared. How do I keep them always in place for faster navigation? Thanks

    Make sure that you do not use Clear Recent History to clear the <i>Browsing History</i> when you close Firefox.
    *https://support.mozilla.com/kb/Clear+Recent+History

Maybe you are looking for

  • 10.9.4 Cannot open new Finder windows

    Recently updated to 10.9.4 and now cannot open new Finder windows from Dock.  Can open one new Finder window from menu bar, but immediately crashes when opening a new tab. Have tried repairing disk, repairing permissions, deleting finder.plist from L

  • Macbook white to tv hd?

    I was wondering what kind of cord i would need to plug into from my macbook to my 46 inch hd tv.? Thank you for all your help

  • Get AD group membership doesn't work for global groups

    I want to pull the group membership for OBIEE directly from AD. This has been covered in many blogs and forums, no problem, I've found some user created functions - basically all of it uses DBMS_LDAP package methods with one exception that additional

  • Looping flash gallery?

    Hello, This forum has been priceless in the creation of my website! I never thought I would have been able to accomplish what I did! Now I am looking for a flash gallery like the one on the home page of this website: http://www.catoandpade.com.au/Hom

  • E6-00 Shuts down automatically

    I have purchased a E6-00 about 4 months back. This phone has a tendency of automatically shutting down. It often shuts down when I am using it. It always shuts down when I keep it idle for a while. I have visited Nokia care twice, once they restore t