Flex :: Breakpoints Working In MXML Files

Jul 11, 2010

I am trying to debug the Flex application. I am able to set breakpoints in mxml file, and application breaks on those breakpoints. But when I set breakpoint in as files, I don't see the breakpoint marker, though in breakpoints window I am shown the line no. And when I start my debugging session, the application does not break at that point.

View 1 Replies


Similar Posts:


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

ActionScript 2.0 :: Can't Set Breakpoints In AS Files?

Nov 4, 2010

Ever since upgrading to Flash CS5 I've been having a problem with setting breakpoints in the external AS classes. Usually what I do (what I've done in the past) is to debug the movie and set any breakpoints in the class files using the debugger window before hitting the continue button. This has always worked in the past, but now I am having problems it it. It typically works once or twice, but eventually, I can no longer set any breakpoints until I close and re-open Flash. I know that they have added an XML file for the breakpoints, so I located that and opened it to see what was in there. It had a ton of breakpoints that were no longer valid, so I cleared it out and set just the one I wanted and restarted Flash. Again, it worked for a while and then stopped.

I then check the AsBreakpoints.xml file again and this time it had only the one that I had put in there previously and did not have any of the ones that I was trying to set in the debugger. So either it isn't reading this file or the file doesn't do what I thought it did...either way, it still isn't working right.

View 1 Replies

ActionScript 3.0 :: Flash CS4 Breakpoints Not Working

Nov 3, 2009

I can't get the breakpoints to work in flash CS4. here is what I do: In the actions panel I have a few trace statements and then breakpoints. trace("a"); trace("b"); trace("A"); now if I put break point on a or b or A or all 3 I still get all the trace statements working, so my actionscript isn't stopping at the breakpoint. Do you have to do something to enable breakpoints? I switched my workplace to debug made and then compile movie, it still doesn't work.

View 1 Replies

Unused Mxml And Files In A Flex Project?

Apr 5, 2011

I am trying to make the project build light by removing all the unused (mxml,xml and image ) files. Currently I am manually searching for each image and then removing the unused file. But is there a way such that we can get list of unused files automatically . I was trying to use the swfDump.jar from 4.0 sdk . But that dint work as it is working with projects that are build using flex sdk 4.0. I am currently using 3.2 .

View 3 Replies

Flex :: Variable Accessible For All .mxml Files

Oct 4, 2011

Im using Oracle, BlazeDS, Java & Flex. I have an ArrayCollection containing data from a small database table. This table won't be the subject of much change. I want to use this ArrayCollection accross different mxml files to fill e.g. ComboBoxes etc. The reason for asking, is that doing a database call for each time a fill a ComboBox etc is slow and seems unnecessary. I tried doing this once in the "main" .mxml file, but then the variable wasn't accessible where i needed it. What is the best approach for accomplishing this task? What is the best way of making a variable accesible across .mxml files?

View 5 Replies

Flex :: Access MXML Components Within Ascript Files?

Jul 29, 2011

How do I get round the following error: Access of undefined property pMatrixBack . How do I access this component from within the ascript file?[code]...

View 2 Replies

Flex :: SkinClass Working In Mxml, But Not In External Css

Jul 7, 2011

I have a simple button in a mxml file, if I set the skinClass property in the tag itself it works, however, if I set the skinClass property in an external css file, it doesn't apply to the button.

Works:

view.mxml
<s:Button id="btnRefresh" skinClass="skins.RefreshButtonSkin"/>

Doesn't work:

view.mxml
<s:Button id="btnRefresh"/>
style.css

[Code].....

View 3 Replies

Flash - Flex Compiler Appears To Misinterpret .as Files As MXML?

Nov 21, 2011

After changing the Flex SDK to 3.6 (from 4.5.1) so as to target Flash player 9.0.124, the project no longer compiles, producing spurious errors such as XML does not have matching begin and end tags leading me to believe that the compilation process is 'borked'.

This is a pure AS project, and so should have no dependency on the Flex SDK, howver, it seeems to be inextricably linked to the Flex 4.x SDK and Flash Player 10+. I have tried swf-version and -target-player-version in the compiler arguments, but there is still something I am missing to get this to compile for Flash player 9.

View 1 Replies

Flex :: Use Flash Builder To Run Multiple Mxml Files In One Project?

Mar 1, 2012

I imported an .fxp project into a Flash Builder and then observed there are 5 .mxml files in the src/(default package) directory. Silly question -- how to run each of these five files?

Since I've named the project differently than any of the .mxml files, whenever I try to run something it uses the default (empty) .mxml file named after the project. Deleting that empty mxml file didn't help anything. I also tried to clean the project, but nothing changes (although I see the directories refresh with the same contents). There are no html files in the bin-debug directory.

