I know this is old news but you’re going to just have to deal with disappointments, kinda like your girlfriend does whenever you take off your pants! OoooooooooOO! Take it.
The Flash JavaScript Integration Kit allows developers to get the best of the Flash and HTML worlds by enabling JavaScript to invoke ActionScript functions, and vice versa. All major data types can be passed between the two environments (you can view a complete list here). The Flash JavaScript Integration Kit works across all major browsers and operating systems.