Home Tutorials Forums Articles Blogs Movies Library Employment Press Buy templates

Go Back   ActionScript.org Forums > Supporting Technologies > Flash Media Server

Reply
 
Thread Tools Rate Thread Display Modes
Old 06-01-2004, 03:47 PM   #1
kevinz
Registered User
 
Join Date: Jun 2004
Posts: 3
Default I can't make a call to server at second time

I am working on writing a application with Flash Comm and AMFPHP.

In my application, my flash client make calls to the flash comm server. But when i made the same call at second time , it failed (the first time , the call is working perfect, and the other calls in my application works fine too ).

The code in Flash client is following :

function result(){
this.onResult = function (retVal){
trace("The results is " + retVal);
};
this.onStatus = function(errorVal){
trace("The Error is " + errorVal.code);
};
}
client_nc.call("bonus",new result(),3);

The code in flash comm server is like following :


Client.prototype.bonus = function (bonusType)
{
trace("Bonus request from "+this.username+" "+bonusType);
// .... do something here ....
return true;
}


And the error infomation in the app inspector:

TypeError: object is not a function
App Infomation :Application.Script.Error (level:error)
Failed to execute method (bonus).
App Infomation :Application.Script.Error (level:error)


I am frustrating about this, Any idea ?

Kevin
kevinz is offline   Reply With Quote
Old 06-02-2004, 12:39 PM   #2
escape101
Registered User
 
Join Date: May 2004
Posts: 5
Default

hello guyz...i wanna add emotions in my chat..i have got a simple text chat script in flash mx...and wanna add emotions there....plz help me in adding emotions...u can get the .fla of my simple text chat from DOWNLOAD .. so plz edit tht and add emotion thingy in tht i will be very gr8ful to u if u help me thanks.
---- KEVIN can u solve my problem --- i dont know wat to do with yr prob i'm sorry for tht
escape101 is offline   Reply With Quote
Old 06-02-2004, 12:41 PM   #3
CyanBlue
Super Moderator
 
CyanBlue's Avatar
 
Join Date: Jan 2002
Location: Centreville, VA
Posts: 24,878
Default

I don't see anything to do with this thread and your problem... What you are doing is called thread hijacking... Please don't...
__________________
CyanBlue / Jason Je / Macromedia Certified Flash Developer & Designer
http://CyanBlue.FlashVacuum.com
http://www.FlashVacuum.com
http://tutorials.FlashVacuum.com

Do NOT PM, Email or Call me... Your question belongs right in this forum...
CyanBlue is offline   Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump


All times are GMT. The time now is 01:14 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Ad Management plugin by RedTyger
Copyright 2000-2009 ActionScript.org. All Rights Reserved.
Your use of this site is subject to our Privacy Policy and Terms of Use.