Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我需要打开一个指向我的空中应用程序正在与之通信的网络服务器的 HTTP 链接,但我不想将网络服务器 URL 硬编码到 Flex 代码中。如果我可以获得端点 URI,那么我可以从那里工作。我正在使用 GraniteDS 以防万一。
导入 mx.messaging.config.ServerConfig;
ServerConfig.getChannel(CHANNEL_ID).uri;