<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: calling a Flash object HTTPS (  only in IE, not loading the first time ) in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/calling-a-flash-object-https-only-in-ie-not-loading-the-first-time/m-p/1727586#M317050</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I used flex builder and flashdevelop to generate my swf object. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm calling my flash, with the swfobject script. very usefull &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;only 3 lines of javascript code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you think the problem is linked with the way i call my flash ??&lt;/P&gt;&lt;P&gt;did you already use a flex obect with your bsp in https ??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Quentin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 26 Dec 2006 11:30:09 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-12-26T11:30:09Z</dc:date>
    <item>
      <title>calling a Flash object HTTPS (  only in IE, not loading the first time )</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/calling-a-flash-object-https-only-in-ie-not-loading-the-first-time/m-p/1727582#M317046</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everyone !&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm trying to call a flash object from a bsp page, I've uploaded the flash into the mime repository (via the SE80). It works quiet well in Firefox, but with IE, i need to refresh the page, it won't load the first time i access the page.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does anyone has any idea ?? do i have to customize something within the SICF ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thx for the help &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;merry Xmas&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Quentin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Dec 2006 22:03:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/calling-a-flash-object-https-only-in-ie-not-loading-the-first-time/m-p/1727582#M317046</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-25T22:03:02Z</dc:date>
    </item>
    <item>
      <title>Re: calling a Flash object HTTPS (  only in IE, not loading the first time )</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/calling-a-flash-object-https-only-in-ie-not-loading-the-first-time/m-p/1727583#M317047</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can make the page reloaded automatically via JavaScript so that your Flash object will be loaded..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;javascript:window.location.reload(True);&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   You could attach this JavaScript code to an OnClientClick event or in your server event set a flag. Test for this flag in your view/page coding and generate the JavaScript call based upon that flag. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Raja T&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Dec 2006 04:25:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/calling-a-flash-object-https-only-in-ie-not-loading-the-first-time/m-p/1727583#M317047</guid>
      <dc:creator>raja_thangamani</dc:creator>
      <dc:date>2006-12-26T04:25:47Z</dc:date>
    </item>
    <item>
      <title>Re: calling a Flash object HTTPS (  only in IE, not loading the first time )</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/calling-a-flash-object-https-only-in-ie-not-loading-the-first-time/m-p/1727584#M317048</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thx for the reply, I knew that i can do that, but it does not seems like a very clean solution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to know why it is not working IE. I think that might be caused by a Cache problem with HTTPS and IE. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'd like to know, if someone had that problem before, I'm developping applications with Flex and BSP, and i need to make it work with HTTPS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your answer anyway &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Good day &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Quentin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Dec 2006 11:08:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/calling-a-flash-object-https-only-in-ie-not-loading-the-first-time/m-p/1727584#M317048</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-26T11:08:32Z</dc:date>
    </item>
    <item>
      <title>Re: calling a Flash object HTTPS (  only in IE, not loading the first time )</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/calling-a-flash-object-https-only-in-ie-not-loading-the-first-time/m-p/1727585#M317049</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;are you using flex builder to develop the flex application? if yes are you using the generated html page for the flex object in your bsp or just using the swf in your own bsp&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Raja&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Dec 2006 11:16:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/calling-a-flash-object-https-only-in-ie-not-loading-the-first-time/m-p/1727585#M317049</guid>
      <dc:creator>athavanraja</dc:creator>
      <dc:date>2006-12-26T11:16:18Z</dc:date>
    </item>
    <item>
      <title>Re: calling a Flash object HTTPS (  only in IE, not loading the first time )</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/calling-a-flash-object-https-only-in-ie-not-loading-the-first-time/m-p/1727586#M317050</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I used flex builder and flashdevelop to generate my swf object. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm calling my flash, with the swfobject script. very usefull &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;only 3 lines of javascript code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you think the problem is linked with the way i call my flash ??&lt;/P&gt;&lt;P&gt;did you already use a flex obect with your bsp in https ??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Quentin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Dec 2006 11:30:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/calling-a-flash-object-https-only-in-ie-not-loading-the-first-time/m-p/1727586#M317050</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-26T11:30:09Z</dc:date>
    </item>
    <item>
      <title>Re: calling a Flash object HTTPS (  only in IE, not loading the first time )</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/calling-a-flash-object-https-only-in-ie-not-loading-the-first-time/m-p/1727587#M317051</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i am new to flex. i am using flex builder 2 to build flex objects.  when i create flex application using MXML application and compile it, it automatically compiles to a swf and associated html for that. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have noticed that if i just upload the swf into my bsp and using it my bsp pages, there were problems with statemanagement, back button etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but if the use the generated html (copy paste it to my bsp) along with the generated history.htm and histoy.js and the script file AC_OETags.js those problems were gone. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i am not using https.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;i&amp;gt;I'm calling my flash, with the swfobject script. very usefull &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;only 3 lines of javascript code.&amp;lt;/i&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i am not aware of this , can you share the code, may be i could try that in my environment.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Raja&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Dec 2006 11:48:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/calling-a-flash-object-https-only-in-ie-not-loading-the-first-time/m-p/1727587#M317051</guid>
      <dc:creator>athavanraja</dc:creator>
      <dc:date>2006-12-26T11:48:27Z</dc:date>
    </item>
    <item>
      <title>Re: calling a Flash object HTTPS (  only in IE, not loading the first time )</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/calling-a-flash-object-https-only-in-ie-not-loading-the-first-time/m-p/1727588#M317052</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="http://blog.deconcept.com/swfobject/" target="test_blank"&gt;http://blog.deconcept.com/swfobject/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the javascript to use with Flash &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;as stated in the web site,&lt;/P&gt;&lt;P&gt;only the following  code is needed to display a flash movie in a page &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&amp;lt;script type="text/javascript" src="swfobject.js"&amp;gt;&amp;lt;/script&amp;gt;
