Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Full Screen

Status
Not open for further replies.

Mangaka

Programmer
Joined
Aug 27, 2001
Messages
2
Location
ES
What is the instruction (by code) to make that Movie Flash Complete (Exe Or Swf), visualizes in full screen mode? CTRL + F is de shortcut but, i not mean this. Thanks
 
hie
i can say how u can open new window in fullscreen mode (using javascript & getURL action):
in new browsers (ie5+, may be nn6; havent checked)

function openFullscreen(file){
var wnd=window.open(file,'new','fullscreen')
}

or for older browsers:

function openFullscreen(file){
var w,h,prefs
w=screen.availWidth
h=screen.availHeight
prefs='width='+w+', height='+h+', scrollbars=yes, location=yes, menubar=yes'

var wnd=window.open(file,'new', prefs)
}


or this way:

function openFullscreen(file){
var w,h
w=screen.availWidth
h=screen.availHeight
var wnd=window.open(file,'new', '')
wnd.moveTo(0,0)
wnd.resizeTo(w,h)
}

& somewhere in ur actions:
..
getURL("javascript:openFullscreen('some.swf')")
.. Victor
 
To open a .exe (flash projector) or .swf in full screen, use the following code:

Code:
fscommand ("fullscreen", "true");

Put this somewhere on the time line where you want it to go full screen (usualy on the first frame)

Add this bit of code to a button or a keyframe to close the window:

button

Code:
on (release) {
    fscommand ("quit");
}

keyframe

fscommand ("quit");


Hope this helps.....


If you go into the basic actions panel you should be able to work out what the FSCommands there are used for.

funkymonk B-)
rod@sameplanet.co.uk

 
i don't think you can use fs commands on the net...think those commands will only work if running the file locally..
e.gif


carlsatterwhite@endangeredgraphics.com
 
Ahhh virt, if you read the post, he doesn’t say anything about the net, just .exe and .swf. The commands will work fine with those...

I did forget to mention to him that this will not work in a browser but I got so wrapped up in presenting my post nicely that it just slipped through my mind...

By the way Mangaka, these FScommands will not work in a browser locally or remote, only with .exe (projector) and .swf both locally.. funkymonk B-)
rod@sameplanet.co.uk

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top