PDA

View Full Version : Full screen flash movies



ismohammed
02-28-2010, 09:17 AM
I have created few flash Tutorial videos using camtasia in which the control panel of the viseo consistsof fullscreen button when i play the video in IE or firefox the Fullscreen button works ok when i embade the flash video in autoplay media studio the fullscreen button doesnt work. can anyone help me

T3STY
02-28-2010, 10:52 AM
If you're using a flash object to display the content, on the Full-Screen button you can set the application's window to maximize and then to resize the flash object to new dimensions.


Window.Maximize(Application.GetWndHandle());
WinSize = Window.GetSize(Application.GetWndHandle());
Flash.SetSize("FlashObject", WinSize.Width, WinSize.Height);


to restore:


Window.Restore(Application.GetWndHandle());
WinSize = Window.GetSize(Application.GetWndHandle());
Flash.SetSize("FlashObject", WinSize.Width, WinSize.Height);

ismohammed
02-28-2010, 11:36 AM
If you're using a flash object to display the content, on the Full-Screen button you can set the application's window to maximize and then to resize the flash object to new dimensions.


Window.Maximize(Application.GetWndHandle());
WinSize = Window.GetSize(Application.GetWndHandle());
Flash.SetSize("FlashObject", WinSize.Width, WinSize.Height);


to restore:


Window.Restore(Application.GetWndHandle());
WinSize = Window.GetSize(Application.GetWndHandle());
Flash.SetSize("FlashObject", WinSize.Width, WinSize.Height);


Dear friend thank you for your prompt response but could you please explain me in dept as i am new to this application and i do not understand what you mean by fullscreen button

Scriptonite
02-28-2010, 09:13 PM
If all you have on your page is flash you can set it resize with the page. Select the flash and go to the properties box, set resize right to true and resize bottom to true.
If you don't know where that is you can double click the flash file and under settings and set the scaling mode to exact fit. Under the attributes tab, under the auto-size select right and bottom. This will allow your flash file to scale with the page. Hope this helps you.

T3STY
03-01-2010, 11:55 AM
Dear friend thank you for your prompt response but could you please explain me in dept as i am new to this application and i do not understand what you mean by fullscreen button
OK. let's start from beginning...
In AMS there is a object plugin called Flash. As you may understand from it's name, it can show flash files (wich usually have .flv extension).
In the before post, I provided you some code wich can be used to resize a flash object in your application (See the AMS help for more info about resizing objects and other functions). The code I provided you is suitable for almost all objects in AMS, Video, Images, buttons... you just have to use the right function before .SetSize(parameters);.

EDIT
I attached an example, the code used is a little different...

infinityscape
03-01-2010, 12:59 PM
just a small note, ams doesnt actually support .flv files but however it does support .swf files but you can use a flv player and embed it into ams, which i worked out how to do and if you like i can show you.

ismohammed
03-01-2010, 01:20 PM
just a small note, ams doesnt actually support .flv files but however it does support .swf files but you can use a flv player and embed it into ams, which i worked out how to do and if you like i can show you.

it is really appresiatable if you could show me how to do and thank you very much for your help T3STY i will try it tonight and let you know how i go with it tomorrow thank you all

T3STY
03-01-2010, 03:42 PM
just a small note, ams doesnt actually support .flv files but however it does support .swf files but you can use a flv player and embed it into ams, which i worked out how to do and if you like i can show you.

OOps... my bad. I was sure they're .flv files.. well..you may understand me as I never used flash objects in my works :)