The main problem is actually bugs. When you use the embed tag what flash does is it creates a loader object that is added to the textfield, but because the textfield isn't a display object, if you want to get the loader you have to use a function or event listener, and then if you switch the code in the textfield you will get an error to the tune of "can't remove a display object" or something like that. The Flex objects actually do what I suggested, if HTML is involved they actually scrap and re-create the TextField and then re-add the HTML content. Now if you're only loading one TextField once, you're not really going to have any issues however, if you are, you will probably need to recreate the TextField.
Jonathan Scribblemaps.com On Jan 4, 12:22 pm, Daniel <[email protected]> wrote: > What are the problems with using the img tag to embed and image inside the > htmlText string, that is inside the infoWindow's content area. If there is > already a text field that is being used and you add an image to that text > field are you saying that flash will handle the text field differently. I am > confused if there is a performance issue or a formatting issue. I understand > that there are only limited capabilities when you add and image to htmlText > inside the infoWindow. > > Thanks in advance. > > > > On Mon, Jan 4, 2010 at 1:19 AM, AS3novice <[email protected]> wrote: > > So far I have just followed this tutorial > > >http://active.tutsplus.com/tutorials/xml/implement-a-map-using-the-go... > > > In the timeline I have.... > > One Layer has an Action script for the map with zoom controls > > One layer has the Google Map > > In the same folder as the Fla file is an XML file for Markers, > > ToolTips, InfoWindow > > > I can start again if there is a better way, I just want to be able to > > add pictures to various Lat/Lon point on a google map within my own > > website. > > > Thanks > > > On Jan 4, 9:55 am, Daniel <[email protected]> wrote: > > > Are you programming you map using classes or are you adding the action > > > script to your timeline? > > > > On Sun, Jan 3, 2010 at 10:43 PM, AS3novice <[email protected]> > > wrote: > > > > Daniel, Jonathan Wagner,www.landed.at > > > > Thanks for all the suggestions. Much appreciated. > > > > > Daniel > > > > I am not sure if you sent me a PM, as I received an email but there > > > > was nothing included. Anyway if you did thanks, but sadly nothing > > > > attached. > > > > > Www.landed.at > > > > I am a bit confused. Are you saying the HTML suggestion by Daniel in > > > > his post, or the way I have made the Markers, ToolTips and Info > > > > Windows using this tutorial, > > > > >http://active.tutsplus.com/tutorials/xml/implement-a-map-using-the-go. > > .. > > > > is not the way to go. > > > > I do not care how I do it, as long as it is currently the best way. > > > > I followed your suggestion and have searched long and hard > > > > customInfoWindow. The problem is … > > > > > Most posts are trying to find the same or similar answers with no > > > > conclusion > > > > > They have a demo but inevitably they use TEXT as an example not an > > > > IMAGE. An example being... > > > > >http://gmaps-samples-flash.googlecode.com/svn/trunk/demos/CustomInfoW. > > .. > > > > > Jonathan Wagner > > > > Thanks for the link. > > > > I have found one way to add an image but it uses an URL link and I > > > > would prefer my image files to be local. > > > > >http://gmaps-samples-flash.googlecode.com/svn/trunk/examples/GroundOv. > > .. > > > > > As I have said I am happy to avoid HTML, but I need to find out how. > > > > Posting code does not really help someone with my AS3 knowledge > > > > without a tutorial or a detailed explanation on how to use the code > > > > with in Flash. > > > > > There seems to be a lot of Demo's, File downloads and snippets of code > > > > out there, but very few tutorials like .. > > > > >http://active.tutsplus.com/tutorials/xml/implement-a-map-using-the-go. > > .. > > > > > which was easy to follow if only it had included images. > > > > > -- > > > > > 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]<google-maps-api-for- > > > > flash%[email protected]> > > <google-maps-api-for-flash%[email protected]<flash%252Bunsubs > > [email protected]> > > > > > . > > > > For more options, visit this group at > > > >http://groups.google.com/group/google-maps-api-for-flash?hl=en.-Hide > > quoted text - > > > > - Show quoted text - > > > -- > > > 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]<google-maps-api-for- > > flash%[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.
