Flex app doesn't work when moved from original location

I'm trying to make an image gallery in flex. It works when I run it in Flex Builder perfectly fine. The html and swf files from the bin-debug folder work perfectly fine when opened in any browser also, but ONLY when those files and all related files are opened from the default location that the application was built in. When I export a build to a different folder, the swf loads but none of the information from the xml file displays. I tried setting all of the paths of the reference files (namely the xml) in the flex app to the exact absolute location on the server, and it still didn't work when I uploaded it to the server.
I've tried several approaches starting from scratch and they have all come up with the same issue. I'm working with an educational license for Flex Builder, I'm not sure if they jip you on those and ruin the compiled swf.
Please help! I'm losing my mind over this.I think it has to do with something else besides the code since it works fine when I hit "Run", but if anyone thinks it will help to post the code let me know.

when you build an application using one of the wizards (like coldfusion flex application wizard) it hard codes
paths to cold fusion CFC's, and sometimes gets it wrong.
If your application references cfc's (or other remote objects) then it may be necessary to adjust the flex code
when moving the code into a different base folder.
For example in my own application, the url is http://localhost/crm_dev_flex and the built application gets put into
c:\inetpub\wwwroot\crm_dev_flex\bin-debug
References in the code to components found in c:\inetpub\wwwroot\crm_dev_flex\bin-debug\components\cfgenerated
(in the flex code these looks like crm_dev_flex.bin-debug.components.cfgenerated.<mycomponent> )
These need to change when you move the code to somewhere else.
Also, if you are using wizard generated cfc's then these also contain similar references that need to be changed.
IHTH.
Cheers

