My girlfriends b-day is coming up in just a few days and decided to make a unique card for her.
So I have the card almost exactly how I wanted it however, I ran into one problem...I have a membership on americangreetings.com and decided to add one of their videos to my card to finish it off.
Adding the swf video is no problem but the problem with the video is that it changes its size of the flash video.
What happens is when I add the video I set the size of 550 x 400 and it resizes to 1000 x 1000 or so after awhile into the video and I am having a hard time adjusting the window I made to change with it.
Func _Video() HotKeySet("{ESC}", "_Exit") $Width = @DesktopWidth $Height = @DesktopHeight $Obj = ObjCreate("ShockwaveFlash.ShockwaveFlash") $GUI2 = GUICreate("", $Width, $Height, Default, Default, $WS_POPUP) $ActiveX = GUICtrlCreateObj($Obj, 0, 0, 550, 400) With $obj ; .bgcolor = "#222211" .Movie = @ScriptDir & "ResourcesVideo.swf"; it should be loaded here, directly from compiled exe - no temporary files .scalemode = 0 .allowScriptAccess = "Always" ;.Quality = 1 ;.ScaleMode = 1 ;.Loop = True ; .wmode = "transparent" EndWith ;GUISetState(@SW_SHOW, $GUI) GUISetState (@SW_SHOW, $GUI2) While 1 If GUIGetMsg() = -3 Then $obj = 0 GUIDelete() Exit EndIf WEnd EndFunc
Little example, dont mind the messy code please...4 AM lol
This is the actual link to the video
http://www.americangreetings.com/ecards/...e-music-by-taylor-swift-ecard/ (You'll see what happens if you watch long enough...)
[Edited]
I thought that .allowScriptAccess = "Always" would help but nothing
Edited by SkellySoul, 16 May 2012 - 08:14 AM.





