Hi,
I know this is really easy to do because I did it before I just can't seem to find how...

I'm using Joomla and I would like to pass a variable from an address line like

http://develop.acieap.com/index.php?option=com_content&view=article&id=60&Itemid=51

I would want to get id and Itemid and just pass it to flash possibly using php or as3 or both.

Any ideas?

Thanks!!

Hi,
I know this is really easy to do because I did it before I just can't seem to find how...

I'm using Joomla and I would like to pass a variable from an address line like

http://develop.acieap.com/index.php?option=com_content&view=article&id=60&Itemid=51

I would want to get id and Itemid and just pass it to flash possibly using php or as3 or both.

Any ideas?

Thanks!!

You can pass variables into flash using flashvars.

http://kb2.adobe.com/cps/164/tn_16417.html

In AS3 you can use the ExternalInterface library to pass values from client side scripting to flash (eg: javascript to flash).

If you're injecting flash using JavaScript, such as with SWFObject, it should have a way to pass flashvars.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.