FB Debug application loaded with SWFLoader

I am fairly new to flex builder, I am working on a fairly
large project that has many pages. To reduce the application sizes,
I have created seperate applications for each type of user. The
login page then loads the appropiate application useing SWFLoader.
When I try to debug the application by setting a breakpoint within
my application and start the login page, my breakpoint never
breaks. Does anyone know anything about this, or how I would debug
an application loaded this way. Just a note, I cannot run the
loaded application without the login applicaiton being loaded
first. The login app contains data that the secondary application
needs.

Most likely the issue here is that the SWF that you are
loading with the <SWFLoader> tag was not built for debugging.
E.g. say you have a project called MyComponent, and then the
main project called MyApp. Inside MyApp.mxml you have this:
<mx:SWFLoader source="MyComponent.swf" />
And presumably you manually copied MyComponent.swf from
MyComponent/bin into the MyApp project. Well, the MyComponent
project built two versions of the SWF: MyComponent.swf, which is
the release version, and MyComponent-debug.swf, which is the debug
version.
So if you need to debug it, you'll have to copy
MyComponent-debug.swf over to the MyApp project. To get it to load
with the SWFLoader tag, you'll either need to temporarily change
the filename in the SWFLoader tag to refer to
MyComponent-debug.swf, or else rename the debug SWF to the release
filename of MyComponent.swf.
Unfortunately there is no automated workflow to have
SWFLoader detect whether it is running debug or release, and load a
different SWF.

