MACROMEDIA FLASH COMMUNICATION SERVER MX-SERVER-SIDE COMMUNICATION ACTIONSCRIPT DICTIONARY Especificações Página 156

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 369
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 155
Chapter 478
Second, there is a bit of JavaScript you can use in your HTML page to avoid the security
problem. Assuming the movie uses a fully qualified domain name URL to access the Flash
Communication Server, this JavaScript redirects the web page to an explicitly named full URL,
like this:
<SCRIPT language="javascript">
// if the URL didn’t have the domain on it
if (document.URL.indexOf("mycorp.com") == -1) {
// redirect to a version that does
document.URL="http://deptServer.mycorp.com/tcpage.htm";
}
</script>
Finally, if you own a domain name, have access to the DNS records of that domain name, and
have a static IP address for your Flash Communication Server, you can create address (A”)
records to point a host name to that IP address. For instance, flashcom.mycorp.com could map to
the machine running the Flash Communication Server and having an IP address provided by
your IT department or ISP. Your web pages can continue to be hosted by whatever means you are
currently using. (“CNAME” records are recommended if you need to forward traffic to a server
that has a DNS-accessible host name but may or may not have a static IP address.)
NetStream object
This section includes recommendations to help you optimize your use of the NetStream object,
including tips on incorporating data into a stream and managing a streams buffer.
Multiple data types in a stream
In addition to streaming audio and video, you can include data in a stream. To do so, use the
NetStream.send and NetStream.call commands.
Vista de página 155
1 2 ... 151 152 153 154 155 156 157 158 159 160 161 ... 368 369

Comentários a estes Manuais

Sem comentários