Actionscript 3 :: External Variables In Flash Builder For Debugging Purpose

Oct 4, 2011

I'm building a networked client app with Flash Builder, and would like to be able to set environmental variables or #define's such as server's hostname and port. For debugging purposes I want to connect the client with different servers (and for other devs too). In C/C++ I'd define TEST_PORT=8888 or something in the IDE or build environment, that way I wouldn't need to commit a settings file along with the client. But not sure what's the standard for Flash Builder.

View 1 Replies


Similar Posts:


Flex :: Debugging Or Watching Static Variables Within Flash Builder 4

Dec 16, 2010

When I set a breakpoint and debug my application, Flash Builder 4 is not displaying static variables within the variables window. I'm using flash builder 4 to execute flex unit tests on one of my AS3 classes. I set a static variable within the [Before] function, which is accessed in each of the tests. I've set a breakpoint within one of the tests to see why it is failing, but I notice that static variables don't appear when I expand the 'this' object within the variables window. (In this case my static variable is the only variable associated with the class, so the only object in the variables window is the "this" object). How to make static variables appear in the variables window?

View 2 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

Debugging :: Can Flash Builder 4.5 IPad Simulator Be Scaled?

Sep 1, 2011

I'm working on an Adobe Flash Builder 4.5 iPad application. I have only a humble 13" MacBook to work with. I am being aggravated by the problem of debugging my application in the Flashbuilder's iPad simulator. The FB simulator screen is almost the same physical size as a real iPad, which is too big to fit on a 13" MacBook. Is there some setting in Flash Builder 4.5 that would scale the iPad simulator to fit the available screen real estate?

View 2 Replies

What Runtime Is Flash Builder Using When Running Or Debugging An AIR Application

Oct 10, 2011

I just updated my AIR runtime to 3.0 and noticed that my AIR application doesn't work anymore. So I tried to debug it it with Flash Builder, but when I run it there, everything works just fine. So I uninstalled the AIR runtime completely but noticed that I can execute my AIR app within Flash Builder still just fine. So the AIR runtime used within Flash Builder seems to be a different one than the systemwide installed AIR runtime. How Do I chose within Flash Builder which runtime to use and how do I update this runtime?

View 1 Replies

Professional :: Purpose Of Flash Catalyst, Professional And Builder?

Sep 20, 2010

I'm a bit confused with the purpose of these programs. For example if I want to create a game or utility app that runs on air. Can I design it in Flash Professional and later open in Builder for more heavy coding? Or is Catalyst supposed to be used as the design program?
 
I used to think that you design stuff in Flash Professional and then open the project up in Builder to do more deep coding.

View 1 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

ActionScript 2.0 :: Using Global Variables For Tracking Purpose In Game

Mar 4, 2012

I'm using Actionscript. I'm currently working on a small game - In the game, I'm using a global variable called _global.battle to track, at where the player is (more difficult battles are being unlocked with story progression). I want the player to get from a town to a map where - depending on the variable, a certain number of battle locations is selectable. I put the following code on the button that let's you access the map:

ActionScript Code:
gate_btn.onPress = function(){
if (_global.battle = 1){gotoAndStop("map",1);}
else if (_global.battle = 2){gotoAndStop("map",2);}
else if (_global.battle = 3){gotoAndStop("map",3);}
else if (_global.battle = 4){gotoAndStop("map",4);}
else if (_global.battle = 5){gotoAndStop("map",5);}
}

My problem is the following: if I switch the variable to 2 (or higher), the button ignores this and sends me to "map",1 - and assigns the variable the value 1 again. I have no idea why it does that. I don't have any other code with this variable except in my title screen, where I give it the value 1 and on another screen, where I give it the value 2 (by doing this: _global.battle = 2;).

View 2 Replies

Debugging - Flash Builder "Unable To Connect" Error

Jan 31, 2011

I am trying to debug a Flash Web Application using Flash Builder 4. However, I keep getting this error:Unable to connect to the application to fetch profile data. try profiling the application again.I am using Internet Explorer 8 (the same problem also occurs with Internet Explorer 7) with Adobe Flash Player 10.1.102.64 (the Debug Player). In other words, I installed the latest of everything.For my launch configuration, I have used the path to an HTML file. This works fine for debugging but does not seem to work for profiling.

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

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

ActionScript 3.0 :: Can't See Variables When Debugging

Nov 9, 2008

I'm just moving up from AS2 to AS3, using CS3. I'm finding out most of the stuff I need to debug with, but I can't seem to see the variables in the variable window.

I've looked through the documentation, and tried touching all the buttons they say to touch and setting the publish settings to allow debugging. Nothing seems to be working.

And, unlike AS2, the program seems to start all by itself, it doesn't wait till I click on the arrow to begin, and I can't get the step into and step through buttons to not be greyed out.

View 3 Replies

Deleting Variables From Debugging Menu

May 8, 2010

I found what I am looking for when I list all variables. I want to cut out the rest of the menus that create a fan of pages.I removed the SWF's from showing up. But I am still having issues with changing the nMenus = "14" which is the number of menus to show. I want to change the "14" to "9" so there are no spacing in between my 3D Pages.

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

AS3 :: Debugging - Debug Only Project In Flex - Can't Use Trace Or Check Variables?

Aug 7, 2010

I am trying to build a AS3 only project in Flex....I have tried debug mode, but seems like it takes so long to compile....I can't use trace or check variables...Are there anyway to do debug??

View 1 Replies

Flash Builder 4 Debugger Variables Not Updating?

Jun 25, 2010

