ActionScript 3.0 :: XML Socket - Settings To Get Name And Input?

Jun 20, 2010

I'm making a chat room, everything works, its just, when I receive a message, I get the full xml string. How to I do it so I just get the name and input. I'm still new to this whole XML thing. As3 I can handle.

Code:
var mySocket:XMLSocket=new XMLSocket();
var username:String="Gunstar"
mySocket.connect("192.168.1.104",5525);
btn.addEventListener(MouseEvent.MOUSE_DO WN,sendData);
[Code] .....

View 3 Replies


Similar Posts:


Input Box Using US Keyboard Settings?

Oct 24, 2005

I'm using a UK keyboard (where the " and @ signs are switched) and firefox to access my flash movie and when I press the @ sign on the keyboard, it will input a " sign.

View 1 Replies

Professional :: Change Settings If Settings Manager Won't Open?

Apr 18, 2011

I am having a problem with Flash.I get the message Movie not loaded if I right clich where the video should be.I may have set the hardware acceleration on/off by mistake, but I cannot get the Settings manager to open to check it.I am running Feroda rc14.If I go to http:[url].... and right click in to white area at the top, I get the message 'Movie not loaded' and the flash version - 10.2.159.1.  This is where I should be able to open the settings window.Where does Flash store that info on my PC? How can I check it/change it without Settings manager?

View 4 Replies

Actionscript 3 :: Socket.readInt() And C# Socket.Send() Different Values Of Int-variable?

Nov 19, 2011

When I send number (int)52 s.Send(BitConverter.GetBytes((int)872415232));, flash show me trace(socket.readInt()); 872415232 If i send 872415232, flash show 52.Why? And how it fix?

View 1 Replies

Flex :: Actionscript 3 - Flex Socket And Erlang Socket Communication

Jun 29, 2011

I'm creating a client-server game. My client is a flex based game, and my server is erlang server. At the beginning, when I test directly my flex client in flash player, I can establish a connection easily to my erlang server through socket connection. And both can exchange data with no problem. The problem rise when I deploy my flex app at Apache http server, and running it using a browser by calling [URL] my flex socket sends message requesting for a crossdomain policy to my erlang server. So I create an xml message that represent a crossdomain policy, and send it back to my flex app as a response for that request.

Yet still I can't establish any permanent socket connection between my flex client and my erlang server. I know this because I add listener on my flex socket that will modify its internal state to CONNECTED, if a connection between client-server has established.

View 2 Replies

Javascript :: JavaScript Socket Vs Flash Socket?

Apr 30, 2010

Steve Jobs just posted this article on why Apple rejects Flash... [URL] I agree that javascript and css can be used to replicate some of Flash's animation, though Flash does all sorts of scaling and tweening that is incredibly powerful, and I'm not sure that there's anything comparable in javascript, if there is, I certainly haven't seen it.

However, my question is about the socket. Flash has an incredibly powerful openSocket class that allows you to connect to a server and have the server and the client talk back and forth to one another. As far as I know there is no equivalent class in Javascript. Am I mistaken? Is there some secret mystery Ajax class that replicates the openSocket? If not, then that feature alone makes Flash an invaluable tool.

View 1 Replies

ActionScript 2.0 :: Input Quiz - Check Input Answer Against Random Display From Array

Jan 21, 2009

I am trying to check input answer against random display from array. but sometime it trace not correct when it is correct this is the code i use

[CODE]....

View 7 Replies

ActionScript 2.0 :: Make The Cursor Automatically Jump To The Second Input Box After The First Input Box Is Filled With A Character?

Aug 24, 2005

If i have two or more input boxes to create a crossword puzzle, how can i make the cursor automatically jump to the second input box after the first input box is filled with a character?

View 3 Replies

ActionScript 2.0 :: Create An Input Text Box That Puts The Users Input Into A Global Variable?

Apr 12, 2007

i created an input text box that puts the users input into a global variable, but when i test it it gives me not only what i have typed in but all the html formatting for the font that my input text box has on it.I only want the text that i have typed in to go into the variable but the wackload of html is going in there too. ive tried a few different things, rewriting my code, recreating the text box, changing settings, dont know what im missing.

View 10 Replies

ActionScript 3.0 :: Test To See Whether What Is Input Into A Text Input Box (flash Component) Is Not A Number?

Jul 3, 2009

I'm trying to build a fahrenheit to celsius convertor in AS3. How can I test to see whether what is input into a text input box (flash component) is not a number? This isn't correct but you can get an idea of what i'm trying to do:

