After embeding the background, Cant see Text on top

Hello,
I embed the background with an image and now I want to show
some text and some link bar on top. I am unable to see anything on
top of the background image. Please help.
Here is my code.
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="
http://www.adobe.com/2006/mxml"
layout="absolute" xmlns:local="*"
creationComplete="init()">
<mx:Script>
<![CDATA[
import mx.containers.Panel;
import mx.core.BitmapAsset;
[Embed(source='MyImages/background.gif')]
public var bg:Class;
import mx.core.UIComponent;
private function init():void
var s:Shape = new Shape();
var u:UIComponent = new UIComponent();
u.addChild( s );
this.addChild( u );
var bd:BitmapData = new bg().bitmapData;
s.graphics.beginBitmapFill( bd, null, true );
s.graphics.drawRect(0,0, 3500, 3500); // huge
s.graphics.endFill();
]]>
</mx:Script>
<mx:Label text="School For Girls" fontFamily="Times New
Roman" color="#ffffff" fontSize="31" bottom="150"
horizontalCenter="22"/>
</mx:Application>

If you are using Flex builder then from the Design view click
on the background to see its properties in the right pane. Then
select Alphabetical View to see all the properties. There you
should see the backgroundImage.
OR use this
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="
http://www.adobe.com/2006/mxml"
layout="absolute">
<mx:backgroundImage>
@Embed(source='file:///C|/xxxxxxx.jpg')</mx:backgroundImage>
</mx:Application>

