1. #521
    Ext User
    Join Date
    Apr 2009
    Posts
    23
    Vote Rating
    0
    Celandro is on a distinguished road

      0  

    Default


    There is an issue in both IE7 and Firefox when you set draggable to true.
    After drag, in IE7, getBridge() is null
    In Firefox, the content gets reset.

    I can work around the Firefox issue, but did not have any luck with working around the IE7 issue. Is there something simple that can be done? I would prefer that the current state of the behavior for both IE7 and Firefox was consistant, but simply working would solve the last issue we are having.


    http://www.poseidonguild.com/flextest/uxMediaTest2.html

  2. #522
    Sencha - Community Support Team hendricd's Avatar
    Join Date
    Aug 2007
    Location
    Long Island, NY USA
    Posts
    5,962
    Vote Rating
    10
    hendricd will become famous soon enough hendricd will become famous soon enough

      0  

    Question


    @Celandro -- A few issues I've noticed with your sample:

    uxmedia.js is included twice ?

    This is going to realign anything in it during/after your drag: <div align="center">

    You need to wrap your script code in an Ext.onReady function.

    If you need draggable support, why not use the Media.Flex.Window instead ? It's fully draggable. A Panel is not easily so.
    "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.


  3. #523
    Ext User
    Join Date
    Apr 2009
    Posts
    23
    Vote Rating
    0
    Celandro is on a distinguished road

      0  

    Default


    Quote Originally Posted by hendricd View Post
    @Celandro -- A few issues I've noticed with your sample:

    uxmedia.js is included twice ?

    This is going to realign anything in it during/after your drag: <div align="center">

    You need to wrap your script code in an Ext.onReady function.

    If you need draggable support, why not use the Media.Flex.Window instead ? It's fully draggable. A Panel is not easily so.
    I removed the duplicate uxmedia.js, removed the align and added the Ext.onReady function and have the same problem in IE.

    I am simply trying to post the most simple example code I can. The actual application we are working on is based on the Portal demo which uses panels.


    Is there some simple 'rebindBridge' function I could try?

  4. #524
    Sencha - Community Support Team hendricd's Avatar
    Join Date
    Aug 2007
    Location
    Long Island, NY USA
    Posts
    5,962
    Vote Rating
    10
    hendricd will become famous soon enough hendricd will become famous soon enough

      0  

    Default


    @Celandro -- Portals will be near impossible to handle because of the DOM reflow problems associated with dragging them from one column to another. (But, you shouldn't be seeing that problem on IE). Once reflow occurs, Flash objects will re-initialize and you'll lose any bindings.

    The only solution I can offer would be to call panel.renderMedia() again after the column move is complete. That'll force the media to render again and restablish the bindings.
    "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.


  5. #525
    Ext User
    Join Date
    Apr 2009
    Posts
    23
    Vote Rating
    0
    Celandro is on a distinguished road

      0  

    Default


    There is a bug when using 2 windows:
    http://poseidonguild.com/flextest/uxMediaTest2.html

    The first click on Test Me works properly. After that, portal.getBridge().getRoot() always returns the example3 bridge. However if you move the top one (and renderMedia is called again), it will always return the example2 bridge

    Also, the flexinit method does not always get triggered. What appears to happen is bridgeId[0]='example' gets returned to onFlexBridge even though the proper bridgeName= parameter is set.

    The full example is here
    http://poseidonguild.com/flextest/test.htm

    There are a few other issues, but I suspect most of them are due to the getBridge().getRoot() and the onFlexBridge issues.

    PS. the getBridge().getRoot() is not due to having the same method SWF loaded twice. It happens even if you have seperate SWFs which you can test on the full example.

  6. #526
    Sencha User
    Join Date
    Nov 2007
    Posts
    294
    Vote Rating
    0
    Sesshomurai is on a distinguished road

      0  

    Default


    Hi,
    Is it possible to allow Ext.Window's to hover over a mediapanel with PDF? It seems the example a some configs for this, but I couldn't get it to work in my app. FWIW I'm using Ext3.0rc1, FF3


    thanks for any tips!

  7. #527
    Sencha - Community Support Team hendricd's Avatar
    Join Date
    Aug 2007
    Location
    Long Island, NY USA
    Posts
    5,962
    Vote Rating
    10
    hendricd will become famous soon enough hendricd will become famous soon enough

      0  

    Default


    Quote Originally Posted by Celandro View Post
    There is a bug when using 2 windows:
    http://poseidonguild.com/flextest/uxMediaTest2.html

    The first click on Test Me works properly. After that, portal.getBridge().getRoot() always returns the example3 bridge. However if you move the top one (and renderMedia is called again), it will always return the example2 bridge

    Also, the flexinit method does not always get triggered. What appears to happen is bridgeId[0]='example' gets returned to onFlexBridge even though the proper bridgeName= parameter is set.

    The full example is here
    http://poseidonguild.com/flextest/test.htm

    There are a few other issues, but I suspect most of them are due to the getBridge().getRoot() and the onFlexBridge issues.

    PS. the getBridge().getRoot() is not due to having the same method SWF loaded twice. It happens even if you have seperate SWFs which you can test on the full example.
    @Celandro -- Try the latest uxflex.js from SVN/trunk/./media22. It corrects the multi-instance tangle and should be compat with the latest and older versions of the Flex SDK.

    Also, for your portlet frenzy, use the xtype:'flexportlet' instead of 'flexpanel'.
    "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.


  8. #528
    Ext User
    Join Date
    Apr 2009
    Posts
    23
    Vote Rating
    0
    Celandro is on a distinguished road

      0  

    Default


    Quote Originally Posted by hendricd View Post
    @Celandro -- Try the latest uxflex.js from SVN/trunk/./media22. It corrects the multi-instance tangle and should be compat with the latest and older versions of the Flex SDK.

    Also, for your portlet frenzy, use the xtype:'flexportlet' instead of 'flexpanel'.
    Thank you so much for all your hard work. http://poseidonguild.com/flextest/test.htm now works correctly! Multiple SWF portlets all working independently, movable, etc.

    This was the key for handling movement of portlets in IE:
    Code:
            draggable: {
            ddGroup:'portal',
            startDrag : function(e){
                if (Ext.isIE) {
                    this.panel.clearMedia();
                }
            },
            endDrag : function(e){
                if (Ext.isIE) {
                    this.panel.renderMedia();
                }
                        this.panel.fireEvent.defer(300,this.panel,['flexinit',this.panel]);
            }
            }
    Im not sure why I had to fire my own flexinit event, you might be better suited to figuring that one out.


    Edit:
    Spoke a bit too soon.
    Still having an issue when closing the window or when the applySate method is called.
    Inside clearMedia, M.releaseASObjects() is being called and throwing an exception in IE. I think the issue is that the flex object has already been removed by the browser.

    Any ideas?

  9. #529
    Sencha - Community Support Team hendricd's Avatar
    Join Date
    Aug 2007
    Location
    Long Island, NY USA
    Posts
    5,962
    Vote Rating
    10
    hendricd will become famous soon enough hendricd will become famous soon enough

      0  

    Default


    @celandro -- Glad to hear that.

    Quote Originally Posted by Celandro View Post
    ...Im not sure why I had to fire my own flexinit event, you might be better suited to figuring that one out.
    Review your 'this.runOnce' logic one more time
    "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.


  10. #530
    Ext User
    Join Date
    Apr 2009
    Posts
    23
    Vote Rating
    0
    Celandro is on a distinguished road

      0  

    Default


    Any quick solution to the clearMedia issue in IE?

    PS. running in a debugger, the flexinit event is only triggered by my own event code. Its not being triggered when a flex object is actually initialized. The runonce seems correct. The way its supposed to work, is after you click the settings tool once and then move the portal, it should trigger to restore the flex object to the way it was before it moved (outside of the #calls counter)

Thread Participants: 159

  1. franklt69 (1 Post)
  2. jay@moduscreate.com (2 Posts)
  3. bidyut (2 Posts)
  4. aconran (1 Post)
  5. ambience (1 Post)
  6. Carina (1 Post)
  7. simeon (2 Posts)
  8. JeffBurr (2 Posts)
  9. dolittle (21 Posts)
  10. mystix (11 Posts)
  11. albeva (1 Post)
  12. sdrew (2 Posts)
  13. JorisA (1 Post)
  14. MindCore (1 Post)
  15. FlexIDX (1 Post)
  16. kpandey (6 Posts)
  17. Foggy (6 Posts)
  18. DigitalSkyline (8 Posts)
  19. thesilentman (1 Post)
  20. bobringer (1 Post)
  21. ralf (6 Posts)
  22. Actuarybrad (1 Post)
  23. pantarhei (2 Posts)
  24. albertyips (1 Post)
  25. ethraza (5 Posts)
  26. anjelika (4 Posts)
  27. Nash-T (2 Posts)
  28. stamm (1 Post)
  29. devnull (12 Posts)
  30. ZooKeeper (1 Post)
  31. SlashEMc2k (2 Posts)
  32. dante (3 Posts)
  33. gelleneu (6 Posts)
  34. moloth (1 Post)
  35. amadman (5 Posts)
  36. chemist458 (6 Posts)
  37. stratboogie (3 Posts)
  38. Makor (9 Posts)
  39. egs (3 Posts)
  40. kenshin (1 Post)
  41. stumpy_uk (4 Posts)
  42. Lobos (12 Posts)
  43. crpatrick (12 Posts)
  44. hat27533 (6 Posts)
  45. Sesshomurai (12 Posts)
  46. ajaxvador (1 Post)
  47. junkzilla (6 Posts)
  48. urabus (5 Posts)
  49. tfrugia (1 Post)
  50. rajthakur (1 Post)
  51. rproudman (2 Posts)
  52. Tom Pan (1 Post)
  53. wsn24x7 (1 Post)
  54. dev_orion (5 Posts)
  55. basshcm (4 Posts)
  56. Marte (4 Posts)
  57. israel (1 Post)
  58. luv2hike (9 Posts)
  59. richgoldmd (11 Posts)
  60. BlueCamel (2 Posts)
  61. NOSLOW (3 Posts)
  62. salvo (2 Posts)
  63. hpet (1 Post)
  64. GilbsFr24 (1 Post)
  65. damian79 (6 Posts)
  66. kirill533 (5 Posts)
  67. dias (5 Posts)
  68. debarcar (2 Posts)
  69. deltron0 (6 Posts)
  70. userofit (1 Post)
  71. smit_al (3 Posts)
  72. ignatius (2 Posts)
  73. art.home.ext (1 Post)
  74. jasondeegan (4 Posts)
  75. moegal (1 Post)
  76. DTT_11-1983 (5 Posts)
  77. balybaloo (1 Post)
  78. jarjar (1 Post)
  79. Eric24 (13 Posts)
  80. Mr-T (2 Posts)
  81. IT100 (1 Post)
  82. inhib (1 Post)
  83. s4brown (1 Post)
  84. soulgen (2 Posts)
  85. tinakonda (1 Post)
  86. ktcorby (3 Posts)
  87. Sadhana X Punuru (2 Posts)
  88. maturin666 (4 Posts)
  89. jeremyswitzer (1 Post)
  90. KimSchneider (4 Posts)
  91. Kelly Riley (2 Posts)
  92. stephroy (2 Posts)
  93. bhaveshbhatkar (2 Posts)
  94. Bucs (21 Posts)
  95. love4soul (2 Posts)
  96. SimoAmi (4 Posts)
  97. JacobWang (5 Posts)
  98. bhangale.parag (4 Posts)
  99. ibet (1 Post)
  100. mschwartz (6 Posts)
  101. armagedon (1 Post)
  102. Bazen (2 Posts)
  103. jsuser (2 Posts)
  104. agon84 (1 Post)
  105. cheenu1979 (3 Posts)
  106. rpastorelle (1 Post)
  107. Skunkerbr (2 Posts)
  108. hlimaiem (2 Posts)
  109. chrizmaster (1 Post)
  110. ciait (1 Post)
  111. Saneth (2 Posts)
  112. fpo (2 Posts)
  113. hzwei (4 Posts)
  114. cool.akshay (1 Post)
  115. Celandro (22 Posts)
  116. dbagchi77 (2 Posts)
  117. jej2003 (1 Post)
  118. Choub (1 Post)
  119. diparc (2 Posts)
  120. WarEagle26 (5 Posts)
  121. johnsilly57 (10 Posts)
  122. lagodoy (1 Post)
  123. dulisse.simone (4 Posts)
  124. xbboys (6 Posts)
  125. Glug-LP (1 Post)
  126. Matt202 (1 Post)
  127. msinn (1 Post)
  128. yanghengtao (4 Posts)
  129. swarm (3 Posts)
  130. dtex-lab (1 Post)
  131. Isabella (2 Posts)
  132. palash (1 Post)
  133. hellogavin (2 Posts)
  134. EZboy (7 Posts)
  135. aridheva (1 Post)
  136. chatfipa (3 Posts)
  137. nextdigital (1 Post)
  138. BilelExtjs (2 Posts)
  139. ibarm (1 Post)
  140. stephenliberty (1 Post)
  141. Aero (1 Post)
  142. natalvc (1 Post)
  143. King_Aero (1 Post)
  144. gkainth (1 Post)
  145. travep (2 Posts)
  146. nsolsen (3 Posts)
  147. alphadogg (3 Posts)
  148. billprince (1 Post)
  149. borbpet (1 Post)
  150. rishi89 (2 Posts)
  151. stewardsencha (1 Post)
  152. Joe Kuan (1 Post)
  153. Carwise (1 Post)
  154. kamleshb (3 Posts)
  155. mephy (1 Post)
  156. cdellasanta (1 Post)
  157. linyajun (1 Post)
  158. Nunoestrada (1 Post)
  159. kathykalor (1 Post)

Tags for this Thread