Flex :: Debugging - Get Path To Element Through A Browser?

Sep 28, 2010

Is there any plugin for any browser which can tell me the pass to certain flex element?

I mean, I have a flex frontend. And I need to find the full path to some element, like /topLevelPanel/innerPanel/checkbox[0]/img.

View 1 Replies


Similar Posts:


Flex :: Debugging - I Added Class Directory Via Flex Build Path/Source Path, And Now 'building Workspace' Takes Forever

Apr 3, 2012

I am coming from flash to flashbuilder I have a directory, AS3_classes_dir, on my computer that stores all of my classes, including my greensock and papervision packages. In every flash app that I make I include that directory in the Source Path, so that I can import whatever I may need. Compiling in flash (using ctrl/enter) takes very little time; only the classes that are specifically imported are compiled.So today I did that in flashbuilder, included AS3_classes_dir via Flex Build Path/Source Path ... but now the compile time are a couple of minutes, even though I am not even importing ANY of the classes from within.

View 2 Replies

Flash :: Flex - Debugging Through Via Browser - Security Context Error

Mar 14, 2011

I am trying to use a browser to debug my flash app as it needs External Interface. But whenever I try to attach the Flex Debugger to the browser running Flash app, it shows

SecurityError: Error #2000: No active security context.

I already checked the other question with same title as my error but changing code is not the solution here as it is an existing code and I don't get this error while using a debug version or when I am not running connected to a debugger.

View 2 Replies

Flex :: Determine Which Path Element Clicked In FXG File?

Oct 17, 2011

I am working on a sample map application using Flex 4/fxg? Now I have got FXG paths held in Group elements with id's( I have assigned path's id's to the corresponding group container)? But when I click anywhere in the map, I do not get the clicked group as target/currentTarget in event handler. How to determine which element is clicked?

[Code]...

View 1 Replies

Actionscript 3 :: Flex - Select DOM-element Of HTML-control And Forward Its DOM-path To Method?

Oct 13, 2011

Suppose, that I need to have a HTML control inside my Flex/AIR app. The user should be able to click somewhere into the currently rendered HTML-page and the flex app should know, which DOM element the user clicked. Ideally, the app would be able to retrieve the DOM path of the selected element. Posting back the innermost surrounding DIV-element to some Flex/AIR method would be fine too.

View 1 Replies

Actionscript 3 :: Prevent The Browser From Killing The Flash Plugin While Debugging?

Nov 25, 2011

When I am debugging broken code, after a while the browser announces that the Flash plugin has crashed, and I can't continue debugging my code. Can I prevent the browser from killing Flash?

View 3 Replies

ActionScript 3.0 :: Pass A XML Element Path In As A Parameter Of A Class?

Dec 28, 2010

I am creating a class to handle some audio in an app I am building. This class will need to accept the XML element path as a passed parameter and or a getter.

examples of some XML elements I would like to pass to the the audio handler class to access them.

Dialog.introScreen.text

or

Dialog.secondScreen.main.text

ect.

I pretty sure this is not a string data type and thus cannot be passed as a string (I could be wrong though), if not, what data type would I pass it as?

View 7 Replies

ActionScript 2.0 :: Target Path To Movie Clip Element Of A Button?

Jul 16, 2004

I'm trying to figure out how to use AS to access frames of a movie clip within a button symbol (using Flash MX 2004), and I seem to be stuck. I drafted a small test version of the FLA I'm working on, and it is attached to this message.

Specifically, my intention is to have a two-state button that goes into "selected mode" after the first mouse click, and then goes back to normal after a 2nd click. I can already handle the functional aspect of this using a global boolean like the one in the attached file. The problem is that I want to represent the current status of the button with a visual change; in the attached example FLA, the intention was to change the color of the text label on this button from grey to red when the button is in its "selected" state.

In this forum I found a similar question where someone had provided a "menu.fla" that had a row of buttons that acted more or less like a radio set, which is somewhat similar to my need. I've been trying to use the same sort of method, having converted the "up" state of the button text into a movie clip symbol with two frames (one for each state), and then trying to use AS to do a "gotoAndStop()" on the desired frame of the up label animation. The problem is that I cannot figure out how to actually make this work ... no matter what sort of path I try to use to get to the movie clip animation within the button, I cannot seem to set the text animation to jump to the "selected" frame (2).

