Re: Can NetStream subclass dispatch events with
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > Macromedia Flash Server > Re: Can NetStream subclass dispatch events with




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    Re: Can NetStream subclass dispatch events with  
Manuel Saint-Victor


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
03-15-06 12:45 PM

Okay- I figured out that I was using a setInterval tto regularly dispatch a
sort of update event from my NetStream subclass.  Apparently setInterval
does some strange stuff to the scope of the called method.  I found a
workaround involving delegating to a function in the class and having that
function dispatch the event.

I'm still working through to make sure that making it work this way can be
reproduced.


Mani



On 3/15/06, Stefan Richter <stefan-fMeCE+ULXElEfu+5ix1nRw@public.gmane.org> wrote:
>
> Not sure if I completely understand the question but no, there should be
> no
> problem dispatching an event from a NS subclass. If you have a scope issu=
e
> then I guess that's fixable, we all have those :-)
>
> Stefan
>
> 
>
>  ________________________________________
_______
> FlashComm-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/mailman/listinfo/flashcomm
>
> Brought to you by Fig Leaf Software
> Premier Authorized Adobe Consulting and Training
> http://www.figleaf.com
> http://training.figleaf.com
>
 ________________________________________
_______
FlashComm-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcomm

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com






[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 04:15 AM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register