I figured it out, and for the sake of future users I'll post how here. It's
called passing arguments an idea I had seen in the code I was reading, but
didn't really understand. It is explained here:
http://code.google.com/apis/maps/documentation/flash/forum.html. The main
idea is you have to associate your function with specific variables by
listing them in the parentheses when the function is called and when the
function is described. So when I called it in the main structure of the
code I typed this:
customContent: new InfoWindowTabbedComponent(name, boundary, landforms,
past, future),
with name, boundary, etc. being the variables I wanted the function to have
access to. And in the ActionScript file I typed this to describe it:
public function InfoWindowTabbedComponent(name:String, boundary:String,
landforms:String, past:String, future:String) {
So now, every time InfoWindowTabbedComponent is called, it expects to get
that information. I hope this is helpful to someone down the road.
--
You received this message because you are subscribed to the Google Groups
"Google Maps API For Flash" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/google-maps-api-for-flash?hl=en.