views:

93

answers:

1

My intention is to build a full-screen well-optimized flash site, possibly a hybrid (but i want persistent flash.. for example, to play music), with drupal in the back.

However, I want to be able to do this as dynamically as possible. If flash is detected, then I will be showing a flash site with a flash area and an ajax non-flash area which can expose any block/view upon request from flash. If flash is not detected, I want a regular themed page to show.


How can I expose flash to drupal so that drupal is making calls to flash whenever it needs to display something, rather than flash having an internal representation of the drupal site and asking drupal for things to show?

I'm guessing the simplest way is to have drupal talk through swfaddress in flash mode.. so a link within drupal would look like this:

<a href="#/node/whatever/2/">link</a> 

rather than :

<a href="http://www.mysite.com/node/whatever/2/"&gt;link&lt;/a&gt; 

and then I can use apache to rewrite the URLs to look normal..

Any help with this will be very appreciated!

A: 

sorry for posting this as an answer Renesis, I just made my account registered and couldn't get the cookie-based account to be associated with it esp due to browser trouble...

You're right, I was thinking of giving someone a URL like http://www.mysite.com/blog and having it rewritten as http://www.mysite.com/#/blog, but still appear as http:/www.mysite.com/blog

michael