Images in design mode don't draw their source from the correct directory?

I'm using flex builder 3 in os x. I've only recently started
using flex but this seems pretty odd. In design mode I drag an
image onto a panel. It starts out with no source, so of course it's
a broken image icon.
If I put my image into the 'bin' directory then I have to
enter the source of the image as 'bin/image.jpg' to make it show up
in the design view. But then when I 'Run' the project the image is
broken.
If I enter the source as 'image.jpg' then it doesn't show up
in design mode, but it does show up when I run the project. Thus it
appears that in design mode the 'current' directory is the main
project directory whereas when starting the project the main
directory is the 'bin' directory where it creates the swf.
The only way I can make this work reasonably well seems to be
to put the image in both the main project AND in the bin directory
by hand. Of course that's a maintenance nightmare.
What am I SUPPOSED to do? (other than embed the image in the
swf)

I always have this damn problem and I'm getting very tired of
it. And I AM embedding my images using [Embed] - same situation
still. I'm doing exactly what Adobe says to do for embedding images
here:
http://www.adobe.com/devnet/flex/quickstart/embedding_assets/
Still, it finds the assets when I run, but all I get is
broken images in design mode.
Design mode is broken in FB3. I don't remember what crazy
things I tried to get past this problem in the past, but I'm worn
out troubleshooting design mode path problems... image assets,
fonts, css, whatever. There is a bunch of threads in this forum
with people having similar issues, with no responses. I've spent
alot of time researching and troubleshooting these kinds of
problems - probably hours worth.
Adobe, what is the story with Design mode?

