Page 51 of 84 FirstFirst ... 41495051525361 ... LastLast
Results 501 to 510 of 838

Thread: ux.Media[.Flash/Flex] Components 2.1.2

  1. #501
    Sencha - Services Team hendricd's Avatar
    Join Date
    Aug 2007
    Location
    Long Island, NY USA
    Posts
    5,966
    Vote Rating
    15
      0  

    Default

    Quote Originally Posted by Makor View Post
    ...But
    Ext.getCmp('userFlash').Data.refreshBattle();
    don`t work, Error : 'Ext.getCmp('userFlash').Data' is undefined.
    Are you using the latest from google.code/SVN ?
    "be dom-ready..."
    Doug Hendricks

    Maintaining ux: ManagedIFrame, MIF2 (FAQ, Wiki), ux.Media/Flash, AudioEvents, ux.Chart[Fusion,OFC,amChart], ext-basex.js/$JIT, Documentation Site.


    Got Sencha licensing questions? Find out more here.


  2. #502
    Ext User
    Join Date
    Oct 2007
    Posts
    38
    Vote Rating
    0
      0  

    Default

    Yes. Now replace from google svn, but size and date was identical.

  3. #503
    Sencha - Services Team hendricd's Avatar
    Join Date
    Aug 2007
    Location
    Long Island, NY USA
    Posts
    5,966
    Vote Rating
    15
      0  

    Question

    Got a public site URL to snoop at it?
    "be dom-ready..."
    Doug Hendricks

    Maintaining ux: ManagedIFrame, MIF2 (FAQ, Wiki), ux.Media/Flash, AudioEvents, ux.Chart[Fusion,OFC,amChart], ext-basex.js/$JIT, Documentation Site.


    Got Sencha licensing questions? Find out more here.


  4. #504
    Ext User
    Join Date
    Oct 2007
    Posts
    38
    Vote Rating
    0
      0  

    Default

    No, but this example in firebug also dont work. I can send flash file if its need.
    PHP Code:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <
    html xmlns="http://www.w3.org/1999/xhtml">
    <
    head>
    <
    meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <
    title>SeaHopes</title>

    <
    link href="/seahopes/inc/js/extjs/resources/css/ext-all.css" media="all" type="text/css" rel="stylesheet" />

    </
    head>
    <
    body>



    <
    script language="javascript" src="/seahopes/inc/js/extjs/ext-base.js"></script>
    <script language="javascript" src="/seahopes/inc/js/extjs/ext-all.js"></script>


    <script language="javascript" src="/seahopes/inc/js/ext-ext/uxmedia.js"></script>
    <script language="javascript" src="/seahopes/inc/js/ext-ext/uxflash.js"></script>
    <div id="test"></div>

    <script language="javascript">
    Ext.onReady(function(){
    new Ext.ux.FlashPanel({ renderTo : 'test',
                                   width     :230,
                                   height     :310,
                                   id         :'userFlash',
                                   externalsNamespace : 'Data',
                                   
                                    mediaCfg:{
                                        url        :'/seahopes/inc/flash/duel_geroy.swf?userOrEnemy=user',
                                        width      :'100%',
                                        height     :'100%',
                                        boundExternals : ['refreshBattle'],
                                        controls   :true,
                                        scripting    : true,
                                        eventSynch    : true,
                                        allowScriptAccess: "always",

                                        start      :true,
                                         params:{
                                              wmode:'opaque',
                                              bgcolor : '#FFFF'
                                         }
                                   }
                                })
    })


    </script>
    </body> 
    ExtJS 2.2.1, mediapanel-latest.

  5. #505
    Sencha - Services Team hendricd's Avatar
    Join Date
    Aug 2007
    Location
    Long Island, NY USA
    Posts
    5,966
    Vote Rating
    15
      0  

    Default

    That would be the only way to tell what's going on. PM me the SWF object, and I'll take a look at it when I get a chance.
    "be dom-ready..."
    Doug Hendricks

    Maintaining ux: ManagedIFrame, MIF2 (FAQ, Wiki), ux.Media/Flash, AudioEvents, ux.Chart[Fusion,OFC,amChart], ext-basex.js/$JIT, Documentation Site.


    Got Sencha licensing questions? Find out more here.


  6. #506
    Sencha - Services Team hendricd's Avatar
    Join Date
    Aug 2007
    Location
    Long Island, NY USA
    Posts
    5,966
    Vote Rating
    15
      0  

    Cool

    And where is your body tag. That HTML doesn't look right !
    "be dom-ready..."
    Doug Hendricks

    Maintaining ux: ManagedIFrame, MIF2 (FAQ, Wiki), ux.Media/Flash, AudioEvents, ux.Chart[Fusion,OFC,amChart], ext-basex.js/$JIT, Documentation Site.


    Got Sencha licensing questions? Find out more here.


  7. #507
    Ext User
    Join Date
    Oct 2007
    Posts
    38
    Vote Rating
    0
      0  

    Default

    Corrected. Lose it when delete some html code

  8. #508
    Sencha - Services Team hendricd's Avatar
    Join Date
    Aug 2007
    Location
    Long Island, NY USA
    Posts
    5,966
    Vote Rating
    15
      0  

    Default You have to wait for things to render..

    Code:
    new Ext.ux.FlashPanel({ renderTo : 'test',
                                   width     :230,
                                   height     :310,
                                   id         :'userFlash',
                                   externalsNamespace : 'Data',
                                   
                                    mediaCfg:{
                                        url        :'/seahopes/inc/flash/duel_geroy.swf?userOrEnemy=user',
                                        width      :'100%',
                                        height     :'100%',
                                        boundExternals : ['refreshBattle'],
                                        controls   :true,
                                        scripting    : true,
                                        eventSynch    : true,
                                        allowScriptAccess: "always",
    
                                        start      :true,
                                         params:{
                                              wmode:'opaque',
                                              bgcolor : '#FFFF'
                                         }
                                   },
                            listeners:{
                              //Must wait until the Flash object is rendered and initialized !
                              flashinit: function(panel){
                                      panel.Data.refreshBattle();  
                               },delay : 100
                           }
                    });
    "be dom-ready..."
    Doug Hendricks

    Maintaining ux: ManagedIFrame, MIF2 (FAQ, Wiki), ux.Media/Flash, AudioEvents, ux.Chart[Fusion,OFC,amChart], ext-basex.js/$JIT, Documentation Site.


    Got Sencha licensing questions? Find out more here.


  9. #509
    Ext User
    Join Date
    Oct 2007
    Posts
    38
    Vote Rating
    0
      0  

    Default

    See now. Console.log() dont passed. on loaded page in console print "panel.Data.refreshBattle(); " and error "panel.Data undefined" already exist.

  10. #510
    Sencha - Services Team hendricd's Avatar
    Join Date
    Aug 2007
    Location
    Long Island, NY USA
    Posts
    5,966
    Vote Rating
    15
      0  

    Default

    @Makor -- You're not using the right version. You need 2.1 for ExternalInterface binding.
    See: http://code.google.com/p/uxmedia/sou...state%3Dclosed
    "be dom-ready..."
    Doug Hendricks

    Maintaining ux: ManagedIFrame, MIF2 (FAQ, Wiki), ux.Media/Flash, AudioEvents, ux.Chart[Fusion,OFC,amChart], ext-basex.js/$JIT, Documentation Site.


    Got Sencha licensing questions? Find out more here.


Page 51 of 84 FirstFirst ... 41495051525361 ... LastLast

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •