Results 1 to 7 of 7

Thread: Flex 4 How to set background image in Vgroup

  1. #1
    Join Date
    Apr 2010
    Posts
    237

    Flex 4 How to set background image in Vgroup

    I have encompassed using v flex 4 vgroup to set background image. Additional than image was not display. Subsequent to upgrading a project from Flex4 Beta1 to Beta2, I have originated that the background-image style is no longer supported on Halo apparatus. Additional than this is not using a spark skin, immediately a standard Halo apparatus. It's not too hard to copy the defaulting skin and add a background to it. On the other hand, you be supposed to in addition be capable to utilize the previous Halo skin to get the backgroundImage maintain, if that's what you prefer. I believe you desire to tell your VBox to utilize mx.skins.halo.HaloBorder.

  2. #2
    Join Date
    Apr 2009
    Posts
    570

    Re: Flex 4 How to set background image in Vgroup

    The groups are not skinnable containers so do not have contain the capability to set a background image (you might always expand group if you required to). You would be superior of using a skinnable container and set its layout to perpendicular. To set a background image modify the skin and add the image. Strange I presently resorted to making a Skin accomplishment and applying it to a SkinnableContainer. I was compiling using the Beta 2 release of Flex 4 as well. Extremely strange certainly.

  3. #3
    Join Date
    May 2009
    Posts
    529

    Re: Flex 4 How to set background image in Vgroup

    I am working with the beta 2 build that was released within the most recent few weeks. Build 4.0.0.253292. You be able to upgrade your build if you are not working with the most recent, additional than you be able to in addition try to clean the project. It might presently be getting confused. In addition create certain your browser is not caching the swf, which sometimes occurs when the file size does not change considerably.

  4. #4
    Join Date
    May 2009
    Posts
    640

    Re: Flex 4 How to set background image in Vgroup

    The Peters BorderContainer technique runs for me. Itís disconcerting as itís not able to be seen in Design Mode, immediately when you run it. I guess BorderContainer is the Flex 4 corresponding to mx:Canvas. The entire I am trying to center my labels underneath my image inside my VGroup. The labels are aligning to left at present and it seems similar to HorizontalAlign is not running on spark component. Anybody be familiar with how to fix it.

  5. #5
    Join Date
    May 2009
    Posts
    736

    Re: Flex 4 How to set background image in Vgroup

    This runs well at present. At present I am able to get repeating background images unswervingly in the code as well as in my CSS style sheets. This looks superior and helps me a lot as there are lots of occasions for me using this. I have comprised gotten used to having repeating image backgrounds in HTML and missed that in Flex 3. This characteristic alone makes shifting to Flex 4 worthwhile.

  6. #6
    Join Date
    May 2009
    Posts
    1,070

    Re: Flex 4 How to set background image in Vgroup

    If you learn how to program using ActionScript 3, you determine to almost certainly integrate large amounts of ActionScript code into your Flex projects to make available multifarious event handling. In the meantime, it is probable to make available simple event handlers in Flex by embedding an extremely diminutive amount of ActionScript code in your Flex code. The defaulting vertical layout occurs when the layout characteristic is not specified as is the case in this Application.

  7. #7
    Join Date
    May 2008
    Posts
    823

    Re: Flex 4 How to set background image in Vgroup

    The MX components in Flex 4 permit you to utilize Spark skins, and Adobe uses Spark skins by defaulting so that MX and Spark components in the similar submission look similar to they belong together. Perceptibly, Spark skins hold up or maintain dissimilar functionality than Halo skins, and at present you are expected to tweak the skins if you desire them to look dissimilar (except for a number of simple color styles). Considering how creative designers are able to be, this is a much superior approach than using only CSS for the reason that it's way additional flexible, additional than it catches people familiar by means of the Flex 3 workflow by surprise.

Similar Threads

  1. How to set different background image for HTC Incredible S
    By Purujeet in forum Portable Devices
    Replies: 6
    Last Post: 29-11-2011, 09:54 PM
  2. Background image for xdm
    By Maya Angelou in forum Windows Software
    Replies: 4
    Last Post: 22-04-2010, 10:04 AM
  3. TD background image
    By Chrisch in forum Software Development
    Replies: 3
    Last Post: 18-11-2009, 12:06 PM
  4. How to put an image as MySpace background?
    By Tobius in forum Customize Desktop
    Replies: 2
    Last Post: 30-03-2009, 11:29 AM
  5. Background image on a site
    By Conner in forum Software Development
    Replies: 4
    Last Post: 27-02-2009, 10:33 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •