{"id":449,"date":"2010-12-21T20:45:27","date_gmt":"2010-12-21T20:45:27","guid":{"rendered":"https:\/\/ibex.tech\/visualcpp\/?p=449"},"modified":"2026-06-17T09:25:28","modified_gmt":"2026-06-17T08:25:28","slug":"shockwave-flash","status":"publish","type":"post","link":"https:\/\/ibex.tech\/visualcpp\/shockwave-flash\/shockwave-flash","title":{"rendered":"Shockwave Flash"},"content":{"rendered":"<h4>Good Resources<\/h4>\n<p><a href=\"http:\/\/www.codeproject.com\/KB\/audio-video\/flashexternalapi.aspx\" target=\"_blank\" rel=\"noopener\">http:\/\/www.codeproject.com\/KB\/audio-video\/flashexternalapi.aspx<\/a><\/p>\n<h4>Add Shockwave Flash Movie To Your Form<\/h4>\n<p>Rightclick in the form Tools popout menu and select &#8216;Choose Items&#8217;.<br \/>\nSelect the &#8216;COM Components&#8217; tab and check &#8216;ShockwaveFlashObject&#8217; which should be enabled if you have flash installed.<\/p>\n<p>Properties to change:<br \/>\nMenu\t\tFalse<\/p>\n<p>Form Load<\/p>\n<pre><code>\r\n\tAxShockwaveFlash1-&gt;Left = 0;\r\n\tAxShockwaveFlash1-&gt;Top = 0;\r\n\tAxShockwaveFlash1-&gt;Width = this-&gt;Width;\r\n\tAxShockwaveFlash1-&gt;Height = this-&gt;Height;\r\n\tAxShockwaveFlash1-&gt;Movie = Path::GetDirectoryName(Application::ExecutablePath) + \"\\\\topman1.swf\";\r\n\tAxShockwaveFlash1-&gt;FrameNum = 0;\r\n<\/code><\/pre>\n<h4>Callback Function<\/h4>\n<p>Create the FSCommand event.<\/p>\n<pre><code>\r\nprivate: System::Void AxShockwaveFlash1_FSCommand(System::Object^  sender, AxShockwaveFlashObjects::_IShockwaveFlashEvents_FSCommandEvent^  e)\r\n{\r\n\tif (e-&gt;command == \"status\")\r\n\t{\r\n\t\t\/\/----- STATUS -----\r\n\t\tif (e-&gt;args == \"start\")\r\n<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Good Resources http:\/\/www.codeproject.com\/KB\/audio-video\/flashexternalapi.aspx Add Shockwave Flash Movie To Your Form Rightclick in the form Tools popout menu and select &#8216;Choose Items&#8217;. Select the &#8216;COM Components&#8217; tab and check &#8216;ShockwaveFlashObject&#8217; which should be enabled if you have flash installed. Properties to change: Menu False Form Load AxShockwaveFlash1-&gt;Left = 0; AxShockwaveFlash1-&gt;Top = 0; AxShockwaveFlash1-&gt;Width = this-&gt;Width; AxShockwaveFlash1-&gt;Height [&hellip;]<\/p>\n","protected":false},"author":5,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[56],"tags":[],"class_list":["post-449","post","type-post","status-publish","format-standard","hentry","category-shockwave-flash"],"_links":{"self":[{"href":"https:\/\/ibex.tech\/visualcpp\/wp-json\/wp\/v2\/posts\/449","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ibex.tech\/visualcpp\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ibex.tech\/visualcpp\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ibex.tech\/visualcpp\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/ibex.tech\/visualcpp\/wp-json\/wp\/v2\/comments?post=449"}],"version-history":[{"count":3,"href":"https:\/\/ibex.tech\/visualcpp\/wp-json\/wp\/v2\/posts\/449\/revisions"}],"predecessor-version":[{"id":1626,"href":"https:\/\/ibex.tech\/visualcpp\/wp-json\/wp\/v2\/posts\/449\/revisions\/1626"}],"wp:attachment":[{"href":"https:\/\/ibex.tech\/visualcpp\/wp-json\/wp\/v2\/media?parent=449"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ibex.tech\/visualcpp\/wp-json\/wp\/v2\/categories?post=449"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ibex.tech\/visualcpp\/wp-json\/wp\/v2\/tags?post=449"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}