I think my problem is that I've been unable to glean any understanding from the Flash MX docs about the differences between an object name and a symbol name and an identifier and an instance name and a blah blah blah, or about which of them (if any) actually is an ID that can be accessed via ActionScript. Also, MX 2004 seems to provide almost no compile-time error checking on the validity of a target path either, so I've been reduced to just throwing every combination at it that I can think of. None have worked, so I'm at a loss.

If anyone can explain to me why the attached FLA doesn't cause the text to stay red after a mouse click, no matter which of the commented out lines I try, it would undoubtedly be a big help to me.

(Please note that the button in this FLA uses a basic flashing animation for mouseovers ... it was just something quick to implement to emulate the mouseover animation in my full file, so please don't be distracted by it. Also note that I haven't tried to implement any code to return the button to a non-selected status yet. One thing at a time.)

RESOLVED: It was apparently the nesting of a movieclip inside of a button that prevented the original target path from working (and one of the tutorials at this website seems to support that). Once I knew what the proper path syntax was and didn't have to worry about that part anymore, eventually the rest fell into place pretty easily once I started using a movieclip for the button rather than an actual button.

View 3 Replies

ActionScript 2.0 :: Target Path To Movie Clip Element Of A Button

Jul 16, 2004

I'm trying to figure out how to use AS to access frames of a movie clip within a button symbol (using Flash MX 2004), and I seem to be stuck. I drafted a small test version of the FLA I'm working on, and it is attached to this message. Specifically, my intention is to have a two-state button that goes into "selected mode" after the first mouse click, and then goes back to normal after a 2nd click. I can already handle the functional aspect of this using a global boolean like the one in the attached file. The problem is that I want to represent the current status of the button with a visual change; in the attached example FLA, the intention was to change the color of the text label on this button from grey to red when the button is in its "selected" state.

In this forum I found a similar question where someone had provided a "menu.fla" that had a row of buttons that acted more or less like a radio set, which is somewhat similar to my need. I've been trying to use the same sort of method, having converted the "up" state of the button text into a movie clip symbol with two frames (one for each state), and then trying to use AS to do a "gotoAndStop()" on the desired frame of the up label animation. The problem is that I cannot figure out how to actually make this work ... no matter what sort of path I try to use to get to the movie clip animation within the button, I cannot seem to set the text animation to jump to the "selected" frame (2).

[Code]....

View 3 Replies

Xml :: Flash - Hide Element From Appearing In Browser?

May 9, 2010

I have a website which I am setting up. However, I want the first page (Home) not to have any sub menu. When I change the value of true to false all the other pages where I want the drop down to appear also disappear.I want other pages to have sub menu but not the home page. I have tried to change the xml path etc, but nothing seems to wor am new to xml and finding this very challenging.I have uploaded the config.xml and the layout xml's. I have also placed the index.htm and js script therelso me understand from where it is reading the config.xml.UPDATE:I checked the SWF and yes the it is pointing to the config file. What I still dont understand is that how can i remove the sub-menu from home while keeping it for other pages.

View 1 Replies

Flex :: Debugging - Running A Webapp Base Flex Client In IntelliJ?

May 10, 2011

Is it possible to run a Flex client in IntelliJ internally and have it talk to a separately deployed server instance? The server's a java webapp. This will make developing, especially debugging, much easier. What I'm trying to avoid is having to rebuild and redeploy the webapp to get the updated Flex code in it. I want to just build flex and run it against the server.

The flex client is embedded in an HTML page on the server, so in production the users access the client by going to a web page. We're using GraniteDS if that's important.

Update

I'm managed to cobble something together, but it's ugly.I made a copy of our wrapper HTML page and fixed the links to refer to the SWF in target.I setup the IntelliJ run config to point to that HTML page.I set the 'Place SWF file in a local-trusted sandbox' to true

Hardcoded the {server.name}, {server.port}, and {context.root} values in the service-config.xml GraniteDS config file to localhost, etc.

I can mavenize #1, but #3's isn't really a permanent solution. That part is still a problem because I can't check this in.

