Flex/Flash

Facebook Twitter

Maps API ActionScript Reference - Google Maps API for Flash - Go. Class Alpha Alpha (opacity) constants.

Maps API ActionScript Reference - Google Maps API for Flash - Go

The main role of these constants is to improve code readability, using names that immediately suggest the effect that the chosen opacity value has. Fields Summary. Source of MarkerCategoriesDemo. H. Using Google Maps in a Flex project. The following example shows how you can embed a Google map into a Flex/ActionScript 3.0 project.

Using Google Maps in a Flex project

Full code after the jump. Before getting started, you need to first get an API key from Google and then download the mapping component and put it in your /libs/ folder in your Flex Builder 3 project: Maps API for Flash - Google Code. Maps API for Flash Events - Google Maps API for Flash - Google C. Map Events Overview ActionScript within SWF files is event driven, meaning that ActionScript responds to interactions by generating events, and expects a program to listen to interesting events.

Maps API for Flash Events - Google Maps API for Flash - Google C

For example, within a Flash file, user mouse and keyboard interactions create events that propagate throughout the Flash UI. Events may also be generated internally by the system when a state change occurs. Programs interested in certain events will register ActionScript event listeners for those events and execute code when those events are received. Create your first Google Maps Flex application.