Questions
|
question |
WINDOWS XP QUESTION - added on August 31, 2007
Is there anything like a Windows Explorer type application with Firefox-like tabs and the CTRL-T tab concept? Would be nice.
|
|
question |
ECLIPSE QUESTION - added on September 6, 2007
Is there a hotkey in Eclipse that can put in a timestamp like this: 2007-09-15 15:31:01 ?
|
|
question |
.NET 3.0 QUESTION - added on September 29, 2007
How is .NET 3.0 the old WinFX, I thought WinFX was mainly the file system that was supposed to be built into Vista?
|
|
question |
FLEX QUESTION - added on October 4, 2007
Is there an easy way to rename all of your package paths if you have, say, 100 classes in "game/util" and you want to move them to "game/tools"?
|
|
question |
FLEX DESIGN QUESTION - added on October 4, 2007
In the Bruce Lee project, when you draw the background you do createBuffers(), what is going on here, I understand these are used to switch between various animations of the play figure to make him move smoothly, is that right?
|
|
question |
FLEX DESIGN QUESTION - added on October 10, 2007
In the main file "BruceLee.mxml" I see you import a number of mx... modules, yet I find it surprising that when I press F3 on e.g. "mx.managers.SystemManager" that I can go to "SystemManager.as" as if it is a class in the application, yet it is an internal class from Adobe, but why am I able to look at it, where it is saved (I don't find it in my "Flex Navigator" on the left? However when I try to navigate to other modules, e.g. "mx.modules.ModuleBase" it says "source could not be found". Furthermore when I type in junk in these module files, it compiles fine, as if these files are simply copies of the internal system files for us to look at but not change. What is going on here, this is not how, e.g. ASP.NET works where you can do some reflection of the innerclasses but you don't get to see the CODE.
|
|
question |
FLEX DESIGN QUESTION - added on October 10, 2007
What is the procedure again to set up the BruceLee game, I deleted and recopied the /bin directories in Data and Scripting and now I get RSL Linking errors which starting BruceLee
|
|
question |
FLEX QUESTION - added on October 10, 2007
What is the different between a New Flex Project and a New MXML Application?
|
|
question |
FLEX QUESTION - added on October 10, 2007
Why doesn't CTRL-H work in FlexBuilder? How can I search all files in my workspace?
|
|
question |
FLEX DESIGN QUESTION - added on October 10, 2007
Why does BruceLee.mxml have an Application tag in it but mxml files that I create have a mx:Application tag? Is there a reason why you took the mx: namespace off?
|
|
question |
FLEX QUESTION - added on October 10, 2007
When I am in a class and want to change a control, how do I address it, e.g. I have a TextArea control that is called "content" and I want to say something like Application.application.stage.Controls("content").Text = "new text", how do I do this?
|
|
question |
FLEX QUESTION - added on October 10, 2007
In FlexBuilder there are no longer any Code Templates (the only context is SQL) so how do you make code completion with CTRL-space?
|
|
question |
ACTIONSCRIPT 3.0 QUESTION - added on October 10, 2007
Is there an ArrayList type in ActionScript 3.0, similar to in C# and Java? I don't want to have to deal with keeping track of the index count, just want to add things to a collection.
|
|
question |
FLEX QUESTION - added on October 11, 2007
How do you solve the problem that a flex/flash application does not recognize keyboard presses until the user first clicks inside the browser, i.e. on the stage, which then gives the application focus? Is there a way to "force the focus" onto the stage when the application starts?
|
|
question |
FLEX QUESTION - added on October 13, 2007
How do I dynamically change the color of a button in code? In design when I change the color .fillColors and .fillAlpha are set, but these aren't properties of the button in ActionScript.
|
|
question |
FLEX QUESTION - added on October 27, 2007
When programming in Flex/ActionScript I often copy in some code or use some object and then run but get an error e.g. "Access of undefined property LineScaleMode", ok, so then starts the great treasure hunt of what I need to import in order for this thing to work, after 5-10 minutes I happen upon "import flash.display.LineScaleMode", include this at the top of my package, and things work. But I am thinking, shouldn't this be automatic? This always baffled me about import statements in .NET as well, I mean if the compiler knows what library it was looking for to be able to compile "LineScaleMode" why doesn't he just TELL me this and suggest the line "import flash.display.LineScaleMode" to put at the top of the package, or, better yet, just INSERT this line for me and compile the application and run it? Can't it do that? And if not, what is the fastest way for me to look these kinds of things up, e.g. some kind of table "when you use ______, you need to the include statement _________".
|
|
question |
FLEX QUESTION - added on February 10, 2008
Debugging an actionscript projectt, when I click to make a breakpoint I get a dot with a slash through it and I can't debug, why is that?
![]()
|
|
question |
FLEX QUESTION - added on February 10, 2008
How can it be that in a class constructor in an actionscript project that we have a line "init()" without an ending semicolon and it causes no error?
![]()
|
|
question |
ACTIONSCRIPT 3.0 QUESTION - added on February 10, 2008
What's up with this syntax, to get the title out of the XML object you use two periods: xml..title. If you only use one, you get an error.
![]()
|
|
question |
FLEX QUESTION - added on February 10, 2008
What I want to do is (1) load data from a text file, and then (2) use this data. However, in ActionScript 3.0 it tries to use the data before it has been loaded (!), as the debugging output shows below. How can I change the following code so that it (1) first loads the data, and (2) then uses the data (like, say, you do in in PHP or C# or Java, etc.) Here is the source code as ActionScript Project that I created in FlexBuilder 2: download source code
![]()
|
|
question |
FLEX QUESTION - added on February 12, 2008
So in trying to solve the problem of not being able to get ActionScript to wait for the text file to load, I created a LoadManager which adds an event listener for the ENTER_FRAME event, and I just wanted to trace out some text and wanted to run it and see that the text is being output every frame (e.g. a couple time every second). However, I get the error in the add event listenener line that there is a null object. Does it mean the application object? How can I fix this so that I have a loop going where I can constantly check if my file has been loaded?
![]()
|
|
question |
FLEX QUESTION - added on February 13, 2008
How can I get my LoadManager to communicate with my MXML page?
So now I tried two ways to fix the Flex loading issue. First, I made a button which (1) loads the text from the text file and (2) inserts it into the text attribute of a label field, but: same thing, it gets goes to get the text with XmlData but then comes back empty-handed and puts an empty string in the label AFTER WHICH the text is then loaded in XmlData, so, same issue there. So I then put Internal.LoadManager.Start() in the creationComplete() attribute of the Application tag, and inside the LoadManager it attaches the function enterFrame to the ENTER_FRAME event and by tracing I am able to see that the data from the text file is retrieved every second, BUT the label in my application remains empty (!). The issue is that I can load the data all I want inside the LoadManager but how do I access this value from my application? It is as if I have two application running, one which HAS my data and one which NEEDS my data but I can't get them to communicate. Do I need to set some kind of global variable or have some Singleton somewhere which holds the data which my LoadManager loads into and my application reads? Here you can download the source code to see this mystifying issue in action, perhaps you can help me solve it!
![]()
|








