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...

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 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!

  • 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

  • IPod Touch (2nd gen) - Does not work with Component AV Cable

    I have a 2nd generation iPod Touch. Today I bought the component AV cable at the Apple store (along with a universal dock). Connected it correctly to the TV and:
    1. No picture (screen is blue, as though nothing connected); no sound (whether video or music)
    2. Whatever video is playing on the actual iPod gets stuck - as though it is on "pause", with the difference that you can push "play" and "pause" and the only thing that does is change the "play" or "pause" icon from one to the other or vice-versa--video will not actually play
    3. Setting Widescreen to "on" or "off" has no effect
    4. Tried connecting it to an old iPod Nano (2nd gen I think) - also no sound.
    Please advise!

    Alex_K
    Try changeing your TV out setting, found in the (Settings) of your ipod. Following Paragraph found in the iPod User manual (Page 98): http://support.apple.com/manuals/#ipodtouch
    "Use these settings to set up how iPod touch plays videos on your TV. For more
    information about using iPod touch to play videos on your TV, see “Watching Videos
    on a TV” on page 39.
    Turn widescreen on or off: Choose Video and turn Widescreen on or off.
    Set TV signal to NTSC or PAL: Choose Video > TV Signal and select NTSC or PAL.
    NTSC and PAL are TV broadcast standards. iPod touch displays NTSC 480p/PAL 576p
    when attached to a TV using a component cable, or NTSC 480i/PAL 576i using a
    composite cable. Your TV might use either of these, depending on where you bought
    it. If you’re not sure which to use, check the documentation that came with your TV. "
    Hope that helps,
    Weston

  • 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)

  • Component material costing (Unit of Measure conversion) is not working at S

    Hi,
    Unit of Measure conversion factor (Value) is not working for component materials at Sales order level costing, but the same conversion factor is working fine at Standard cost estimation level.
    Example:
    Conversion Factor for Raw materials (Procurement in Tones, Consumption in Each)
    1 Ton (Rs.1000) = 10 Each (per Each u2013 Rs.100)
    For Manufacturing of 1 pc FG is required 1 each Raw material
    Issue: At sales Order level - Raw material costing is calculated at u201CTonu201D price u2013 Rs.1000 instead of u201CEachu201D price u2013 Rs.100. 
    Regards
    Nagesh

    Hi,
    Pricing (unit conversion) is done different for MM and SD process.
    MM has decided to use the old process which determines the values out of T006. There you have the conversion factors which are used in PO. If you create a sales order or billing document the determination will be different as the material master will be read.
    regards
    Waman

  • ContentPath not working in a loop for a Loader component

    i'm trying to load pics into a loader in my movieclip, i'm
    looping through about 20 items, to be placed in a movieclips
    dynamically attached...
    this does not work...
    mcContainer['node'+nCount].pic.contentPath=myimagepath;
    this does work...
    mcContainer['node'+nCount].pic.loadMovie(myimagepath);
    but it does not come in scaled / sized like I want...
    any reason why the images do not appear in the loader
    component in the movieclip? it's like the screen is not being
    refreshed or the loader never finishes, when I trace the
    contentPath after the fact it says the right path, but no image is
    there.

    contentPah is used to specify linkageID's only, and will not
    work for a URL. you correctly used the load method to get the
    picture in there, now you just have to scale it. if you set the
    loader's scaleContent to true, your image will scale to the
    loader's size, and vice versa if you set the property to false. if
    you need to do some custom scaling based on the size of the image,
    you can grab those properties like so:
    myLoader.content._width
    not that the above property, and any scaling commands, will
    only work after the loader finishes loading, so you'll need to put
    that stuff in an event handler for the loader.complete event...
    hope that helps

Maybe you are looking for