Using flash debugger player with Flex application

I am building my first Flex app and have run into a problem that I can't figure out.  When publishing a .swf in Flash I sometimes run the debugger to generate the swf.  When I do so, I can view the swf through my browser (using the debugger version of flash player) and the exceptions that are thrown include a stack trace (complete with line numbers) of any error that occurred.  I have tried running the debug compiled version of my swf from Flex and it does not show the line numbers.
Is there some way to do this?  I have several thousand lines and the location of the error is tough to figure out becuase it is an instance where I am casting an event to the wrong type through my typed params for a function.  So, for example, I am dispatching a MouseEvent but the listener function has a typed parameter of Event instead.
Can someone please point me in the right direction?
Thanks.

Thanks for the feedback.  Our debugger documentation definitely needs to be refreshed.  The PPAPI debugger on Chrome is even more complex.  I blocked some time out on my calendar for Friday to try and get these revised.

Similar Messages

  • Flash Builder 4 with Flex SDK 4.0 for Intel App Up

    There is some misinformation on Intel AppUp and the Melrose FAQ about being able to publish with Flash Builder 4.
    Intel App Up Program Submission
    According to http://appdeveloper.intel.com/en-us/article/adobe-air-packaging-guide-atom-developer-progr am-submissions
    "AIR app must be built using Flex Builder 3 with Flex SDK 3.5a.  Currently Flex Builder 4 with Flex SDK 4 is not supported."
    Melrose FAQ
    According to http://learn.adobe.com/wiki/display/melrose/Melrose+Developer+FAQ
    "Q: Are there system requirements for enabling try and buy in AIR apps using Melrose?
    A: You must have Adobe Flex Builder 3 or greater and Adobe AIR 1.5.3 or greater."
    Is the Intel App Up statement correct?  If it is, could I get an explanation why?  I've been waiting for the last 3 months waiting for the Melrose SDK to deploy to Intel App Up and now I can't even submit my application.
    Thanks.

    The current version of Melrose supports Flex 3.5 SDK for AIR applications running on AIR 1.5.3 runtime or higher. You can use Adobe Flex Builder 3 with Flex 3.5 SDK or Adobe Flash Builder 4 with Flex 3.5 SDK.
    Support for Flex 4.1 SDK for AIR applications running on AIR 2.0 runtime should be available within a few weeks. Please note that we will not be able to support Flex 4.0 SDK because of certain technical challenges.

  • Using Flash 8 Symbols in Flex

    Hi,
    I am creating some custom controls whose interface is a bit
    complicated (and hence would be far too much of an effort to create
    using graphics.draw methods). So I tried building the user
    interface as Flash 8 symbols. What I do is,
    - Create the symbols in Flash 8
    - Embed them in my Custom Control class
    - Create instances of the embedded class as a SpriteAsset
    object
    - Add it to the childrens list of my control class so that it
    is drawn
    So far, so good.
    The slight issue is that I also need to allow the user to
    modify the custom control interface (line color, fill color etc.)
    and I cant figure out how I can modify these properties on the
    Flash Symbol through the SpriteAsset class.
    Any ideas....

    The short answer is you can't do that. Flash 8 is
    ActionScript 2 while Flex 2 is ActionScript 3. When ActionScript 2
    is loaded into the Flash Player it is put into a separate virtual
    machine than the ActionScript 3 code. This is how the Flash Player
    maintains backward compatability. There isn't a way for the AS3
    code to reach in and tinker with the AS2 code and vice-versa.
    But all is not lost. You can use LocalConnection to
    communicate between the two virtual machines. Check my blog,
    there's an article about doing that:
    Using
    ActionScript 2 SWFs with Flex 2

  • How to create a Macromedia's Flash Java Player with JMF?

    How to create a Macromedia's Flash Java Player with JMF? Can you give me an example? My email:[email protected] [email protected]

    Yes, there is a way. Look up JTree in the API.-can you post some code.... i cant figure out on how to use JTree...
    i'm still confused on where will i get the entire directories of my drives...
    thanks

  • How to use JavaMail 1.4 with Oracle Application Server 10g (9.0.4.0.0)

    Hi all,
    I'd like to know if it's possible and how to use JavaMail 1.4 with Oracle Application Server 10g (9.0.4.0.0), Windows version.
    With the following code, I can see that the mail.jar used by the server is the one included in the jdk installation :
    // I'm testing InternetAddress.class because I want to use commons-email-1.2.jar that requires mail.jar 1.4 (or higher) and activation.jar 1.1 (or higher)
    // and I know that inside the commons-email-1.2.jar file, I need to call the InternetAddress.validate() method that throws a java.lang.NoSuchMethodError: javax.mail.internet.InternetAddress.validate()V if it is used with mail.jar 1.2.
    Class cls = javax.mail.internet.InternetAddress.class;
    java.security.ProtectionDomain pDomain = cls.getProtectionDomain();
    java.security.CodeSource cSource = pDomain.getCodeSource();
    java.net.URL location = cSource.getLocation();
    System.out.println(location.toString());
    This code returns : file:/C:/oracle/app/jdk/jre/lib/ext/mail.jar and this mail.jar file has an implementation version number: 1.2
    - I've tried to include my own mail.jar (1.4.2) and activation.jar (1.1.1) files in the war file that I deploy, but it doesn't work (the server still uses the same mail.jar 1.2)
    - I've tried to put the mail.jar (1.4.2) and activation.jar (1.1.1) files in the applib directory of my OC4J instance, but it doesn't work (the server still uses the same mail.jar 1.2)
    - I know that a patch exists : I've read the following document: How to Make Libraries such as mail.jar and activation.jar Swappable ? [ID 552432.1]
    This article talks about the Patch 6514136, but this patch only applies to : Oracle Containers for J2EE - Version: 10.1.3.3.0
    Can you please help me ?
    Thanks in advance for your answers,
    Laurent

    I strongly suggest to upgrade to AS 10.1.3 to get this.
    Think of future support of AS 9.0.4. You will get not critical patch updates anymore.
    --olaf                                                                                                                                                                                                                                                                                                               

  • Configure CRS2008 to using AD and Kerberos with Java application servers.

    Hi All,
    I have configure CRS2008 to using AD and Kerberos with Java application servers. Domain Controller is installed on W2K3 Server. In addition, CRS2008 is installed on another W2k3 Server.
    I have create service account in domain controller: CMSACC
    I have create two user account: CRuser1 and CRuser2
    I have create domain group: CRSGroup
    After I had run the setspn in domain controller,I got the message at below:
    Registered ServicePrincipalNames for CN=CMSACC, OU=TEST, DC=BD, DC=com:
        BOBJCentralMS/BDMGTSRV.BD.com
    CMC Setting:
    AD Administration Name: BD\administrator
    Default AD Domain: BD.com
    Add AD Group(Domain\Group): secWinAD:CN=CRSGroup,OU=TEST,D=BD,DC=com
    Service principal name:BOBJCentralMS/CMSACCatBD.com
    I have create a WINNT folder in root directory.Moreover and save bcsLognin.conf and Krb5.ini at here.
    bscLogin.conf:
    com.businessobjects.security.jgss.initiate {
    com.sun.security.auth.module.Krb5LoginModule required;
    krb5.ini:
    [libdefaults]
    default_realm = BD.com
    dns_lookup_kdc = true
    dns_lookup_realm = true
    [realms]
    forwardable = true
    BD.com = {
    default_domain = BD.com
    kdc = BDMGTSRV.BD.com
    I have tested the Kerberos,using kinit CMSACCatBD.com password, and got error message at below:
    Exception: krb_error 41 Message stream modified (41) Message stream modified
    KrbException: Message stream modified (41)
            at sun.security.krb5.KrbKdcRep.check(KrbKdcRep.java:53)
            at sun.security.krb5.KrbAsRep.<init>(KrbAsRep.java:96)
            at sun.security.krb5.KrbAsRep.getReply(KrbAsRep.java:486)
         at sun.security.krb5.KrbAsRep.getReply(KrbAsRep.java:444)
         at sun.security.krb5.internal.tools.Kinit.sendASRequest(Kinit.java:310)
         at sun.security.krb5.internal.tools.Kinit.<init>(Kinit.java:259)
         at sun.security.krb5.internal.tools.Kinit.main(Kinit.java:106)
    My problem is failed to logon CMC and infoview and got error message at below:
    Account Information Not Recognized: Active Directory Authentication failed to log you on. Please contact your system administrator to make sure you are a member of a valid mapped group and try again. If you are not a member of the default domain, enter your user name as UserNameatDNS_DomainName, and then try again.
    Actually, I am sucessful to logon Business View manager with CRuser1. However, I fail to logon CMC and infoview and got the above error. Have you any suggestion to solve this problem?
    Ken.

    if you can logon with client tools then that should be an indication that the service account running the CMS IS working! Good news.
    So the problem is likely with the java portion (krb5/bsclogin or java options)
    If the files are in c:\winnt\ (if not copy them there) and perform c:\program files\business objects\javasdk\bin\kinit username
    then enter and password/enter again
    Probably get the same message. To note in your krb5.ini all domain info must be in CAPS (the .com appears to be in lower case)
    kinit works with just the krb5.ini, java SDK and AD (removing BO config and the service account from the picture). Once that works if your java options are specified properly you should be able to login to CMC/infoview.
    also 1 last point. Add udp_preference_limit = 1 to the krb5 lib defaults section
    libdefaults
    default_realm = BD.com
    dns_lookup_kdc = true
    dns_lookup_realm = true
    udp_preference_limit = 1
    Regards,
    Tim

  • How  we can use forms HTML capabilities with Oracle Applications?

    Hi
    Could not find any specific doc how we can use forms HTML capabilities with Oracle Applications?
    Thanks

    I'm not sure that I understand exactly what you are asking?
    What are you trying to do? If you could give a detailed explanation then we can try and assist.
    Reagrds,
    Bren

  • Using the mp3 player with various comput

    Hello,
    I was wondering if I can use the mp3 player with more than one computer, that's to say, not only with the first one. I'm in the USA now but I li've in Italy, so if I buy it here and use it here to download songs, then will I be able to use it in Italy too? Meaning, will I be able to use it with another computer and download others song on it's
    And another question, concerning the battery, what happens when it dies? Because on the mp3 player homepage I read something about replacing it but I would like to know more about it. The battery is a big concern because I'm choosing between Ipod and this one, and on the discussion forums of Ipod, it wasn't very reassuring. While I had heard that Creative's battery is good.
    Thank you very much. Please answer soon.

    Lithium Ion batteries last on average 3 years at peak performance from date of manufacture. More here in the Zen FAQ at Nomadness.net.

  • Use BAPI_FLIGHT_GETLIST  from a standalone flex application

    Hi all,
    I am able to get the flight details [ BAPI_FLIGHT_GETLIST] using flex when run from BSP page, but if i embedd the same swf file in a HTML file or run in flash player i am not able to get any details even it is not asking for my server uname and pass.
    Wat to do to fetch the data using this standalone swf files.
    jay

    Hi Jay,
    It'd have been more clear if you had posted any error/exception you faced in this situation.
    Still I can suggest you check wsdl link you mention in Flex application.
    i mean if you have use any alies name like localhost etc insted of your R/3 IP XXX.XX.XX.XXX:ZZZZ.
    In Above Line Replace XXX.XX.X.XXX:ZZZZ with <Host IP>:<Port>.
    Further check that RFC is only at basic authentication and not customized authorised  Very rare possibility if you can be sure.
    For your help you can refer sample code on following thread for same functionality you want.
    Web service call in Flex
    You can make AIR application also using same code. Just a small change to be used under WindowedApplication tag.
    Regards,
    Vivek

  • Error while loading a swf created in flash cs4, inside a flex application

    Hi there,
    I have created a rotating logo in flash cs4 using motion presets, named logoRotar.swf. I have used this inside my flex application:
    <mx:SWFLoader width="33.33%" height="100%" source="assets/logoRotar.swf">
    When I execute the flex application, I get this runtime error message:
    VerifyError: Error #1014: Class flash.geom::Matrix3D could not be found.
        at global$init()
        at fl.motion::AnimatorFactory3D/getNewAnimator()
        at fl.motion::AnimatorFactoryBase/addTargetInfo()
        at logoRotar_fla::MainTimeline()
    I also tried adding import flash.geom.*; statement in my flex application, I still get the same message.
    Flash player 10,0,22,87 is running in my browser.
    Please help me out....
    Cheers!
    Deepak

    Get Flex 3.3 and use -target-player=10
    Alex Harui
    Flex SDK Developer
    Adobe Systems Inc.
    Blog: http://blogs.adobe.com/aharui

  • Using Flash Media player to play files run from a database

    Hello all,
    I have a dynamic webpage which is connected to a MySQL
    database displaying dynamic information stored in a MySQL table.
    One additional field I have added is a 'video' field in which
    the path to a flash video file is displayed.
    I have a number of user (each user corresponds to a row in
    the table) pictures which are stored in a folder, but the paths to
    which are stored in the database.Using Dreamweaver, I can drag the
    dynamic binding onto the image place holder and then it will lift
    the corresponding image from the table, but the flash video player
    doesn't seem to allow me to do this.
    I would like to do something similar for flash videos, but
    I'm not sure how to do it. Whenever I add a flash movie through the
    media player I need to specify the path - which will change
    depending on what entry in the table is being viewed.
    I have created my websites only with dreamweaver and can't
    program which probably explains why I've got no idea what to do.
    Hope I made sense - will gladly clarify or send you my code.
    Any help would be greatly appreciated.
    Thanks
    Adam

    Make sure that your database has the full path and that you
    are tetsing in
    the browser. You won't be able to see anything in DW
    Paul Whitham
    Certified Dreamweaver MX2004 Professional
    Adobe Community Expert - Dreamweaver
    Valleybiz Internet Design
    www.valleybiz.net
    "fool" <[email protected]> wrote in message
    news:eec8i6$9f3$[email protected]..
    > Thanks - I inserted the media player which came with
    Dreamweaver 8 and
    > the
    > following code was generated:
    >
    > <object
    classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
    > codebase="
    http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#ve
    > rsion=8,0,0,0" width="130" height="98"
    id="FLVPlayer">
    > <param name="movie" value="FLVPlayer_Progressive.swf"
    />
    > <param name="salign" value="lt" />
    > <param name="quality" value="high" />
    > <param name="scale" value="noscale" />
    > <param name="FlashVars"
    >
    value="&MM_ComponentVersion=1&skinName=Corona_Skin_1&streamName=videos/naomi3&au
    > toPlay=false&autoRewind=false" />
    > <embed src="FLVPlayer_Progressive.swf"
    >
    flashvars="&MM_ComponentVersion=1&skinName=Corona_Skin_1&streamName=videos/naomi
    > 3&autoPlay=false&autoRewind=false"
    quality="high" scale="noscale"
    > width="130"
    > height="98" name="FLVPlayer" salign="LT"
    > type="application/x-shockwave-flash"
    > pluginspage="
    http://www.macromedia.com/go/getflashplayer"
    />
    > </object>
    >
    > I attempted to replace 'videos/naomi3' (the file is at
    video/naomi.flv)
    > with
    > <?php echo $row_d['video']; ?>(this is the field
    of the sql table in which
    > the
    > location to the flv file is located, but nothing
    happened (no video
    > appeared).
    >
    > The mysql table is set up properly as I can view image
    files which are
    > linked
    > to by paths in the MySQL table so the problem can't be
    that.
    >
    > Thanks
    >

  • Can I use Text Layout Framework with Flex 3 SDK?

    Greetings,
    I have to develop a complex custom widget, with custom text wrapping behaviour. Text Layout framework seem to offer fine level of control, but we are trying to keep our project in Flash player 9, and therefore we are using Flex 3 sdk.
    Can I use the framework with flex sdk 3 and therefore flash player 9?
    Best Regards
    Seref

    For that you need to install flex sdk 3.5 framework and choose your defauls framework to flex 3.5 it will work and as well instal flash player 10

  • Has anyone actually been able to build a FLV player with Flex 2?

    I have been playing around with a FLV player in Flex 2, but I
    keep on running into one big problem: I never get a picture. Sound
    is not a problem, and all code seems to do exactly what it should.
    Except for the video showing up... I have tried loads of examples,
    read all of the docs I could get my hands on, but it all ends the
    same: no picture.
    The best solution (imho) I found is listed below, but still
    it does not do what it is supposed to do. Still, I only get audio.
    If there's anyone who's got a player working with the Video
    object using Flex 2 (SDK), I would *love* to hear your solution.
    Michiel.
    The source:
    package Assets {
    import flash.display.Sprite;
    import flash.net.NetConnection;
    import flash.net.NetStream;
    import flash.media.Video;
    import flash.text.TextFieldAutoSize;
    import flash.text.TextField;
    import flash.events.Event;
    import flash.events.TimerEvent;
    import flash.events.NetStatusEvent;
    import flash.utils.Timer;
    public class simpleFlv extends Sprite{
    private var _video:Video;
    private var _stream:NetStream;
    private var _playbackTime:TextField;
    private var _duration:uint;
    private var _timer:Timer;
    public function simpleFlv(){
    _duration = 0;
    _playbackTime = new TextField();
    _playbackTime.autoSize = TextFieldAutoSize.LEFT;
    _playbackTime.y = 20;
    _playbackTime.x = 20;
    _playbackTime.text = "Buffering …";
    _timer = new Timer(1000);
    _timer.addEventListener(TimerEvent.TIMER, onTimer);
    _timer.start();
    public function playMyFlv(flvUrl:String): void {
    _video = new Video();
    var connection:NetConnection = new NetConnection();
    connection.connect(null);
    _stream = new NetStream(connection);
    _stream.play(flvUrl);
    var Client:Object = new Object();
    Client.onMetaData = onMetaData;
    _stream.client = Client;
    _video.attachNetStream(_stream);
    _stream.addEventListener(NetStatusEvent.NET_STATUS,
    onNetStatus);
    addChild(_video);
    addChild(_playbackTime);
    private function onMetaData(data:Object): void {
    _duration = data.duration;
    private function onNetStatus(e:NetStatusEvent): void {
    _video.width = _video.videoWidth;
    _video.height = _video.videoHeight;
    private function onTimer(t:TimerEvent): void {
    if( _duration > 0 && _stream.time > 0 ){
    _playbackTime.text = Math.round(_stream.time) + " / " +
    Math.round(_duration);
    }

    Hi Chielosos,
    In your code, after
    import flash.utils.Timer;
    You may need to add
    NetConnection.defaultObjectEncoding =
    flash.net.ObjectEncoding.AMF0;
    SharedObject.defaultObjectEncoding =
    flash.net.ObjectEncoding.AMF0;
    Hope it works,
    Jeffrey

  • Create a folder in desktop with flex application?

    Hi,
    i want to create and save a folder in my computer using my flex application, so is there an actionScript function to do this?
    Thank you,
    Celine

    I do not believe this is possible to do with a browser based application.
    But, if you run your app in AIR you can do use the Flash.filesystem
    class to create a directory:
    http://livedocs.adobe.com/flex/3/langref/flash/filesystem/File.html

  • Use flash video coponent in flex?

    Hi
    I want to use flash player video player feature.Please let me
    know how to do this.
    I need use the class fl.video.VideoEvent but it is not flex
    libary.do I have to build swc file,what is the steps to do this.
    Thanks
    Mk

    Hi Mk,
    Emanuil Rusev has created an an easy to use, open source Flex
    video player called FX Video. You can find the FX Video home page
    here:
    http://www.fxcomponents.com/?p=29
    And the FX Video source here:
    http://www.fxcomponents.com/src/fxvideo_0.92/
    Thank you Emanuil!!!
    Please take a look at the FX Video video player and see if it
    provides the functionality that you need. If not, please post back
    with detail on what further functionality you require.
    Regarding
    fl.video.VideoEvent,
    Flex does have a similar event
    mx.events.VideoEvent
    The Flex VideoEvent is related to the Flex UI control
    mx.controls.VideoDisplay.
    VideoDisplay is pretty rudimentary. The FX Video video player cited
    above uses both VideoDisplay and VideoEvent. If you are not
    familiar with the Flex VideoDisplay control, you can find a
    runnable example online in the Flex docs here:
    http://livedocs.adobe.com/flex/3/langref/mx/controls/VideoDisplay.html#includeExamplesSumm ary
    Please post back regarding whether the above answers your
    question, and if you find it helpful :-)
    Best regards,
    g

Maybe you are looking for

  • Z835 Sound card? Performanc​e?

    Sound is terrible on my Z835-ST8305.  Tried installing audio enhancement software from SRS.  Got message that there is no compatible sound card installed.  DFX installed but doesn't help much.  What IS my sound card?  Do I need new driver?  Any recom

  • Apple Works 6 doesn't work with Lion...

    I just downloaded Lion & now several "PowerPC" applications no longer work on my computer.  I never use Apple Works 6, except for my Christmas Card labels...and now I can't access them.  I have called into Apple Support - and they can't help me eithe

  • Is it possible to get the iPhone 3Gs from Malaysia

    Hei, Im a foreigner living in Malaysia, doing my degree. And i've been trying to buy an iPhone 3Gs from Maxis for such a long time but have failed, They are saying that it is sold only for postpaid customers and only locals can become one. The apple

  • Synchronising 6210 Classic through Thin Clients an...

    Hi all, I have serveral users needing to sync phones. Our current setup seems to be playing havoc with PC Suite. The phones plug in via USB cable into HP t5730 thin clients with XPe. From here they log directly into HP bc2000 blade PC's. The blades a

  • 1084: Syntax error: expecting colon before assign.

    Hi I am getting "1084: Syntax error: expecting colon before assign." in flash builder 4.6. My application was working fine before a day but When today i try to install app on device then automatic this error comes. Please update me when is the proble