Similar Messages

  • Debug classes loaded with reflexion by a JVM launched normally

    Hi,
    I would like to debug some classes that are loaded with reflexion by an Eclipse plugin without starting the whole eclipse environnement in debug mode.
    Therefore is it possible to turn a JVM or a specific JVM thread in debug mode at excution time?
    or to load a class by reflexion in a debug mode?

    Sounds like you want to debug Eclipse - simply start it with the debugging switches, then use jdb to attach to it, and add some breakpoints to the classes that you are interested in. Alternatively, you can use some other lightweight debugger.
    This really isn't a JVM issue, and there should be a more suitable forum that deals with debugging.

  • Failed Alert window when application loaded from SWFLoader

    For example i've created two simple application.
    Parent application must to load another child application
    Main.mxml
    <?xml version="1.0" encoding="utf-8"?>
    <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
                   xmlns:s="library://ns.adobe.com/flex/spark"
                   xmlns:mx="library://ns.adobe.com/flex/mx" minWidth="955" minHeight="600"
                   creationPolicy="all">
        <mx:SWFLoader id="subApp1" trustContent="true" source="../subapp/Subapp.swf"/>   
    </s:Application>
    In child application i only call Alert.show in button click event.
    Subapp.mxml
    <?xml version="1.0" encoding="utf-8"?>
    <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
                   xmlns:s="library://ns.adobe.com/flex/spark"
                   xmlns:mx="library://ns.adobe.com/flex/mx" minWidth="955" minHeight="600"
                   pageTitle="Subapplication"
                   xmlns:ns1="*" width="600" height="1000"
                   creationPolicy="all">
        <s:Button id="btnAlert" label="Alert" click="Alert.show('test mess', 'Title')"/>
    </s:Application>
    As a result we receive an Alert-window displaced upwards of a window of a browser.
    Screenshot:
    Instead of a usual window which is normally displayed if child application to call directly
    Screenshot:
    The problem can be solved if i specify parent object for Alert call
    <s:Button id="btnAlert" label="Alert" click="Alert.show('test mess', 'Title', Alert.OK, this)"/>
    But it is not the desirable decision as the real child application very big.
    Somebody worked with this sort of problems?
    How it probably to solve?
    Thank you very mach!

    Harbs,
    Things are getting weird here...
    This is a crop of the GUI in Halo:
    and this is what the CS Extension Builder theme looks like:
    There's no more the vertical separator *nor* the arrow in the combobox! Let alone that the plus button has gotten a crazy size.
    Uhm... it seems like there's something wrong.
    And by the way, no matter what theme I chose, my Design tab always shows the bluish GUI:
    Being Halo, shouldn't it be gray? Why on earth it's grayish blue to me?!
    I've had some random warnings, not specifically in this project, like:
    "Design mode: Cannot load CSXSLibrary-2.0-sdk-3.4-public.swc (reason: ERROR: Load Verify). It may require classes (such as Adobe AIR components) that are not supported by design mode. Check the Eclipse error log for more details. main.mxml /01/src Unknown Problem"
    I'm wondering whether FB has some troubles with the preferences...
    Could someone please test whether the change in theme leads to these dramatic changes in appearance?
    Is it correct that the default appearance is this (bluish) one?
    Thanks,
    Davide

  • Flex Applications loaded in SWFLoader DropDownList Offset

    Hello all,
    I have searched far and wide and am unable to come up with the answer to an issue I am experiencing.  I have a Flash App (FB4) Which loads various other Flex 3 and 4 apps using SWFLoader based on what the user requires at the time.
    Everything is working well so far with one exception.  If I have the SWFLoader offset (Like Left="50" or Top="50") Then the dropdown menu that appears when a user clicks the DropDownList component is offset by that many pixels to the right or down.  My goal is to provide a graphical menu above the embedded swf.  However, when I do that each time the DropDownList is clicked, the list of choices is moved down by the same amount of pixels the embedded swf is on the stage.  It appears to be a bug in the way the DropDownList works for determining location, but I don't know how to fix it.
    Any thoughts?

    Thank you for that.  I have the loadcompatability option so I can have different versions.  But I did not know about the compiler setting.  Is there documentation somewhere about the compiler settting?

  • Error in app with TabNavigator loaded with SWFLoader - WebKit browsers

    Hiya,
    I use a flex app (A) to load another flex app (B) using SWFLoader (both built using Flex Builder 3 sometime ago).
    Everything works fine as expected across all (IE, FF, Chrome, Safari) desktop browsers.
    However, if I use a TabNavigator within the flex app (B) then when you click on any of the tabs it unloads the flex app (B) and re-starts flex app (A). This behaviour is limited to Webkit based browsers (Chrome & Safari) the rest of the browsers (IE, FF) it works fine.
    I wonder if anyone can throw some light on this.
    Many thanks
    Kind regards,
    klem

    Resolved:
    Replacing the HTML template files with the latest copy from Flash Builder 4.5 seemed to resolve the issue. It appears they have replaced the AC_OETags.js with swfobject.js
    Tried to explore upgrading the code to 4.5 but seemed to throw a lot of incompatibilities, created a test/dummy project instead in 4.5 and used the html file created to replace the old html files created by Flex Builder 3.0
    Clearly not a very common problem, but hope this saves someone time and effort.
    Thanks Harui

  • Application Loader Is Now Empty. What Happened?

    Hello I finally grew up from windows mobile and went to Verizon and upgraded to a Blackberry Storm 9530. The software in the box was version 4.7 which seems to be the most up to date. I installed it and hooked up my Storm a couple of times and the Application Loader would show everything installed on my Storm. I installed a couple of other apps on the side today without the software and they worked fine. Also, they showed up in the Application Loader with the default loaded software. Tonight I decided to hook the Storm back up to the PC and I went to search for updates for my software. When it tried to download the updates it gave a fatal error and the BB Desktop Manager crashed. My Storm then went to a white screen with a clock and would not response. I had to pull the battery and put it back in to boot my Storm back up. Ever since then when I go to the application loader it only shows the 2 apps I installed today and not any of the other apps so that I can remove or update them. They appear to be on my Storm and function, but not in that list. I uninstalled the software and reinstalled after a reboot and still only those 2 files show.
    What can I do to fix my first BB that I now seem to have broken?
    Thanks in advance,
    A new and worried user.
    Solved!
    Go to Solution.

    Aydos wrote:
    I installed a couple of other apps on the side today without the software and they worked fine.
    What does that mean?
    1. If any post helps you please click the below the post(s) that helped you.
    2. Please resolve your thread by marking the post "Solution?" which solved it for you!
    3. Install free BlackBerry Protect today for backups of contacts and data.
    4. Guide to Unlocking your BlackBerry & Unlock Codes
    Join our BBM Channels (Beta)
    BlackBerry Support Forums Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • Create Custom Application Loader

    I don't know whether this is the right forum to post the question or not.
    My question is :
    Can I write a custom class loader in Weblogic App server ? My basic requirement is to write a custom application loader with will first load some jar files from some remote machine and then will be loading the application. This jar files should not be made visible by any other application deployed in the the server. The class loader should also be a component of the application itself.
    Say for example : The application name is "App1".
    Ideal scenario
    1) WLS boots up
    2) It tracks all the applications
    3) Reads some conf (or xml file) to trace the class loader name from App1
    4) Adds the class loader to the Loader Repo, if any
    5) When WLS feels it should load the applications i.e application loading step comes, it should detect that there is a custom loader associated to the application App1 and transfers control to it.The loader will load accordingly.
    I really have no idea how this can be achieved. But if app servers provides extension to there class loader repo then each application can have their custom loaders if needed.
    Any suggestion would be highly appreciated.

    Hello Pradeep, <p>
    I am trying to configure the "Single session Trace" (OSS Note 1090753) but I am not able to see the second Tabs 'Single Session trace"
    when I select the logging link in the Administration console of my application.
        - I modified as described the  attribut  "ForceSingleTraceFile" in the visual Admin. 
        - I modified the appinfo and logFileDownload attributs to TRUE in the XCM
        - I rebooted the cluster
    Extract of OSS note 1090753
    4. Choose the 'Logging' link.
    a page with two tabs 'Log Configuration' and 'Session Tracing' is displayed.
    The Session Tracing doesn't appear for me !!
    do you not why I am not able to see the Single session trace ?
    Currenty, the only way is to retrieve trace in the file defaultTrace10.log.  (see my previous log capture)
    Thanks for your help

  • Error with SwfLoader and new application domain

    Hi
    I have a test with a SWFLoader loading an application in a different application domain.
    Test with SWFLoader is ok when you load the application in the same application domain but when I want a new Application Domain, I have an error message with a flahplayer debug version when I use the unload method.
    Is this a bug ?

    I use FlexUnit 4 and FlexBuilder 3
    I want to test the behaviour of a custom class which extends SWFLoader,
    including when it loads (and unloads) an application in a new
    application domain, but I have this error message so I tried some very
    simple tests on SWFLoader.
    In my test I just load a swf file in a new application domain and unload
    it when it's completed. On the "unloadAndStop" method I have this error
    message :
    TypeError: Error #1009:
        at
    mx.managers::SystemManager/removeChildBridge()[C:\autobuild\3.3.0\frameworks\projects\fram ework\src\mx\managers\SystemManager.as:4844]
        at
    mx.controls::SWFLoader/contentLoaderInfo_unloadEventHandler()[C:\autobuild\3.3.0\framework s\projects\framework\src\mx\controls\SWFLoader.as:2160]
        at flash.display::Loader/_unload()
        at flash.display::Loader/unloadAndStop()
        at
    mx.controls::SWFLoader/load()[C:\autobuild\3.3.0\frameworks\projects\framework\src\mx\cont rols\SWFLoader.as:1334]
        at
    mx.controls::SWFLoader/commitProperties()[C:\autobuild\3.3.0\frameworks\projects\framework \src\mx\controls\SWFLoader.as:1185]
        at
    mx.core::UIComponent/validateProperties()[C:\autobuild\3.3.0\frameworks\projects\framework \src\mx\core\UIComponent.as:5807]
        at
    mx.managers::LayoutManager/validateProperties()[C:\autobuild\3.3.0\frameworks\projects\fra mework\src\mx\managers\LayoutManager.as:539]
        at
    mx.managers::LayoutManager/doPhasedInstantiation()[C:\autobuild\3.3.0\frameworks\projects\ framework\src\mx\managers\LayoutManager.as:689]
        at Function/http://adobe.com/AS3/2006/builtin::apply()
        at
    mx.core::UIComponent/callLaterDispatcher2()[C:\autobuild\3.3.0\frameworks\projects\framewo rk\src\mx\core\UIComponent.as:8633]
        at
    mx.core::UIComponent/callLaterDispatcher()[C:\autobuild\3.3.0\frameworks\projects\framewor k\src\mx\core\UIComponent.as:8573]

  • I just installed LV2011 and one dll from my vi won't load with the error "application configuration is incorrect"

    I just installed LV2011 and one dll from my vi won't load with the error "application configuration is incorrect", which is Windows lingo for "missing package dependencies".  All the computers at my company with 2010 loaded seem to do OK.  When I do a Dependencies Walk I get missing Visual C debug dll's missing plus IEshims and wer which both have a whole tree of dependencies missing on my machine.  The Windows install is the same "Windows XP version 2002 Service Pack 3" on my PC and the working PC's. So I'm thinking I have to uninstall 2011 and go back to 2010.  Is this correct?  Those VC debug dll's were installed on the machines with 2010 in them but were not installed in mine.
    I've heard the advice to recompile the dll with debug turned off but I don't have access to the source code.
    Thanks in advance.

    u87 wrote:
    Thanks for the reply.  This at least tells me that going back to LV2010 is not likely to solve the problem.  The missing dll's are:
    MFC90D.dll
    MSVCR90D.dll
    IESHMS.dll
    WER.dll
    And, once again, IESHMS and WER have other dependencies.  So perhaps i need to install the Visual C++ development environment.
    IESHIMS.dll is an Internet Explorer DLL that gets usually delay loaded by shdocvw.dll. As delay load it can not cause DLL load errors but only runtime errors. Maybe your DLL has it as direct dependency but that is unlikely since it does not have a documented interface.
    WER.dll is Windows error reporting for Vista/Win7.
    MFC90D.dll is the Microsoft Foundation classes and MSVCR90D.dll is the MS C runtime library, both as debug variant.
    So all the DLLs you mention are actually MS DLLs! You haven't identified the DLL that you try to access in LabVIEW that causes these error messages. IESHIMS and WER are usually delay loaded by any component that needs it and should not likely be used by non MS code.
    What is the DLL you try to load into LabVIEW and by whom? Get the provider of that DLL to provide you a non Debug build of the DLL. Installing Visual C on all the machines just to make the DLL load is not a solution, besides that it is likely not legal since I doubt you have that many licenses.
    Rolf Kalbermatter
    CIT Engineering Netherlands
    a division of Test & Measurement Solutions

  • Error with Application Loader

    So I'm about to submit my app and I keep getting three errors in the Application Loader:
    1. /build/Debug-iphoneos/ .app is not a valid location for the app. It must be at the top of the archive
    2. Bundle identifier:
    ____.com.______.____ differs from the bundle identifier: com._____._______ and had it as the first one in info list but I changed it and it still gives me this problem...
    3. Application failed codesign verification. The signature was invalid or it was not signed with an Apple submission certificate.
    So this one I checked my distribution certificate to see if that was the problem and it said it couldn't find the certificate pair in my keychain so I deleted it and added it back on and it worked fine but it still gave me this error...
    Please help me!

    Hello, everyone
    I took advantage of the program www.apparchitect.com, after I made ​​it my new app, then I try to download the source file Payload.ipa using the Application Loader. Throws an error ERROR-9000, see screen shots. Please help me resolve this problem, thank you to those who will write step by step instructions on how to remedy this error. I am a novice developer.

  • Can not upload my ipa with Apple Application Loader

    After I published with success a new .ipa with DPS when I tried to upload with Application Loader, the system refused my app.
    In the past I never had this problem since last week it is impossible until now.
    When I asked  help the Apple developer assistance, says:
    The error you’re receiving now does make sense that it was caused by the Adobe DPS program. Sometimes when using 3rd party app builders it will cause a similar error when attempting to upload a new app or update.
    Unfortunately Apple does not support 3rd party app builders, and I would suggest contacting the support group at Adobe in regards to DPS and what setting you need to adjust within the program to successfully upload the app.
    When contacting them be sure to have the description of the error ready for them. I’ve seen this similar case with previous developers that have used the Adobe app builder, and have reached a resolution with contacting them.
    What can I do?
    Thank you in advance.
    Silvia

  • Problem with Application Loader

    Hi,
    I'm trying to submit an iPhone application to iTunes using the Application Loader on a Mac Mini (OSX 10.5.8). After I enter my iTunes Connect login details I receive the following error response
    *There is a problem with you login information*
    Please click back and try again
    An error occurred talking to the iTunes Store
    The login details are correct, the device connects to the itunesconnect web site from Safari without issue.
    Is anybody else experiencing a similar issue? Anybody have any ideas on how I might resolve this issue. It's really frustrating as this is now the only way to get an App into iTunes and the error message is not exactly giving me a lot to go on.

    I got a message in an email saying I had the wrong binary code and therefore had to change it by downloading the application manager.
    This was the email they sent me?
    Some potential reasons that your binary is invalid: the binary icon doesn't meet our requirements, the payload directory is set at the wrong level in the .app wrapper, the bundle version has not been increased, and so on.
    You will receive an email detailing the reason for your invalid binary. To clear the error, log in to iTunes Connect, locate your app, and click Ready to Upload Binary to reset your app's status to Waiting For Upload. This will allow you to redeliver your corrected binary through Application Loader.
    Makes no sense to me either!

  • My macbook is loaded with microsoft work and every time I try and open the program I get an error reading and it will not open.  Powerpoint and the other applications still respond!

    my macbook is loaded with microsoft word for macs and every time I try and open the program I get an error reading and it will not open. This is what it says:
    The application Microsof Word quit eunexpectedly.  Powerpoint and the other applications still respond!

    The joys of Microsoft!
    Maybe the preferences file is corrupted.  You should be able to find the Word preferences file in the folder:
    your user name/Library/Preferences
    Its name is com.microsoft.Word.plist
    I suggest you drag this another folder and try Word again. 
    If that doesn't work then you might find clearing the cache files will fix the problem.  You can do this manually but I never bother. Instead I use a program like Snow Leopard Cache Cleaner (shareware) or Onyx (free). These programs do lots of other maintenance jobs so it's worth having at least one of them.
    Bob

  • I receive many e-mails with zipped files.  In the past few weeks I can no longer open them as I used to.  I get a window welcoming me to the Application Loader.  ( What is an Application Loader?)  It says I need my iTunes Connect login, but when I try my

    I receive many e-mails with zipped files.  I can no longer open or unzip my files. A window welcoming me to Application Loader drops down.  It prompts for an iTunes Connect login, but will no accept my iTunes login. I have no way to open or unzip my files. Help!!!!

    Application Loader, unless there's another one I'm not familiar with, is part of the iOS SDK. That have usurped the .zip, or you may have removed that application but your Mac is still holding onto the mapping of Zip files to that application. Select a .zip file in Finder, Get Info, and go to the Open with section. Select Archive Utility and click Change All. That should fix the problem.
    Regards.

  • Issues with Apple's Application Loader

    I have been having some issues delivering my ePub to iBooks through Apple's Application Loader device. I've contacted Adobe, who says my file is fine. Then Apple, who says there is an issue with my file. Then back to Adobe, who says their help ends with inDesign. Then back to Apple, who says I have to talk to Adobe.
    Ever since kicking us publishers off Adobe DPS, I have been having unanswered issues with producing iBooks, which is the way that we have to produce inDesign files now. Namely, I get an issue saying an image, that isn't in my inDesign file, is too big to upload to Application Loader.
    Has anyone had similar issues? Please help?

    Hello suecheat
    Check out the article below to continue troubleshooting your issues with sending mail. You will use Connection Doctor to find out the specific issue.
    OS X Mail: Troubleshooting sending and receiving email messages
    http://support.apple.com/kb/TS3276
    Regards,
    -Norm G.

