Trace() not working with embedded SWFs created with Flash Builder

I have just migrated to Flash Builder 4.5 with the 4.5.1 SDK.
I have an application that loads a lot of child SWFs into it - some of which are created with Flash, some are created with Flash Builder.
I am noticing now that my trace() statements that are called from within SWFs produced with Flash Builder that are loading as child SWFs into my main SWF are NOT appearing.  However, trace() statements called from within SWFs produced with Flash that are loading as child SWFs into my main SWF ARE appearing.
This is an extremely major problem and has short-circuited my debugging/development.
Any recommendations, workarounds, or suggestions?

If the child SWFs were created by performing an "Export Release Build", then trace() statements would be omitted.
You can control this by setting the -omit-trace-statements compiler argument (in Project properties -> Flex Compiler -> Additional Compiler Arguments).
-Anirudh

Similar Messages

  • Pausing Captivate 6 with a swf created in Flash Pro

    Not sure why my code isn't working but I've tried a few different things based on what's worked for other people. The code is placed on the frame where I need the interaction to pause. None of them appear to be working. I have a custom Flash interaction that the student needs to complete before continuing with the course.
    Here are the things I've tried:
    MovieClip(root).rdcmndPause = 1;
    var mainmov:MovieClip = MovieClip(root);
    mainmov.rdcmndPause = 1;
    var myRoot:MovieClip = MovieClip(root);
    var mainmov:MovieClip = MovieClip(myRoot.parent.root);
    mainmov.rdcmdPause = 1;
    FYI, I've tried both rdcmndPause and cpCmndPause for each of the above. Anyone have any ideas? Also, I'm getting ready to upgrade to Captivate 8. Have they made it any easier in that version to do this sort of thing?
    Thanks,
    Jeff

    in frame 1 of my fla source code, i used this var and event to interact with the captivate variables:
    var captivateVariables:*;
    addEventListener(Event.FRAME_CONSTRUCTED, isAdded);
    and then this function:
    function isAdded(e:Event){
      //txt.appendText("isAdded\n");
      removeEventListener(Event.FRAME_CONSTRUCTED, isAdded);
      try{
      captivateVariables = Object(parent.parent).getMovieProps().variablesHandle;
      //txt.appendText("captivateVariables: " + captivateVariables.cpCmndPause + "\n");
      catch(e:Error){
    and then i inserted it onto a captivate slide in frame 1.
    note: txt is a dynamic text area i put on the flash stage so i can see what was happening, since there is no trace statements coming from a running captivate file.

  • Actions not working to imported swf files in Flash Catalyst

    Hi,
    I have a problem with manipulating my imported swf files (created in Flash professional) in Flash Catalyst CS5. Whenever I add any of the swf control actions to a swf file in the timeline such as 'stop', the animation ignores it and keeps replaying. I tried to add action sequence when a certain button is pressed, and also tried to create 'On application Start' and added 'stop' so that the animation stops immediately when the application opens. No matter what I do, the animation refuses to perform the actions and simply replays. The animation is a simple shape tween between 2 states with no action script attached to it. I published the animation as an swf and exported it to Flash Catalyst. Is there any suggestions whatsoever on why this is happening? Is it something to do with setting up my flash file prior to import? The only way I figured out to stop the animation from playing is adding action script to the flash file in Flash Professional however this is not what I want because I would like the animation to be controlled by components in my flash Catalyst document.
    Thanks

    You can make you swf a custom component with 2 states.
    The first state will be empty and rename it "OFF" the second state will have your swf file and name it ON.
    Then go back to your artboard/project, add your 2 buttons ON & OFF.
    For the ON button add interaction "play transition to custom component ON"
    For the OFF button add interaction "play transition to custom component OFF"
    Here is an example swf_control

  • Strange problem in loading swf created in Flash Builder 4 !

    Hi
    I am facing a strange issue in all my flash builder projects.
    Here is a sample flex 4 project: http://flashvisions.com/demos/flexdemo/
    you will see when it loads, it showes the first progressbar as grey and then the next one covering it as per flex4's new preloader mechanism. The example given above is a new flex project, without any code. It shows the first preloader then hangs on that for quiet some time  without any indication that anything is happening. Then it shows the second phaze of preloader after some time. This is happening to all my Flash builder projects.
    can some one suggest anything ? If possible watch this link to a medium bandwidth, not too high : http://flashvisions.com/demos/flexdemo/

    And this for 1.5:
    "In Flex or Flash, a loaded SWF takes on the FrameRate of the
    parent SWF. In flex you can set the framerate value for the main
    application with "framerate" attribute in the
    <mx:Application> tag."
    Tracy

  • Video Skin not working in embedded SWF

    Are there issues with using a video skin on an swf that sits on a web page? Specifically, I have an swf that has a FLVPlayback component. The skin and its path are specified in the Parameters tab; autohide set to true.
    When the FLV in the swf plays, the skin appears on a mouse_over, as it should be. However, if the swf has the same dimensions as the flv, and the mouse rolls away, then it appears to me that the swf never "gets the message" that the mouse is no longer over it... and therefore the skin does not hide. Is this normal?
    If so, what's the work around? Designing the swf to be larger than the flv? I'd rather not, as that makes for some un-elegant (is that a word?) designing.
    Thanks,
    David

    Fixed it.
    var vSound1 = new Sound(this);
    var vSound2 = new Sound(this);
    var vSound3 = new Sound(this);
    playSound1 = function () {
    this.vSound1.start();
    on (press) {
    this.playSound1();
    }

  • HT204053 i RECENTLY PURCHASED ANOTHER IPHONE.  MY INTERNET IS NOT WORKING.  I JUST CREATED AN APPLE ID.  WHAT'S NEXT?  I NOW HAVE TWO DIFFERENT ACCOUNTS WITH DIFFERENT USER NAMES.  HOW CAN I USE ONLY ONE ACCOUNT FOR ITUNES, ICLOUD APPLE ID ETC???

    I RECENTLY PURCHASED ANOTHER IPHONE.  MY INTERNET IS NOT WORKING.  I JUST CREATED AN APPLE ID.  WHAT'S NEXT?  I NOW HAVE TWO DIFFERENT ACCOUNTS WITH DIFFERENT USER NAMES.  HOW CAN I USE ONLY ONE ACCOUNT FOR ITUNES, ICLOUD APPLE ID ETC???

    Welcome to the Apple community.
    iTunes and iCloud and different accounts, you will need to delete both accounts from your device before adding the new details in their place.
    For iCloud go to settings > iCloud, scroll down and hit the delete button. You can then sign back in using your correct details. For iTunes go to settings >store, tap your account ID and then sign out, you can then sign back in using your correct Apple ID.

  • CR report with embedded SWF: Export to PDF displays nothing

    I'm creating CR 2008 reports with embedded SWFs as described in the whitepaper [EMBEDDING XCELSIUS 2008 VISUALIZATIONS IN CRYSTAL REPORTS 2008|http://www.businessobjects.com/pdf/product/catalog/crystalreports/cr_xc_integration.pdf].
    From CR, I can export the report to html and view the report fine. But when I export to pdf, ppt, etc. The SWFs are not viewable. Is this a bug or by design?
    This section of the white paper seems to imply that maybe you cannot export to pdf:
    >TECHNICAL DETAILS
    >
    >Viewing Flash objects embedded in a Crystal Report is supported in the:
    >
    >Crystal Reports 2008 Preview tab
    >Crystal Reports 2008 .NET Webform viewer
    >Crystal Reports 2008 Java DHTML viewer (used in BusinessObjects Enterprise XI 3.0 and other products)
    >
    >Exporting and printing of Flash objects with connections to Crystal Reports data is not supported.
    >
    >Embedded Flash objects that do not have connections to Crystal Reports data can be exported to PDF only.
    I'm using the latest version of Adobe products:
    - Adobe Flash Player ActiveX, Version 9.0.124.0
    - Adobe Flash Player Plugin, Version 9.0.115.0
    - Adobe Reader 9, Version 9.0.0
    Also, I downloaded [CR Viewer 2008|http://www.businessobjects.com/product/catalog/crystalreports_viewer/] and can see the CR reports I've created with embedded Xcelsius swfs.
    Any information is appreciated. Thanks.
    Tim

    > ... it states in your first post, the export is not supported,
    True. It says:
    > Exporting and printing of Flash objects with connections to Crystal Reports data is not supported.
    But I can export such reports to html and view and print the flash objects.
    It seems inconsistent to me. I can export static flash charts to pdf, yet I cannot export dynamic flash charts to pdf, which is from Adobe, as is Flash?
    I'm hoping this is a temporary bug either in Crystal or pdf reader and is to be fixed in a patch release. Or an explanation of why the limitations exist.
    Thanks for the response.
    Tim

  • Test sequences not working in standard prototype adaptor with Execute Steps in process

    Test sequences not working in standard prototype adaptor with "Execute Steps in process" but the sequences works in "Execute steps in an External instance of CVI"(Debug mode). Pl help with solution
    Apriciate your help
    Regards,
    Sharanu

    Sharanu,
    Thanks for contacting National Instruments. It would help us out a lot if you could specify exactly what is not working. Will the sequence just not run? Is it giving you an error message? Or what exactly does not work about it? The initial thing that I could think of that would make it not work in External Instance but not using the RunTime Engine is that you might be missing a support library when trying to run it in this configuration. If you click on the "Configure Auto-Loading of Support Libraries Needed for Linking .objs and .libs" button, you can make sure that all the support libraries you might be using are added in this list (you can add them using the "Add Other Libraries..." button). If this does not fix your problem, then let us know a litt
    le more about what is going on and we can help you from there. Thanks.
    Adam B.
    Applications Engineer
    National Instruments

  • My iphone 4 fell down from 3 feet height and display is not working now, phone is functioning with calls and messages etc.. except no display :( please advise me a corrective action...

    my iphone 4 fell down from 3 feet height and display is not working now, phone is functioning with calls and messages etc.. except no display please advise me a corrective action...

    Take it to an Apple Store and see about getting an out of warranty replacement. I believe it will run you about $150.

  • I bought iphone 5c 4-5 days back from india and today back button of this phone not working, i am totally dissatisfy with the apple service support. i want replacement

    (i bought iphone 5c 4-5 days back from india and today back button of this phone not working, i am totally dissatisfy with the apple service support. i want replacement.)
    Hello i am nitin from india, i purchased a iphone5c because i heard that iphone comes with a great coustmer service, but this statment becomes totally wrong today, when i faced coustmer executive at service center of iphone then he said that i have to check it out and it may be a physical damage, ( how it is possible even i carried this phone with anti shock cover guard and its never fall down from my hand.) the simple thing i know that i want my phone replaced, otherwise it would be a great mistake of my life to purchase an iphone.
                                                                                          Thanks to all apple team for your wonderful service,

    Welcome to the user to User Technical Support Forum provided by Apple.
    For your issue... See here...
    Contacting Apple World Wide for Support and Service
    http://support.apple.com/kb/HE57
    Apple Warranty  >  http://www.apple.com/legal/warranty/
    iPhone Warranty  >  The warranty is only valid in the country of original purchase... Except for EU Countries...

  • Rusher dominance is not working on my iPad 1 with iOS 5.1.1 .Can anybody tell me it's reason ? If there's any reason please tell me how to fix it

    Rusher dominance is not working on my iPad 1 withies 5.1.1 please tell me it's reason the same problem is with many other games e.g. Acr drift and highway rally.

    Thanks for the swift reply, I have been looking online and a loose plug seems to be somewhat of an issue with many, I hope mine is actually a problem and not what others are experiencing. It's taken me this long to even reach out for the simple fact I HATE being a complainer but this is just horrible.
    Do you have an iPad 3 as well? And is yours not experiencing any issues close to mine?
    Thanks again!

  • I have a printer xerox 3220 on networking ,have pc´s and a mac ,problem:it´s already install but does not work ,only print many page with code program,i will appreciate the solution

    i have a printer xerox 3220 on networking ,have pc´s and a mac ,problem:it´s already install but does not work ,only print many page with code program,i will appreciate the solution

    Hi guillermospain,
    Welcome to the Support Communities!
    The article below may be able to help you with this.
    Click on the link to see more details and screenshots. 
    OS X: Connecting a Wi-Fi printer to your Wi-Fi network
    http://support.apple.com/kb/ht3500
    OS X Mountain Lion: Set up a printer
    http://support.apple.com/kb/PH11145
    OS X Mountain Lion: Reset the printing system
    http://support.apple.com/kb/PH11143
    Cheers,
    - Judy

  • When I play music and get on YouTube and stuff like that my sound is not working what is going on with my iPhone 4s

    When I play my music and use YouTube and stuff like that my sound is not working what is going on with my iPhone 4s

    Hi Jillianfromny!
    I have an article here that seems to describe your issue, and can provide some troubleshooting steps for you to follow that will help you resolve this issue:
    iPhone: Can't hear through the receiver or speakers
    http://support.apple.com/kb/TS1630
    Thanks for coming to the Apple Support Communities!
    Regards,
    Braden

  • I have the i phone four and just uploaded to my computer and now it will not work  has the apple logo with a long oval bar under it

    i have the i phone four and just uploaded to my computer and now it will not work  has the apple logo with a long oval bar under it

    It may be that it is stuck loading. You will want to probably first attempt a Hard Reset (Home Button + Power Button for 5-10s until it restarts with an Apple Logo then let it load up) and see if this will get it working.

  • Lock and keyboard sounds not working?  what's up with that?

    lock and keyboard sounds not working?  what's up with that?

    Im having the same problem. Just stopped working yesterday two days after i bought it!!!!

Maybe you are looking for

  • Manage music and videos manually from more than one computer

    Hello, I'm triying to transfer music from two computers (work computer and home computer) to my iPhone. The problem is that when I select the Manage music and videos manually on my iTunes and then apply it keep saying that the iPhone is already synch

  • Stream video doesn't work properly  after update to OS Mavericks

    after update to OS Mavericks stream video doesn,t work properly!!!  doesn't loaded stream video and stream audio from web sites (youtube, or other with stream video).

  • REmote Monitor and Keyboard

    Current Set up: Room 1     Mac Mini connected to TV with wireless keyboard and trackpad, Belkin router Room 2     Airport Express used to stream music to Bose speakers via wifi. Question: Can I place a second monitor, keyboard, mouse in Room 2 to con

  • REgarding view selection mm02 in bdc

    hi,      i m usung function module 'MATERIAL_BTCI_SELECTION_NEW'' for selecting the single view automatically in bdc,its working fine..but for another scenario i have to select the multiple views so for this what sud i do i how cud i pass multiple vi

  • Report for all checked out files

    is there a way to get a report of all files in Version Cue that are checked out?