AS3 Flash Chat(-IRC) Module

Over the past I had create in AS2 a chat application, where
after a registration the users could enter the application and talk
together like an IRC application.
Still it was very novice, as I used a mySQL database to keep
the messages, and I was updated the last data every 5 seconds, or
when the user was sent a message. The chat module can have max. 50
people and no rooms (no need for rooms). And I have no idea how to
fix such a program without using a database.
Do you have in mind any idea, or tutorial or any kind of info
that could help in the creation of a more advanced of such a
(useful) module?
I call it as "module" in terms of a seperate .swf file that
can be loaded and used independently in different web-sites, where
people ask for chat capabilities....

One way or another you need a server.
The way you did it before, polling a MySQL database, is a
perfectly reasonable method of doing things most of the time. The
biggest advantage is it requires no additional technology or
learning curve.
You have two primary "better" alternatives, both with cost
tradeoff:
1) Use an XMLSocket server. This is a server that you install
or create on your existing host which allows for Flash's XMLSocket
connections. XMLSocket connections will let you send XML data to
the server, and let the server push XML data at any time to all
connected Flash clients (without forcing the Flash client to
request it first, like you were doing with polling.) There are many
popular XMLSocket servers out there, and a few tutorials on how to
make your own (usually in Java):
http://www.google.com/search?hl=en&client=firefox-a&rls=org.mozilla%3Aen-US%3Aofficial&hs= 8El&q=Flash+XML+socket+server&btnG=Search
2) Use Flash Media Server. This let's you connect via Flash's
rtmp connection method. You can write server applications that push
data like an XMLSocket server, but you can also send native
ActionScript data across the connection, not just XML. You can also
send video and audio. The server application language is also
written in ActionScript, so it's very easy to learn. It's by far
the smoothest solution in my opinion, but it is not cheap.
http://www.adobe.com/products/flashmediaserver/
You can get 3rd party hosting for FMS, I use Influxis:
http://www.influxis.com/
There are also some open source Flash media server clones,
but they use different serverside language and I don't have very
positive experiences with them (but they are free):
http://osflash.org/red5

