AxShockwaveFlash backcolor
-
Thursday, April 12, 2012 6:00 AM
I am using AxShockwaveFlash in WPF for opening flash file, I am unable to set transparent backcolor and getting white background color. How to set transparent backcolor ?
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FlashPlayer));
this.axShockwaveFlash = new AxShockwaveFlashObjects.AxShockwaveFlash();
((System.ComponentModel.ISupportInitialize)(this.axShockwaveFlash)).BeginInit();
this.SuspendLayout();
//
// axShockwaveFlash
//
this.axShockwaveFlash.Enabled = true;
this.axShockwaveFlash.Location = new System.Drawing.Point(0, 0);
this.axShockwaveFlash.Name = "axShockwaveFlash";
this.axShockwaveFlash.OcxState = ((System.Windows.Forms.AxHost.State)(resources.GetObject("axShockwaveFlash.OcxState")));
this.axShockwaveFlash.Size = new System.Drawing.Size(928, 612);
this.axShockwaveFlash.TabIndex = 0;
//
// FlashPlayer
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.Controls.Add(this.axShockwaveFlash);
this.Name = "FlashPlayer";
this.Size = new System.Drawing.Size(300, 300);
((System.ComponentModel.ISupportInitialize)(this.axShockwaveFlash)).EndInit();
this.ResumeLayout(false);
All Replies
-
Monday, April 16, 2012 4:59 PMModerator
Hi angayarkannan,
I got you want to set axShockwaveFlash control's backcolor as transparent. But as far as I know there isn't any background property for axShockwaveFlash control, also this component has been packaginged as dll, so I don't think you can change the Flash's background.
If you find any solution, it is appreciate if you can share with us.
Hope it helps.
Have a nice day.
Annabella Luo[MSFT]
MSDN Community Support | Feedback to us
- Marked As Answer by Annabella LuoModerator Thursday, April 26, 2012 5:37 AM
-
Thursday, April 26, 2012 5:37 AMModeratorWe are temporarily marking this as "Answer", if you have any concerns or new findings; please feel free to let me know.
Best regards.Annabella Luo[MSFT]
MSDN Community Support | Feedback to us

