title: How to interact with Flash via Javascript?
body: <p>At this moment there is a very basic flash project that connects to a rtmp server and streams video&amp;audio from webcam. It creates a stream from a user with a certain name.</p>
  
  <p>Also in same project there is an input for a stream name that other entity can stream. Therefore you get Skype alike video-chat with flash.</p>
  
  <p>In flash I can control when I want to start publishing own stream and when  want to play someone else's stream.</p>
  
  <p>I am trying to figure out how I can control Flash Functions (StartPublish, StartStream, etc) via Javascript.</p>
  
  <p>I am looking at <a href="http://osflash.org/projects/flashjs" rel="nofollow">http://osflash.org/projects/flashjs</a> and would like to know if I am on right path.</p>