【问题标题】:how to i use mx:html to catch the 302 redirect when use the locationchange event使用 locationchange 事件时如何使用 mx:html 捕获 302 重定向
【发布时间】:2012-11-13 16:56:03
【问题描述】:

我想通过一个空中应用程序来制作一个 OAuth 应用程序。 但是当我得到 302 重定向时,mx:htmllocationChange 事件不能被触发

【问题讨论】:

    标签: html apache-flex oauth air http-status-code-302


    【解决方案1】:

    你可以设置 html.location,你可以通过在 locationChange 事件上观察 html.location 来捕捉重定向。

    如果你想在 html 组件使用它之前捕获重定向,你可以尝试钩住 htmlLoader

    【讨论】:

      猜你喜欢
      • 2011-04-22
      • 1970-01-01
      • 2012-03-09
      • 1970-01-01
      • 2011-06-16
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2015-11-20
      相关资源
      最近更新 更多