In my application, I used VideoDisplay and TabNavigator.
But there's a problem, when I switched between the tab of TabNavigator.
the videodisplay will auto paused.

who can give me some idea?

here's my code:

<?xml version="1.0"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">

<mx:Canvas>
      <mx:HBox>
            <mx:VBox>
                  <mx:Panel>
                        <mx:VideoDisplay source="f101.flv" autoPlay="true"/>
                  </mx:Panel>
                  <mx:Panel>
                        <mx:Text text="Text1"/>
                        <mx:Text text="Text2"/>
                        <mx:Text text="Text2"/>
                  </mx:Panel>
            </mx:VBox>
            <mx:VBox>
                  <mx:Panel>
                        <mx:TabNavigator selectedIndex="0">
                              <mx:VBox label="Notes" width="100%" height="100%">
                                    <mx:Label text="notes11"/>
                              </mx:VBox>
                              <mx:VBox label="proper" width="100%" height="100%">
                                    <mx:Label text="notes11"/>
                                   
                              </mx:VBox>
                             
                              <mx:VBox label="help" width="100%" height="100%">
                                    <mx:Label text="notes11"/>
                              </mx:VBox>
                             
                              <mx:VBox label="Favor" width="100%" height="100%">
                                    <mx:Label text="notes11"/>
                              </mx:VBox>
                        </mx:TabNavigator>
                  </mx:Panel>
                  <mx:Panel>
                       
                  </mx:Panel>
            </mx:VBox>
      </mx:HBox>
</mx:Canvas>
</mx:Application>





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com




SPONSORED LINKS
Web site design development Computer software development Software design and development
Macromedia flex Software development best practice


YAHOO! GROUPS LINKS




Reply via email to