Having trouble embedding image with FB

Noob here.
I have a Photoshop file which I opened in Fireworks so I could export it as fxg. This is all I'm trying to do, is open a WindowedApplication with a background image in it.
FW exports an fxg file plus a folder with the png file in it. I put both of these in my graphics folder.
This is the whole code:
?xml version="1.0" encoding="utf-8"?>
<s:WindowedApplication xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"
xmlns:mx="library://ns.adobe.com/flex/mx"
xmlns:d="http://ns.adobe.com/fxg/2008/dt"
xmlns:graphics="graphics.*">
<fx:Declarations>
</fx:Declarations>
<!--<graphics:Background/>-->          This one returns FXGException errors (Error reading image). Commented out for testing purposes.
<s:BitmapImage source="@Embed('graphics/Background.fxg')"/>           This one gets transcoder errors.
</s:WindowedApplication>
I added the d namespace hoping that had something to do with it, but I learned that had no effect.
What is the problem here that I can't simply see an image in my window?

Working with local image in Flash Builder can be a little tricky. When you do this:
@Embed('graphics/Background.fxg')
It is going to look for the graphics folder, then file from your project root. This is okay, and you'll have it organized that way probably.
Your issue will come up when you try to debug/build your project since your builds go into the bin-debug or bin-release folder inside your project directory. These directories will also need the graphics folder with your files in it.
This can be bothersome and I usually just toss my artwork onto a server then package it up nicely when it's time to push another build.
Hope this helps [=
~dan

Similar Messages

  • I have a MacBook Air, OS 10.8.5 I am having trouble sending attachments with Mail. Even small (130K) files don't go. It tries to send then gives up. What can I do to fix this?

    I am having trouble send messages with attachments in Mail. Even small attachments (130K) Mail tries to send, then gives up and the message sits in my out box. How can I fix this?

    1. You need an external DVD drive.
    2. There are no Mac OS X applications or other software in the iTunes App Store.
    (116312)

  • HT204204 Having trouble to connect with bluetooth

    Why i having trouble to connect with bluetooth woth other smartphone? I  have already try to connect with bluetooth beetwen my iphone 4 with iphone 6 ? While my iphone 4 have already upgrade to ios 8

    never mind. I fixed it. After uninstalling and then reinstalling iTunes all start to work. Thanks anyways

  • There are text messages that I'm having trouble deleting.  With some of my text messages, I can swipe to the left and delete ... or press and hold, get more and delete to trash can icon. But there are some where neither will work. Can't delete. Help!

    There are text messages that I'm having trouble deleting.  With some of my text messages, I can swipe to the left and delete ... or press and hold, get more and delete to trash can icon. But there are some where neither will work. Can't delete. Help!

    But once again, I do not want to lose my other texts, app progress, and photos. I could sync the photos but i would still lose the app progress and texts. I would only restore if it was the only option left, but the other space, as already stated, isnt the main concern. The main concern is those 'deleted' texts. If they go, then a good size chunk of the other space goes. I know you CAN delete texts for good. It worked fine before. All i want to know is why its not working for me now, and how to fix it.
    I also know that when you delete texts on your iphone, they get marked for deletion, however they stay on your device (thats why they show up when you search for them.) then when you sync your device with itunes, the texts marked for deletion should disappear. When i synced they didnt disappear. Thats what i need an explanation/solution for. Why the texts marked for deletion didnt get fully deleted after the sync.

  • Seamless repeating pattern - using embedded images with clipping masks

    Hi forum,
    We struggle a bit creating a seemless repeating pattern that includes embedded images with clipping masks applied.
    Our pattern is a 550x550mm black square with various embedded inserted on top. All of these images have Clipping Masks applied to hide unwanted areas.
    These images are placed so they create a seamless repeating pattern and this includes areas that overlap the square.
    Once we create a swatch from this pattern the repeatable area becomes too big as it includes the unwanted areas hidden by the clipping masks.
    Because the repeatable area is now too big it's actually not repeatable.
    We tried various things in order to solve this issue. Pathfinder/crop to delete the unwanted areas in the images etc.
    None of them worked good enough.
    We though of just livetracing the images, but due to the complexity this is not an option.
    Do we really have to do our "cutting" in Photoshop or do you know any fancy tricks for issues like this?
    Appreaciate your insight
    Kenneth

    Kenneth,
    You may try the destructive deed, with the Clipping Mask selected:
    1) In the Transparency palette/panel dropdown list select anything but Normal (Multiply is fine),
    2) Object>Flatten Transparency, just keep the defaults including 100% Vector,
    3) Shudder.
    This should reduce the size to the Bounding Box of the Clipping Path.

  • Having trouble accessing internet with new wireless WRT54...

    Having trouble accessing internet with new wireless WRT54G. Used easylink to read existing router BEFSR41 which works great to westell modem provided by Verizon. When connect new router Easylink configures WRT54G but when trying to connect to internet...fails. All lites indicate good. Not using wireless device yet, just the wired ethernet. Router set up as DHCP.
    I keep going back to old router and works great every time. Help! 

    Thanks for response, however I tried setting unit to 192.168.2.1 (leaving DHCP) to no avail. I put my old unit (BEFSR41) back in and I'm back up. I need to sit back and decide which way to go on this. Perhaps it's defective and I should return it.

  • I am having trouble syncing photos with lightroom mobile. Lightroom (on computer) tells me that it's syncing but nothing appears on my I pad. Any comments?

    I am having trouble syncing photos with lightroom mobile. Lightroom (on computer) tells me that it's syncing but nothing appears on my I pad. Any comments?

    however when I try to sync my older ipod with it and upload some new music to it, Itunes keeps telling me that all the previous songs will be erased
    Yes, that's correct. If you don't have the songs that are currently on your iPod also in your new iTunes installation, they will be erased from the iPod if you sync it. Best to start afresh by first transferring all the music on your iPod back to your new computer/iTunes library.
    For iTunes version 7 or later, then you can transfer purchased iTunes store music from the iPod to an authorized computer by using the "file/transfer purchases from iPod" menu. Note that the maximum of 5 authorized computers applies here.
    Find out how to do that here.
    How to copy iTunes purchases from an iPod or iPhone to a computer.
    For all other non purchased content (your own CDs etc), check out the instructions/suggestions here.
    Music from iPod to computer (using option 2). This a manual method using "hidden folders" and although it works, it is a little more involved than other methods.
    Much easier ways are to use one of the many 3rd party programs that copy music from the iPod to the computer.
    One of the most recommended is Yamipod. This is a free program that transfers music from iPod back to the computer. However, it does not transfer playcounts/ratings etc.
    Other free programs are Pod Player, SharePod and Floola.
    If you want to recover just the structure of playlists from the iPod (and not the actual song files themselves), there's iRepo for Windows. which I understand has this feature along with all the standard features for these programs.
    iPodRip also has the feature enabling you to reconstruct playlists.
    There is also CopyTrans. This does preserve ratings/playcounts etc if those are important to you but this program is not free. It also supports video transfer.
    Once all the music is safely back in your new iTunes library, you can sync your iPod as normal.

  • Having trouble getting started with my new shuffle

    I am having trouble getting started with my new shuffle. any help?

    Hey there Feisty59,
    It sounds like you have a new iPod Shuffle, and want to know how to start using it. Here is a great resource for understanding how to use your iPod, and how to set it up and get music synced to it from iTunes:
    iPod shuffle User Guide
    http://manuals.info.apple.com/MANUALS/1000/MA1550/en_US/iPod_shuffle_4thgen_User _Guide.pdf
    If you have a different model of iPod Shuffle, choose yours from the following page and use that guide instead:
    Apple - Support - Manuals
    http://support.apple.com/manuals/#ipodshuffle
    Thank you for using Apple Support Communities.
    All the very best,
    Sterling

  • Having trouble burning images to cd, get error code 0x8002006E - what is it?

    Hello all, I am having trouble burning images to a cd, I get error code 0x8002006E - what is it?  I have an older MacBook Pro, OSX 10.6.8.  Help!

    You might also try SMC and PRAM resets:
    http://support.apple.com/kb/ht3964
    http://support.apple.com/kb/ht1379
    And you might try deleting the "com.apple.finder.plist" in your Library.
    Ciao.

  • I am having trouble logging in with my password on the macbook

    I am having trouble logging in with my password on the macbook, I know it's right and I just can't log in. Please help!!

    Reset password.
    OS X 10.7 Lion, 10.8 Mountain Lion, 10.9 Mavericks and 10.10 Yosemite
    Reset Password
    Start the computer,then press and hold down command and R keys to start into recovery partition.
    When you see the Apple logo, release the keys.
    Wait until  OS X Utilities window shows up.
    Move the mouse to the menubar at the top and click "Utilities", then select "Terminal"
    from the drop down.
    Terminal window will appear.
    Type in   resetpassword   and press enter on the keyboard.
    Leave the Terminal window open.
    Reset Password Utility window will open with Macintosh HD selected.
    Select the user account from the popup menu box under “Select user account”.
    Enter a new password.
    Reenter the new password for the user.
    Enter a hint.
    Click the "Save" button.
    Click  in the menubar and select Restart.
    Log in.
    If Keychain dialog box appears, select “Create New Keychain”.

  • I'm having trouble sending mms with my iPhone 3GS

    I'm having trouble sending mms with my iPhone 3GS

    This also happened to me after update to IOS 6. So probably it is cause your email outgoing stopped to work.
    So check your outgoing settings and you probably will solve the issue.
    Hope it will be helpful

  • I've reset my iPhone 3GS and I'm having trouble activating it with an old SIM card

    I've reset my iPhone 3GS and I'm having trouble activating it with an old SIM card
    I just would like to activate it so I may use it as an iPod I have the iPhone 4s now... HELP

    What trouble are you having?
    If there is an error message, what is the exact wording of that message?

  • Im having trouble saving images from photoshop to my samsung tablet any ideas

    im having trouble saving photoshopped imsges onto my samsung tablet any ideas ?

    I have no knowledge of the Android OS.  I do have an iPod and its OS iOS is not really comparable my Windows  OS.  The iPod does mount as a dive on windows and the iPod camera roll is accessible. The jpes images can be copied to my pc.  However the PC does not have access to the iOS file system even apple user don't have real access the iOS file system.   Image need to be synced between the iPod and PC through iTunes sync.  Itunes messes with your PC images and creates some sort of image database and syncs that database between PC and Apple mobile devices.  There are also apps that help you share file between PC and Apple mobile devices.  I have no idea how files are shared between PC Operating Systems platform versions and Android OS versions.  Photoshop may not be able to save to Android files system.  Photoshop Can not save to Apple mobile devices. Photoshop may be able to save to Apple's Mac unix file system through some form of network share.
    How does one share files between Android devices and PC OS devices?

  • Having trouble connect consistantly with websites, clear history then it works and an hour later, need to do the same thing (clear history to connect)

    Just purchased new laptop with Windows 8, loaded firefox for browser as have always used in other computers. Am having trouble accessing websites, for example when I go to my gmail gmail.com, an error comes up that it can't access the website, check connections. But if I go and clear history, includidng the cache, then close Firefox and reopen and then try it works. Then I'll move onto other things and go back and it still works. Not sure what is the trigger, but when I try to go back to my gmail for example.(as it happens on other sites as well, my banking, my facebook, etc) I get that error again, I then have to again clear history,...then everything works!!! It's very frustrating as I have to clear history at least a dozen times per day! What is happening!

    Certain Firefox problems can be solved by performing a ''Clean reinstall''. This means you remove Firefox and any leftover program files and then reinstall Firefox. Please follow these steps one by one:
    #Download the latest Desktop version of Firefox from http://www.mozilla.org and save the setup file to your computer.
    #After the download finishes, close all Firefox windows (click Exit from the Firefox or File menu) and confirm all upcoming messages.
    #Now, uninstall Firefox by following the steps mentioned in the [[Uninstall Firefox from your computer#w_uninstall-firefox|Uninstall Firefox]] article.
    '''IMPORTANT:''' On Windows, the uninstaller has the option to remove your personal data and settings. Make sure that you do '''not''' check this option; otherwise all of your bookmarks, passwords, extensions, user customizations and other Firefox [[Profiles|user profile data]] will be removed from your computer.
    After uninstalling Firefox on Windows, delete the "Mozilla Firefox" program folder, located by default in one of these locations:
    * '''(On 32-bit Windows)''' ''C:\Program Files\Mozilla Firefox''
    * '''(On 64-bit Windows)''' ''C:\Program Files (x86)\Mozilla Firefox''
    #Go to the Windows Start menu and click on "Computer".
    #In the Explorer window that opens, double click Local Disk (C:) to open the C:\ drive.
    #Find the "Program Files (x86)" folder or "Program Files" folder.
    #* On 32-bit Windows, double-click the '''Program Files''' folder to open it.
    #* On 64-bit Windows, you will see a "Program Files (x86)" folder AND a "Program Files" folder. Open the '''Program Files (x86)''' folder.
    #Look for a '''Mozilla Firefox''' folder. If you find one, right-click it and select ''Delete'' and confirm that you want to move the folder to the Recycle Bin.
    Now, go ahead and reinstall Firefox:
    #Double-click the downloaded installation file and go through the steps of the installation wizard.
    #Once the wizard is finished, choose to directly open Firefox after clicking the Finish button.
    Please report back to see if this helped you!

  • Anyway NOT to send images as an inline/embedded images with Mail

    Hi, I would like to know is there anyway or any Apps out there that would let me email pictures from the iPhone that is not inline/embedded images. This is starting to become an issue because at work Lotus Notes does not allow the receiver to save images that I send from the iPhone onto their computer because the images does not appear in an account. Instead the images are inline/embedded.
    If anyone have a solution to this without using additional programs for the user with Lotus Notes that would be great. Thanks!
    Message was edited by: tacsniper

    I have no idea, but a photo attached to an email with the iPhone's Mail client is not embedded in the message body. A photo attachment that appears inline or viewed in place in the message body is not the same as being embedded. Although the Mail.app on a Mac and the iPhone's Mail client displays photo/image attachments inline or viewed in place within the body of the message for received and sent messages, it depends on the recipient's email client if such an attachment appears inline or viewed in place when the message is opened, or if such an attachment must be opened separately to be viewed. Either way, it is sent as a true attachment to the message.