View 1 Replies

ActionScript 2.0 :: Full Browser Flash - Element To Be 'bigger' Than The Stage?

Jul 16, 2007

I'm working on a full browser flash site and it works great, its got a 1000x650 movie in the middle centred in the html and the background colour of the movie fills the rest of the stage, no margins, no mess!

Thing is, I need a black overlay to fade in (to put other content over the top) Thing is, the black box only resizes to the size of the stage not the full browser window! Heres the code at the moment:

// Stops the stage from scaling with the browser window.

[Code]...

View 8 Replies

Flex :: Builder 3 Not Debugging?

Jun 7, 2009

I've recently bough Flex Builder 3 and I am completely dissatisfied with its reluctance to debug. It manages to debug a few times, but after that, it just doesn't want to "connect to the debugger".

View 5 Replies

Flex :: Debugging - Builder Debug?

Jun 4, 2010

I am running on Windows XP and recently updated Flash Player from v9 to v10.1. And Now, in the Debug Console under Flex Builder, I am getting a lot of debug statements(I think that is assembly). Below is an example, of what I get:

[Code]...

View 2 Replies

Flex :: Enable Debugging On HTC Desire?

Jun 16, 2011

I am building a flex app for mobile. I am running my app with configuration 'run on device' but when I connect to my device through usb I don't see my application launching.

View 1 Replies

Flex :: Debugging Event Flow?

Jul 6, 2011

I'm stepping through my code to figure out why a certain function takes more time to run the first time it gets called than on successive calls. The code flow for each function call is the same up to when a dispatchEvent gets called. I'm pretty sure it's different afterwards, as that call takes a lot more time the first time around. Unfortunately, I have no idea which other parts of the code chew on this specific event and thus cannot step through the handling of such event.

The question: is there a way to either figure out who handles such events or magically step through the handling code without explicitly setting breakpoints there?

View 1 Replies

Flex :: Debugging AIR: ADL Fails To Launch?

Sep 6, 2011

I've hit a snag when trying to debug an AIR app using adl.

Although adl successfully launches, the application never appears on screen / starts up.

eg:

<?xml version="1.0" encoding="utf-8"?>
<s:WindowedApplication xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"

[Code].....

Update: I've also since uninstalled and reinstalled Flash Builder (and therefore, the AIR SDK), and it still doesn't work. I think this adds weight to the port conflict, but still leaves me unsure of where / how to proceed

Further update Compiling exactly the same codebase to a AIR installer, installing, and running the application works fine. (Ie., a production release). However, the codebase fails to launch with adl. This pretty much confirms the issue as a local machine config problem somewhere with adl, and not an issue with the codebase.

View 5 Replies

Web Development :: Easiest Way To Get The Absolute Path Of Directory From Browser?

Dec 8, 2009

I allow my users to upload files from a directory. I use SWFUpload so that they can upload multiple files easily. However, I need to get the absolute path of the directory from which they are uploading.A little research tells me that it can't be done in plain HTML/Javascript or in Flash.Java applets seem to support this, so that's what I'm planning on using. I guess ActiveX can also do it, but I don't know much about ActiveX stuff, so I would rather avoid it.Also, I can assume that the users are using Windows (XP or greater) and IE.It there an easier way (other than writing a Java applet) that I'm missing? Having the user type in the directory into a textfield is an option, but not a very good one.

View 1 Replies

Flex :: Use URL Parameters While Debugging In Flash Builder 4?

Jul 6, 2010

How can I use URL parameters while debugging in Flash Builder 4?

View 2 Replies

Flex :: Debugging Maven Application With Intellij?

Jan 17, 2012

I have flex application consisting of several modules which is configured using maven. I'm using flexmojos plugin to build the application. When I try to build the application using maven it builds successfully. But I need debugging features of Intellij Idea (i'm using 10.0 version). So at first step I run maven compile command to generate *-configs.xml to enable Intellij idea compile my application. At second step i run IDE's compile(or make) command and it says:

[Code]...

View 2 Replies

Adobe - Flex Builder 3 Debugging Trace Output?

Oct 26, 2009

I have installed Flex Builder 3 and Flash Player 10 on my machine.

