I'm only just getting started with Farcry. Would you by any chance be able to include a sample of how the webskin might work that way? If I modify the webskin to output just the XML, wouldn't I just get XML when I try to view the page, rather than the desired flash content?
On Oct 6, 6:36 pm, "Blair McKenzie" <[EMAIL PROTECTED]> wrote: > An alternative is to simply change all the webskins so that they output XML > instead of HTML. Then the flash app would access the data exactly the same > way as a user looking at a normal website: by opening > /index.cfm?objectid=xxx, where the objectid specifies the data/content item. > > Blair > > On 10/6/07, nickel4242 <[EMAIL PROTECTED]> wrote: > > > > > You would need to set up proxy cfcs to access your custom types and > > the built in types throught application scope. So dmHTML_proxy.cfc > > should access application.types.dmHTML directly in order to interact > > with it. I would put these somewhere under the www folder. Perhaps > > in a folder called remote or cfcs or something. > > > The functions in these cfcs should be set to access="remote" and > > should return the same XML as your JSP pages are calling now. You > > should be able to reuse a lot of your Flash content. > > > Navigation nodes are a content type just like dmHTML, and any of your > > custom types. If you look at the genericNav custom tag you can see > > how it gets them from the DB. You will want to do something similar > > and either pass it via Flash Remoting or XML to your Flex/Flash stuff. > > > Make sure when you author the proxy cfcs that you include some kind of > > authentication so that you know your Flash stuff is calling your > > remote methods. > > > On Oct 5, 2:06 pm, Nick <[EMAIL PROTECTED]> wrote: > > > I've heard this is a fairly common occurance, but can't find any > > > sample code on how it would be done. I'm wanting to have FarCry drive > > > an all-flash site. Currently, our sites are in JSP, and we're getting > > > the XML data into flash through HTTP calls. Pretty straight forward. > > > How would I do the same within the Farcry framework, such that Farcry > > > would build the navigation and content all dynamically? > > > > Is there a sample Flash/Flex project perhaps that I could look at as > > > an example of how it would be done? Thanks. > > > > Nick --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "farcry-dev" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/farcry-dev?hl=en -~----------~----~----~----~------~----~------~--~---
