Do you have any css styles that a set to #fff? Like a global button style.
Not knowing if it is even possible to to change the text color. I would
check the global styles. Next I would check if there any external styles. Do
a search for fff would probably turn up the culprit. Then when that shows up
nothing  just cut an past the code into a new mxml file and start over.
When you click does the text show up. I remember some other problem like
this but I can't remember if it was in flash Google maps.
On Aug 14, 2011 11:53 AM, "brucend75" <[email protected]> wrote:
> Thanks for the reply, Daniel.
>
> There is nothing in the code (very basic), but here it is:
>
> var map:Map = new Map();
> map.key = "my map key";
> map.sensor = "false";
> map.setSize(new Point(700, 450));
> map.addEventListener(MapEvent.MAP_READY, onMapReady);
> this.addChild(map);
>
> function onMapReady(event:Event):void {
> map.setCenter(new LatLng(39.591991,-122.194926), 6,
> MapType.PHYSICAL_MAP_TYPE);
> map.addControl(new ZoomControl());
> map.addControl(new MapTypeControl());
>
> var markerA:Marker = new Marker(
> new LatLng(41.408982, -122.194926),
> new MarkerOptions({
> strokeStyle: new StrokeStyle({color: 0x000000, alpha:
> 0.5}),
> fillStyle: new FillStyle({color: 0xFFFFFF, alpha:
> 0.8}),
> radius: 12,
> hasShadow: true
> })
> )
> map.addOverlay(markerA);
> }
>
> I checked to make sure that the stroke or fill styles for the marker
> were not the culprit. They weren't. So the only thing left is to
> assume it is picking up a font style from somewhere else.
>
> Is it possible to change the color of the label font to black using a
> buttonstyle? If so, I would really appreciate it if someone could walk
> me through the code to make that happen.
>
> Thanks!
>
> On Aug 13, 4:14 pm, Daniel <[email protected]> wrote:
>> You should post some code so we can see why. I guess it is you font color
is
>> set to white or you have label text set to false
>> On Aug 13, 2011 3:58 PM, "brucend75" <[email protected]> wrote:> I have
created a Flash CS4 Google Map swf that I load into my main
>> > application. Everything works fine, except I have no text/label for my
>> > Map Type control.
>>
>> > You can see the problem at
>>
>> http://www.brucedeutsch.com/#/other_dimensions?k=0&m=0.
>>
>> > The buttons work, but no text.
>>
>> > Help appreciated. TIA
>>
>> > --
>> > 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.
>>
>>
>>
>>
>>
>>
>>
>>
>
> --
> 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.
>

-- 
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.

Reply via email to