I don't know where the trace output goes because I just don't see it (I tried debug and output windows).

Also the breakpoints don't hit.

View 2 Replies

Flex :: Debugging Focus And Keyboard Event Propagation In AS3

Dec 18, 2009

I have a custom TitleWindow component that is registered to listen for keyboard events from the user (so that esc closes the window, enter saves, etc.). However, in my testing I've found a couple cases where my keyboard event handlers don't fire. My best guess as to why this is happening is that there is some child component somewhere that has stolen focus and is stopping the keyboard events from propagating.

Unfortunately, due to the large number of components in my TitleWindow, I have no good way of knowing who has stolen the focus. My question then is, are there any good tips / techniques / tools for debugging focus issues and event propagation in Flex? Basically, I need something that will tell me who has the focus at any given time and who's handling an event at any given time... is that possible?

View 1 Replies

Debugging Flash Authored Content With The Flex Debugger?

Jan 1, 2010

I am working with a project that is developed in the flash environment, but I love the flex/eclipse debugger in that i can throw a breakpoint in and inspect the vars that are present. Is there a way that I can debug flash in the flex environment?

I have (of course) googled the subject and found that there are several posts on the topic but they are incomplete, missing images, or not working in my environment.

View 1 Replies

Flex :: Debugging - Variables With Dollar Sign In The Debugger?

Mar 14, 2010

when I debug a flex application in the properties of display objects i also see variables that start with a dollar sign, like: $alpha, $width, $x, etc.. what are they? are they different from the "normal" alpha, width, x properties?

View 1 Replies

Flex :: Debugging Dictionary In Eclipse Builder Plugin?

Jul 16, 2010

I've noticed that when debugging using the eclipse flash builder plugin, one cannot drill in to the key set / values of a flash.utils.Dictionary in the Variables view. Even after selecting the "Show Logical Structure" button. Does anyone else run into this issue? Is there anyway I could see the see all of the keys / values when debugging (apart from writing a loop to do this or manually testing possible keys in the Expressions view)?

View 1 Replies

Flash :: Flex - Suppress Only [SWF] Traces When Debugging Applications?

Aug 10, 2010

m working on an Adobe Flex application that loads lots of Flex Modules and other Flash sub-applications and Flash resources. Each time one successfully loads the flashlog.txt and Flex Console show a trace like "[SWF] filename.swf - [filesize] bytes after decompression". Specifically:[SWF] Main.swf - 1,361,299 bytes after decompression [SWF] core/Core.swf - 516,390 bytes after decompression

I don't want to disable traces because I am debugging, but these traces are rather noisy. How can I suppress only the [SWF] loaded traces?

View 5 Replies

Actionscript :: Debugging - Debug A Project In Flex Builder?

Sep 8, 2010

I am trying to use Flex builder for the first time in years. I haven't used the "Run Application" option before, and when I do that now it tells me "Errors exist in required projects" and whether I should proceed. I would like to debug those errors. Does anyone know how I can do that? PS: When I click the "Debug" button, it does exactly the same thing. I don't see error output in the console views.

View 2 Replies

Flex - Deploying To A Server And Remote Debugging With FlashDevelop?

Apr 9, 2011

Is there any way to automatically deploy to a server after I build a flex app, and then debug using the remote url ?

This is totally possible in FlashBuilder, but I am highly hoping that it can be done in FD as well.

View 1 Replies

Flex :: Why Does Debugging Stop Working After A While In Firefox 6 With Breakpoints

Sep 12, 2011

I was currently working on a flex application with debugging set to Firefox 6. I set a breakpoint and was checking some variables... next thing I know the browser says "flash player crashed." How do I set it up so breakpoints work for an extended period of time?

View 1 Replies

Flash :: Flex :: Interactive Console In The Middle Of Debugging?

Jan 25, 2012

I tried to search, but couldn't find anything on the topic. In many languages in eclipse you can execute code in the middle of debug session. Usually it's done through the console.

Is there a way to do the same thing in the Flash Builder? EDIT: Ok, i'll to explain better. Is there a way to execute some code in the middle of the debug session? Like in python you can type in console in pydev(eclipse) when the program is paused(being debugged) and run any code you want.

View 1 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved