Sure,

I simply defined a marker variable prior to open it.
Since I'm using caurina's Tweener library to tween the videoplayers'
scale, i wrote a little funtion named reopeninfowindow and connected
it to the onUpdate property of the tween.
In this function, i just open the infowindow again and again, thus
fitting it to the new size of the customcontent.

Code would be like this:

var v1info = new InfoWindowOptions({
                                  customContent: v1cont,
                                  drawDefaultFrame: true
                });


Then in the onClick-Event of the connected marker, I start to tween
the videoplayer using caurina:

Tweener.addTween(v1cont, {scaleY:1, time:2, onUpdate:reopeninfo});

And here's the reopening function:

function reopeninfo():void { marker.openInfoWindow(v1info); }

I'm pretty sure this is not very clean, but for now it works :).

Greetings.


On 22 Okt., 06:12, pharaoh70 <[EMAIL PROTECTED]> wrote:
> Hi ConradZuse,
>
> Can you show how the code works ? especially on predefining &
> reopening parts ?
>
> Thank you
>
> On Oct 20, 9:04 pm, ConradZuse <[EMAIL PROTECTED]> wrote:
>
> > k, already got it ;)....
>
> > predefining and reopening an info window on update did the trick :)
>
> > On 20 Okt., 15:00, ConradZuse <[EMAIL PROTECTED]> wrote:
>
> > > Hi, i've an issue concerning opening info windows.
>
> > > I'm trying to open an info window, which contains custom content (a
> > > video player in my case).
> > > This video players' scaleY attribute is tweening from 0 to 1, starting
> > > on the click on the connected marker.
>
> > > I already set the drawDefaultFrame attribute to true, but my prob is,
> > > it is drawn once, but never updated. Is there any way to accomplish a
> > > realtime update drawing of the info window?
>
> > > Thx in advance.
--~--~---------~--~----~------------~-------~--~----~
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