Peter ... it works! Thank you very much!
--- In [email protected], Peter Baird <[EMAIL PROTECTED]> wrote: > > This may not be the best solution, but it works. > > Rather than placing your image in the application, place it in a lowest > level box. The image wont stretch then. So, something like this, with > paddings to replace the removed padding in the application tag: > > <mx:Application etc.... /> > > <mx:Style> > > Application { > paddingLeft: 0; > paddingRight: 0; > paddingTop: 0; > paddingBottom: 0; > } > > .myCustomBackground { > backgroundImage: ³assets/bg.jpg² ; > paddingLeft: 20; > paddingRight: 20; > paddingTop: 20; > paddingBottom: 20; > } > > </mx:Style> > > <mx:Box width=²100%² height=²100%² styleName=²myCustomBackground²> > > > </mx:Box> > > </mx:Application> > > > On 9/6/06 9:40 AM, "jameseisenlohr" <[EMAIL PROTECTED]> wrote: > > > > > > > > > > > I have a full-screen background image that is getting distorted. Is > > there a way to have the background image always display centered in > > its true size despite the screen size? The background image size is > > 1500 px wide by 1000 px in height. Another question is what are good > > dimensions for a background image in order to accommodate all screen > > sizes? > > > > Currently, I am using CSS to insert the background image: > > > > <mx:Style> > > Application > > { > > background-image: "assets/bg.jpg"; > > } > > </mx:Style> > > > > Thanks, > > > > James > > > > > > > > > 8888/ \8888® PETER BAIRD > 888/ \888 User Experience Consultant > 88/ / \88 Adobe Consulting | Adobe Systems, Inc > 8/ /8\ \8 275 Grove St. Newton, MA > / /888\ \ Office: 617.219.2126 > \8\ Cell: 617.803.6804 > -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/

