Hi Arindam, Hope this helps.
var homeLink:URLRequest = new URLRequest("home.php"); button_mc.AddEventListener(MouseEvent.CLICK, function (event:MouseEvent){menuClick(event, homeLink)}); function menuClick(event:MouseEvent, linkURL:URLRequest) { navigateToURL(linkURL, "_self"); } Regards, Ranjit stageName.addEventListener(DragEvent.DRAG_COMPLETE, function (eve:DragEvent){passEmployee(employee, eve)}); On Nov 16, 6:59 am, Arindam Mojumder <arindam.mojum...@gmail.com> wrote: > Hello Guys, > > Is it possible??? > > var homeLink:URLRequest = new URLRequest("home.php"); > button_mc.AddEventListener(MouseEvent.CLICK, menuClick); > > // Need to pass linkURL parameter to this function from AddEventListner. > function menuClick(event:MouseEvent, linkURL:URLRequest) > { > > navigateToURL(linkURL, "_self"); > > } > > -- > *Arindam Mojumder* > * > * > > Visit My Flickr <http://www.flickr.com/photos/arindam-mojumder/sets/> > <http://www.flickr.com/photos/arindam-mojumder/sets/>Visit My Facebook > <http://www.facebook.com/Arinda.Mojumder> > <http://twitter.com/arindam_arindam>Visit My Twitter > Account<http://twitter.com/arindam_arindam> > <http://scripto-mania.blogspot.com/>Visit My > Gblogger<http://scripto-mania.blogspot.com/> > <http://nilbristi.wordpress.com/>Visit My Wordpress > Blog<http://nilbristi.wordpress.com> -- You received this message because you are subscribed to the Google Groups "Flex India Community" group. To post to this group, send email to flex_in...@googlegroups.com. To unsubscribe from this group, send email to flex_india+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/flex_india?hl=en.