Maybe you are looking for

  • Can't print on shared printer, Alert says "On Hold (authentication required)"

    Mac Mini running 10.6.8 can't print using Mac Air running 10.8.5 with HP Laserjet 1022 USB connected.  Both computers on same airport network.  Both with latest updates and shared printer enabled.  Same problem in other direction (Air to mini if prin

  • Moving Average

    Hello all I am in need of some help. I have a crosstab that I am trying to get a moving average at the bottom of the report. Current my crosstab is counting how many titles were completed in a week, columns show the week beginning, rows show the stag

  • Sort_area_size in data warehouse applications

    Hi everyone, I am working on optmizing the data warehouse application that involves with inserts and updates on bitmap indexes. How to decide proper value for sort_area_size?. I think my application is doing lot of I/Os when inserts/updates are perfo

  • How to solve :  java.lang.OutOfMemoryError: Java heap space

    Dear all, Am using Jdeveloper 11.1.1.3 with weblogic10... I keep getting out of memory error while working on the application , here is the exact error message that i copied from the server log : ####<28/11/2010 GMT 09:17:58 ص> <Critical> <Health> <j

  • NO QT STREAMS OR DOWNLOADS AT WORK

    I use my MBP at work since my work PC is a slug. The internet connection goes to my router and one output goes to the pc, the other my MBP. The PC is on the company network and QT works fine when I visit sites using qt for streams or downloads. My pr