ActionScript 3.0 :: How To See The Console In The Browser
Jan 27, 2010
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?
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.
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'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.
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.
I'm in trouble, because i need to build a site for a customer who needs an uploading file system, but i can't handle it. He wants to have the possibility to upload images and text that will be visible in another page of the site. These are the offers of his shop, that will be shown as a list in another mc. This console should be invisible for visitors (i'll use a password system to prevent accesses).
I know there are many examples and tutorials for this ("flash upload file" in google), but im a newbee in programming and i really can't figure out how to solve this problem. It could be even a php system. I don't care about graphics cause it would be invisible for visitors. What i care is that those images and text are reported in that "offer list" mc. Finally, is possible to have an auto resize (pixels and kbs) of the images?
We have added a few sub folders under the webroot folder. I did this so I could make a custom web page that generates the code need to display the video in a web page if it is one of the folders. My question is how do I get these folders and their content to show up in the Administrative Console? Also how do I get the videos to be logged? I have looked through the Server.xml and Application.xml files and the fms.ini but do not see any place, Am I not looking for the correct setting? Attached is a pic of the folders.
My employer has a Flash Media Server that I wrote a little streaming video app for a couple years ago.Well, the videos have stopped working and I've been asked to troubleshoot. I fired up the fms_adminConsole.swf and connected to my server. Now, it's been a long time since I've messed with the server, but if I remember right, there was a big list of apps on the list on the left hand side of the "View Applications" view of the console. When I log in, there are no applications listed. If I hit the "New Instance" button under the empty list, I'm presented with a list of all the apps I think I should be seeing in the Applications list. If I select any of these, a new application instance appears in the applications list, and I'm prompted to give it a name, the default being "_definst_". If I hit enter to create this instance, it remains on the list and instance data appears on the right panel until the console refreshes, and then all that vanishes and I'm back to an empty applications list again.
Going to "Manage Servers", I do see a list of applications under the applications tab that I expect to see. The app that streams the video that's having problems is there on the list.
Is this typical behavior for the Flash Media Server Console? Shouldn't I have a list of apps in the "View Applications" section of the console? I've created about a dozen to date, and they're all listed under Manage Servers > Applications, but not under "View Applications". Can anyone point out if I'm doing something wrong here or missing something?Or can someone confirm that I SHOULD be seeing something under "View Applications" and that there is indeed something weird going on with the server.
I'm attempting to view Shared Object data in my FMS Administration Console, but I consistently get the error:Object encoding error; terminating connection.I'm using Flex 3 with FMS 3.5, I'm positive that everything is using AMF3. The Shared Objects do seem to work. I can connect to the shared object through another instance of the app and pull saved data but they are not inspectable in the administration console. Also,very often when a new instance connects to the server I get a RangeError and all of my Flash Player instances crash.
FMSMaster -console fails on assert I am trying to use FMSMaster -console to start FMS 3.5 on cmd.exe by system account "administrator". but I get an error when trying to run FMSMaster -console.The error that I receive is as follows:
TimeResolutionImpl::set(00.001000000) returning 00.000976600Assert failed in ..utilTCProcess.cpp line 161Failed to create process mutex.
I reverted the admin console account on a new setup of Media server 4 and it will not let me connect or login using the "administrator" login? Does it set the password to some defaut? This is all new to me as this is my first install of this server. How can create a new admin login? How can I change to login?