Hi,
I have a problem with a Flashcontrol(AxShockwaveFlashObjects).
The Flashmovie that I get plays well, this is not the problem.
I have to show a HTML code to explain the problem I have. I have received a link that is:
"http://online.casinotropez.com/promoLoadDisplay?key=em9uZUlkPTM4MzA3MDk2OCZsYW5kaW5nUGFnZUlkPTEzNTEwMTUzJnByb2ZpbGVJZD01MjY5NTE%3D&clickTAG=http://online.casinotropez.com/promoRedirect?key=em9uZUlkPTM4MzA3MDk2OCZsYW5kaW5nUGFnZUlkPTEzNTEwMTUzJnByb2ZpbGVJZD01MjY5NTE%3D
"
This link in this HTML here will play a flashmovie and when the flashmovie is Clicked, a dialog box will appear where you will download a file.
<object id="Object11" align="middle" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"
codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0">
<param name="allowScriptAccess" value="sameDomain" />
<param name="movie" value="http://online.casinotropez.com/promoLoadDisplay?key=em9uZUlkPTM4MzA3MDk2OCZsYW5kaW5nUGFnZUlkPTEzNTEwMTUzJnByb2ZpbGVJZD01MjY5NTE%3D&clickTAG=http://online.casinotropez.com/promoRedirect?key=em9uZUlkPTM4MzA3MDk2OCZsYW5kaW5nUGFnZUlkPTEzNTEwMTUzJnByb2ZpbGVJZD01MjY5NTE%3D" />
<param name="quality" value="high" />
<param name="bgcolor" value="#000000" />
<embed align="middle" allowscriptaccess="sameDomain" bgcolor="#000000"
height="55" name="0" pluginspage="http://www.macromedia.com/go/getflashplayer" quality="high"
src="http://online.casinotropez.com/promoLoadDisplay?key=em9uZUlkPTM4MzA3MDk2OCZsYW5kaW5nUGFnZUlkPTEzNTEwMTUzJnByb2ZpbGVJZD01MjY5NTE%3D&clickTAG=http://online.casinotropez.com/promoRedirect?key=em9uZUlkPTM4MzA3MDk2OCZsYW5kaW5nUGFnZUlkPTEzNTEwMTUzJnByb2ZpbGVJZD01MjY5NTE%3D" type="application/x-shockwave-flash" width="425" />
</object>
The problem is when I play the Flashmovie with the same URL attached to it below and when you click this flashmovie, the Companies website will open up wich is wrong.
This link is ment for downloading a file wich works correct in the HTML code above.
I had this problem for months and simply dont know what this is depending on. I will be very happy for help. Thank you.
private: System::Void Form1_Load(System::Object^ sender, System::EventArgs^ e)
{
AxShockwaveFlashObjects::AxShockwaveFlash^ AxShockwaveFlash1 = gcnew AxShockwaveFlashObjects::AxShockwaveFlash();
Form1::Controls->Add(AxShockwaveFlash1);
AxShockwaveFlash1->BackgroundColor = 0;
AxShockwaveFlash1->Movie = "http://online.casinotropez.com/promoLoadDisplay?key=em9uZUlkPTM4MzA3MDk2OCZsYW5kaW5nUGFnZUlkPTEzNTEwMTUzJnByb2ZpbGVJZD01MjY5NTE%3D&clickTAG=http://online.casinotropez.com/promoRedirect?key=em9uZUlkPTM4MzA3MDk2OCZsYW5kaW5nUGFnZUlkPTEzNTEwMTUzJnByb2ZpbGVJZD01MjY5NTE%3D";
AxShockwaveFlash1->Base = "http://online.casinotropez.com/promoLoadDisplay?key=em9uZUlkPTM4MzA3MDk2OCZsYW5kaW5nUGFnZUlkPTEzNTEwMTUzJnByb2ZpbGVJZD01MjY5NTE%3D&clickTAG=http://online.casinotropez.com/promoRedirect?key=em9uZUlkPTM4MzA3MDk2OCZsYW5kaW5nUGFnZUlkPTEzNTEwMTUzJnByb2ZpbGVJZD01MjY5NTE%3D";
AxShockwaveFlash1->AllowFullScreen = "false";
AxShockwaveFlash1->AllowScriptAccess = "sameDomain";
AxShockwaveFlash1->EmbedMovie = true;
AxShockwaveFlash1->Size = System::Drawing::Size(532, 68.82);
AxShockwaveFlash1->Location = System::Drawing::Point(1, 25);
AxShockwaveFlash1->Play();
}