Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7980417
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T10:04:15+00:00 2026-06-04T10:04:15+00:00

I am wondering if this is possible and maybe some code examples if it

  • 0

I am wondering if this is possible and maybe some code examples if it is. I am trying to have the presenter during a live address be able to hit a button when he is away. This button will then trigger a jpg or some kind of image on the clients side that says he is currently away and to also have it mute the presenter’s microphone? Anyone have any ideas how this would be possible in FMIS 4 and AS3?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-04T10:04:17+00:00Added an answer on June 4, 2026 at 10:04 am

    Yes, this is do-able. There’s a bit of code to write. Here’s a break down:

    • Client for presenter makes a NetConnection and then publishes a NetStream to FMS.
    • When presenter hits away button:
      1. Presenter’s client sets microphone gain to 0
      2. Presenter’s client uses NetStream.send() to send a message to all subscribing clients. The message is basically the name of a function and some arguments that all subscribing clients should execute. In this case, the function would display/hide the “away” image.
    • then do the reverse when the presenter returns

    [Edit]
    Adding some code to clarify how to use NetStream.send():

    The presenter code:

    private function onAwayButtonClick(event:Event):void
    {
        stream.send("toggleAwayImageDisplay"); // stream is a NetStream you created elsewhere
        mic.gain = 0; // mic is the Microphone you attached to the stream
    }
    

    The subscriber code

    When creating the NetStream, use the client property so it knows where to find the function “toggleAwayImageDisplay” we specified above:

    private function someMethodThatCreatesNetStream(netConnection:NetConnection):void
    {
        stream = new NetStream(netConnection);
        // you could use any object here, as long as it has the method(s) you are calling
        stream.client = this;
    
        // this might be nicer, you can reference functions from any class this way
        // the key in this client object is a function name
        // the value is a reference to the function
        // var client:Object =
        //     { toggleAwayImageDisplay: toggleAwayImageDisplay,
        //       doSomethingElse: anotherObject.doSomethingElse }; 
        // stream.client = client;
        // be careful about memory leaks though :)
    }
    
    private function toggleAwayImageDisplay():void
    {
       // now show or hide the image
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I was wondering if this was possible... I have a sequence of variables that
i'm wondering about this possibility. Is it possible to make our code written in
I was wondering if this was possible, and if so how I'd go about
I'm just wondering if this is possible, and if not, the best way to
I'm wondering if this kind of thing will ever be possible in PHP (and
3I was just wondering if this type of query is even possible. If so,
I am wondering if it's possible to achieve this using the jQuery UI Slider.
I am wondering if its possible to get $(this).scrollTop() value after an anchor jump.
This is a very general question: I was wondering whether it is possible to
I was wondering if it would be possible to do this: $var = '$something

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.