Highlighted

LC DS 2.6.1 with Flex Builder 4

Gregory_W

23-09-2009

I'm writing our Administration Tool in Flex 4 in order to keep this new technology relevant in the mind of our team.  There are some UI issues that are preventing our team from switching the main project from Flex 3 to Flex 4.

What I'm wondering is: is there a way to access RTMP Data Services destinations in the http://ns.adobe.com/mxml/2009 namespace?  Of course I can switch the project back to http://www.adobe.com/2006/mxml and access the channel in the usual way:

var dsLoginToken:AsyncToken = ServerConfig.getChannelSet( "user" ).login( "gregoryw", "mypasswd" );

var channelSet:ChannelSet = new ChannelSet();

var rtmpChannel:RTMPChannel = new RTMPChannel("my-rtmp", "http://localhost:2038");

channelSet.addChannel(rtmpChannel);

userDS.channelSet = ServerConfig.getChannelSet( "user" );

But is there a new way to do this in ns2009?