Similar Messages

  • Purchased tab in "App Store" app doesn't work when AppleID is not an email address.

    After updated my iPhone and iPad to iOS 6 (both 6.0&amp;6.0.1), Purchased tab in "App Store" app doesn't work when AppleID is not an email address. This happened since 6.0 and I hope that it will be fixed in6.0.1 but it doesn't.
    When I tap at Purchased tab in iPad App Store or Purchased bar in Updates tab in iPhone App Store, it just hang on "Loading...", but when I changed to other AppleID, it works. Apparently, my AppleID is not an email address but the other AppleID is an email address.
    Not sure where to send my feedback to Apple about this issue.

    http://www.apple.com/contact/feedback.html

  • Flex: Method doesn't work when being called on parentDocument

    Hi,
    I wonder is anyone can look at this code and tell me why calling the  removeSelectedChild works when called from the same document, but  returns the following error when called from the child  document/component.
    "ArgumentError: Error #2025: The supplied DisplayObject must be a  child of the caller."
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" >
      <mx:Accordion id="myAccordion"
      width="100%" height="100%"
      selectedIndex="0">
      <mx:Script>
        <![CDATA[
          public function removeSelectedChild():void {
            myAccordion.removeChild(myAccordion.selectedChild);
        ]]>
      </mx:Script>
      <mx:headerRenderer>
        <mx:Component>
          <mx:Button click="{ parentDocument.removeSelectedChild() }" />
        </mx:Component>
      </mx:headerRenderer>
      <mx:HBox>
        <mx:Button click="{ removeSelectedChild() }" />
      </mx:HBox>
      </mx:Accordion>
    </mx:Application>
    Clicking on the button in the child produces the expected result,  whilst clicking on the header throws an error despite the fact they both  call exactly the same method.
    Sorry that the example is a little contrived, this problem arose in a  quite complicated view, which was using all kinds of custom components.  This was the only way I could display it in a way that will be quick  for you to compile and easy to focus on the real issue without  background noise.
    I'm pulling my hair out on this one and would really appreciate it if  anyone could help.
    Cheers,
    Chris

    What are you trying to remove?
    myAccordion.removeChild(myAccordion.selectedChild);
    tries to remove the container, which is the child of the Accordion. Is that what you want?
    Also, I'm wondering if  parentDocument.removeSelectedChild() would try to remove the Accordion.
    If this post answers your question or helps, please mark it as such.
    Greg Lafrance - Flex 2 and 3 ACE certified
    www.ChikaraDev.com
    Flex Training and Support Services

  • Video doesn't work when calling from Jabber to DX650

    Hi,
    I just added a DX650 to our CUCM 9.1.2. When I call from either Jabber to the DX650 or Lync to DX650, the video doesn't work and the call is audio only. The message i'm seeing on Jabber is something like "the other endpoint is not accepting video." Sorry i don't remember the exact message. Has anyone seen this issue before? Thanks!

    Lync is not standards based and has proprietary codecs for video. You will need a Expressway with the MS Interop key to get video both ways.
    https://www.cisco.com/c/dam/en/us/td/docs/telepresence/infrastructure/vcs/config_guide/X8-2/Cisco-VCS-Microsoft-Lync-Deployment-Guide-X8-2.pdf 

  • Ipod nano 1st gen doesn´t work when disconnected from itunes

    I can´t do anything, it doesn´t even turn on, only work when connected to itunes, the moment i unplug it from the computer it stops working, please help!

    For anyone else having this problem, I found this solution to work. Try this first:
    a) Get Windows to restart the drivers:
        - disconnect your USB device and close ITunes
        - connect your USB device
        - if ITunes loads, close it.
    b) File explorer:
    Open File explorer and browse to
    C:\Program Files\Common Files\Apple\Mobile Device Support\Drivers
    In that folder there should be a set of files named "usbaapl64...."
    right click on the one ending in "INF"
    Select Install.  It's very quick.
    remove the USB device
    c) Restart the computer.
    When you login again, load ITunes before you attach your USB device.
    d)If you just want to add some photos, songs and movies from computer to your devices, you can use an iTunes alternative to do the job. Hope it helps.
    <Link Edited by Host>

  • AirPlay doesn't work when streaming from BBC iplayer unless I use mirroring

    I usually watch iplayer and 4OD by streaming it from my iPad or iPhone onto my tv with AirPlay on apple tv but now all of a sudden I've been getting a connection error and the stream fails. It does still work when I use mirroring (which doesn't make sense to me) but mirroring won't fill the screen the way AirPlay does and it also makes my phone run hot since it can't blank the screen.
    Any ideas what's going on?

    Try restarting the Apple TV, it works fine for me so it's not the iPlayer.

  • Reports with prompting stop working when moved from Crystal10 to crystal 11

    Issue:
    We are having trouble with Crystal Reports XI. It appears that the Crystal 10 runtime included the ability to process reports that used prompting. If we run the same report with the Crystal XI runtime, it fails.
    I can send a sample of the report.
    Error Dialog:
    Title: Internet Explorer Script Error
    Error Details:
    An error has occurred in the script on this page
    Line: 1
    Char: 1
    Error: invalid character
    Code: 0
    URL: file: /// C:/Program%20Files/Business%20Objects/3.0/crystalreportsviewers11/prompting/js/promptengine_strings_en.js
    Do you want to continue running scripts on this page?
    Yes/No
    Our Configuration:
    We use Merge Modules that install Crystal Reports through the browser via a CAB file that we created. It runs a setup executable
    The setup executable project that installs CR XI uses the following Merge Modules:
    CrystalReports11_RDC_Reportengine.msm
    CrystalReports11_RDC_Runtime.msm
    CrystalReports11_HotFix_Merge.msm (This is contrived by us from one of your hot fixes)
    Observation:
    When the install is finished, the folder structure under u2026. Crystalviewers11/prompting do not have any files like they do if we install the development environment.
    Question:
    What do we need to do to correct this situation?
    *why the reports with*
    *prompting stops working when it is moved from a Crystal 10 to Crystal 11*
    *environment.  I believe that it has something to do with Merge Modules*
    *because the files under the prompting folder do not populate with the*
    *merge module like they do with the full install of Crystal Reports.*
    Please help.
    Best Regards,
    Peter Freeman
    Edited by: Vivek Kumar Sharma on May 19, 2009 3:43 PM

    We have JDK 1.6 installed.  The License Merge Module is not related to
    this issue.
    The files under \Program Files\Common Files\Business
    Objects\3.0\crystalreportviewers11\prompting  are not being installed.
    If we copy files, into this folder structure the reports work.
    One of the Business Object's Merge Modules should install the files
    there rather than just an empty folder structure.
    I got was able to figure out how to enter a customer support message.
    They said that they could not support us because we were not on CRXIR2
    (Crystal Reports 11 Release 2).
    I found a download for CRXIR2SP4 (same thing service pack 4).
    I installed it the Merge Module names changed to include a "_5"
    Was:
    CrystalReports11_RDC_Reportengine.msm
    CrystalReports11_RDC_Runtime.msm
    CrystalReports11_HotFix_Merge.msm (This is contrived by us from one of
    your hot fixes)
    Now:
    CrystalReports11_5_RDC_Reportengine.msm
    CrystalReports11_5_RDC_Runtime.msm
    CrystalReports11_5_RDC_License.msm (should have been included)
    *CrystalReports11_HotFix_Merge.msm (not needed anymore)
    I will try to put a installer together with these.  If this work there
    will be some complexity around uninstalling the old one and installing
    the new one.

  • WebUtil doesn't work when called from WHEN-NEW-FORM-INSTANCE trigger

    I need WEBUTIL_CLIENTINFO functions to know some information from the client, like IP, JavaVersion, Hostname, OS user, etc. This functions I call through WHEN-NEW-FORM-INSTANCE TRIGGER and this doesn't nor work. I obtain the next message and error:
    oracle/forms/webutil/clientinfo/GetClientInfo.class not found. WEBUTIL_CLIENTINFO.GET_IP_ADDRESS.
    But when I call this WebUtil functions through WHEN-WINDOW-ACTIVATED trigger or through a button it works. Why?. I need call WebUtils in the WHEN-NEW-FORM-INSTANCE trigger!
    Any help will be of great value.

    Basically make a timer...
    Do you have the wu_test_106.fmb file that comes with the webutil install?
    If you look in the wnfi trigger you will see this...
    declare
         fake_timer TIMER;
    begin
         -- Purpose of the fake timer is the we cannot call webutil in this trigger since the
         -- beans have not yet been instantiated.  If we put the code in a when-timer-expired-trigger
         -- it means that this timer will not start running until Forms has focus (and so the webutil
         -- beans will be instantiated and so call canbe made.
         fake_timer:= CREATE_TIMER('webutil',100,NO_REPEAT);
         --create_blob_table;
         null;
    end;And in the form level when-timer-expired you will see this...
         :global.user_home := webutil_clientinfo.get_system_property('user.home');
         :OLE.FILENAME := :global.user_home||'\temp.doc';
         SET_ITEM_PROPERTY('builtins.text_io_item',PROMPT_TEXT,'Write to '||:global.user_home||'\helloworld.txt');
         SET_ITEM_PROPERTY('files.userdothome',PROMPT_TEXT,:global.user_home);

  • Keyboard & mouse doesn't work when restarting from battery dying.

    When my battery dies, I go to put it back on the charger. Once it is done loading the main log on screen, neither the keyboard or mouse won't work for a good minute or so. Once the screen turns black, then comes back, it works. Any ideas? Thanks!

    Try plug an usb keyboard and a usb mouse. If the problem persists, you may reset the SMC and nvidia/PRAM memory.
    If that doesn't do it, run the Apple Hardware Test .
    Cheers,

  • ISight doesn't work when chatting from south america?

    I have a MacBook and was able to successfully iChat with my home G5 (10.4.7) desktop no problem. Now I'm working in Uruguay and everytime I try to iChat with my home computer it tells me that the communication is not possible. Does this have to do with the DSL service I have in Uruguay? I'm quite upset cause I actually got the iBook in order to iChat with my family when I'm overseas...
    FYI: ALL FIREWALLS from both computers are off...

    It could be the DSL service, or it could be the DSL modem or your router.
    I would try video connections from an Internet cafe or from another Internet connection.

  • Download indicator doesn't work when downloading from Itunes

    Using my Mac OS mountain lion and Firefox ver 31.3 ESR when I download Itunes from https://www.apple.com/ca/confirm/itunes/thankyou.html It appears to go to Apples network 10.x.x.x but does not download and the download indicator shows no visible downloads proceeding.

    I placed Firefox 31.3 for the Mac in Safe mode and the same thing occurred. Going to download Itunes from https://www.apple.com/ca/itunes/download/
    it goes through the steps for file placement but does not show in the downloads of Firefox and does not appear to download.

  • Subreport doesn't work when upgrading from Crystal 7 to Crystal 2008

    I am using a subreport, whose input parameter is input to the Stored procedure.
    This used to work fine in Crystal 7. But now we upgraded to crystal 2008.
    The same code throws an exception. can any one please help?
    Here is the piece of code of stored proc
    ALTER PROCEDURE SUMMARYACTIVITY(@HcpID varchar(8)) AS
    BEGIN
    SELECT @HcpID, RX_PROD_ID, RX_PROD_DESCR, DATE_REP_TERR, NOTE, SAMP_VOUCHER, DISP_ORDER FROM #SUMACT ORDER BY DISP_ORDER DESC, RX_PROD_DESCR ASC
    END
    even as simple as select @hcpID is throwing exception.
    I have another stored proc.
    ALTER PROCEDURE PRODSUMMARY (@HCP_ID VARCHAR(8)) AS
    BEGIN
    CREATE TABLE #PDSUM
              HCP_ID               CHAR(8) NOT NULL,
              RX_PRODID          CHAR(4) NOT NULL,
    INSERT INTO #PDSUM (HCP_ID, RX_PRODID,...)
    SELECT
                        @HCP_ID, V.PROD_ID,.....from vw_pcp v
    SELECT      HCP_ID, RX_PRODID, ..... from #pdsum
    END
    This works in crystal 7 and 2008.
    Edited by: Lavanya on Jul 31, 2008 3:22 PM

    Hi
    Just a few points.
    1. Are you opening the existing report (Created in CR 7) in Crystal 2008?
    2. If yes,I would suggest you to create a new report based on the same stored procedure.Create a new DSN for the database that you are using and the create a report based on that DSN and pointing to the mentioned Stored Procedure.
    Regards
    Sourashree

  • Quit LabVIEW function doesn't work when called from Actor Framework

    This is related to a known bug. Details can be found in a discussion we had with LV R&D here: https://decibel.ni.com/content/docs/DOC-28012
    I need a functional workaround to this bug because my application's top-level panel is an Actor Core.vi override. Can the AEs please help, as suggested by Aristos_Queue (LV R&D member) in the link above?

    Hi David,
    Were you able to try the workaround AristosQueue gave you? Below is the workaround he suggested.
    Not sure, but I think that it will work just fine if you start a VI running using the Run VI method and have it invoke the Quit LabVIEW node. Not the Call By Reference node, but just wire a Static VI Reference to the Run VI method with FALSE wired to the terminal for whether to wait for it to finish. That subVI will then be running as a top-level VI on its own... and the only thing on its diagram would be the Quit LabVIEW node. I think that will work. Haven't tried it, but based on the description in the CAR, I think it will work.
    Carl W.
    Applications Engineering
    National Instruments

  • "Fullscreen" parameter doesn't work when streaming from .qtl metafile.

    The Mac QT player functions properly with the following code, but the Windows QT player zooms in on the video instead of sizing it properly to fill the screen. Here's an example of my .qtl file:
    <?xml version="1.0"?>
    <?quicktime type="application/x-quicktime-media-link"?>
    <embed src="rtsp://myquicktimeserver.com/foldername/movie.mov" autoplay="true" fullscreen="full" quitwhendone="true" />
    I've seen the issue on multiple Windows PCs, so I'm sure its not localized to one installation. Any clues?
    Thanks!
      Windows XP Pro  

    well, it seems that i solved this problem by putting
    frame.show()
    before
    frame.setFulleScreenMode()
    and it now works... but why????

  • Animations doesn't work when publishing from PPTX (Powerpoint 2007)

    I have Presenter 7.0.2 (build 7464), running over PowerPoint
    2007, and all the animations based on activators are not
    controllable after publishded.
    What I need is the same behave of published flash contents
    as the powerpoint presentation permits:
    - For example, one action button, uppon click on it,
    activates some animations effects on others object elements.
    Does the Adobe support (Platinum plans), or any of you that
    hoppefully had already fix an way to avoid this, can help on this ?
    Thanks in advance!

    Hi,
      Today I have found the 7.0.5 Update, build 7588, for Presenter 7, so I started to think that my long issue concerning the animations problem could be over with this update ... but it did not!  :-(
      After the update installation, the same presentation gives me the same wrong behavior.
      It seams that the animations triggered by activators used on PowerPoint 2007 presentations continue without any support.
    Is that right ?

Maybe you are looking for

  • Smart folder in iphoto to burn folder on desktop

    Hi. I set up a smart folder in IPHOTO (collecting all photo's taken on a vacation) and have set up a burn folder on the desktop. I can't figure out how to get the smart folder to the burn folder. It won't move from within Iphoto or via the finder. Is

  • Standard Function to convert internal table to binary

    Hello Firends, Is there a standard function that can be used to convert an internal table to binary data and vice versa. regards kaushik

  • I need help trouble shooting.... Screen/Monitor related.

    My monitor was going reddish/flickering and the backlight was going out so i can i could only barely see what's on the screen. The screen would also just blackout if it was on the brightest setting before.  A couple of days ago i replaced the CCFL ba

  • KERNAL PANIC EVERY TIME I START UP

    Hello, I have a four month old Mac Pro, that has been not working properly since the day i bought it. Apple suggested I bring the machine into the store, but I am a student and cannot go without my computer for more than 2-3 days... I purchased the c

  • What does this simple folder action not work?

    OK I have been playing with this all weekend. I just wanted a simple folder action to move a file from folder a to folder b. There is really not much to it. The workflow works just fine. "Somtimes" running the script runs the workflow.app. However wh