> Hi Everyone!
> 
> I am new on the forum, so let me quickly introduce
> myself. I am from Slovenija, 25, student.
> I'm working on a chat project, where every user has
> it's own chat output (like commics cloud). 
> With every new input submited a new cloud is created
> and the old one flys up from the stage.
> I've made a text cloud in flash, and everything
> works
> fine (the clouds are being created). When the code
gets to the line where 
> the text should be forwarded into flash an error
> occurs and i get prompted:" Handler not found in
> object; #setVariable".
> The folowing is a part of code from the ClodText
> parent script. 

A child object from the cloud parent script is created
every time the message arrives in the chatmanager
script and it reffers to the
 MainUser script and it's properties.
> 
> I've done checking and checking, but always i get
> the
> same error. I'm starting to get frustrated, the same
> thing works on much more complexed problems.
> 
> 
> Everythig works OK till the problem line. I get the
> message in the message window from the debug line:
> " WRITE &: User1: Hello Everybody!", and a cloud IS
> created, the problem is just in sending text.
> 
> Also when I test the problem line in the independent
> file using button to trigger it, it works.
> 
> ----------------------------------------
> --- CLOUDTEXT SCRIPT
> ----------------------------------------
> 
> 
> property mySprite, myXPozition, myYPozition, myMsg
> 
> 
> on new (me, Msg, xPozition, yPozition)
>   me.mySprite = me.getChannel(150) -- the
> spriteNumber
> of each puppet 
>   me.myXPozition = xPozition
>   me.myYPozition = yXozition
>   me.myMsg = Msg  
>   me.initSprite()
>   me.mWrite()
>   return me
> end
> 
> on mWrite(me)
>   Msg= string(me.myMsg)
>   _x=me.mySprite
>   put "WRITE &:" _x&&Msg --**********-DEBUG LINE
>   sprite(_x).setVariable("flashTxt",
> string(Msg)) --********-PROBLEM LINE
> end mwRITE
> 
> on initSprite (me)
>   --- HERE I SET THE PUPPET SPRITE (on the channel
> that i get from the getchannel handler) AND ADD .SWF
> CAST TO IT
> end initSprite
> 
> 
> 
> 
> Happy hollidays and keep up the good work,
> THANKS!!!!
> 
> 
> 
> 
> 
> __________________________________________________
> Do You Yahoo!?
> Check out Yahoo! Shopping and Yahoo! Auctions for
> all of
> your unique holiday gifts! Buy at
> http://shopping.yahoo.com
> or bid at http://auctions.yahoo.com
> 


__________________________________________________
Do You Yahoo!?
Send your FREE holiday greetings online!
http://greetings.yahoo.com

[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/lingo-l.cgi  To post messages to the list,
email [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED])
Lingo-L is for learning and helping with programming Lingo.  Thanks!]

Reply via email to