There must be some simple way to run those .mxml files that I'm missing.

View 2 Replies

Flex - Compile Multple Independent Mxml Files At One Time?

Jun 11, 2009

Our application has over 15 different top-level mxml files to create individual controls that are used in our pages. We are using Ant to do our automated builds, and are calling the mxmlc task for each mxml file separately (See question 78230 similar example). Running the compiler separately for each mxml file, however, is already adding up to a considerable amount of time. Our build time is approaching 10 minutes, 5 minutes for compiling our flex apps, and 5 minutes for compiling hundreads of java classes, building jars, installer etc. Each flex compile run is reasonably quick (15-20 seconds), but they add up.

Is there a way to compile all of them with one call to mxmlc?

View 2 Replies

Flash :: Flex - Compile .mxml Files At The Command Line Using Bin / Mxmlc?

Nov 7, 2009

I'm interested in learning just enough Flash/Flex to do things that I can't do from HTML and JavaScript alone - play sound files and video, use multiple file upload things, perform cross-domain Ajax requests using the crossdomain.xml file etc. As such, I don't really want to learn (or pay for) the Flex IDE. I'm not much of an IDE guy in any case.

The problem is, most of the tutorials I've found talk about the IDE. I've figured out how to compile .mxml files at the command line using bin/mxmlc - now I just need to learn MXML, ActionScript and the various APIs! What are the best resources for learning these? I'm fine with buying a book, I just don't want to shell out for the API itself.

View 3 Replies

Flash :: Flex :: AS3 Vs MXML - Compilation Speed Difference And How Does The Mxml Compiler Work

Sep 24, 2009

Does MXML get compiled down to as3 and then converted to flash bytecode? Also, is there a significant performance penalty to compiling mxml vs compiling as3?

View 3 Replies

Flex :: MXML Syntax To Assign Properties Of Subcomponents In Custom MXML Components?

Jun 4, 2011

I am working on a custom Flex 4 component which is an aggregation of two existing flex components. I would like to be able to specify my own custom properties for the component as well as access the existing public subcomponent properties via MXML. For instance I might want to adjust the font color or style for the label and text input. toy component which aggregates both a label and a text input:

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

[code]....

View 1 Replies

Actionscript 3 :: Flex When Mxml Described Component Initialise It's Mxml Described Properties

May 28, 2011

I am trying to override a Button class, i have a few properties which i wish directly initialise with the mxml description of the component, like :[code]which function is triggered ( in order to override it ) when all properties with mxml description is fully initialised with their values ?

View 1 Replies

Flex :: Extending MXML Custom Components Via MXML?

Feb 3, 2011

What I'd like to do: create an MXML component with some children, then extend it via MXML to create a new component with more children, without losing the original set.In other words

create a component bc.mxml
<?xml version="1.0" encoding="utf-8"?>
<s:BorderContainer xmlns:fx="http://ns.adobe.com/mxml/2009"

[code].....

View 1 Replies

Flex :: Calling Another Mxml Function In Other Mxml File?

Sep 27, 2011

i have defined some functions in a component mxml file let us say addbutton() now i want to call this function in main mxml file.

View 2 Replies

Flex :: Retrieve Value On Main.mxml From Other .mxml?

Apr 23, 2010