Maybe you are looking for

  • Billing tab of BP are not populated in the sales order automatically

    Hi Business Partners Billing Tab details like customer pricing procedure, currency, price group, Customer group etc are not populated in the Sales order automatically? I have checked the pricing procedure determination also. Thanks

  • How to set image size in d2k6i forms

    I have upload an image in forms6i, in oracle apps this code runs smoothly when images size is croped using microsoft picture manager. and those images are not croped or size more than 50kb it shows frm-47100 can not read image file \\........... is t

  • Material Price on SO should be based on PO price

    Hi All I working with User on a requirement. We send Outbound PO to system and that triggers SO in receiving system. But the Material price on SO should be based on PO price. Please suggest. Regards Edited by: Swapnika Gudujada on Feb 15, 2011 6:26 A

  • Check Order (budget) not has not been process

    Hiii, Is there any standard SAP report which can i use to check the order(budget) which not been process. The reason why I'm having this problem because of when i creating purchase order, system give the information that the budget has been exceeded.

  • [SOLVED]Nano can't find some files to edit Locate can't find ...

    Hi! You've maybe heard this thousand times before, but I'm new to Arch Linux and Unix commands, so this is maybe stupid question and bla bla bla... but that's why there's Newbie Corner, right? I'm running Arch with LXDE on quite old and tired HP desk