RE: [flexcoders] Re: Is the context-root value burnt into SWF?

2008-05-21 Thread Seth Hodgson
Hi Robert, You're best of in this scenario just creating your Channels directly. The ChannelSet, in its auto-configured mode, lazily fills in its list of Channels as needed based on their ids. That's why your code below is returning 'undefined'. Alternately, you could take a look at the mx.mes

RE: [flexcoders] Re: Is the context-root value burnt into SWF?

2008-05-16 Thread Seth Hodgson
What about allowing your customers to edit the HTML wrapper to pass a flashvar in to the swf that explicitly defines the context root they're deploying to? Your code could check for this value and do your own string replace of any {context.root} tokens in your channel uris with this value before