if (celsius_txt.text == NaN || fahrenheit_txt.text == NaN)
{
//do something;
}

View 6 Replies

Actionscript 3 :: Make Input Text Control Ready For Input On CreationComplete In Flex/MXML?

Mar 19, 2012

I have the following Application tag code in my widget:

<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"
xmlns:local="*"
width="100%" height="100%" minWidth="200" minHeight="200" layout="absolute"
creationComplete="init()"
defaultButton="{Send_btn}">

[Code]...

View 1 Replies

ActionScript 3.0 :: Flash Make Input Text Box Empty And Ready To Get Next Input From Starting Position?

Jul 26, 2011

i have an one input text box, first i type text into it and press space bar at this it will become empty and ready to accept next input from starting position, i make the text box empty by

textbox.text = "";

but the cursor not set to initial position in text box it consider "" as "space" and cursor will display after one space only, i need that cursor again move to starting position..

View 3 Replies

Actionscript 3 :: Placing Cursor Into Input Textfield For User Input?

Dec 15, 2009

What easiest way to place cursor (focus?) into an textfield input box for receiving user input after an event?

View 1 Replies

ActionScript 3.0 :: Full Screen Input Not Allowing Text Input

Jun 8, 2010

Notice full screen Icon at top left. My contact for will not except text when it's in full screen mode.

View 1 Replies

ActionScript 3.0 :: Input Text Field Won't Accept Numerical Input

Apr 15, 2011

Using AS3 to create a basic number guessing game but for some reason the input text field won't accept text input. I can't figure out which piece of code is causing the problem and it's driving me nuts considering it's from a tutorial.

