This is the first time I've used flash, and for the life of me and all my google'ing I can't seem to workout
a) How to add ActionScript
b) How to use XML (I've found tutorials but I can't seem to use them because they don't describe where to put the code.
c) What I need to do special for Flashlite (since this is for the Popcorn Hour)
It would be great if you could show me how to make links to webpages from
<link location="http://www.google.com.au">Google AU</a>
<link location="http://www.google.se">Google SE</a>
Just a simple example XML I made.
Also if there are any security tips for Flash I should know about that would be great.
You are attempting an advanced topic before you know the basics of using the tool. See if lynda.com can help you, or maybe http://tv.adobe.com/product/flash/
While there are a few places you can place code, if you are just starting, code will be entered on the timeline. What you do is click a keyframe on the timeline to select it and then open the Actions window (Window -> Actions, or F9) to write the code for that frame.