Send system paths with swfAddress module

Events happening in the community are now at Drupal community events on www.drupal.org.
amcc's picture

I'm using swfAddress module to manage paths in Flash. I'm having trouble passing the system path.

If i type in an aliased URL like mysite.com/event/event-name i want to tell flash that i'm really looking at mysite.com/node/2

I'm using SWFAddress.getValue in my as3 and that always shows the url as its displayed in the address bar (without the mysite.com bit or the hash - if the hash is present). SWFAddress suggests it can send the alias or system path, but i'm not seeing that. I've tried with and without the Path module and PathAuto turned on.

Has anyone had any joy with this - and perhaps a good as3 snippet to effectively use it with drupal?

Comments

should post in swfAddress module, but....

carvalhar's picture

i decided to add the nid in the path aliased, like:
mysite.com/event/nid/event-name

so i can have the id in flash/flex trougth swfadress as3 split url.

i prefered to use id in url because if i don't i'd have to make a database connection to know the node that the alised url is related to.

Services

Group organizers

Group categories

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds:

Hot content this week