Flash And Javascript interaction