&amp;lt;div id="flashcontent"&amp;gt;
  This text is replaced by the Flash movie.
&amp;lt;/div&amp;gt;
&amp;lt;script type="text/javascript"&amp;gt;
   var so = new SWFObject("movie.swf", "mymovie", "200", "100", "7", "#336699");
   so.write("flashcontent");
&amp;lt;/script&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Dec 2006 07:00:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/calling-a-flash-object-https-only-in-ie-not-loading-the-first-time/m-p/1727588#M317052</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-27T07:00:36Z</dc:date>
    </item>
    <item>
      <title>Re: calling a Flash object HTTPS (  only in IE, not loading the first time )</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/calling-a-flash-object-https-only-in-ie-not-loading-the-first-time/m-p/1727589#M317053</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Does anyone knows how to customise the cahe control of the WAS for a bsp application ??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thx&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;quentin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Dec 2006 12:25:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/calling-a-flash-object-https-only-in-ie-not-loading-the-first-time/m-p/1727589#M317053</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-27T12:25:00Z</dc:date>
    </item>
    <item>
      <title>Re: calling a Flash object HTTPS (  only in IE, not loading the first time )</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/calling-a-flash-object-https-only-in-ie-not-loading-the-first-time/m-p/1727590#M317054</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the info.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;about cache , have you seen this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw04/helpdata/en/72/c2153aab4a0c0ee10000000a114084/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw04/helpdata/en/72/c2153aab4a0c0ee10000000a114084/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Raja&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Dec 2006 19:05:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/calling-a-flash-object-https-only-in-ie-not-loading-the-first-time/m-p/1727590#M317054</guid>
      <dc:creator>athavanraja</dc:creator>
      <dc:date>2006-12-27T19:05:46Z</dc:date>
    </item>
    <item>
      <title>Re: calling a Flash object HTTPS (  only in IE, not loading the first time )</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/calling-a-flash-object-https-only-in-ie-not-loading-the-first-time/m-p/1727591#M317055</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;any news on this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have almost the exact same problem. Both using IE and Firefox the SWF does not get displayed and I need to right-click and select "play". It then works real nice.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tried both js solution given within this thread and the result is the same. I am not even using https&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have installed the same htm/swf pages on a J2EE server and it works fine for both IE and FireFox browsers. It seems to be a config BSP problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Under SE80, I have moved pages from the MIME section to the view or page section, with the same result&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ANY suggestion will be very welcome&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Feb 2008 13:34:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/calling-a-flash-object-https-only-in-ie-not-loading-the-first-time/m-p/1727591#M317055</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-04T13:34:53Z</dc:date>
    </item>
    <item>
      <title>Re: calling a Flash object HTTPS (  only in IE, not loading the first time )</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/calling-a-flash-object-https-only-in-ie-not-loading-the-first-time/m-p/1727592#M317056</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Solved it, I created a page to call the flex from the MIME&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;here it is :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;DATA: w_xstring TYPE xstring.
