Setting a background Image on Panel through CSS

Ask a Question related to Macromedia Flex General Discussion, Design and Development.

  1. #1

    Default Setting a background Image on Panel through CSS

    Hey Guys,

    I've yet to find a 'decent' tutorial or list of examples on using an external
    css file in combination with a flex app.
    Although that might be linked to me being a nub :)
    Anyway, I've searched the live docs quite extensively I think and even read
    the pages on css on the resource center livedocs thingie.

    So, here's my problem:
    I'm trying to set a certain .jpg I have as a background for ALL my Panels in
    my application.
    So what I try to do is in my .css file I set this:
    [Q]
    Panel{
    background-image:"images/camo.jpg";
    }
    [/Q]

    Although, this for some reason doesn't load or work.
    To be 100% complete, I'm using the same code on my Application in the same
    ..css file and that does load without problems.
    If I point towards the same image as 'backgroundImage' directly in my mxml
    file it works...

    Any help appreciated :)

    regards,
    Pieter

    PieterBosman Guest

  2. Similar Questions and Discussions

    1. Help - Setting Image as Background
      Setting Image as Background using HTML I'm trying to place an image as the background in an HTML web page. I've set the background inside a...
    2. ID CS: Pages Panel - One spread transparent background?
      In the pages panel, all the page/spread icons show a white background. However, one icon of a 2-page spread clearly shows a transparent background. I...
    3. Overiding Language setting from String Panel
      Hello all, The strings panel is definetly a godsend for developers who are required to publish in multiple languages, however I am trying to...
    4. Background color setting
      I have the 30 day trial package of Elements 2. I just installed it. My Background color is green and I can't change it. When I power up the program,...
    5. setting MIAW to background in exe file
      Hello, I have 2 movies, opening as a miaw within the other, i have the following call to set the MIAW to background:...
  3. #2

    Default Re: Setting a background Image on Panel through CSS

    Forcing a recreation of my swf file helps :)

    So stuff works, I'm happy!

    Have a nice day!
    PieterBosman Guest

  4. #3

    Default Re: Setting a background Image on Panel through CSS

    Did you find something to load the images please help me ive been looking through all the web i dont know whats wrong it should have worked right?
    Unregistered Guest

Posting Permissions

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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139