Similar Messages

  • Comments on my AS3 flash chat component with emoticons, sound FX, multiple chat rooms and user online list

    Hello everyone,
    I have spend a good 1000 hours developing a solid Flash chat framework for everyone who always wanted to create a Flash Chat. This chat is coded in AS3 and works with PHP and XML. It's 100% customizable in terms of design, emoticons, sound effects, etc. and the special thing about it is the installation process. I tried to find a method that would save users from a tedious installation procedure. I managed to figure out a way using XML files to save the chat data. Using this method, the chat works simply after uploading to FTP, there is no configuration necessary, it works right out of the box.
    This is the first software I am ever attempting to sell online. Please comment on the chat and the website.
    http://www.flashchatdeluxe.com/
    Thanx,
    Sven

    hello sir,
    i want to your help
    i was installed fresh windows 7 via cd rom and then after installed all software.
    and now after 1 day customer complained me that cd rom not read any cd and i m also check when i insurt cd so its not read and when i am double click on cd rom icon its eject so what i do for that please reply on my email address.
    [text removed for privacy]
    VIMAL

  • AS3 Video chat problem

    Hi guys
         i am creating a flash as3 video chat
         i am having a problem when i refresh the webpage the video not display
         please help me urgent
    regards
    kamal

    I want to have seprate audio video chat option in AS3.0
    How this can be achieved??

  • How to do a Flash chat on my website

    hi im new pls forgive my foolishness, but can you please tell
    me how to contruct a flash chat room for my site, i want to be able
    to talk to a lot of people with out them being able to talk to each
    other, so maybe something like meebo.com, which opens up lots of
    different windows with in the website. thanks

    hi,
    if you know actionscript then use xmlsocket class as it makes
    it smooth for developing chat application in flash. you can google
    and find an answer to it. you can also refer to macromedia press's
    training from the source book. it has a project on it.
    gaurav

  • AS3/Flash Dev Teams: Help me fix Flash's Clipboard API on Linux!

    Hello!
    I am hoping to get in touch with the Adobe development team responsible for the ActionScript framework (for Flash Player, in particular).  I would really like to work with them to fix this bug (or, hell, attempt to fix it myself if they'd give me access to their source control):
       https://bugbase.adobe.com/index.cfm?event=bug&id=3482860
    Long-story-short:
    The "System Clipboard" API (plain text format only) from Flash 9 worked wonderfully cross-platform (Windows, MacOSX, Linux).
    However, the AS3 "Desktop Clipboard" API (plain text, HTML, RTF, and custom formats) introduced in Flash 10 has issues on Linux.  In particular, it only set contents into a particular 1 of Linux's (X's) 3 clipboard/selection buffers, which prevents Linux users from pasting the copied contents into a Terminal session. The "System Clipboard" API from Flash 9 does not suffer from this problem.  (More background details are available in the Adobe bug linked above as well as the GitHub bug linked below).
    This bug has downstream ramifications for a relatively popular open source library (e.g. used by GitHub.com and bit.ly) that I maintain called ZeroClipboard:
       https://github.com/jonrohan/ZeroClipboard/issues/78
    As such, I would very much like to see these issues resolved, and am willing to actively help if at all possible.
    If there is a better way to get in touch with the AS3/Flash Dev Teams than the bugbase or these forums (e.g. a team email address, particular dev's Twitter account, etc.), please let me know. Thank you in advance!
    P.S. Yes, I know that Linux is no longer officially supported by Flash Player but I also know that Linux users still manage to install the latest versions of Flash with a few workarounds.  It is also heavily used by GitHub.com users, and is therefore a high priority user base for ZeroClipboard.
    P.P.S. I also tried to get a contact via the various Adobe/Flash/Flex Twitter accounts without any success.
    Sincerely,
       James M. Greene

    Epic failure. Worked hard to contact Adobe devs and finally got through to the team via their OSS director.  End result: they'll only do for security patches for Linux, won't even consider other bug fixes.

  • I have an iMac os x 10.4.11 but I am having problems with Flash Chat. About 3 weeks ago, I can no longer type in messages and send them in any Flash Chat situations. I have uninstalled and re-installed Flash Player 6 times but still have the problem.

    I have an iMac os x 10.4.11 but I am having problems with Flash Chat. About 3 weeks ago, I can no longer type in messages and send them in any Flash Chat situations. I have uninstalled and re-installed Flash Player 6 times but still have the problem.

    I have an iMac os x 10.4.11 but I am having problems with Flash Chat. About 3 weeks ago, I can no longer type in messages and send them in any Flash Chat situations. I have uninstalled and re-installed Flash Player 6 times but still have the problem.

  • Bad Adobe Flash Access DRM module

    I have been streaming videos and movies I have purchased without problems until yesterday when Amazon wouldn't load the video and suggest upgrading Flash Player.
    I have OS X 10.5.8, so Flash Player 10.3.183.29 is the most up-to-date version my computer can have.
    I went to Adobe site and followed instructions for removing the bad Adobe Flash Access DRM module, deployed in 2011. Replaced it with the corrected DRM module. When I ran the test for protected content through the Adobe demo video player, no video played and received message: Error #3343. IV check failed.
    What is error #3343? How can this be resolved?
    Would greatly appreciate anyone's help on this.
    Thanks.

    Moving this discussion to the Using Flash Player forum.

  • Flash Chat Client

    I came accross a new tutorial for a Flash Chat Client. It
    uses Flash, PHP, MySQL. I found it to be most informative and
    thought there may be others that would be interested. It uses the
    Datagrid and Text Area components and communicates to the MySQL
    database. Oh the Tutorial i'm refering to is at the bottom of the
    page of the following link.
    Click
    here to see the tutorial

    Set the text field options to selectable.
    Dan (Mode) Smith
    --> Adobe Community Expert
    *Flash Helps*
    http://www.smithmediafusion.com/blog/?cat=11
    *THE online Radio*
    http://www.tornadostream.com
    <--check this
    ***Stop Piracy
    http://www.adobe.com/aboutadobe/antipiracy/***
    "linedrivehitter" <[email protected]> wrote
    in message
    news:f9cl1e$oba$[email protected]..
    > we are building a flash chat client and i am wondering
    if there is a way
    > to allow actual text to be rendered in the chat window
    so it can be copied
    > and pasted?

  • Flash as3 video chat

    I am using flash as3 and red5 to record a  live chat
    But while i playing that videos it's unsync due to streaming . because i recorded user1 and user2 both members chat in separate flv's.
    Any possiblities to sync this two videos
    Thanks in Advance
    Sankar

    Hi.
    you can find the simple tutorial here:
    http://www.adobe.com/devnet/flashplayer/articles/rtmfp_cirrus_app.html
    working example:
    http://labs.adobe.com/technologies/cirrus/samples/

  • Flash chat alternate text colors

    Anybody know how to alternate text colors in a Chat  i tried to use css but it changes all the text colors not just each message. Anybody know or point me in the right direction?

    Hi Mate,
    Send the Color value from
    As3     ---->> FMS Asc (color).
    As3  << ----- FMS
    Ex:
    Flash
    ns.call(privateMsg ,#00000,null)
    ASC
    newClient.privateMsg = function(color){
        application.list[user].call("privateMsg2",color);

  • Display results of MySQL query from AMFPHP by ArrayCollection in AS3 (Flash CS4)

    Hi, i am using Flash CS4 (AS3) + AMFPHP + MySQL to do own flash frontend for Wordpress CMS.  Everything is going fine but i`ve got one problem. Problem with properly display of result of query in AS3 by using ArrayCollection.
    When i check my service in "amfphp/browser/" in web browser i`ve got this (with all needed data):
    (mx.collections::ArrayCollection)#0
    filterFunction = (null)
    length = 2
    list = (mx.collections::ArrayList)#1  
    length = 2     source = (Array)#2
    That is the reason that i suppose that service work fine.  Problem is when i try to display result in AS3. In actionscript i have got this:
    function getNewsListHandler(result:Object):void{
    trace(result);
    This function displays: [object Object].
    I know that "result" is an ArrayCollection type but i don`t know how to get rows and columns from this. I know that my data is there but i have no idea how to get it.
    Clarify: I don`t know how to get to Arrays and simple data variables which are in ArrayCollection.
    Could anyone help me with that problem. I would be gratefull
    P.S. I tried also change query type in service.PHP for mysql_fetch_query but in that case i`ve got only one row (not all data).

    Thanks for fast reply,
    arr_coll:ArrayCollection = new ArrayCollection ({col1:"data1",col2:"data2"}, {col1:"data3",col2:"data4"});
    you would get the data like
    var resultstr:String = arr_coll[1][1].col2;
    trace(resultstr);
    //results in data4
    could you explain me how it was happen (arr_coll[1][1].col2)? It`s not clear to me. I thought in this case rather something like this :
    var resultstr:String = arr_coll[1]['col2'];
    It should give me "data4". I know it wasn`t but i don`t understand ArrayCollection in level which is needed to use your advice in my case. Could you clarify "arr_coll[1][1].col2" a bit?
    What would it look like when you would have something like this:
    arr_coll:ArrayCollection = new ArrayCollection ({col1:"data1",col2:"data2"}, {col1:"data3",col2:"data4"},{col1:"data5",col2:"data6"},{col1:"data7",col2:"data8"});
    and you would want know f.e. position in ArrayCollection of  "data6". How would you code this? arr_coll[1][2].col2?

  • Save data to mysql using AS3 + Flash Builder(flex) OR AS3+AMFPHP? or AS3

    Hi,
    i just want to confirm with you guys about saving data to mysql using Action script 3.
    I am now developing RPG game that user can save data again and again to the MySQL.
    I searched on the net and found few solutions:
    AS3 alone using URL Loader
    AS3 + Flex +Php to save data to mysql
    AS3 + AMFPHP to save data to mysql
    This make me confused as there are too many options but i do not know which one is better for me
    or what are their limitations...
    Could you guys help me on this?

    For developing you can use the server (install like any other software), but the Zend framework is nothing more than php files, so all you need to do is upload the framework to you hosting server and all should be well.. You may have to configure a few things, but you should be able to do that yourself.
    There's plenty of documentation on installing and configuring Zend on their website.
    So, only get the server edition if you don't already have a dev server (on you computer) installed, like Apache. Otherwise, just grab the framework:
    http://framework.zend.com/download/latest
    Select "minimal package" on the page above to only get the framework (no install). Or grab both and see what each one does but the minimal package is what you need to upload to your hosting server.
    As for where Flex/Flash Builder comes in.. FB is the tool you use to create a Flash/Flex application.
    Zend, AMFPHP, etc.. is used to communicate with your backend from your application, using RemoteObject
    RemoteObject API
    http://livedocs.adobe.com/flex/3/langref/mx/rpc/remoting/RemoteObject.html
    Using RemoteObject components
    http://livedocs.adobe.com/flex/3/html/help.html?content=data_access_4.html

  • Which other languages compliment AS3/flash?

    So, i've been learning some flash and AS3 recently as part of my job and i plan on learning some more.
    I have another project starting soon (the details of which i've posted at the bottom but aren't necessarilly relevant for this discussion*).
    Basically the jist is, i'm looking at learning another language and i was wondering which direction to go, what languages could be used in developing good flash applications or what languages would cover projects that flash was irrelevant for. What other languages have people gone on to learn after learning actionscript and how were they helpful? I've done a little research and found http://www.tiobe.com/index.php/content/paperinfo/tpci/index.html in my opinion it's only worth learning something that other people are still using and that employers might consider a useful skill.
    *future project details:
    I have a physics simulation package that essentially outputs text files in the form of:
    Generic time stamp
    Next time stamp
    and it goes on and on and on like that for potentially thousands of cycles- where hashes are numbers that correspond to density of a molecule at that position in a square. The grid size will vary depending on what i tell the simulation to do. (it's 5x5 now but it could be 10x10 etc)
    There are a number of these output files created each time the simulation is run and each file corrosponds to the density of a different atom.
    A good starting point for me would be to create a program (with an easy gui for others to use) that allowed a user to specify which of the atoms densities he wants to view and pick a start and end time and then watch a movie (essentially a slide show) of the density changing over this time. Where the density would be colour coded in some way.
    Matlab has been suggested, but i'd much rather improve my coding skills by learning something more relevant to non-scientific tasks.

    Speaking as a developer who has built and worked on a number of large-scale apps for long-term clients; you would need to shoot me and prise the Flex framework from my cold, dead hands before I would give it all up in favour of the huge limitations of a pure AS implementation.
    Yes, it is possible to build bad, slow, heavy Flex AIR apps. Yes, it is possible to build faster, slicker, lighter pure AS apps.
    But...
    Once an app is out there, you need to maintain it.
    And...
    If you build the thing properly in the first place, performance will be comparable or better using the well-defined systems and frameworks of Flex / AIR.
    Or rather...
    There are things that it is better to build your own controls for than to use Flex's ones, but those things are so few and far between, and so obvious after just a little bit of performance testing, that it is almost always going to be preferable to build using Flex default and then to replace the problem items _and_only_ the problem items with home-cooked controls that _are_integrated_ with the existing Flex framework.
    G

  • How to call webservices in as3 (flash) and get its response

    Hello
        I need to know how to call webservices in flash cs5 as3 and how to track its response. any example ?
    Thanks
    Avneet

    http://www.thetechlabs.com/tech-tutorials/xml/creating-a-as3-web-service-package-base-serv ice-class-and-simple-twitter-api/

  • Flash Player DRM Module Update url  I/O Error 2203

    Hi there
    I seem to be consistently obtaining an I/O error when trying to test the DRM module System Update API
    As suggested I have removed my ~/Library/Caches/Adobe/Flash Player/NativeCache folder as suggested in this post http://forums.adobe.com/thread/799135
    Flash Player 11.2.202.235 ( Debug )
    Mac OSX 10.7
    FireFox 13.0.1
    Chrome 20.0.1132.57
    Flash Access 2.0
    The code is correctly identifying the missing module when the NetStream recieves the Status code of 'DRM.UpdateNeeded'
    and attempts to download it using SystemUpdate.update( SystemUpdaterType.DRM ) api method. However I immediately receive the following error:
    Error #2203: The requested SystemUpdater action cannot be completed, which is an I/O error for the DRM module?
    Can anyone help with what causes this issue, and how i can possibly resolve it?
    Thanks
    Steve

    Hi Steve,
    The DRM module for Mac OS X flash player plugin 11.2.202.235 debugger version is available. I could successfully download the module for 11.2.202.235 debugger version 32bit and 64bit on Mac OS X 10.7.
    After you got error 2203, did you see any files under NativeCache directory?
    Are you using any kind of proxy server, anti virus software, etc?
    BTW, I think Google Chrome browser 20.0.1132.57 is using different flash player version.
    Can you check used flash player version by using 'chrome://plugins' and openinng http://drmtest2.adobe.com/AccessPlayer/player.html then see flash player verson at upper right corner?
    You can disable undesired flash player on chrome://plugins page.
    Thanks,
    Hiroshi

Maybe you are looking for

  • Upgrading from 10g to 11g

    Hi, Is it possible upgrade OBIEE version 10g to version 11g and keep the database versjon 10.2.0.3? Basically does the upgrade (or version of OBIEE) depend on the version of the database? Thanks in advance!

  • Downloaded new OS and having trouble with wifi, bluetooth Facebook and Skype performanc​e

    Dowloaded 10.2.1.537 When I first loaded this it had a lot of trouble finding my Wifi again and would disengage.  Problem went away after a few hours but it recurred this am.  Also affected Facebook. Skype is loading more slowly and jumps to a black

  • My backspace and delete button no longer work any ideas??

    I have installed all new updates and of course my extended warrenty is done any one have this issue and see I just went to back space cause I did not care for the wat way the sentence was going  but NOOOOOOooo backspace

  • Why are ITunes Library files stored on Buffalo Pro 1TB NAS being corrupted?

    I'm having a flaky problem with the ITunes library files (Mac version) stored on a Buffalo NAS. Frequently, ITunes says the ITunes library file is damaged and creates a new one. Moreover, there are temp files that ITunes apparntly creates that appare

  • 790XT-G45 one of the capacitors fell off

    Hello there msi community and hopefully some MSi engineers  :D Today i opened my case for some dust cleaning and one thing really scared me - I saw a small capacitor laying at the bottom of the case. within few minutes i located the spot where it's m