ActionScript 1/2 :: Flash 5 And PHP With MySQL - Making A Simple Chat Program?
Apr 28, 2009
I am trying to program a simple chat program. I have looked all over the net for an easy to use tutorial for exchanging information between Flash 5 and a MySQL database. The reason this is so hard is because I just started PHP and MySQL last week.
A. Sending 1 line of text to a table in a MySQL database via PHP.
B. Allow flash to retrieve the latest line of text from a table.
View 6 Replies
Similar Posts:
Dec 22, 2006
making Guestbook and text-chat application over LAN connection. Are php and mySQL required? and about the chat, how do we really use the flashcomm?
View 7 Replies
Jan 19, 2011
What would be the best language to use to write a script similar to chat roulette but interact with a MySQL database of users.
View 3 Replies
Mar 26, 2012
I'm planning to develop a chat program in Flash using a sample program called Ozeki VoIP SIP SDK. On their website, they say: with the help of this sample program you can easily implement text, audio and video chat programs and it doesn't require a long period of time.
View 0 Replies
Oct 27, 2006
I wish to detect and store the IPs of the users of my site which is All-Flash-Built. My goal is to later have the ability of banning some users...Where can I find a simple IP detect method in Flash working with a MySQL DB via PHP?
View 1 Replies
Jun 26, 2009
I'm trying to create a very simple chat application in Flex/.Net using FluorineFX but can't get it to work.
<mx:VBox
width="100%"
height="100%"
xmlns:mx="http://www.adobe.com/2006/mxml">
[code]...
It's compiling all fine, and when I try to send I don't get any errors, but also no result. No message is received. Am I on the right path? What's the logic behind the endpoint uri? What port should I use? Should I configurate Web.config? (beyond the flourinefx configs that enable RemotingService?) I don't get any response in the flourine.log.
View 2 Replies
Aug 18, 2010
Intended idea: User is able to set a beat speed for a music making program.
I'm trying to use for (var i:Number = 0; i < (variable); i++) {"addChild" to duplicate movie clips to visibly show where the beat is and then move the movie clips at a constant rate to the left to get it out of the way and then eventually remove the child.
Problem: The movie clip isn't moving. Once it's spawned and in it's position as defined by the function, no outside function can control it.
Code:
stop();
var yesorno:Boolean;
var numba:int;
var origbeat:MovieClip;
[code]....
View 2 Replies
Mar 10, 2011
I am trying to implement a simple chat application in adobe flex 3 with php as back-end. I have found few frameworks on net, AMFPHP and WebOrb. But I see that both these frameworks do a polling to the server at regular intervals.
View 4 Replies
Dec 6, 2011
I'm trying to make a P2P video chat application with Flash Builder 4.5 and Flash Media Server 4.5.First, I've tried a simple sample application using Cirrus(Stratus). It worked very well!NetConnection -> NetGroup -> 2 NetStreams -> netstream play and publish -> last, netgroup post.The sample was all OK.[code]I couldn't get events about NetGroup and NetStream any more..When using Stratus, It worked well...I am not familiar with FMS.. did I skip something in FMS setting?
View 5 Replies
Mar 26, 2012
I'm trying to make a simple video chat using Flex framework and red5 server. It's an application with 2 video displays. With connection to the server more or less figured out. However, I do not understand how to transfer user1 stream to user2.
Here is functions i use to transfer webcam image to the server and to get the stream.
[code]...
View 1 Replies
Feb 9, 2009
I've been learning actionscript 3 for the past few days and really enjoying it. However I've spent hours trying to find out how to do something very simple in HTML. Say I have a form like this...
<form id="form1" name="form1" method="post" action="http://website.com/form">
<input type="text" name="your-name" id="your-name" />
<input type="text" name="email" id="email" />
<input type="submit" name="submit" id="submit" value="Submit" />
</form>
How do I make it in Actionscript 3?
View 6 Replies
Nov 26, 2010
I am developing a Jeopardy-like game in Flash CS5. I am familiar with Flash CS5, but new to AS3. I don't know the language well, and to top it off my code hints don't work in Flash CS5. After researching this I've learned it is a bug that Adobe has yet to resolve. Anyway I am trying to program this game with very little knowledge about the language I am using. I've been watching tutorials and googling specific questions, but it comes down to the fact that I don't speak the language and don't have the resource (code hints) to make the language more available to me.What I am trying to do is simple:Imagine a Jeopardy game board.On the answer screen there is a button that takes you back to the gameboard. Here's the catch: the gameboard must remember which boxes have been chosen and not display those dollar values.
I understand how to program the buttons. I've been using gotoandstop for that. I am trying to figure out the best way to program this so the game remembers which boxes have already been chosen throughout the entire game.The specific question I have at the moment is how to reference an instance on another frame than the frame that has the code on it. For example: The gameboard is on frame 5. When the category A for $200 box (buttonA1) is clicked a Boolean var called 'chosen' is created and assigned the value of true. then the gotoandStop command moves the game to frame 10 which is where the question for category A for $200 lives. There is a button on frame 10 that takes you to the answer, which is on frame 11. And on frame 11, when you click on the button to take you back to the gameboard, I want it so that if chosen = true then buttonA1.visible = false. I get an error because buttonA1 doesn't exist on frame 11 - it lives on frame 5 and I have no idea how to reference it so that it will not be visible.
View 2 Replies
Jun 18, 2010
I have posted the following in the Adobe forums a couple of days ago. I didn't get a respond and I also think I accidentally posted it in the wrong forum. So here's the post:Let me introduce myself. My name is Wisse and I have been working with Adobe products since I was a child at the age of 8 (10 years ago). Well, then it was called Macromedia Flash but you understand what I mean. I have always been using flash for making animations and small simple applications (for presentations and games) in my spare time. I also use photoshop and dreamweaver for making sites and other things. So I will soon order the new CS5 web design collection.
I have a big (biggest so far) project coming up and before I really started I thought it'd be best to orient on what Flash application(s) to use and how I will make this project. So here is the plan:I am making a dutch driving exam site where people can take practice exams for a small text message fee. The application will have to look slick and work smoothly. I made this to clarify what the application has to do.I have never worked with Flash Builder and Catalyst but I kind of like the idea of making nice looking interfaces using Catalyst and then export them to Flash Builder. But as I just said, I have never worked with Flash builder and so I don't know whether I will be able to make this on Flash Builder (due to it's complexity). Flash builder also has some nice options for accessing external data (the XML, HTTP API and PHP in this case). Catalyst's data list designer and transition animator will save a lot of time and effort when compared to doing it manually in Flash Pro. The big issue here is that I have no idea how to script the rest in Flash builder. but I want to make to be sure that Builder is the best way to go before doing so.But on the other hand, I am quite familiar with flash and that could also save time. Flash is a bit harder to use when I want to make a good UI and Flash builder wins when you look at the server communication and the debugging tools.
View 5 Replies
Apr 17, 2011
Is there a really simple way of creating a Flash time/date signature? I did a couple videos in sort of a surveilance camera style. So I was hoping to do an overlay with the date and have the time going up in seconds.
[URL]
I can think of some tedious long ways of doing it, just wondering if there's an easy way to do it in AS3
View 1 Replies
Aug 23, 2010
I'd like to create a simple "prize draw" program that randomly selects a name (or number) from a list of names, I'd like it to be my own custom version. For a programmer this is probably the easiest thing but I'm new to programming (beginner), don't eve know if I'm in the right subcategory (flash).
View 1 Replies
Mar 26, 2009
i have been messing around with a script found for a simple paint program. After adapting the code a bit for my own needs and getting an understanding of how it works I had a couple questions.first of all I need to create a button that will clear the stage (or more specifically lvg1)second what does e reference in lines similar to
Code:
e.target.graphics.lineTo(e.localX,e.localY);
Code:
import flash.events.MouseEvent;
import flash.geom.Matrix;[code].........
View 2 Replies
Dec 23, 2011
produce some very simple checkboxes to insert into an elearning program.The Checkboxes he created before he left are apparently overly complex and refer to _root and/or _level0, which is a no-no for the elearning software.I've done some web searches to see what I can find but honestly I haven't felt this stumped since first year calculus.
View 3 Replies
Sep 13, 2002
Is it possible to program a simple script depicting the passing of time? Not necessary a timeline but rather a time code.My intention is to animate and integrate a 3D city (into Flash or Director) that is deteriorating/declining over time.I just might fake it in the end. i.e.Scrolling 24 hrs Days Weeks Months
View 4 Replies
May 21, 2009
Does anyone know of a 'Flash Chat' room to chat with Flash Devleopers?
View 1 Replies
Jan 16, 2012
What is the best type of chat program for people to chat one on one?
1. Does flash chat impair SEO?
2. How would you compare the server load/speed of flash chat vs other types of chat, such as cometchat, ajax chat, of java chat?
View 3 Replies
Sep 29, 2010
Is there a way to start an unrelated program (such as Window's media player) from inside of a flash program?
View 2 Replies
Mar 29, 2012
i want to create a chat app using flex 4.5 mobile project for android device. For the chat screen, i wanted it to look glossy and stylish. Hence i thought i would use the list component and disable the selection in it. I m able to add the chat messages into the list. But i doubt if large chat data might hinder the performance. Im using a collection and i ve binded it with the list. Whenever i receive a chat i update the collection and it gets displayed in the list. Can someone tell me if his could pose a performance problem as list component is not intended for this purpose.
View 1 Replies
Jun 3, 2010
I am trying to make the SIMPLEST POSSIBLE MP# player using the player component preinstalled in flash.It is very simple, the code is as follows:
Code:
on (release) {
player.contentPath ="Song.mp3"
player.play()
}
("player" is the mp3 component)
This works if I want a single track to be selected and played.Now, I need it to AUTOMATICALLY LOAD THE NEXT TRACK, which I will input in the code.I am thinking something like this:
Code:
player.onSoundComplete = function() {
player.contentPath ="Song.mp3"
player.play()
};
But this is not working.
PS: I know an XML file would be the best here, but I don't want to use it. I just want to enter the next track's code inside the swf.
View 2 Replies
Mar 29, 2009
I started creating a simple navigation bar: [URL]
But decided to make individual buttons: [URL]
As you can see the latter repeats, however the code (after about an hour checking it seems to be identical:
Actions for frame one:
_root.buy_mc.onEnterFrame = function() {
if (mouse_over_buy_mc) {
_root.buy_mc.nextFrame();
} else {
_root.buy_mc.prevFrame();
}};
Actions for invisible button:
on (rollOver) {
_root.mouse_over_buy_mc = true;
} on (rollOut) {
_root.mouse_over_buy_mc = fstartlse;
}on (release){
getURL("[URL]");
}
View 7 Replies
Jul 14, 2009
I was wondering how would i go about making a simple application that can be run on a website that can:
-show a opening page that will stay for 5 seconds (for advertisments)
-show random pictures (well they will only be text)
-can change slide by clicking on screen.
View 1 Replies
Apr 29, 2011
I'm trying to practice making a simple video phone app so I'm trying to make a program to send a video and recieve a video using Cirrus from Adobe. I'm having trouble recieving the stream though. Here is the cod that I'm using:
[code]...
Inside of the getVideoReveiver() function I'm getting the flag to go off from writeText("flag") then I get and output in the text box of:
NetStream.Play.Reset
NetStream.Play.Start
from the netStreamHandler, but the video never shows up in the receiving video element.I'm running this is two different videos of the same computer and taking the nearID from one stream and pasting it into the textInput theirID. I'm not sure what to try next?
View 1 Replies
Dec 16, 2009
How do i use the on(dragover), becuase i am making a simple randomness game,(to start off) because i have something that you can drag, and i want to make it if you drag the thing over it it takes you to a new keyframe.Here is the movie clip i want to be drug on: (nothing happens)
Code:
on(dragOver) {
gotoAndStop(3)
}
Heres the code that you can drag the item(works)
Code:
on(press) {
startDrag(this)[code].....
View 1 Replies
May 20, 2011
how to respond when a rectangle hits another rectangle? I already know how to detect the collision, I just don't know how to respond to it. I'm just trying making a simple side-scrolling platform game where I have platforms I can walk on and bump against on all sides.
View 9 Replies
Nov 24, 2010
making my image gallery, but it only works as each image in the array is clicked. Now I am trying to make the gallery move automatically to the next image in the array every 5 seconds while still giving the user the ability to click on an image to view the one that they want.Here is my code so far (like i said it works great, but only as a click-able gallery):
import flash.display.Loader;
import flash.net.URLRequest;
import flash.events.Event;
import flash.display.Sprite;
[code].....
View 1 Replies
Nov 18, 2010
making a simple game with video stills matching a running audio track.my audio is an MP3 i built in GarageBand. all works well in flash, but when rendered to QT, the audio and video go out of sync, and some video drops out too.have put all audios on their own layer and streamed them all too, set settings in Publish to 64, but still have same problem
View 1 Replies