Damndest thing. Every once in a while, I'll make a change to some part of my Flash application, while working in Flash Builder 4, and when I click Debug Play, it starts running with the old code and the old variables, even though the code I'm looking at in the code window is the new, changed code. I can still advance step by step, but the advances don't align with the new code. They seem to be aligning with the old, not visible code. I can eliminate variables entirely, save, build clean, and when I run, it still shows the old variables in the Variables window. As I can not find any mention of this on the Internet, I logically conclude that this is some ancient curse directed solely at me.

View 2 Replies

Flex :: Flash Builder - Not Assigning Data To Variables?

Mar 4, 2012

I am trying to assign a value from my database to a variable inside my Flex application. So far I read up a few ideas and I have at the moment the following code using a PHP web service:

protected function btnSubmitUser_clickHandler(event:MouseEvent):void
{
username = txtUsername.text;

[code].....

View 1 Replies

ActionScript 2.0 :: FMX - Debugging External Movies

Jul 21, 2003

how do you debug external files if they have functions that can only be executed when inside the main movie? I hope this makes sense...so the thing is that a movie just exported shows you the values of the traced items (undefined, numbers,..whatever). When that same movie is published and viewed in the flash player within the main movie, the traced items don't show in the output window.

View 3 Replies

Flex :: Flash Builder 4: Variable Not Displaying In Debug Window (Variables Tab)

Dec 15, 2011

In my flex 3.5 project, I have a class (MyItem) extending Canvas. In this I have declared a private variable named itemInfo which is type of ItemInfo (which is another subclass of Canvas).

I wrote code to hide/show the iteminfo when the mouse is over/out of MyItem. I am not getting any error but it is not showing the itemInfo as expected, when debugged the code, surprisingly the variables tab in debug window does not have the variable itemInfo at all.

I have declared a dummy:int variable and it is also not visible.

View 2 Replies

ActionScript 2.0 :: Debugging Script In External File?

Apr 1, 2005

Debugging script in external AS file ?

View 2 Replies

Flash :: Adobe Builder Refactor->rename Function - Variables - Class Names And Other Objects Like Java?

Sep 7, 2011

FDT can do it, but half the time it times out and needs to be restarted on renaming some objects. Can Flash Builder do this?

View 1 Replies

ActionScript 3 :: Embedding External SWF In Flash Builder

Oct 20, 2011

I embed an external swf in flash builder like so:
[Embed(source="assets/sounds/mytestswf.swf")]
private static var mySwf: Class;
How can I access it and add it to another sprite on stage?

View 2 Replies

Actionscript 3 :: Flash Builder 4.5 - Can't Import External Classes?

Aug 31, 2011

I just installed the trial version of 4.5 of flash builder, migrating from 4.0 and I am encountering quite a frustrating problem. For some reason in which I can not peg, FB refuses to compile anything with an import from an external class, like greensock, bulk loader etc. I keep getting a 1172: Definition could not be found for any import from my external class AS3 folder on my harddrive.

Now I did edit my build path in the project and include the AS3 folder there as I usually do in past FB projects. Even code hinting works when typing in the import lines and even making new objects from those imports. But every time I save or try to compile, such errors appear on each one consistently. This is coming from a fresh install of 4.5 btw on any Flash Professional project and I would like to use it but I can't seem to get around such a fundamental problem.

View 1 Replies

Actionscript 3 :: What Is The Purpose Of Flash's Crossdomain.xml Protection

Jun 22, 2011

If you want to use content on another server, that server needs to host a crossdomain.xml file allowing access. If this file isn't there, flash won't let you access it. Given that it's easy enough to just write a proxy (say a php script that curls the external URLs) what is the purpose of this restriction? It seems that the content is still 100% available to external people, but there is just one extra hoop to jump through.

View 2 Replies

Eclipse :: Find Unused Variables In Flash Builder 4 (like Eclipse For Java Does)?

May 23, 2011

Eclipse has a built in functionality to find unused variables (and methods too I guess). Flash Builder 4 is built on top of Eclipse but it doens't have that functionality. Do you know any plugin to achieve that functionality? Also, if you know any other kind of plugin besides SourceMate to improve Flash Builder let me know.

View 1 Replies

Flash :: Looking For A Super Tiny Linux Distro That's Sole Purpose Is Running An AIR Application?

Mar 3, 2011

I'm looking for a really really small linux distribution or process of making my own that's sole purpose is to get an air application to launch full screen and stay there; Essentially I'm building a home kitchen computer that runs entirely as an AIR app.

I have looked into using windows xp; and windows xp embedded but they pose so many issues I figured I'd try modern linux.

I have also seen TinyCore Linux which looks interestingly small but not sure what issues that poses in regards to running AIR and "hardware" accelerated display. I've also thought about stripping down an Ubuntu installation but I'm sure somebody must have done this already; google is just failing me right now.

[Code]...

View 3 Replies

Actionscript 3 :: Make Flash Builder Package Explorer Emulate Flex Builder's Navigator Window?

Apr 21, 2010

Does anyone know if there is a way to make the new Package Explorer window in Flash Builder emulate Flex Builders 'Flex navigator' window?

Bottom line is I don't always need to peer into SWC's, and I don't like having a 'default package' automatically created for me. Not sure why the interface wasn't made simpler, allowing access to more power and complexity only if necessary. I want to focus on the code, not on how to navigate and use the bells and whistles in the coding environment.

View 1 Replies

Flex :: Builder 3 Word Completion/intellisense Stopped Working For New Variables?

Jan 28, 2010

For some reason code completion/intellisense has stopped working for new properties in our projects.These are the symptoms:Add a new property to a class If you go to a different class, and you try to use that property, the intellisense dropdown doesn't show the new property. It does show the already existing ones.If you build the project, everything works fine, there are no errors or compiler warnings.The property will not show in intellisense until you restart Flex Builder (version 3).We have tried it on different machines and als tried to set up the workspace again, but the symptoms stay the same everywhere in our project.

View 2 Replies







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