Hi! :)

I do it!

from : 
http://gmaps-samples-flash.googlecode.com/svn/trunk/demos/InfoWindowDBSaver/srcview/source/InfoWindowTabbedComponent.as.html

in main:
var v:FXVideo = new FXVideo();
v.source = url;
v.width = 350;
v.height = 280;

infoWindowOptions.drawDefaultFrame = true;
infoWindowOptions.customContent = new InfoWindowTabbedComponent(v);

InfoWindowTabbedComponent.as:

package {
        import com.fxcomponents.controls.FXVideo;

        import mx.containers.Canvas;
        import mx.controls.Label;
        import mx.core.UIComponent;

        public class InfoWindowTabbedComponent extends UIComponent {

                public function InfoWindowTabbedComponent(vidi:FXVideo) {
                        var c:Canvas = new Canvas();
                        c.width = vidi.width;
                        c.height = vidi.height;

                        var label:Label = new Label();
                        label.text =
"asdfasdfasdfasdfsadfasdfasdfadfasdfasdfasdfasdfasdfsadfasf";
                        label.width = 150;
                        label.height = 15;
                        c.addChild(label);

                        var v:FXVideo = new FXVideo();
                        v.source = vidi.source;
                        v.height = vidi.height;
                        v.width = vidi.width;
                        v.y = 50;

                        c.addChild(v);


                        addChild(c);
                }
        }
}

Hope it's helpful.
--~--~---------~--~----~------------~-------~--~----~
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