main.mxml
[Bindable]
private var _dp:ArrayCollection = new ArrayCollection([

[code].....

View 1 Replies

Flex - Define A MXML Component And Update MXML Component In Flex Application

Aug 12, 2009

A Flex components values are initlized by init methord. In an application flow, How to refresh a mxml component data value ; as init is callled at the start up it self only.

eg. of mxml componet may be as simple as button label or text as complex as repeater whose data provider is a web service ( means a fresh quesy should be made to pull the data and refresh the dataprovider of repeater )

View 3 Replies

Flex :: Navigate From One Mxml To Another Mxml ?

Jul 7, 2010

suppose i have 3 buttons(for example say, productin, marketing, sales ) on my main.mxml..once i click on one button it should take me to abc.mxml page with production data, once again if i click on second button it should take me to the same abc.mxml but with marketing data. same as for 3rd button also, how can i achieve this ?

View 2 Replies

Flex :: Extending Mxml Component With From Another Mxml Component With Visual Child Supported?

May 18, 2011

I've been trying to create a custom mxml component that extends another custom mxml component (i.e.MyMXMLComponent -> BaseMXMLComponent -> Group). I've been reading that trying to add visual children to MyMXMLComponent caused error with Flex 3 but that's no longer the case with Flex 4.

What I want to know is whether this is a supported/fixed/documented feature of Flex 4? or just some undefined behavior in Flex 4 that may get changed with future updates?

if this is supported and documented feature, does anyone have link pointing to adobe document stating it as such?

View 1 Replies

Actionscript 3 :: Load MXML From External Files?

Nov 5, 2011

I'm new to Flex and I'm trying to write a program with lots of content in it. There's a sidebar, a main content pane with tabs, etc.I want to be able to create MXML files (like sidebar.MXML, tab1.mxml, etc.) that I can then load into the sidebar or load into a certain tab. That would make my code a lot more manageable instead of writing all that code inside of the main MXML file.Can I do this? I have already modularized some of my code by putting them in custom components, but I would really like to be able to load content from other MXML files, much like I can do in PHP:

View 3 Replies

Flex :: Load An External Mxml File Into A Parent Mxml File?

Mar 9, 2012

This is a project I'm working on for a simple demo tutorial application in Flex. I am using mxml pages. You can see to the left that I will have my main application and then other mxml files (In the Examples Package) as the examples that will be loaded into the main application mxml. How can I dynamically pull the value from the object in the list to load the child mxml file into the container that I have further down in the application?

View 1 Replies

ActionScript 3.0 :: Word/Excel 2003 Files With MXML?

May 27, 2009

How can I manipulate (create, update, delete) MS Word Excel 2003 Files with Action Script and/or MXML?Or is there no direct way, do you know about some library, component or extension that would allow me to do that using Action Script and/or MXML ?

View 3 Replies

Flex :: Get Id Value Of Main.mxml File To CustomPanel.mxml File?

May 16, 2011

I have a method in CustomPanel.mxml and I need to use id which is available in Main.mxml. Below is my sample code

Main.mxml
<local:CustomDivideBox id="div1">
Custompanel.mxml[code]....

View 2 Replies

Flex :: Include An MXML File Inline Another MXML File?

Jul 25, 2011

I would like to include an MXML file in my MXML file in the same way you can include an external file in AS3 using the include directive. Using the include directive brings the code from the external file into the original file at compile time placing it in the same scope. For example,

Application.mxml:
<Application>
<source="external.mxml"/>

[code].......

View 4 Replies

Flash :: CS5 Not Stopping At Breakpoints

Apr 28, 2011

This problem has been bothering me for four days now with no glimpse of a solution. All of a sudden when I'm working on Flash CS5 it stopped stopping at breakpoints I set when I'm debugging.[code]...

View 1 Replies

ActionScript 3.0 :: Debug Using Breakpoints In Flash Cs5?

Jan 6, 2011

I'm trying to debug using breakpoints in flash cs5, it appears that the program is simply forgetting I chose to debug and does what the program is supposed to do regardless. Here's the code inside the ActionScript File, I'll put * next to the places I've tried adding breakpoints to but the code just prints the numbes 0-9 without stopping and without showing anything in any debugging windows. I've never gotten debugging to work fyi, but I have run into a brick wall and I need to figure out why it's not working:

ActionScript Code:
package {
import flash.display.*;
import flash.text.*;

[code]....

Here's the text in the Output window. This is the only text anywhere that prints as far as I can tell, I've tried opening all the windows to see if anything changes but nothing does.Attempting to launch and connect to Player using URL *Path*DebugExample.swf

[SWF] *Path*DebugExample.swf - 2084 bytes after decompression
[UnloadSWF] *Path*DebugExample.swf Debug session terminated.

View 0 Replies

ActionScript 3.0 :: Remove All Breakpoints In All The Code Globally?

Sep 29, 2010

I'm using CS4 and is there a way to remove all breakpoints in all the actionscript code globally. I can only remove them by going to each layer's as code.

View 0 Replies

ActionScript 3.0 :: Debugger Starts But Doesn't Stop At Any Of The Breakpoints?

May 7, 2009

I'm trying to debug my as3 game, but no way, the debugger starts (with the different debug panels) but doesn't stop at any of the breakpoints so i created an empty as3 file (.fla) and put some simple code:

[Code]...

I put a breakpoint at line 2when i press Ctrl-Shift-Enter Or Debug>Debug Movie, it traces "Hello" 2 times without stopping when i right click on the new flash player window that opens, it shows DEBUG on the menu (not grayed), and i think that it means it's the flash player debug version that is running I'm running on Vista and I tried reinstalling Flash without success, but i've got another PC with windows XP and it works well on it,
Are there any restrictions on Vista or maybe services that should be started, or anything that should be activated / deactivated?

View 13 Replies







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