DATA: w_mimetype TYPE string.

* References
DATA: w_url TYPE string.

CONCATENATE 'sap/bc/bsp/sap/Z0008/' url  INTO w_url.

CALL FUNCTION 'Z_FLEX_MIME'
  DESTINATION sy-sysid
  EXPORTING
    url        = w_url
  IMPORTING
    l_xstring  = w_xstring
    l_mimetype = w_mimetype.

response-&amp;gt;set_data( w_xstring ).
navigation-&amp;gt;response_complete( ).&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EventHandler Oninitialization :&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;sap/bc/bsp/sap/Z0008/&lt;/EM&gt; is the url to my swf file in the SICF&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Module Function  Z_FLEX_MIME&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;FUNCTION Z_FLEX_MIME.
*"----------------------------------------------------------------------
*"*"Interface locale :
*"  IMPORTING
*"     VALUE(URL) TYPE  STRING
*"  EXPORTING
*"     VALUE(L_XSTRING) TYPE  XSTRING
*"     VALUE(L_MIMETYPE) TYPE  STRING
*"----------------------------------------------------------------------


* References
DATA: lo_mr_api TYPE REF TO if_mr_api.


* instantiate MIME API class
CALL METHOD cl_mime_repository_api=&amp;gt;if_mr_api~get_api
  RECEIVING
    r_mr_api = lo_mr_api.

* Get file from MIME repository
CALL METHOD lo_mr_api-&amp;gt;get
  EXPORTING
   i_url             = url
  IMPORTING
    e_content         = l_xstring
    e_mime_type       = l_mimetype
  EXCEPTIONS
    parameter_missing  = 1
    error_occured      = 2
    not_found          = 3
    permission_failure = 4
    OTHERS             = 5.



ENDFUNCTION.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you have any questions please fell free to ask&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;good day &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Quentin&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Quentin Dubois on Feb 6, 2008 5:55 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Feb 2008 16:55:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/calling-a-flash-object-https-only-in-ie-not-loading-the-first-time/m-p/1727592#M317056</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-06T16:55:06Z</dc:date>
    </item>
    <item>
      <title>Re: calling a Flash object HTTPS (  only in IE, not loading the first time )</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/calling-a-flash-object-https-only-in-ie-not-loading-the-first-time/m-p/1727593#M317057</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;to over come .swf not loading for the first time (you need to right click and click play) you have apply  OSS Note 904314&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(Adding &amp;#147;.swf&amp;#148; to profile parameter  ict/exclude_compression fixed the issue.)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Raja&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Apr 2008 05:29:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/calling-a-flash-object-https-only-in-ie-not-loading-the-first-time/m-p/1727593#M317057</guid>
      <dc:creator>athavanraja</dc:creator>
      <dc:date>2008-04-02T05:29:33Z</dc:date>
    </item>
  </channel>
</rss>

