# Sending AS actions from XML to flash

**URL:** <https://forum.kirupa.com/t/sending-as-actions-from-xml-to-flash/166608>\
**Category:** programming\
**Created:** [October 21, 2005, 9:04am UTC](https://forum.kirupa.com/t/sending-as-actions-from-xml-to-flash/166608 "2005-10-21T09:04:03Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![plu](https://avatars.discourse-cdn.com/v4/letter/p/e19b73/32.png) [@plu](https://forum.kirupa.com/u/plu)\
**Post date:** [October 21, 2005, 9:04am UTC](https://forum.kirupa.com/t/sending-as-actions-from-xml-to-flash/166608/1 "2005-10-21T09:04:03Z")

</div>

Hi guys and gals  
Just learning XML here for menu development…  
I went through the turorial here: color=Blue[/color]  
and that worked fine and was extremely helpful!

But with the following XML lines:  
[color=Blue]\<item name=“BBakken” action=“gotoURL” variables=“[http://www.link.no](http://www.link.no)”/\> [/color]

…and some of the corresponding flash code:  
[color=Blue]Actions = Object();  
Actions.gotoURL = function(urlVar){  
getURL(urlVar, “\_blank”);  
[/color]  
Is it possible to send a ‘gotoAndPlay’ action from the XML file and how would it be done?

cheers
