I use a Shockwave Flash object in one form, the problem begim when I maximize the form and my flash object stay in the midle of the form and what i want is that object maximize with my form.
Me.flashObject.Anchor = CType ((((System.Windows.Forms.AnchorStyles.Top
Or
System.Windows.Forms.AnchorStyles.Bottom) _
Or System.Windows.Forms.AnchorStyles.Left) _
Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
You can do the same using designer property window as well.
With AxShockwaveFlash1
.Anchor = CType((((System.Windows.Forms.AnchorStyles.Top or System.Windows.Forms.AnchorStyles.Bottom) Or System.Windows.Forms.AnchorStyles.Left) Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
.Stop()
.Movie = "C:\Novax\Novax-Server\Data\Pubslabo\T011.swf"
.Playing = True
End With
End Sub
My control appear in the left side of my form and don't stay in full screen li i expected.
Hmmm... thats interesting. It looks like your flash file animation is very small. Because from your first post without anchoring it was showing up at the center of the screen and now with Anchoring it is showing up at left side corner of the screen. Did you try opening the flash file in IE, see how is it showing up in IE. If it is small there too may be you have to ask your graphic designer to make it little more bigger.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.