If I am forced to take the one range of joins for each server route,
each page will be identical. Is there a way to offset a subpage's
joins, so I can just paste in multiple copies of a subpage and have each
offset to it's own range of joins?
Thanks
Heath Volmer
Digital Domain Systems
303-517-9714
On 1/28/12 4:22 PM, Heath Volmer wrote:
> Going to ramble a tad here:
>
> I have a JS file designed to talk to a media server. I could have
> multiple media servers, so I might need multiple systems and multiple
> JS objects to handle them. My JS is building the multiple instances
> with no problem, but now that I'm to the point of connecting the
> buttons on the server's gui page to the JS objects that talk to the
> system, I realize that I have no idea how to access a given object
> from a button and call a function on it.
>
> One method (which I don't like) is to watch joins and route them to
> the currently-selected system.
>
> Another way is to route different ranges of joins to different systems
> (I like this even less, being a big proponent of reusing things.)
>
> Either way, I'm assuming that I have to do this routing to the
> appropriate object outside of my objects.
>
> My main questions:
> Please tell me there is a better way that gets me out of
> join-number-ville. I'd like to say command("Play") on a button press
> and have that button talk to the server it's supposed to. Do I need
> to have a central catcher of commands that says "He pressed play, and
> he's on media server 4. Send the command to that one"? That might
> not be too messy.
>
> Is there a way to attach a JS object to a subpage or page? It's
> buttons would refer to a certain instance. (Venturing into Mac-Xcode
> land here again folks) Like a page built in Interface Builder has a
> controller object attached to it.
>
> Thanks
>
--
You received this message because you are subscribed to the Google Groups "CommandFusion" group.
To post to this group, send email to commandfusion@googlegroups.com.
To unsubscribe from this group, send email to commandfusion+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/commandfusion?hl=en.



0 comments:
Post a Comment