Similar Messages

  • Pie Charts causing Design mode to give warning and not preview the app

    I am using the final release. I have pie charts in my app. I
    also have column charts. Both are fed data the same way. Both work
    as expected when i build the app, and there are zero errors in the
    app. however, i was experiencing an issue in flexbuilder where in
    design mode, a vague warning was issued and the preview could not
    be displayed (blank except for very gernal 'outlines' of the layout
    and controls)
    I narrowed the problem down to the pie charts. Is anybody
    experiencing this problem? The application worked as expected, and
    previewed as expected in Design mode when previewd/built in Beta
    3.

    Hi masavran,
    For this issue, it's related to the render environment (browser/application). On Reporting Services side, we don't have any properties to change the resolution for chart to make it smoothly. We suggest you post this thread on Visual Studio forum
    http://social.msdn.microsoft.com/Forums/vstudio/en-US/home?forum=visualstudiogeneral&filter=alltypes&sort=lastpostdesc
    Or the forum of corresponding browser.
    Best Regards,
    Simon Hou

  • When I try to sync photos, I followed all the steps, picked one folder.  When I hit "apply" I get this error message: Are you sure you want to remove 30 apps from iPad.  This will delete these apps and their data from the iPad. What have I done wrong

    When I try to sync photos or music, I followed all the steps, picked onle folder, not the whole library.  When I hit "apply" I got this message:
    Are you sure you want to remove 30 apps from iPad.  This will delete these apps and their data from the iPad" What can I change to just download the photos and not interfere with the apps?
    (By the way, the memory is not even one quarter full)
    Thanks for your help - Pat

    I have the same problem.  I updated my mac to 10.5, which then had me update apps like itunes, etc. then it wanted me to sync my purchased music to my ipad before i updated the ipad...which worked ok. then when i was syncing the photos i got the same message when i hit "apply" asking are you sure you want to delete the 12 apps from the ipad -  clicked "no" and brought me back to the original screen. Got the same message when trying to move them from the hard drive to the ipad.  WHat is going on and how do I correct this? Thanks

  • I have 2 Macs - an iMac that holds my entire iPhoto library and a Mac Book Pro that I use to hold a subset of the main library - how can I transfer photos and their metadata from the main library of the iMac to my Mac Book?

    I have 2 Macs - an iMac which holds my main iPhoto library and a Mac Book Pro which holds a subset of the library. How can I transfer photos and their metadata from the main library to the smaller 1 on the Mac Book Pro?

    Link the two Macs together and use iPhoto Library Manager
    Regards
    TD

  • In list view: Why don't searches include results from the Collections field? Why won't the Collections column sort properly?

    In list view: Why don't searches include results from the Collections field? Why won't the Collections column sort properly?

    I create a new index on column2, (INDEX_N3)
    and change SQL to
    select 1 from table T1 where
    T1.COLUMN_002 = '848K 36892'
    This time INDEX_N3 will be used.
    but change SQL to
    select 1 from table T1 where
    T1.COLUMN_002 = '848K 36892'
    and T1.COLUMN_004 = '1000'
    The explain plan will show full scan.
    Why?
    Thanks.

  • Just updated my iMac to OS X Yosemite and my Photoshop will no longer open. Pop up message informing Some of the application components are missing from the Application directory. Please reinstall the application. I have the pay monthly package and don't

    Just updated my iMac to OS X Yosemite and my Photoshop will no longer open. Pop up message informing, Some of the application components are missing from the Application directory, Please reinstall the application. I have the pay monthly package and don't know where to start.

    Do as it says: Reinstall the program. Run the cleaner tool and let CC app do the magic.
    Use the CC Cleaner Tool to solve installation problems | CC, CS3-CS6
    Mylenium

  • [svn] 4694: Don't remove text lines from the container if it isn' t the container the lines were added to.

    Revision: 4694
    Author: [email protected]
    Date: 2009-01-27 14:35:21 -0800 (Tue, 27 Jan 2009)
    Log Message:
    Don't remove text lines from the container if it isn't the container the lines were added to. When there is a state change the displayObject can be switched out from under the TextGraphic and TextBox.
    QE Notes: need to add tests - will attach my test program to bug
    Doc Notes:
    Bugs: SDK-18923
    Reviewers: Gordon
    Ticket Links:
    http://bugs.adobe.com/jira/browse/SDK-18923
    Modified Paths:
    flex/sdk/trunk/frameworks/projects/flex4/src/mx/graphics/graphicsClasses/TextBlockCompose r.as
    flex/sdk/trunk/frameworks/projects/flex4/src/mx/graphics/graphicsClasses/TextFlowComposer .as

    Yup, you guys pointed me in the right direction.
    I changed my adjustmentListener to the following:
    JScrollBar scrollBar = (JScrollBar) e.getSource();
    int endLoc = document.getLength();
    try {
        Rectangle end = outputArea.modelToView(endLoc);
        if (end != null) {
            int n = scrollBar.getValue() + scrollBar.getVisibleAmount();
            boolean locked = (end.y >= n && n <= (end.y + end.height));
    } catch (BadLocationException ex) {
    }By comparing scrollbar position with the visible rectangle of the end of the document, I can now easily tell if the user has moved the tracker back or not.
    To go to the next step of automatically pausing scrolling whenever the user is moving the slider back, I also had to disable the automatic scrolling performed by DefaultCaret. Because there was no way to tell if the user was scrolling or if the output was adjusting from the adjustmentListener, I also had to flag whenever I was autoscrolling.
    The end result is a JTextPane that can be appended to at all, and locked by the user by using the slider. If new data arrives, the window is not scrolled, and any text selection the user has is not cleared. Perfect!

  • Prompt if you please, to me are necessary programs making it possible to draw off music from the network VK, program- analog Ward, program- analog of adob Flesch pleer. if there are free, the thanks a lot

    prompt if you please, to me are necessary programs making it possible to draw off music from the network VK, program- analog Ward, program- analog of adob Flesch pleer. if there are free, thanks a lot

    Hi Christoffer,
    Thanks for the reply, excellent information! I was a bit struggling with the availability of the tokenGroups attribute, but your info makes it pretty clear.
    Do you also happen to have experience with the LDAP_MATCHING_RULE_IN_CHAIN method to retrieve nested groups? It seems to perform pretty well, retrieves all nested groups using the memberOf attribute and works on all AD environments (W2K3 SP2 or higher).
    Richard Mueller did a performance test using both methods:
    http://social.technet.microsoft.com/Forums/fr-FR/f238d2b0-a1d7-48e8-8a60-542e7ccfa2e8/recursive-retrieval-of-all-ad-group-memberships-of-a-user?forum=ITCG
    User with 14 groups:
    Method                      Groups   Ave. (10 runs) 1 standard deviation
    LDAP_MATCHING_RULE_IN_CHAIN    11     0.1664 sec.   +/- 0.0325 sec.
    tokenGroups                    13     0.0895 sec.   +/- 0.0038 sec.
    Recursive memberOf             11     0.0774 sec.   +/- 0.0021 sec.
    User with 308 groups:
    Method                      Groups   Ave. (10 runs) 1 standard deviation
    LDAP_MATCHING_RULE_IN_CHAIN   305     0.2664 sec.   +/- 0.0151 sec.
    tokenGroups                   306     1.2147 sec.   +/- 0.0271 sec.
    Recursive memberOf            305     1.2813 sec.   +/- 0.1190 sec.

  • Why does apple allow apps in the App Store hijack your Internet when certain websites? Why doesn't apple remove their products from the App Store?.

    Why does apple allow apps in the App Store hijack your Internet when certain websites? Why doesn't apple remove their products from the App Store?.

    Apple saw it as their responsibility since the redirection took me to the App Store. They assisted me in stopping the redirection which is occurring on many peoples iPhones. It's a have java script problem that adking is using to get you to buy their games. The websites work normal and then all of the sudden the website is taken over by adking.com.  You can no longer use the website as it immediately takes you to the App Store without ever showing a popup to cancel the redirection. They were very helpful fixing the problem should others experiencing this specifically with adking.com.
    No need to get defensive. I'm not the only one experiencing the problem Apple said.

  • Iconic buttons in design time ... Is there any way to take their icons from the jar or at least from gif files?

    I've put my button icons in a signed gif, and they work fine at runtime.
    The problem is at design time, I can't get to see their icons properly.
    I have to convert the gifs to ico and place them in a folder referenced by the old UI_ICON registry variable.
    Also, as the gifs are 16x16, they are cropped in design time, because I see them as if they where stretched to 32x32 size.
    At least it would be enough if I could place the gifs directly somewhere, without converting to ico.
    It seems as if oracle had not put any development work in the builder, which is like a direct port from the 6i c/s version.

    Since you didn't mention exactly which Forms version you are using, I will guess and assume it is one of the many versions after 6.0.8.  The Forms Builder 9.x+ supports ico, jpg, and gif files.  It will not however read them from a jar.  Therefore, you will need to extract them into a directory as defined by UI_ICON.  Also, the files will need to be of the same type (gif, jpg, ico).  Mixing formats is not recommended or supported.  The format you choose can be defined in UI_ICON_EXTENSION
    So for example in your Registry you might have something like this:
    UI_ICON = C:\myImagesDirectory
    UI_ICON_EXTENSION = gif
    Since "gif" is the default, you do not need to set this if using "gif" files.

  • Need help to draw a graph from the output I get with my program please

    Hi all,
    I please need help with this program, I need to display the amount of money over the years (which the user has to enter via the textfields supplied)
    on a graph, I'm not sure what to do further with my program, but I have created a test with a System.out.println() method just to see if I get the correct output and it looks fine.
    My question is, how do I get the input that was entered by the user (the initial deposit amount as well as the number of years) and using these to draw up the graph? (I used a button for the user to click after he/she has entered both the deposit and year values to draw the graph but I don't know how to get this to work?)
    Please help me.
    The output that I got looked liked this: (just for a test!) - basically this kind of output must be shown on the graph...
    The initial deposit made was: 200.0
    After year: 1        Amount is:  210.00
    After year: 2        Amount is:  220.50
    After year: 3        Amount is:  231.53
    After year: 4        Amount is:  243.10
    After year: 5        Amount is:  255.26
    After year: 6        Amount is:  268.02
    After year: 7        Amount is:  281.42
    After year: 8        Amount is:  295.49
    After year: 9        Amount is:  310.27
    After year: 10        Amount is:  325.78
    After year: 11        Amount is:  342.07
    After year: 12        Amount is:  359.17
    After year: 13        Amount is:  377.13
    After year: 14        Amount is:  395.99
    After year: 15        Amount is:  415.79
    After year: 16        Amount is:  436.57
    After year: 17        Amount is:  458.40And here is my code that Iv'e done so far:
    import javax.swing.*;
    import java.awt.Color;
    import java.awt.Graphics;
    import java.awt.Graphics2D;
    import java.awt.RenderingHints;
    import java.awt.event.ActionEvent;
    import java.awt.event.ActionListener;
    import java.lang.Math;
    import java.text.DecimalFormat;
    public class CompoundInterestProgram extends JFrame implements ActionListener {
        JLabel amountLabel = new JLabel("Please enter the initial deposit amount:");
        JTextField amountText = new JTextField(5);
        JLabel yearsLabel = new JLabel("Please enter the numbers of years:");
        JTextField yearstext = new JTextField(5);
        JButton drawButton = new JButton("Draw Graph");
        public CompoundInterestProgram() {
            super("Compound Interest Program");
            setSize(500, 500);
            setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
            amountText.addActionListener(this);
            yearstext.addActionListener(this);
            JPanel panel = new JPanel();
            panel.setBackground(Color.white);
            panel.add(amountLabel);
            amountLabel.setToolTipText("Range of deposit must be 20 - 200!");
            panel.add(amountText);
            panel.add(yearsLabel);
            yearsLabel.setToolTipText("Range of years must be 1 - 25!");
            panel.add(yearstext);
            panel.add(drawButton);
            add(panel);
            setVisible(true);
            public static void main(String[] args) {
                 DecimalFormat dec2 = new DecimalFormat( "0.00" );
                CompoundInterestProgram cip1 = new CompoundInterestProgram();
                JFrame f = new JFrame();
                f.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
                f.getContentPane().add(new GraphPanel());
                f.setSize(500, 500);
                f.setLocation(200,200);
                f.setVisible(true);
                Account a = new Account(200);
                System.out.println("The initial deposit made was: " + a.getBalance() + "\n");
                for (int year = 1; year <= 17; year++) {
                      System.out.println("After year: " + year + "   \t" + "Amount is:  " + dec2.format(a.getBalance() + a.calcInterest(year)));
              @Override
              public void actionPerformed(ActionEvent arg0) {
                   // TODO Auto-generated method stub
    class Account {
        double balance = 0;
        double interest = 0.05;
        public Account() {
             balance = 0;
             interest = 0.05;
        public Account(int deposit) {
             balance = deposit;
             interest = 0.05;
        public double calcInterest(int year) {
               return  balance * Math.pow((1 + interest), year) - balance;
        public double getBalance() {
              return balance;
    class GraphPanel extends JPanel {
        public GraphPanel() {
        public void paintComponent(Graphics g) {
            Graphics2D g2 = (Graphics2D)g;
            g2.setRenderingHint(RenderingHints.KEY_ANTIALIASING, RenderingHints.VALUE_ANTIALIAS_ON);
            g2.setColor(Color.red);
    }Your help would be much appreciated.
    Thanks in advance.

    watertownjordan wrote:
    http://www.jgraph.com/jgraph.html
    The above is also good.Sorry but you need to look a bit more closely at URLs that you cite. What the OP wants is a chart (as in X against Y) not a graph (as in links and nodes) . 'jgraph' deals with links and nodes.
    The best free charting library that I know of is JFreeChart from www.jfree.org.

  • Unable to download "Not Shareable" app on their own from the App Store once Family Sharing enabled

    iOS 8.0.2 iPhone 6
    I finally decided to take advantage of Family Sharing and it has (unfortunately) created a few problems in trying to solve others.
    Apparently there are Apps deemed "Not Shareable" (see image below).
    These Apps will not appear in the Purchased list of your Shared Family member; which makes sense even though I do not understand why it is so…especially Free apps.
    However, the problem is the App Store itself is also affected by the Purchased History. This results in "Free" and "Buy" buttons of all Apps (purchased previously by your family member) being replaced with download from the cloud buttons even though you have not ever purchased the app with your Apple ID.
    You will then get the following error every time you try and download the "Not Shareable" App from the App Store directly (as an independent purchase):
    In other words, for example, the Amazon App is a free app but it is labeled "Not Shareable." Fine, I would like to buy it on it's own with a my Apple ID from the App Store (independently of whatever my family members bought). I cannot! I will get the above error every time. A work around is using a desktop and iTunes but it didn't work the first time…so keep trying. And Apple, please help/fix ASAP!

    Thanks for the responses.  I actually ended up turning off Family Sharing because I found this to be really annoying, and for other reasons.  I was able to download Uber for my wife from iTunes on her PC laptop with Automatic App Downloads turned on on her iPhone.
    The other problem I'm having, and the reason I switched off Family Sharing, is with store credit.  I have a lot of gift card credit on my account, but when my family makes purchases, the gift card credit is not deducted first before charging my card.  Not sure if there is a way to change that but I couldn't figure it out.

  • How can I delete the apps I don't want to update, from the App Store Notification list?

    The number of apps, waiting to be updated is growing, and growing!  I want that number to go away.  I am not going to update the ones I don't want.
    How can I clear the list, so I only see the number of ones I have not looked at - the new notifications?

    You can't clear the notifications unless you udate the apps. There is nothing that you can do about it - unless you delete every trace of those apps everywhere - in iTunes, your iPad, all iDevices .... and I still don't think that totally eliminates the updates. If you download an App and it is tied to your ID, the notifications will appear somewhere - maybe not on the iPad - but in iTunes at least.

  • HT1386 I copied my my iTunes music from an old computer to a Macbook Pro, but it did not copy the playlists on my nano. How can I transfer the playlists and their content from the nano to the Macbook

    I copied my iTunes music from an old computer to a new Macbook pro but it did not copy the playlists that are on my Nano. How can I copy the playlists and their content on the nano to the Macbook? If I automatically sync the nano from the Macbook, will it scrub the content and existing playlists on the nano?

    You need a third-party program like one of those discussed here:
    https://discussions.apple.com/message/2901170#2901170

  • Anyone order their iPad from the Apple online store?

    I ordered mine from the online store and I didn't realize it would take so long to deliver. I ordered it on May 2nd and its expected to arrive between May 11th - 17th. I called Apple and they said that I cannot choose a faster shipping method. Anyone order theirs? If so how long from the order date did it arrive?

    Which model did you order - the wifi only or 3G + wifi? Either way, they were just released to the public and they are selling like hotcakes. Hardly any stores, if any, have them in stock. Apple is having a hard time keeping up with demand.
    I pre-ordered my 64GB 3G + wifi model on April 18, just before the cutoff to have it delivered on April 30 so I was in the first group to actually get one. At this point, I would say that 2 weeks is pretty good for getting one.

Maybe you are looking for

  • -ve values in the inventory report

    Hi gurus, we r facing a typical problem in Inventory. we have the data from 2002 in R/3 and loaded to the resp to infocubes successfully with all the procedures like first BX then BF and UM. Did the compression with marker and w/o marker. Then we cre

  • Invoice Value Mismatch in Output Printouts

    Dear Experts, We are facing a problem on invoice printouts as it is mismatched with oprginal values in the system, also we have checked in sales order printouts it's accurate with orginal values but the same value in not updating in invoice outputs.

  • Aggregates question

    Say i have 4 million records in a cube. Say by each value type, the records are as follows: 1 million actual 1 mill plan and 2 mil not assigned I have a query with 2 selections. selection 1 is filtered on actual. Selection 2 on plan. Now if I hv 2 ag

  • How to play a sound on drag and drop?

    I've been tasked with creating a drag and drop game for College, and I would like to make it so that when an object is picked up/clicked on, a small 'pop' sound will play, and when it is successfully placed on a target, a slightly different 'pop' sou

  • Types of Configuration Items in SCCM 2012

    Hello, What are different types of Configuration items in SCCM 2012?? I currently know about two types a) Operating System b) Application are there any more? sunil