On Dec 25, 12:16 pm, Jerry <[email protected]> wrote:
> Hi,
>
> Can any one explain me the following points
>
> 1.In google maps which part is flash and which part is flex?
Both... flex is built on top of Flash, without Flash there is no Flex,
without Flex you just don't have nice layout containers and controls
(like data grid's or fancy customizable buttons, not just UI these are
just examples but Flex is all AS3 code, AS3 get's compiled into
actionscript bytecode which in turn is interpreted by a Flash plugin,
regardless of what development environment/build tools your using in
the end if you have a swf file (could have been from mxml or as files)
you have AS bytecode.  When the flex compiler is running it compiles
the mxml into AS3 as an intermediate then compiles the AS3 down to AS3
bytecode.

>
> 2.Life cycle of its execution?
I don't work for google so I don't have a direct answer for the full
life cycle, google flex life cycle and you can get good info on the
life cycle methods in flex UI components, on top of these the maps
have pre-initialize which occurs before map read (I would guess
there's more but this is all I've ever needed).
>
> 3.what all the things the browser will download when it is executed?
This one is speculation but from using Charles web debugging proxy you
can see all the traffic for yourself (wireshark or other "hard wire"
monitors would reveal anything not captured by Charles, although I've
not had to get back into wireshark for a while now)... I believe a SWF
is pulled down containing the compiled UIComponent I don't think they
actually include all the code in the swc just the interface (could be
wrong here), then it also needs to request the tile images as you pan/
zoom around, there's a "pyramid" of tiles that's stored on the server
depending on zoom/position/screen size certain tiles will be fetched
to show on screen, storing all tiles locally isn't allowed since they
pay other companies that gather this imagery, I believe you can buy a
google map server but definitely a corporate priced endeavor.
>
> 4. Why is that everytime its downloading when executing in the browser
> is it because the maps are always updating? is there a way to work
> with google maps without internet connection for development reasons/
> slow internet connection? if so can anyone post me a sample?
>
See above, slow internet connections should be banned :), sorry to
hear that if it's really the case where you're developing, I don't
believe there's any way around this.
> My requirment is 20% with maps and the other 80% deals with the
> markers
>
> 5.I work google maps in flash builder i.e executing the mxml file
> using flash builder and rendering it into the browser but i'm finding
> some examples of google maps given in html file but no mxml file i
> need to re-organize this given html example back into  mxml is there a
> way?
>
You could decompile the swf using trillix or some other decompiler
though this could be breaking the law, best to find helpful people on
the net rather than reverse engineering some code, the HTML file is
generated as part of the flash builder/flex builder process it uses a
index.template.html file and some variables it obtains when your
setting up the project to create an HTML wrapper to serve the SWF
file, it also checks for the right flash player version but doesn't
really have a whole lot of consequences otherwise.
> Thanks
Shaun

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