Similar Messages

  • How to color the background of a text line in mail

    How to color the background of a text line in mail
    The forum has a message dated 2005 that this cannot be done, has the recent OS made this a feature.
    I still caanot seem to see any where it is available.
    Thanks
    Greg

    greg1424 wrote:
    Does pages do that?
    Yes.
    I also have Office for MAC but rarely use it as it is too cumbersome for me.
    Microsoft Office does it also.  So does Libre Office, Open Office and just about any full function word processor app.
    Dan

  • I want to increase the ringer volume but not the background volume (ie texts, emails, etc)

    I want to increase the ringer volume but not the background volume (ie texts, emails, etc)

    nigelb999 wrote:
    Can anyone shed some light as to why it's not possible to adjust the ringer volume at the lock screen? Even though it's possible to adjust the volume during music playback and responses from Siri, etc.
    Cannot answer that question. That is a decision made by Apple.
    nigelb999 wrote:
    If there was a profile app available in the app store that allowed me to automatically set different volume levels at different times of the day it would be great - particularly if the app didn't require me to jailbreak the phone.
    There would not be an app like that, as they would not have access to the API. You can provide feedback to Apple if you would like to see this enhancement at http://www.apple.com/feedback and click on the appropriate link.

  • The recipient cant see "middle of reply or typing" bubble in imessage. Could it be that I am using iOS 8 and they are not?

    The recipient cant see "middle of reply or typing" bubble in imessage. Could it be that I am using iOS 8 and they are not? Has any of your friends pose this as a minor problem? Is there a setting that I didn't enable?

    ''rojere [[#question-1055991|said]]''
    <blockquote>
    i try to keep my thumb palms off the mouse pad when i am typing but every now and then my screen resizes larger or smaller until i take my left palm off the keyboard base its only when my left palm is resting on the base next to the touch pad. i type pretty fast so it gets annoying and yes it also jumps screens or reverts back to previous message and i have to choose ctrl z to undo and get back to my message i was typing... it also switches tabs on me as well... not sure why my palm being on the left of the keypad on the base should effect anything but it does after a while. and i have to stop what i am doing...and go to the firefox menu and change the screen size back down to 100% sometimes it goes up to 200-300 other times it goes down to 70-80% i find it annoying i i wish there was a way to turn off the screen resize in the setup panel. if its just left to be 100% i am happy with that... i don't need it to be bigger or smaller... there should be a way to LOCK it down... i understand that there are people out there with eye problems and needs to have the screen size increase using the + or - but there should be a lock so it just stays no matter what is happening on my keypad or touch pad or base of the pad... that screen size will not increase or decrease. unless i turn off the lock... perhaps this is something they can implement in the next version or do a quick update of the browser
    </blockquote>
    sorry that is all greek to me thanks for attempting to explain what you were trying to explain sorry i just not tech person to be able to understand or where to begin ... have good day and thanks for again trying

  • Read Error logs after running the background jobs

    Hi,
    How to read the error logs after running the background jobs. In our scenarion we are running the COHV transaction to release the production orders in background. But we are not finding the error logs after background job. We would like to read the error logs and correct for further processing.
    Kindly suggest.
    Thanks & Regards,
    N. Laxman

    Hi
    you can check the  back ground jobs defined by any user in SM37 and where you can see the spool and job logs as well.
    plz check in your case and revert back
    Regards
    Anupam Sharma

  • I shared my project and saved it as .mov but when i reopen the fcp the project is one big clip, and now i cant re-edit the video, cant see all the clips, just one big clip,,,pls help, i need to make some changes to the project..thanx

    I shared my project and saved it as .mov but when i reopen the fcp the project is one big clip, and now i cant re-edit the video, cant see all the clips, text's, effects, etc..... just one big clip,,,pls help, i need to make some changes to the project..thanx

    Hi Stephen, thanx...
    Yes, we are talking about FCP X...this is the thing:
    I worked on a project a few days ago and went to share - export movie.
    Today, i opened the FCP again, to make some changes, and when i enter to the project, it shows me as one big clip.....i dont see it says compound clip....and i tried anyways pressing break appart clips...but nothing....could it be that i made it compound before exporting it..? if so how can i recover the un-compound version >?
    I tried to import the saved .mov file, but it opens the same....as one long clip...
    Pls help...thanx.

  • I just updated my iPhone 4 to iOS6.  In the process, I ran into a problem and had to restore factory settings.  After syncing the phone, I see that 218 apps need to be updated. When selecting "update all," it says "manage local device storage usage." How?

    I just updated my iPhone 4 to iOS6.  In the process, I ran into a problem and had to restore factory settings.  After syncing the phone, I see that 218 apps need to be updated. When selecting "update all," it says "Cannot Download.  There is not enough available local storage to download these items.  You can manage your local device storage usage in Settings."
    How can this be the case when I haven't changed any apps from before updrading to iOS6, and I don't have any music yet on the phone?  Why is it telling me there is not enough local space?

    Hi RileyAvaCadenRiver,
    If you recently updated your iPhone to iOS7, you will need to update iTunes on your computer to iTunes 11.1 or newer for it to correctly recognize the iPhone. You may find the following link helpful:
    Apple: iTunes 11.1.1
    http://support.apple.com/kb/DL1614
    Regards,
    - Brenden

  • Changing the background of a text field in adobe interactive forms

    Hello All,
    Is there any way to change the background colour of text field in interactive form dynamically.??
    Thanks,

    Naresh,
    Change the language to JavaScipt in Script Editor of LiveCycle Designer and use the following code to highlight the area of TextField where R,G,B means that you have to give the RGB values of the color you want.
    <YourTextFieldName>.border.edge.color.value = "R,G,B";
    For eg:- If you have a textfield with name TextField1 then this will highlight the TextField1 area in red color.
    if ((TextField1.rawValue==null) || (TextField1.rawValue==""))
      TextField1.border.edge.color.value = "255,0,0";
    You can use this on exit event of Textfield1 or at the submit button where you check the form data.
    Chintan

  • How to only remove the background pic in text mess...

    Hello there
    I'm a pround owner of a Nokia E52 now and as any enthusiastic new buyer, I tried changing the theme & stuff. I came upon some very cool themes (in tehkseven.net), but all their problem is that the background picture interferes with my text messaging. I mean the colors are so varied that I can't keep the background picture during text messaging, whatever color I choose, it might be unreadable when I reach a certain area of the picture.
    I am looking for a way to ONLY disable the background picture (wallpaper) in the new text message section, not anywhere else. Is that even possible?

    you can  select a plain theme have a look at sites such as zedge.com themes will interfeer depending on the colour content and placement of certain colours that are getting in the way of the visible field of text
    If  i have helped at all a click on the white star below would be nice thanks.
    Now using the Lumia 1520

  • I recently received an email telling me to delete and redownload the current season of Dr Who. But after deleting the episodes I see no option to redownload them

    I recently received an email telling me to delete and redownload the current season of Dr Who. But after deleting the episodes I see no option to redownload them.
    Dear iTunes Customer,
    Thank you for downloading the TV show Doctor Who, Season 7, Pt. 2. Unfortunately, the episode you received may have had issues with the audio. We have corrected the problem and a new copy is available to download, free of charge. To receive the new version, please re-download the title from iTunes.
    Before downloading the new version, remove the current version:
    1) Open iTunes on your computer.
    2) Click on your TV show library.
    3) Click the TV show to select it, and press the Delete key.
    4) Click Delete TV show and then click Move to Trash.
    To download the new version:
    1) Sign into the iTunes Store.
    2) Click Purchased on the right side in the iTunes Store under the QUICK LINKS section.
    3) Click on TV Shows and select the TV Season you want to download.
    4) Click the Cloud download icon next to the episode you wish to download.
    You will now have an updated version of the TV show in your TV shows Library.
    To delete and download the TV show from other devices, see http://support.apple.com/kb/HT2519.
    Sincerely,
    iTunes Store Team
    I only see the otion to download the most recent episode.

    That was it.  Thight I had deleted them all.
    Thanx

  • After upgrade the background jobs

    Dear all,
    We are Upgrading the PRD server.after after upgrade the background job (user specific ) jobs are mannully started are atuomatically started.I check the job btctrns2.
    The user specfic jobs are not started.
    Kindly advise us to start automatically.
    regards
    guna

    Hello Guna,
    Please find below a link to Background Jobs related information
    (if click does not work, copy and paste it in your browser)
    http://help.sap.com/erp2005_ehp_03/helpdata/EN/51/c0e07d569a11d189200000e8323d3a/frameset.htm
    I hope this is useful to you in your work
    Best Regards
    Sitaraman

  • Change the background of a text field when a checkbox is checked?

    Hi,
    I'm new to Adobe JS, having done some browser scripting previously.
    I'm making a form in which I would like to change the background of a text field to bright yellow (RGB code 220,220,0) when a corresponding checkbox is checked?
    I have a checkbox named chkCD56, with an option value set to 1.
    I have a text field named CD56 with a transparent background.
    Can someone help me with the JS code?
    Thanks.

    Hi
    To make your number filed in Red :
    Right click on the field and go in format field click on Font tab and go in Color formula editor and give the following formula :
    If Sum(fieldValue} < 0 Then CrRed else CrNoColor
    Now go in Style formula editor and give the following :
    if sum() < 0 then Critalic
    This will make your field red and italic when it is less than 0
    Thanks,
    Sastry

  • How can I change the Background in a text-field into lets say grey?

    I created a text field and now I would like to not have the background in white. I did not figure out yet how I can do this. Also the help program did not help. Does anybody know how this works?
    Thanks a lot. Many greetings!

    Oh.. all right, forget it.. I just found it myself.... just looking a little more... Thanks for your help anyway....

  • How can I change the background color in text box using RGB format

    Can some one tell me if Mac Pages (version 5.0) allows users to customize the background color of a text box using RGB color format?  It appears that the text color can be changed using RGB but background color is limited to a few standard colors.   Thanks

    They are just sample swatches, use the Color Picker to choose anything you want.
    Peter

  • How do I change the background color of text in Pages quickly?

    I know that I can highight the words with my cursor, then press the little "a" in the toolbar, then select the color I want. However, I have to hihglight a ton of separate sentences in documents that have a few hundred pages.
    Is there a shortcut for changing the background behind the words to a specific color? Or is there a way to do it with just one click? I don't want to have to carefully select the color I want each time. I just need one color, and I'd like to be able to set it easily.

    Thanks, didn't even know about the styles drawer.
    In summary for others...
    Perform the background change on some text, and put the cursor on the text (click the text).
    Command+Shift+T to bring up style drawer.
    Click and hold the "+" button and click on "Add new Character Style" from selection.
    Click on the arrow beside "Include these character attributes."
    Deselect all of the attributes except for the "Fill."
    Change the name to "Highlight Yellow" or whatever.
    Then whenever you click on it in the styles drawer, it will apply the fill.

Maybe you are looking for