More FMS tidbits

From flashemdiaserver_config_admin.pdf, page 43:

Note: If the shared object is available for debugging the application, the Administration Console displays its properties.
If the shared object is not available for debugging, an error message is displayed.

This would explain why I see no data displayed when I look at ShreadObjects in the Admin console. Guess it pays to real all the documentation, even the bits you aren’t interested in.

A quick look at flashmediaserver_SSLR.pdf yields this:

application.allowDebug
A boolean value that lets administrators access an application with the Administration API
approveDebugSession() method (true) or not (false). A debug connection lets administrators view information
about shared objects and streams in the Administration Console.
The default value for this property is false and is set in the Application.xml file:
<Application>

<Debug>
<AllowDebugDefault>false</AllowDebugDefault>
</Debug>

</Application>
Setting application.allowDebug to true in a server-side script overrides the value in the Application.xml file.
Availability
Flash Media Server 2

We’ll give it a try. Stay tuned.

Also overlooked this one, for future reference:

switch (cnEvt.info.code) {

case “NetConnection.Connect.Success”:
// … do stuff
break;

case “NetConnection.Connect.AppShutdown”:
// … do shutdown stuff
break;

case “NetConnection.Connect.Closed”:
// … do something
break;

Turns out that “Closed” gets called before “AppShutDown” (capitalization critical here) – so I neglected to write a case for “Closed” in earlier code – what was I thinking? Putting a trace on my event.info.code helped me catch that.

Leave a Reply

You must be logged in to post a comment.

handy stuff i’d like to remember