Code:
package
{
import flash.display.MovieClip;

[code]....

View 2 Replies

Professional :: Assigning More Than One Input Term To Input Text Box

Jun 2, 2011

[Code]...

This code corresponds to a quiz question where the correct answer is either blue or green. I get the #1009 error if I input "blue". The answer "green" seems to work ok. What's wrong with my code? Is there a better way to make is so more than one answer works? Something like "blue" or "green" or "otheranswer", etc..?

View 3 Replies

ActionScript 3.0 :: [CS3] AIR Messing Up Its Settings

Feb 25, 2009

I'm developing an AIR app using CS3. I had previously made one AIR app without much problems. So I start a new file and fill out the AIR settings (found under Commands). But the damn thing keeps screwing up settings. Some stay saved, some don't. It also keeps wanting to keep 2 files for inclusion that don't exist and are not even named correctly.

And now, after trying to fix some of the naming, it won't even create an AIR app anymore. It says there's a missing SWF file, but I published first, multiple times and yet, it doesn't see the swf.

View 1 Replies

Display With Several Individual Settings?

Mar 31, 2010

make an interactive flash simulation of a display that has several different settings. these need to work individually so that the user can set the different indicators to the number they want. the picture shows the two main functions; a number indicator and a status bar (kind of like the reception bar on a phone).i have tried to get .swf files to load on top of each other, but they keep erasing previous settings in other indicators. is there a way to get this to work? or maybe a completely different approach that would be smoother? or can someone point me in the direction of a tutorial or a template that has this function?

View 4 Replies

Change Ruler Zero Settings?

May 2, 2009

how can I change my rulers' zero points on the stage? In Photoshop I just drag new points from the top left corner, but that doesn't seem to work in Flash. This is very useful for me, e.g., setting "0" at the center of the stage, or quickly measuring some space.

P.S. Where's the email alert button on this Forum's posts?

View 11 Replies

Publishing Settings For Flash CS4 - GIF?

Aug 25, 2009

Yes, I am currently running into an issue concerning publishing settings with Flash Professional CS4. I know how to make things animated in the publish setting, but things come out like the saturation is not all there in a project. I have no clue what to choose for the options to achieve the desired effect I want. It just looks drained of color. When I import items to the stage everything looks so clear and perfect, but when I go to publish it as a .gif animated it looks so bland. I'm sure Flash users are familiar to the settings provided for the .gif tab, if not I can give a list of everything thats there. I have included a screenshot of what my dialog box looks like as well.

Attachments: dialog-box.jpg (70.3 K)

View 2 Replies

Colour With 16 And 32 Bit Settings In Windows

Sep 7, 2009

I'm having a problem I haven't seen before with a Flash application I'm working on. I have attached two images of a part of the screen: one is taken with 16 bit color setting and the other with 32 bits. The texts are standard dynamic text fields.when i view the app at 32 bits all colors seem to be OK, but when I set it at 16 the textboxes seem to have a different background color, even though it's set to transparent!

View 1 Replies

Professional :: Can't Save My Settings

May 2, 2011

I have a strange pb... I have a swf file on my local computer that needs to access data on a webserver.On that webserver there is a crossdomain xml allowing all domains.When I launch my swf file there is a flash popup asking if I want to trust the file and telling me to go to a secutity settings page where I should add some trusted resources.The pb is that I can't save my settings so there is no way to trust my swf.URL...If I click on a tab it just reset the "form"/

View 1 Replies

Professional :: Settings When Producing For CD-ROM?

Feb 12, 2012

I am currently producing a CD-rom with educational content including film, quizzes, drag and drop and animation.some advice ?Here is what I am thinking so far..Stage 800x600frame rate 25 fpsIt has do have film and interactive goodness. Am I doing anything wrong so far? Film guys tells me that the film is 25 fps.Also I have production premiusm cs5.5 os is there a particular bit of software that I shoudl be authoring CD-rom with? or just make a projector file and use toast to burn it?

View 3 Replies

Flash :: Settings For RTMP And AS 3.0?

Mar 31, 2010

Is there any extra code need for using rtmp with AS3.I have the code like this. Is that enough for rtmp or any other code needed?

var strSource:String = "rtmp://myserver.com/file.flv";
var ncConnection = new NetConnection();
var nsStream = new NetStream(ncConnection);

[code].....

View 1 Replies

IDE :: Can't Debug Global Settings

May 15, 2009

I have a flash app that calls a web page vai a URLRequest object.It runs fine in normal mode but I need to do some debugging.When I try to debug I get the security warning that it's trying to access the internet.I opened the adobe.com flash security app and added both my flash file and the web site to confirmed locations but when I then try to debug it I again get the same warning.How do I get these settings to take effect inside of flash?

View 1 Replies

Can Check Compression Settings On Flv File

May 1, 2009

once a video file has been encoded into an flv is there a way to confirm the compression settings?  Say if I wanted to double check that I had the right setting or duplicate setting of a flv I encoded earlier, is there a way to access this info?Like QT you can choose Movie Inspector.In QT I opened a flv file that was encoded with a Max data rate: 50kbps (I know, I know very low but it's the setting I was given). I then selected Movie Inspector thinking it could do the trick but it listed the data rate as 359.68 kbits/s.is if I encoded at a Max data rate: 50kbps how is 359.68 listed as it's data rate in QT?

View 3 Replies

Dynamic Frame Rate Settings?

May 27, 2009

Actually I am working in an image scroller project. It was working perfectly. But the client asked to do some updations. First of all please download the file that I have atached, which is a screen shot of user control page for image scroller. There is an user control page for image scroller. You can see many options there. In user control, scroller is specified as marquee scroller. There is an option, Speed of scroller, which denotes how quickly the image should scroll. The unit of this field is seconds. Because we are giving seconds in that field. A single image should move out of the stage with in the specified seconds in "speed of scroller" field.

var UnitDistPerSec:Number = Number(TransSpeed)*10;  where "TransSpeed" denotes the speed we are given in the user control page. var FPS = 100;  var ScrlConst = UnitDistPerSec/FPS;

[code].....

View 2 Replies

Crash When Changing Publish Settings?

Jun 2, 2009

I turned off all the check boxes in my Publish Settings dialog except for making Macintosh and Windows projectors. Now, when I try to check ANY of the check boxes (Flash, HTML, GIF Image, etc...), Flash crashes.

View 3 Replies

Actionscript :: Change Settings On Other Scene?

Jun 23, 2009

I got 12 scenes on my file and all of them are running on actionscript 2.0 engine. I import a new scene but it requires a actionscript 3.0 engine. is it possible to change the actionsript on a particular scene?

View 1 Replies

Global Security Settings For New Location

Dec 4, 2009

I have created an swf that manages to get all urls assigned to the buttons. When I publish the file I set the global security to allow that file to work and all links work. My question is when I transferred the html and swf to a new pc none of the buttons worked I was not even given an option to update global security settings by adding a new location. If I was to load this swf to an ftp media server is that the location I need to allow and can I only do this from the original PC where the file was created as transferring it seemed to make the buttons not do anything.

View 14 Replies







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