I have a platformer with a level editor built in, and I would like to create a console to allow the users to type in simple text commands ("new map 20 40") to call functions I have set up. I created a class Console that is an input text box. It sits at the top of the screen and is toggled with the (`/~) key; however, sometimes when I toggle the console, no text appears and I can't activate the text box by clicking on it. It seems that it works when I type something into it before I first deactivate it, but the ideal usage would be, when I press (`/~), the console appears with the cursor in it at the initial location.
Does anyone have any insight into this problem? This is an AS3/Flex 3.4 application running in Flash 10. I didn't use the IDE to create it, and I don't plan to.
I'd like to know if it would be better for programming and for code organization if I'd create a Console class, which would be used for game settings and to start a game, and another Game Class, which would be used for the game itself, like movements, conditionals, scores, etc.
When I first downloaded Flash CS3 Professional, I was able to enter an exceedingly useful debug mode by compiling using ctrl+shift+enter instead of ctrl+enter. I could toggle break points, step in, step over and view values stored in variables at a whim.
I must have accidentally toggled some option somewhere, because this interface no longer shows up. Instead, the only extra interface I get is the output menu with the following text "Attemping to launch and connect to Player using URL <file path> [SWF] <file path> - 71984 bytes after decompression" and while the swf does halt if the as3 code reaches a break point, it doesn't tell me which break point nor give me any options to progress the flow (not even through the pull down menu I have to utilize in order to end the so called debug session).
I have a swf that I need to attach the flex builder debugger to. I have full access to the source code, and can make a debug build of this swf.
However, this swf is being loaded by a non-debug build of another swf which I don't have source code to, and can't make a debug build with.
I've tried mocking this up with two very simple swfs, and while it works fine when both are debug builds, when the outer swf is a non-debug build, while I can get the debugger to connect, I don't get trace messages, breakpoints don't work, and it seems to lock up the flash app.
I've migrated to FDT from flashdevelop and kind of have a hard time getting things to work the way I'm used to. In Flashdevelop, you could easily choose if the compiled swf was a release or debug version. In FDT however, it seems like there is no way to compile a version that has debugging information without it automatically opening up the debug perspective with a ton of debug windows, a profiler and actually entering debug mode.
As an extra plus, I keep getting a message saying "This feature is only available in FDT Max", although from what I know the debugger is included in the free version. Is there a way to do what I'm trying to do or should I just get used to this new way of working?
I made a little game test, and it works fine playing in the flash player. When I made a .html for it, to play on browser its not working, I guess its related to file loading. Anyways, is there anyway to see the flash console on the browser? I want to put some traces on my code and I will need to see them ;p
Im am trying to make a console like a emulator for dos if u will...The only problem is that i dont know if this is possible in Flash. I have tried using a Input Text Field Box but i dont know how to verify input without a button. I also do not know how to print text to the input text field box. And is there any way to change the input text blinking cursor to like a square?
The attached image shows 17 client connections. Unfortunately there are not 17 clients connected to that app. In fact, I add users to a userlist shared object in application.onConnect(), and that shared object only reports 6 connections. That is the accurate number of connected users.
Why the phantom connections? Even if I unload and reload the app, the 17 client connections return.
How can my userlist shared object and the client connection number be out of sync? This situation seems to be related in some way to an FMS memory problem that is cropping up all of a sudden. When I have larger numbers of connected clients - say 300, the client connections reported in the FMS console are ten times that - like 3,000 or more. Then the application is unloaded by FMS for being a memory hog.
The app itself is simple. It just stores each user in a user array and passes chat communication to and from these users. The last time this main.asc code was changed was 2/8/2010. No problems with it in the countless times we've used it since then. Why the sudden phantom FMS connections, memory hog behavior, and constant unloading of the app?
I installed FMS 4 on my notebook and I was able to access the console without trouble. I used localhost for the server address. When I installed it on a remote server (Windows 2008), I can't get in. I tried the same thing. I opened it from the file system [URL] and I tried localhost but it didn't work. I've tried other values
[URL]
One problem could be that I installed Apache but there is already a IIS server using the port 80. When I look in the service panel, FMSApache says it is starting but not started.
Im having trouble getting the FM Administrative Console to connect to my AWS FMS. I have an instance running and can view the default page and samples. I opened ports 1111 and 1935 and have also modified the fms.ini file to include a user name and password. Restarted the FMS as well.
We just installed our FMIS on Amazon services (EC2) and cannot log into the admin console. The server is running fine and we can resolve the web interface. Is there any configuration of ports or additional user accounts other than the install credentials (root/XXXXXXX).?
I recently setup Flash Media Server on Amazon EC2 and things are going well so far; however the admin console wont login. I've set the username, password, and port in the config file and opened that port, among others, in the security group. I've then restarted both FMS and admin server multiple times.
When I try to login I get no errors. Nothing happens at all. When I open FireBug and/or Fiddler2 to watch the communication, I'm not seeing a single thing happen. Clicking "Login" submits no requests at all. Do I just not understand how FMS works? I would assume some sort of request would need to be made.
There's a lot of examples for ActionScript over the web using trace() to print results. I'd tried it using Flash Builder 4, but it don't print to the console. Where can I see the output?
I am taking XML type variables in model and binding with component properties in action script code. Its perfectly fine if its unable to bind the child nodes or other sibling properties of the XML itself and I dont want eclipse to generate this run time warning! I did suppress warnings in flex compiler using "-show-binding-warnings=false". But that does not seem to be working for run time binding warnings. Warning: unable to bind to property <'some node name'> on class 'XML' (class is not an IEventDispatcher)
The thing is that I have an ActionScript 3.0 application, and wanted to include a little one-line size textbox which showed all the trace() calls and such, which are shown in the console.
Of course not everything is lost, as I could just do my own class that showed there the messages, but it would be cleanier, and quicker not to have to replace all the trace() calls for my new class and method.
I'm trying to make a console for text based i/o. The output window needs to be able to print char by char in multiple colors, wrap horizontally and scroll vertically.Most of that isn't a problem with the default TextField class, but I'm having a lot of trouble getting the colors right.If I use the htmlText property and wrap each character with "<font color=000000></font>" it starts a new line each time I add text.TextFormats don't seem to work at all for some reason. I do something like this:
ActionScript Code: var tf : TextFormat = new TextFormat(); tf.color = FFFFF0; textField.setTextFormat(tf);
...and then add the new text but nothing changes. Even if it worked, could I even use multiple TextFormats in a single textfield?I've been reading about this new "Flash Text Engine", and I'm wondering if there's some way that can help me, but I'm having trouble finding enough examples to understand how it works.
I have a FMS server running that I am hosting some VOD content on. I am using HTTP dynamic streaming to deliver this content. Everything runs fine from a technical standpoint, but I am unable to see the connection details in the Admin Console. I have loaded vod -> defaultinst under the applications tab in the console. No connection details populate.
I have a problem with our FMSI3.5. A few times now we have experienced problems with the administration console/fms webserver. They become unavailable. When someone tries to connect to the administration console or tries to download a file from the FMS webroot the connection fails (times out). Streaming still works when that happens.
A FMS restart fixes the problem. Logs say something but can't really see what is wrong.
I can start an instance of Flash Media Server 4 on Amazon EC2, using the Adobe public AMI, and I am able to view the vod and live media samples without any problems.
I can SSH into the running instance, and I can also bring up the Admin Console web page for that instance in a browser. However I have not been able to log in to the Admin Console.
Before trying to log in to the Admin Console, I have edited /opt/adobe/fms/conf/fms.ini and inserted a username and password, then I saved the modified file.
I have also updated my security group to add a custom TCP rule to open port 1111.On the Admin Console page login fields I have kept the default server name of Server 1.For the server address I have tried both localhost and also the public DNS address of my EC2 instance.I have used the username and password that I put into fms.ini.
I am having trouble figuring out how to build a console for my application so i can send msgs to it from any class in the package.
i tried to send a generic Event, but I cannot find a way send a msg together with the event, or at least a reference to the object which is dispatching the event.
Any example of a telnet/chat or other console like FLEX application where you can use the same TextArea as input/ouput area. I've been trying to modify the app at: [URL] but so far, computer says no. All the implementations I've seen use a combination of TextInput and TextArea.
The challenge is that we'll be using this app to telnet into some old routers and we'll need to do a fair amount of copy/pasting. Based on what I've seen, it seems that I would need to point the mouse into the TextInput in order to be able to right click and paste, which is not very sleak.....
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.