What is it you're trying to do? Are you trying to calculate something while running an animation?
Is the animation a separate movieclip or is it the root.
*Moved to Off Topic*
You are gonna want to use AJAX if you want that done quickly and quietly.
If I had time I would make a demo script for you but as of now I'm really busy.
http://www.w3schools.com/ajax/
If you can get/make a script that adds the users to the Google database, merge that script and the script that adds the users to your Joomla DB together.
A lot of people use PHP and there are a lot of ways you can make a secure site like using the simple strip_tags() function or using the preg_match() fuction.
My site is coding in PHP but I use a lot of Javascript checking and Ajax for security.
Ok well if you only changed that one line of code for the first function, have you tried just calling getBandidthUsed() by its self and seeing what happens? Aka do a little debugging :P