Skip to content

Instantly share code, notes, and snippets.

@swiz
Created August 19, 2010 14:07
Show Gist options
  • Save swiz/537967 to your computer and use it in GitHub Desktop.
Save swiz/537967 to your computer and use it in GitHub Desktop.
<?xml version="1.0" encoding="utf-8"?>
<swiz:BeanProvider xmlns:mx="http://www.adobe.com/2006/mxml" xmlns:swiz="http://swiz.swizframework.org">
<mx:Script>
<![CDATA[
import mx.core.FlexGlobals;
]]>
</mx:Script>
<swiz:ChannelSetHelper id="channelSet"
parameterSource="{ FlexGlobals.topLevelApplication }"
parameterName="channelUrl" />
<mx:RemoteObject id="securityDataService" channelSet="{ channelSet }" destination="securityService" />
<mx:RemoteObject id="publicDataService" channelSet="{ channelSet }" destination="levelOneDataService" />
<mx:RemoteObject id="privateDataService" channelSet="{ channelSet }" destination="levelTwoDataService" />
<mx:RemoteObject id="geoDataService" channelSet="{ channelSet }" destination="geoLocation" />
</swiz:BeanProvider>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment