\n');
}
//-->
function Pink_Record_Image_DoFSCommand(command, args) {
//alert("FSCommand: " + " " + command + " " + args);
if (command == "change_bg_color") {
}
}
//////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////
var sendReq = getXmlHttpRequestObject();
var receiveReq = getXmlHttpRequestObject();
var lastMessage = 0;
var mTimer;
//Function for initializating the page.
function startChat() {
//Set the focus to the Message Box.
document.getElementById('txt_message').focus();
//Start Recieving Messages.
getChatText();
}
//Gets the browser specific XmlHttpRequest Object
function getXmlHttpRequestObject() {
if (window.XMLHttpRequest) {
return new XMLHttpRequest();
} else if(window.ActiveXObject) {
return new ActiveXObject("Microsoft.XMLHTTP");
} else {
document.getElementById('p_status').innerHTML = 'Status: Cound not create XmlHttpRequest Object. Consider upgrading your browser.';
}
}
//Gets the current messages from the server
function getChatText() {
if (receiveReq.readyState == 4 || receiveReq.readyState == 0) {
receiveReq.open("GET", 'getChat.php?chat=1&last=' + lastMessage, true);
receiveReq.onreadystatechange = handleReceiveChat;
receiveReq.send(null);
}
}
//Add a message to the chat server.
function sendChatText() {
if(document.getElementById('txt_message').value == '') {
//alert("You have not entered a message");
return;
}
if (sendReq.readyState == 4 || sendReq.readyState == 0) {
sendReq.open("POST", 'getChat.php?chat=1&last=' + lastMessage, true);
sendReq.setRequestHeader('Content-Type','application/x-www-form-urlencoded');
sendReq.onreadystatechange = handleSendChat;
var param = 'message=' + document.getElementById('txt_message').value;
param += '';
param += '&name=Visitor:';
param += '&chat=1';
param += '';
sendReq.send(param);
document.getElementById('txt_message').value = '';
}
}
//When our message has been sent, update our page.
function handleSendChat() {
//Clear out the existing timer so we don't have
//multiple timer instances running.
clearInterval(mTimer);
getChatText();
}
//Function for handling the return of chat text
function handleReceiveChat() {
if (receiveReq.readyState == 4) {
var chat_div = document.getElementById('div_chat');
var xmldoc = receiveReq.responseXML;
var message_nodes = xmldoc.getElementsByTagName("message");
var n_messages = message_nodes.length
for (i = 0; i < n_messages; i++) {
var user_node = message_nodes[i].getElementsByTagName("user");
var text_node = message_nodes[i].getElementsByTagName("text");
var time_node = message_nodes[i].getElementsByTagName("time");
chat_div.innerHTML += user_node[0].firstChild.nodeValue + ' ';
chat_div.innerHTML += '
';
chat_div.innerHTML += text_node[0].firstChild.nodeValue + '
';
chat_div.scrollTop = chat_div.scrollHeight;
lastMessage = (message_nodes[i].getAttribute('id'));
}
mTimer = setTimeout('getChatText();',2000); //Refresh our chat in 2 seconds
}
}
//This functions handles when the user presses enter. Instead of submitting the form, we
//send a new message to the server and return false.
function blockSubmit() {
sendChatText();
return false;
}
//This cleans out the database so we can start a new chat session.
function resetChat() {
if (sendReq.readyState == 4 || sendReq.readyState == 0) {
sendReq.open("POST", 'getChat.php?chat=1&last=' + lastMessage, true);
sendReq.setRequestHeader('Content-Type','application/x-www-form-urlencoded');
sendReq.onreadystatechange = handleResetChat;
var param = 'action=reset';
sendReq.send(param);
document.getElementById('txt_message').value = '';
}
}
//This function handles the response after the page has been refreshed.
function handleResetChat() {
document.getElementById('div_chat').innerHTML = '';
getChatText();
}
![]() |
|
![]() |
--------------------------- content for browser indexing and pda ------------------------
I specialize in Seattle flash design and development including Design, Animation and Actionscript.
In 1998 Flash sites were little more than simple moving graphics and a sound track. I was lucky enough to find a client who needed a trade show demonstration built in Flash. The technology was surprisingly easy to use and I had the demo built in a few days. Many Graphic Designer, have branched out in recent years and Flash has been a natural fit. Flash allows unprecidented control of animations and motion graphics in an online environement.
Flash became a large part of my work at OverDrive Media. We used Flash Design for Trade show demontrations, web sites, training applications, software interface modeling and websites. Flash started out as a tool for the Internet but has quickly gained popularity in many areas.
Seattle Flash Design
Flash may be a technology but it still requires artistic skills to put together a professional product. Flash Designers and especially Seattle Flash Designers need to understand the product to its fullest. I usually create a storyboard before I begin a project. I transfer my storyboard to startic web graphics and only when I have a good understanding of the finished product do I begin to work in Flash.
Today Flash Design is no longer a path to instant wealth and a picture in fast company. The Internet has grown and matured, relieving many of lucrative jobs and investments. The good news is that people still need highly qualified geeks. I concentrate on building Flash sites that use the newest technologies .net, php and FlashMX. I also have 8 years of experience that have created my Flash design goals and philosophy.
Flash Design Goals:
1. Create a beautiful product
2. Usability
3. Fullfill customer fuctionality
4. Surpass customer expectations
5. Download fast
Flash Design Philosophy:
I limit the number and type of clients that I accept. Having has some success in the past few years I prefer to focus my efforts on projects that I can lead to solid profitability. More than anything I want my clients to succeed. Internet success can only be built through a combination of technology, marketing strategy, and understanding of the process. Despite what the SPAM in your inbox may say there is no quick and easy road to profitability. The surest way to achieve success is to start with a realistic goal and follow a plan to achieve that goal.
Flash Design Links:
The Seattle Area is a great place to work if you are an information industry professional. The Seattle area not only offers beautiful mountain vistas it also offers a wide array of resources. Here are a few of my favorite Seattle Flash resources along with sites outside of Seattle.
Seattle Flash Links:
Graphic Artists Guild: A great place to find Information about Seattle Flash and Development.
Washington Software Alliance: The best technical resource in Washington, offering classes and SIGs (special interests groups) throughout the week.
Cool Home Pages: The best of the best in Flash Design
ArtSource: The best damn contract Agency on Planet Earth. I get most of my contracts through the fine folks at Art Srouce. They represent numerous designers including (graphic designers, 3D artists, information architects, Flash designers and Flash developers).
Creative Assets: These guys are now officially tied for the best contract agency. Art sourcse has been doing a great job of finding me lucrative interesting work around Seattle. Check them out if you get a chance.
More Info:
Introduction | Streaming Design | CDROM Design | Flash Animation
Keywords: Seattle Flash and Seattle Flash Development