Trace not working

Hi ,
I am using Adobe flash cs5. I used to create Air application on the publish settings.
While i run the air application in side the Adobe flash cs5 it update the "Application Data\Macromedia\Flash Player\Logs\flashlog.txt"
but once i compile them as .air packge, it didnt update the flashlog.txt.I want to see the trace when the .air application starts.Please guide me to debug the air application.
Tool               : flash CS5
Air version     : 2
OS                 : Windows 7
Note:
When i google about it I got something like ADL to get the trace.Then i download the latest air sdk. But i am not aware how to link the "AdobeAIRSDK" with the flash cs5.

Trace statements and debugging using the release app is not officially supported.  However, you can launch your app using ADL from a command prompt and the trace statements will appear.  Alterntativly, users have worked around this limitation using steps as described in this blog:
http://backroom.bostonproductions.com/?p=902

Similar Messages

  • Trace not working when create air app in flash cs6

    hi
    when i compile air app in flash cs6 , trace function dont workk and flash cs6 dispatch error with this title: test movie lunch failed, please help me

    yeah, that happened to me, is not a compilation error is a popup that says "test lunch movie failed". I usually happened when the machine is saturated memory, and does not work well until after restart 

  • Dynamic NAT ASA 8.4 Packet Tracer not working

    Hi guys,
    I've tried to ping and go to a site from 192.168.1.6 to 10.10.10.12, but it's not working. I've followed a couple dynamic NAT tutorials, but I can't figure out what I'm missing. The config is below, and I'd appreciate any help.
    Thanks!
    ASA Version 8.4(2)
    hostname ciscoasa
    names
    interface Ethernet0/0
    switchport access vlan 2
    interface Ethernet0/1
    interface Ethernet0/2
    interface Ethernet0/3
    interface Ethernet0/4
    interface Ethernet0/5
    interface Ethernet0/6
    interface Ethernet0/7
    interface Vlan1
    nameif inside
    security-level 100
    ip address 192.168.1.2 255.255.255.0
    interface Vlan2
    nameif outside
    security-level 0
    ip address 10.10.10.2 255.0.0.0
    object network inside-subnet
    subnet 192.168.1.0 255.255.255.0
    object network inside-subnet
    nat (inside,outside) dynamic interface
    telnet timeout 5
    ssh timeout 5
    dhcpd address 192.168.1.5-192.168.1.35 inside
    dhcpd auto_config outside

    Thanks guys. I'm one step closer. I can ping from 192.168.1.0 to 10.0.0.0, but I can't open a webpage. I try visiting 10.0.0.6/index.html in packet tracer and get a "Request time out" message. I tried to mirror the ACL for www, but it's not working. 
    Does anyone have a suggestion? My updated config is below.
    Thanks!
    ASA Version 8.4(2)
    hostname ciscoasa
    names
    interface Ethernet0/0
    switchport access vlan 2
    interface Ethernet0/1
    interface Ethernet0/2
    interface Ethernet0/3
    interface Ethernet0/4
    interface Ethernet0/5
    interface Ethernet0/6
    interface Ethernet0/7
    interface Vlan1
    nameif inside
    security-level 100
    ip address 192.168.1.1 255.255.255.0
    interface Vlan2
    nameif outside
    security-level 0
    ip address 10.0.0.1 255.0.0.0
    object network inside-subnet
    subnet 192.168.1.0 255.255.255.0
    object network outside-subnet
    subnet 10.0.0.0 255.0.0.0
    access-list TEST extended permit icmp any any echo-reply
    access-list TEST extended permit tcp any any eq www
    access-list http extended permit tcp any any eq www
    access-list http2 extended permit udp any any eq www
    access-group TEST in interface outside
    object network inside-subnet
    nat (inside,outside) dynamic interface
    telnet timeout 5
    ssh timeout 5
    dhcpd auto_config outside
    dhcpd address 192.168.1.5-192.168.1.35 inside
    dhcpd enable inside

  • Trace() not working in component

    How do you get trace() to work from within a component
    script?

    Not sure what you mean.. Perhaps you could adapt the code
    below for an
    example?
    #initclip
    trace("HELLO");
    #endinitclip
    Thanks
    On 10/7/06 21:26, in article
    e8ud6g$6on$[email protected], "Andreq85"
    <[email protected]> wrote:
    > ...it work well for me..
    >
    >
    > If you try to do a trace for the livepreview (when
    authoring) ...it will never
    > fire...
    >
    > but if you do a trace in the constructor function it
    work...

  • Trace not working flex

    I have come to a point where I need to use trace. Well, it is not working. I enter "Debug" mode/perspective and have the following, but nothing gets traced. First time I ever use trace in flex, have used it in Flash plenty of times.
    <s:View xmlns:fx="http://ns.adobe.com/mxml/2009"
            xmlns:s="library://ns.adobe.com/flex/spark" title="TestView"
            creationComplete="init()">
    private function init():void{
              trace("working");
    Thanks

    I have gotten this working. Had to a a .cfg file.

  • ICI trace not working

    Hi Guys
    We are working on CRM 4.0 SP11. Currently we are integrating with third party CTI vendor called Interactive Intelligence.
    Currently SAP is sending the messages and Interactive Intelligence is receiving them. The Interactive Intelligence guys are saying that the format of messages is wrong. So they are sending an exception to SAP system.
    To check these messages, we have switched on the ICI trace. But the ICI trace is not working. We have switched the CRM tracing ON. User Parameter CRM_ICI_TRACELEVEL has been set to XXX However when viewing the trace files from transaction code CRM_ICI_TRACE no values are returned.
    Any help would be highly appreciated.
    Regards
    Hari

    We need to use SOAP setting for ICI trace to be updated.

  • Trace not working in air / as3

    Hi, this may be something obvious but after installing adobe
    air, trace no longer works to my output window.
    I've checked the publish settings and 'omit traces' is
    unchecked.
    thanks

    Hi Trigon_15
    Same thing happend to me, suddenly trace stopt working, some sort of bug i believe
    how it occured i don't know, if added a new SDK, all worked perfect, 2 days later, it just
    stopped tracing.
    How i solved it?
    i've added the compiler argument (-compiler.debug=true) to the Compiler options of the project.
    In my case it's tracing again
    Hopes it will help you to!
    Regards,
    Marc
    ps. i'm using Flash Builder 4 with Flex SDK 4.1

  • Air.trace() not working

    Hi all,
    Someone had a similar problem here: http://forums.adobe.com/thread/750219?tstart=0  They managed to solve it, I started adding to post but thought it best to start a brand new post.
    I've tried what they've suggested and made a file called mm.cfg in my %HomeDrive%%HomePath% directory (c:\users\james) the contents of which are:
         ErrorReportingEnable=1
         TraceOutputFileEnable=1
         TraceOutputFileName=c:\logs\flashlogs.txt
         MaxWarnings=50
    but I still don't get a log file from air.trace().  Though in C:\Users\James\AppData\Roaming\Macromedia\Flash Player  there's a file flashlog.txt with:
         Warning: Not a known player download type, app:/HelloWorld.html
    I'm running Vista and I'm using AIRSDK 2.5.  I call my hello world  application from the command prompt with " adl HelloWorld-app.xml "  I  get a window of correct dimensions with " Hello World! " as expected, but  no console message.  What am I doing wrong please?  I've been looking  for about a day now at how to get the air.trace messages but neither  those nor the introspector statements work.
    Thank you!!
    James
    The  4 files are in:
    C:\AIRHelloWorld
    The 4 files are:
    HelloWorld-app.xml
    HelloWorld.html
    AIRAliases.js
    AIRIntrospector.js
    My  code for HelloWorld-app.xml and HelloWorld.html is below.   AIRAliases.js and AIRIntrospector.js  are copied straight from AIRSDK
    HelloWorld-app.xml
    <!-- Tutorial at: http://help.adobe.com/en_US/air/build/WS5b3ccc516d4fbf351e63e3d118666ade46-7ecc.html -->
    <application xmlns="http://ns.adobe.com/air/application/2.5">
        <id>examples.html.HelloWorld</id>   
        <versionNumber>0.1</versionNumber>   
        <filename>HelloWorld</filename>
        <initialWindow>
            <content>HelloWorld.html</content>
            <visible>true</visible>
            <width>240</width>
            <height>320</height>
        </initialWindow>
    </application>
    <!-- To RUN AND TEST the application get a console window (type cmd into search box of Windows vista)
    type:
    cd c:\AIRHelloWorld
    When you have it in the directory of "c:\AIRHelloWorld" then type:
    adl HelloWorld-app.xml
    You'll get a window showing the app and also apparently the console window displays the
    message resulting from the air.trace() call in the html, but I never see this -->
    HelloWorld.html
    <html>
    <head>
        <title>Hello World</title>
        <!-- In the <head> section of the HTML, import the AIRAliases.js file: -->
        <script src="AIRAliases.js" type="text/javascript"></script>
        <script type="text/javascript" src="AIRIntrospector.js"></script>
        <!-- JavaScript function to handle the onLoad event:  -->
        <script type="text/javascript">
        function appLoad(){
            air.trace("Hello World - debug comment");  /*The appLoad() function simply calls
               the air.trace() function. The trace message print to the command
               console when you run the application using ADL. Trace statements
               can be very useful for debugging.*/
            air.Introspector.Console.log("Hello World - Introspector debug comment");
        </script>
    </head>
    <body on load="appLoad()">
        <h1>Hello World!</h1>
    </body>
    </html>

    Hi Chris, on sdk 2.5, actually, also the Introspector doesn't seem to work. Tried:
    <html>
        <head>
            <title>Source Viewer Sample</title>
            <script type="text/javascript" src="js/AIRAliases.js"></script>
            <script type="text/javascript" src="js/AIRIntrospector.js"></script>
            <script type="text/javascript">
                function logBtn()
                    var button1 = document.getElementById("btn1");
                    air.Introspector.Console.log(button1);
            </script>
        </head>
        <body>
            <p>Click to view the button object in the Console.</p>
            <input type="button" id="btn1"
                onclick="logBtn()"
                value="Log" />
        </body>
    </html>
    UPDATE: I didn't realize it was a different window that appears behind. It works then!

  • 2.5 SDK getting started: air.trace() not working

    I don't know where to turn. I´ve followed the steps on this tutorial and air.trace doesn't work.
    I'm using Windows Vista and the command prompt to run the debugger. It starts the app but air.trace sends nothing to the command window.
    I've tried running cmd with admin privileges with no results. If I make a javascript alert {{  alert(air.trace)  }} it correctly says it's a function and testing a basic send-something-to-clipboard snippet works fine.
    Here's my code:
    <html>
    <head>
        <title>Hello World</title>
        <script type="text/javascript" src="air/AIRAliases.js"></script>
        <script type="text/javascript">
            function init(){
              // this works
           var copy = "A string to copy to the system clipboard.";
           air.Clipboard.generalClipboard.clear();
           air.Clipboard.generalClipboard.setData(air.ClipboardFormats.TEXT_FORMAT, copy);
              // this doesn't
              air.trace("anybody there?");
        </script>
    </head>
    <body onLoad="init()">
        <h1>hello world?</h1>
    </body>
    </html>
    Any ideas?

    Hi all,
    I'm running Vista, and using the command prompt but don't get any messages from air.trace().  I'm using AIRSDK 2.5 and call my hello world application from the command prompt with " adl HelloWorld-app.xml "  I get a window of correct dimensions with " Hello World " as expected, but no console message.  What am I doing wrong please?  I've been looking for about 2 hours now at how to get the air.trace messages but neither those nor the introspector statements work.
    Thank you,
    James
    The 4 files are in:
    C:\AIRHelloWorld
    The 4 files are:
    HelloWorld-app.xml
    HelloWorld.html
    AIRAliases.js
    AIRIntrospector.js
    My code for HelloWorld-app.xml and HelloWorld.html is below.  AIRAliases.js and AIRIntrospector.js  are copied straight from AIRSDK
    HelloWorld-app.xml
    <!-- Tutorial at: http://help.adobe.com/en_US/air/build/WS5b3ccc516d4fbf351e63e3d118666ade46-7ecc.html -->
    <application xmlns="http://ns.adobe.com/air/application/2.5">
        <id>examples.html.HelloWorld</id>
        <versionNumber>0.1</versionNumber>   
        <filename>HelloWorld</filename>
        <initialWindow>
            <content>HelloWorld.html</content>
            <visible>true</visible>
            <width>240</width>
            <height>320</height>
        </initialWindow>
    </application>
    <!-- To RUN AND TEST the application get a console window (type cmd into search box of Windows vista)
    type:
    cd c:\AIRHelloWorld
    When you have it in the directory of "c:\AIRHelloWorld" then type:
    adl HelloWorld-app.xml
    You'll get a window showing the app and also apparently the console window displays the
    message resulting from the air.trace() call in the html, but I never see this -->
    HelloWorld.html
    <html>
    <head>
    <title>Hello World</title>
    <!-- In the <head> section of the HTML, import the AIRAliases.js file: -->
    <script src="AIRAliases.js" type="text/javascript"></script>
    <script type="text/javascript" src="AIRIntrospector.js"></script>
    <!-- JavaScript function to handle the onLoad event:  -->
    <script type="text/javascript">
    function appLoad(){
    air.trace("Hello World - debug comment");  /*The appLoad() function simply calls
        the air.trace() function. The trace message print to the command
        console when you run the application using ADL. Trace statements
        can be very useful for debugging.*/
    air.Introspector.Console.log("Hello World - Introspector debug comment");
    </script>
    </head>
    <body on load="appLoad()">
    <h1>Hello World</h1>
    </body>
    </html>

  • Ray-Trace not working on a 3D object

    I created a model in Google Sketchup, mapping photo textures to some surfaces to create certain textures. When I imported it into Photoshop (in DAE format), Photoshop shows the mapped photo textures no problem, but when I go to ray-trace the model, it starts and then stops right away without ray-tracing. I've rendered lots of 3D models from Sketchup before and never had this issue, although, I haven't tried importing a model that already had photo textures mapped before, which is why I made mention of that.
    I'm using Photoshop CS5 Extended. (Not 5.5)
    Does anyone know why it would be doing this? Are there settings I need to change, or just a glitch with the particular model file?
    Here's the model:
    The dashboard (made up of a group of floating flat surfaces made to look like holographic controls) is all photo-textures. This is a screenshot taken directly from Photoshop, so you can see they're appearing fine in Interactive quality.

    I do that dmennenoh, on contentLoaderInfo COMPLETE EVENT i smooth the bitmap in the same way, it even says trace(bitmap.smoothing) true.
    I kind've nailed down the problem. It comes from the good old AS3 3D API. You know how when an object has 3d propertis applied to it it creates a matrix3D for it. Well on a picture like this one, that has small 1pixel patterns on it, when the matrix3D != null the image looks like hell even with smoothing = true.
    I returned the image's rotationY to 0 and still look fuzzy. Than i also made matrix3D = null. And now the image look fine. So the problem is from the matrix3D or the 3D API itself. There's not much of a solution to this problem.
    The image is also scaled down from a big image. You know that if you scale down an image that has patterns on it without smoothing applied to it, it look much like my image. Thus when it's a 3D object the smoothing property isn't taken into account. So every time you use an image with patterns and rotate it or move it on Z it will look much like my image.
    I found a solution though. If the image is almost or the size of the desired dimension it will not look fuzzy. My image is a 1680x1050 reduced down to 610x380. And it looks fuzzy even with smoothing=true if it's a 3d object. After I resized my image to 610x380 in Irfanview it looks cool.
    Hope I didn't bored you to death with my long explanation.
    Cheers.

  • 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

  • DSP - fn:trace not working / CodeChange FAQs

    Hi,
    I want to use the fn:trace function, but I can't see any output from it. I already set the wls log level to debug, but there is still no output. Google gives a nice result for "fn:trace aldsp" but the website is gone: http://dev2dev.bea.com/wiki/bin/view/CodeShare/Faq_fntrace?skin=print.
    Thanks for any help,
    Guido

    wls log level to debugYou also need to set the ALDSP log level for you dataspace to debug. Trace should appear in the WLS server log file.
    but the website is gone: http://dev2dev.bea.com/wiki/bin/view/CodeShare/Faq_fntrace?skin=print.
    Ask here about the dev2dev.bea.com content : Community Feedback (No Product Questions)

  • Trace("anything"); //Not working anymore

    Hello,
    I'm in development with my technical director.  My code was working fine and dandy.
    Then he implements a "paperdoll" interface like torchlight.
    He grumbled something about his trace commands no longer working in the project, or working randomly.
    Now that I am interfacing with his code, my trace("stuff"); commands are not working either.
    What are some possible things he did which nullify trace commands?
    ,Jim
    PS: I still get type lag, it is worse now, sometimes taking up to 10 seconds long, while Flash Builder says Flash Builder(Not Responding).  I think it has to do with highlighting variables you're using, but I can't find a way to disable that.

    Hi GoodNewsJim,
    Good to know that breakpoints work, if you need trace()'s to start working again,
    Simply try:
    1. Toggling Window -> Enable Design view to disable design view.
    2. Restarting Flash Builder
    3. Doing a Project clean
    That should bring back traces for good.
    P.S: This is a known bug in the preview release - https://bugs.adobe.com/jira/browse/FB-27654
    Cheers,
    Anirudh

  • Trace & Alert is not working

    Dear Friends,
    iam using snackr open source to evaluate and learn flex. i
    know Flash3 & AIR very well. iam New to Flex.iam trying to use
    trace or alert.show command in order to debug the coding. it is not
    giving out put. even it is not going to that line. i read the help
    file and searching for mm.cfg to edit and fix enabletrace =1.
    pls help me..
    Thanks and Regards,
    Syed Abdul Rahim

    Dear Mr.Rushme,
    Thks for your reply, as u said, i creeated a folder called
    c:\user\syed.rahim\mm.cfg, and run the following code, i want to
    find the saving path of the file, i mean application storage
    i.e. trace(docRoot.nativePath);
    Alert.show(docRoot.nativePath);
    in some case i want to use trace for debugging, like certain
    function is getting fire or not? but the trace or alert is not
    working, basically i want to display a message and debug..
    code is:
    <mx:Application xmlns:mx="
    http://www.adobe.com/2006/mxml"
    applicationComplete="handleApplicationComplete(event)"
    frameRate="60"
    visible="false"
    autoExit="true">
    <mx:Style source="styles/styles.css"/>
    <mx:Script>
    <![CDATA[
    import ui.utils.UIUtils;
    import model.logger.Logger;
    import model.feeds.FeedModel;
    import model.options.OptionsModel;
    import ui.windows.SnackrMainWindow;
    import mx.controls.Alert;
    * Name of the database where we store all feeds and options.
    This file
    * is within the user's documents folder in the Snackr
    subfolder.
    static private const DB_FILE: String = "FeedDatabase.sql";
    private var _mainWindow: SnackrMainWindow = null;
    private function handleApplicationComplete(event: Event):
    void {
    // Create the Snackr data folder if it doesn't exist (inside
    the user's
    // document's folder).
    var docRoot: File =
    File.documentsDirectory.resolvePath(UIUtils.appName);
    docRoot.createDirectory();
    trace(docRoot.nativePath);
    Alert.show(docRoot.nativePath);
    // Initialize the logger. The logger writes to the file
    Log.txt in the
    // Snackr data folder. We keep the previous 3 log files
    around.
    var oldLogFile: File;
    for (var i: int = 2; i >= 0; i--) {
    oldLogFile = docRoot.resolvePath("Log" + (i == 0 ? "" :
    String(i)) + ".txt");
    if (oldLogFile.exists) {
    try {
    oldLogFile.moveTo(docRoot.resolvePath("Log" + String(i+1) +
    ".txt"), true);
    catch (e: Error) {
    // Too early to log this. Oh well. It just means that we
    won't be preserving
    // log files earlier than the current one.
    trace("Can't back up log file " + oldLogFile.name);
    Logger.instance.initialize(docRoot.resolvePath("Log.txt"));
    Logger.instance.log("Snackr starting");
    // Open the Snackr database file and initialize the models
    from it.
    var feedModel: FeedModel = null;
    var optionsModel: OptionsModel = null;
    var sqlConnection: SQLConnection = null;
    var dbFile: File = docRoot.resolvePath(DB_FILE);
    try {
    sqlConnection = new SQLConnection();
    sqlConnection.open(dbFile);
    sqlConnection.compact();
    optionsModel = new OptionsModel(sqlConnection);
    feedModel = new FeedModel(sqlConnection);
    catch (error: SQLError) {
    Logger.instance.log("Couldn't read or create the database
    file: " + error.details, Logger.SEVERITY_SERIOUS);
    throw error;
    _mainWindow = new SnackrMainWindow();
    _mainWindow.initializeModels(sqlConnection, feedModel,
    optionsModel);
    var showInTaskbar: String =
    optionsModel.getValue(OptionsModel.OPTION_SHOW_IN_TASKBAR);
    if (showInTaskbar == "0") {
    _mainWindow.type = "lightweight";
    else {
    _mainWindow.type = "normal";
    _mainWindow.open();
    ]]>
    </mx:Script>
    </mx:Application>
    Thanks and Regards,
    Syed Abdul Rahim

  • How come thr trace() function not working now

    Hi,
    All of a sudden, all the trace() functions are not working
    any more. Can anyone remind me what things need to turn on, or what
    kind of software I have to install?
    Thanks.

    You need to configure the mm.cfg file.
    See the Developer's Guide for the details.
    Tracy

Maybe you are looking for