Fscommand & Loading Full Screen After Clicking On A Button?
Hi Everyone,
I have an exe file (main) that has four buttons, all linking to four seperate external exe files (file 1, file 2, file 3 and file 4). I need all exe files to run full screen with no title bars or menu bars. That's fine and I have figured that out using fscommand.
My problem is that fscommand only appears to work when I open the file from my documents or whatever folder my exe files are in. If I open main.exe and then click on the first button which links to file1.exe, file1.exe does not open full screen after clicking on the button. I have the fscommand on the button and on the first frame of file1.exe. It will not open up full screen.
So how do I get my exe file to open up full screen after clicking on a button?????
Thanks in advance for any help.
FlashKit > Flash Help > Flash ActionScript
Posted on: 09-27-2007, 12:32 PM
View Complete Forum Thread with Replies
Sponsored Links:
Full Screen Fscommand Help
hi,
I'm creating a cd rom presentation in Flash for work, and I need the entire thing to play full screen. The presentation has several movies that will play back to back, and I have figured out how to get the first one to play on a full screen using the fscommand.
However, when I view it on the Flash Player, when it loads the second movie, it switches back to a normal sized movie, even though I have used fscommand("fullscreen", "true"); in the first frame of the second movie also.
Is there any way to get all of the movies following the first one to play in full screen mode?
Thanks for your help!
View Replies !
View Related
Full Screen Fscommand Problem
Hi, all. Hope someone here can help with this problem.
I am creating a Flash site for a client who wants to open a projector file in full screen mode. I was able to open it this way using fscommand, as follows:
fscommand("fullscreen","true");
This was successful. But when the movie switched to a scene that has this command for opening an SWF file into the movie, as follows:
loadMovieNum("Lofy_site9_lg.swf", 0);
The movie is no longer in full screen, but rather aprrox. 5/8 screen, with the desktop showing and no menu bar at top and no options other than to hit escape to return Flash Player to its default setting.
How can I set it up so that this does not happen? My boss suggests using a command to open a new "application" instead of a new SWF file, thereby fooling Flash Player into doing the correct thing.
How do I do this, or is there another way around it anyone can suggest? Please include full code. Thanks.
SonicDan
View Replies !
View Related
Flash MX Professional: Fscommand: Full Screen
Hello,
I was wondering if anyone can help me figure out how to, in flash MX professional (which rules by the way), how to set a projector file to play full screen once clicked on.
I'm creating an enhanced CD with flash player 7, for mac and pc. we'd like the window to open full screen, but the graphics not to scale.
much peace,
anne
View Replies !
View Related
Problem With Full Screen Movie - Fscommand
hello all
i can get full-screen movies no problem via 'fscommand' and close them with a nice little button... BUT... how do i get animation which goes off the edge of the stage to disappear in the full screen movie???
this happens automatically with full-screen director movies but not flash.
basically, any animation which moves off the edge of the stage is still visible when viewed full screen.
i've sorted it with a very simple movie using a mask the size of the stage - easy - but i'm working on a really complex movie with many layers and existing masks, and the simple one mask solution won't work there.
i've attached 2 .fla versions of the problem to illustrate.
any help would be very much appreciated.
View Replies !
View Related
Controlling Fscommand .. Allow Scale & Full Screen
hi all
i made this small presentation for a cd rom
which goes full screen and scaled up.. resize according to the resolution of the monitor
my problem is ..
when the resolution is bigger then 1024 * 768 .. my animation on full screen become jerky .. and all smoothness is gone
can i some how control this scaling part ... thru scripting
where after 1024 screen size .. my screen doesn t enlarge or scales beyond that point
can we control allow scale in fs command thru script ..
or some other logic shud be implemented
View Replies !
View Related
Full SCreen Upon Loading
I have made a presentation for a CD ROM, all I need now is to make it go full screen upon loading but I can't seem to find the command to do this automatically.
Please help...!
Thank you so much.
CJ
View Replies !
View Related
Loading Flash Full Screen
I am having trouble launching my flash movie in my browser full screen. I am using this code...
http://www.actionscripts.org/tutoria...en/index.shtml
It is a little bit confusing, and was hoping that someone could help me out with this...
Thanks,
Mark
View Replies !
View Related
Loading Bar Full Width Of Screen
Hiya...
Has anyone had a experience developing a loading bar that runs the full width of the screen no matter what resolution the user is using?
I have created one using a stage listener, but seems to run quite jerky, due to the 'percentage loaded' increasing at random speeds. I'd like to create one with a nice flowing line that may even ease its way across the screen.
Does anyone have any advice or an FLA with an example of how I could do this better?
Many thanks for your help.
View Replies !
View Related
Full Screen Jpg - Loading Problems
Well its pretty simple what i want - and i'm almost there. Basically i need a jpg as my background - and it works well.
The only problem is that sometimes when i test my site live - the preloader for the background image just blinks and then disappears straight away - and i have to refresh my page for the actual image to fade in.
It works fine when i test inside flash and it also works on some computers and on internet explorer - so i really have no idea what may cause the problem.
But, there could be some code that i've placed that has caused this possible error.
You can view the current site here
and here is the code that loads the jpg, its on frame 3, the final frame of the movie:
Code:
stop();
movieLoader.loadMovie("gallery3.swf");
Stage.scaleMode = "noScale";
var trialNavigation = new ContextMenu();
trialNavigation.hideBuiltInItems();
// Applying the new menu
_level0.menu = trialNavigation;
function loadImage() {
imageClip._alpha = 0;
imageClip.createEmptyMovieClip("holder", 999);
imageClip.holder.loadMovie("background.jpg");
this.onEnterFrame = function() {
BL = imageClip.holder.getBytesLoaded();
BT = imageClip.holder.getBytesTotal();
getPercent = BL/BT;
loadText = "loading background " + Math.round(getPercent*100)+"%";
if (BL == BT) {
loadText = "";
sl.onResize();
if(imageClip._alpha < 100)
{
imageClip._alpha = imageClip._alpha + 10;
}else{
delete this.onEnterFrame;
}
}
};
}
loadImage();
var sl:Object = new Object();
sl.onResize = function() {
//imageClip._width = Stage.width + 64;
//imageClip._height = imageClip._width*0.75;
imageClip._height = Stage.height + 64;
imageClip._width = imageClip._height*(4/3);
imageClip._x = 400 - imageClip._width/2;
imageClip._y = 300 - imageClip._height/2;
};
Stage.addListener(sl);
View Replies !
View Related
Problem Loading FLV Player In Full Screen
I've created a shelll that loads individual swf's one at a time, like a slide show.
The swf I'm having trouble with contains an animated movie clip that loads and plays an flv after it stops the animation.
In non full screen the whole mess plays fine.
In full screen my monitor goes black whenever the aforementioned swf tries to load the flv.
I'm getting this error message "ReferenceError: Error #1056: Cannot create property player on flash.display.Stage." when I run debug movie.
Any ideas?
View Replies !
View Related
Help Loading A Random Background Full Screen
In the bottom layer of my main movie, Id like to put a random background image which loads on entering the frame and stretches to full screen. I would like to use a preloader for the image so Im trying to load a swf using this which I found here:
http://www.kirupa.com/developer/mx/l...ackground2.htm
Code:
choice = Math.round(Math.random()*5);
switch (choice) {
case 0 :
location.loadMovie("image0.swf");
break;
case 1 :
location.loadMovie("image0.swf");
break;
case 2 :
location.loadMovie("image0.swf");
break;
case 3 :
location.loadMovie("image0.swf");
break;
case 4 :
location.loadMovie("image0.swf");
break;
case 5 :
location.loadMovie("image0.swf");
break;
}
but I could not get it to stretch full screen. How do I get the externally loaded swf to stretch full screen and be able to resize via a listener from within my main movie?
Thanks!
Rich
View Replies !
View Related
Full Screen And Back Button
Hi there,
I'm trying to make my website(full flash), full-screen with a close "[X]" button on the top-right.
I have tried what they say here: http://www.dissymmetry.com/tutorials/fullscreen.html
and the opening of the movie in full screen is no problem, only the back button doesn't work
I put "unclesammy" where they use "WindowName" but that can't be the problem I think.
My actionscript now looks like this:
on (release) {
getURL("javascript:unclesammy.close");
}
Anyone have any experience with this?
Greetz,
Yves.
View Replies !
View Related
Could You Test My Full Screen Button Please
hello
could you please test the following fullscreen button at http://www.ablab.org/test/Launch.html
could you test this on your machine as i've heard that some are machines are failing to open the swf in the full screen page.
could you let me know if this fails on your system, and what OS/windows you're using.
(it consists of
javascript:fullwin()
on a button.
with
<script>
<!--
function fullwin(){
window.open("NAME.swf","big","fullscreen,scrollbar s")
}
//-->
after < itle> in the html
is this universally going to work?
thanks alot.
View Replies !
View Related
Full Screen Button ? (Flash 5)
Hi, can anyone point me in the right direction ? ...
I'd like to put a button on my Flash site front page that allows the user to jump into F11 full screen mode at a click (Should they want to ) Is this easily done ?
Hope someone can assist. Thanks
Hiabex
View Replies !
View Related
FLV Full Screen On Button Press
Hello all, I searched through pages of full screen questions but didnt see anything adressing this so I hope I am not needlessly double posting.
I have built a flash file that streams a FLV file. What I am trying to figure out is out to set up two buttons. The first button would make the video go full screen.(Just the video portion not the entire swf). For example, with Windows media files you can double click the video to go full screen and double click again to reduce. That is the effect I am looking for, only attached to a button.
The second button of course would be to return the video to its default state.
Ive attached a screenshot of the swf so you can get an idea of what I mean.
Thanks much for any help.
View Replies !
View Related
Full Screen Code On Button
I was looking for a couple things... Basically like this site...
www.jkrowling.com
I want to know how they detect if pop-up blocker is on... and how they go Full Screen when you click on the enter button.
Also... The preloader bar I know how to make... I don't really like anymore. Is there a good tutorial anyone knows for making a better, more interactive one??
Thanks for any help...
View Replies !
View Related
One Button On Top Of Another Full Screen One For A Banner.
I've got an issue that I wonder if anyone could help me with.
Basically I have to do an expandable banner now the .swf that loads on the rollover, needs to have a button over it, that when the user rolls off it, it will close and revert back to the banner.
Now the problem is that the expandable bit has a few interactive buttons on it, so the whole background can not be a button, that responds to a onRollOut because as soon as you rollover one of the other buttons, the big main button will think its been rolled out and will close the banner.
Putting a button border doesn't seem to work too well as if you roll your mouse too quickly it will miss the button (for some reason) and not register the rollout and then not retract, alternatively the border button can't be too big either.
Any ideas?
Thanks in advance.
View Replies !
View Related
Full Screen Video Button
I have a flash video player, im looking to place a button on the player that will go full screen on request. I cant however seem to get this anywhere near working. Can anybody help me with this?
GQ
View Replies !
View Related
Full Screen Button For Flash
Hi,
The new fullscreen update for flash 8 and cs3 is great, I was googling the net and found this tutorial here:
http://julian.empiregn.com/2007/2/22...ies-with-Flash
it does work fine and great but we still have a problem here, you see, this is no help for enlarging video files! I hope you can see the point I'm talking about, in the sample swf shown in the link above, you can see that the background image is not resized in small screen and when we click the fullscreen button, then we can see the whole image. This is the problem, I can not get my video screen resized when I toggle between the small and fullscreen options!
I know this can be done as I have seen samples using the same method successfully! check this out for yourself
http://www.adotube.com/demo.html
and see that the problem is solved, but damn I can't understand what is wrong...
Any one can help? Please drop me a message here, I'm going crazy with this...
Also if you can send me some FLA files, wow that would be great to speed up thimgs...
Regards,
Hadi
View Replies !
View Related
Loading A .swf File Full Screen From A .html Page
Ok my problem is I have a html page that im using to direct users to 3 other pages (each with a seperate link) each of the links need to load a .swf movie in a full screen flash player window... the .html file will be the index.html and the rest have seperate names for their associated sites...
is there any way to do what i am wanting to do? Thanks! =)
jonathan
View Replies !
View Related
Full Screen Close Button Not Working In IE5.5
Hello, Hope someone can help me on this - I'm at my wits end. I have a site that I'm working on and the user has a choice to go full screen. Well of course I put a "close" button on the top so that they can get out of it. It was working fine and good until I downloaded the latest version of IE 5.5 (Build: 5.50.4522.1800). Now the button won't work no matter what I try. I've tried the following.
1. on (press) {
getURL ("javascript: window.close()", "_parent");
}
Also tried self.close()
Also tried it without the "_parent"
Also tried "on (release)" instead of "on (press)"
2. function closefull()
{
top.close();
}
In the browser window and on the button I added:
on (release) {
getURL ("javascript:closefull()", "_parent");
}
I've tried numerous other combinations of javascript code but the browser seems to be ignoring it alltogether. It works fine in Navigator (a first where something will work in netscape and NOT in IE). If anyone has any idea's as to why this is not working I'd be very appreciative to her them. You can check the prototype site out at:
http://www.media-glyphics.com/New/MainWindow.htm
Thanks!
Myst.
View Replies !
View Related
Full Screen And Close Button On An .EXE Flash?
I am publishing a movie as an .exe file because some of the people i'm sending it to don't have the Flash plugin on their browser.
I need the movie to automatically open fullscreen. I know how to do this with javascript on the html, but not on the .exe. Is there actionscript code that will automatically open it fullscreen, effectively like hitting control-F does on an .exe?
Also, is there a way to do a close button (which will close the entire exe)?
Thanks in advance,
and let me just say Flashkit has saved my job more times then i can count. So thanks guys!
View Replies !
View Related
Close Full Screen Button When It's FRAMESET?
How do I make a close button to control full screen made of a frameset(I had to do it with frameset to get rid of a scroll bar problem... anyway.. )
where should I put the code to close it...?
I made a close button, tried and put this code:
(release) {
getURL ("javascript:NewWindow.close(); void(0);");
}
in the top or bottom frame... but didn't work...
Pls HELP ~!
Thanks
View Replies !
View Related
Exit Button For A Full Screen External .swf
This is prbably something really easy, but I've looked every where and can't find the answer.
I've loaded a full screen game.swf into my project and now I need a button to exit out of it. I used:
this.loadMovie("game.swf", "window". 5);
but now I can't get a button on top of the fullscreen game to exit to my _root. I don't think the game is actually loading into the mc "window", so I can't just drop my exit button into "window". Maybe if someone knows how to change the _level of my button, that might work.
Any help would be appreciated, thanks.
View Replies !
View Related
Actionscript Needed For Full Screen Button
hello all, ive been using the tutorials on the site for few weeks now, they are amazing, i created a great little flv player using the tutorials, though what I really need now is a piece of action script to add to a button that on press will take the playing flv and put it full screen, just the flv, not the surronding menus in the swf file as a whole. I have searched and searched the net and this simple piece of code is nowhere to be found. Any help would be really great. thanks.
View Replies !
View Related
Loading And Unloding Multiple Swf Files In Full Screen Mode
Im using AS2.0 and I have a main movie that loads an external .swf movie clip onto a container MC.. This is for a CDROM projector file and it HAS to be full screen mode..
the first keyframe has this code:
fscommand ("fullscreen", "true");
fscommand ("showmenu", "false");
Stage.scaleMode="noScale";
Stage.align="C";
to load the external swf file I have this code:
on (release){
gotoAndStop("content");
loadMovie("resorts/GMC/GMC.swf", "container");
}
the movie loads just fine.. but if I want to return BACK to the main menu.. How can I unload the GMC.swf file if it "replaces" or "loads" on top of the entire document?
Any help would be greatly appreciated
View Replies !
View Related
Loading And Unloding Multiple Swf Files In Full Screen Mode
Im using AS2.0 and I have a main movie that loads an external .swf movie clip onto a container MC.. This is for a CDROM projector file and it HAS to be full screen mode..
the first keyframe has this code:
fscommand ("fullscreen", "true");
fscommand ("showmenu", "false");
Stage.scaleMode="noScale";
Stage.align="C";
to load the external swf file I have this code:
on (release){
gotoAndStop("content");
loadMovie("resorts/GMC/GMC.swf", "container");
}
the movie loads just fine.. but if I want to return BACK to the main menu.. How can I unload the GMC.swf file if it "replaces" or "loads" on top of the entire document?
Any help would be greatly appreciated
View Replies !
View Related
New Html Page Loading Upon Clicking A Button?
so, let's say i wanted a new page to load upon clicking a button symbol. how would i go about that?(for example, if we were in "index.html" of my site and i wanted the page "home.html" to load when you click the button.) the new page could either be in a new window or in the same window...just curious. for this i assume we would definitely need actionscript...
View Replies !
View Related
Loading Bar Shows Up Really Late After Clicking The Button
When press the button that opens a swf the loading bar shows up so late that u start thinking that the link to the button doesnt work... All tutorials I've seen tell the same, same code, same loop between first and second frame till all kb are loaded and goes to frame 3 where the movie starts. Did I missed anything?
..........thanks.
View Replies !
View Related
Error In Playing Full Screen Flash Button
We are the authors of Flashation Flash menu builder, and a customer has pointed us to the following error while executing a flash button:
"When you are linking pages with Flash buttons in Full Screen mode (hit F11), and you press a Flash Button that links to another page the screen jerks and shakes for a moment till the next page loads. It only happens with F11."
You can check this by visiting our home page http://www.flashation.com goto full mode (hit F11) and click a button.
We believe that this a general Flash error, since a quick check revealed that not only our buttons are affected with this behaviour.
Anyone any ideas?
Thanks,
Mike Hart
View Replies !
View Related
How To Open An .swf File In Full Screen When Pressing A Button Which Is Placed On Ano
_____________________________________________ ___________________________________________
How to open an .swf file in full screen when pressing a button which is placed on another swf ?
I have a movie clip on which there is a button when clicked will open in full screen this file :
presentation.swf ;
I´ve ever seen the action fscommand("fullscreen,true"); applied to a frame to open a movieclip in
full window mode ;
Is there a way to apply this to a button ?
Cheers
_____________________________________________ ___________________________________________
View Replies !
View Related
How To Open An .swf File In Full Screen When Pressing A Button Which Is Placed On Ano
_____________________________________________ ___________________________________________
How to open an .swf file in full screen when pressing a button which is placed on another swf ?
I have a movie clip on which there is a button when clicked will open in full screen this file :
presentation.swf ;
I´ve ever seen the action fscommand("fullscreen,true"); applied to a frame to open a movieclip in
full window mode ;
Is there a way to apply this to a button ?
Cheers
_____________________________________________ ___________________________________________
View Replies !
View Related
Is It Possible? Full Screen Button/mode For Player Even If It Is Not Embeded?
Hi everyone,
You got a great forum.
Any help will be greatly appreciated.
I need to get the full screen button on my flashplayer that I created in CS3 to work, but I do not know how to integrate the AC_FL_RunContent() function to enable fullscreen mode into my html page if the flash player is not embeded. Or do I need to change the actionscript in my player skin in flash?
I created the player in flash cs3 with custom skin.
The player works great.
I am swapping the swf files through a setFlash(xxx.swf) function.
Please see js function below:
Code:
function setFlash( loc )
{
var so = new SWFObject(loc, "pullContent", "425", "350", "8", "#ffffff");
so.addParam("wmode", "transparent");
so.write("player");
}
function call is through onclick event on images:
Code:
<img src=".xxx.gif" onclick="setFlash('http://xxx.swf');
Thanks in advance.
ns
View Replies !
View Related
Loading A Movieclip That Always Stays Center Into My Flash Full Screen Page?
What I would like to know how to do, if someone tann help me is this:
I have a swf Flash page that always stretches to full screen of the browser window, right to the edge of it - How do people do this???
I will load movies in there of my content that will always remain center or whatever co-ordinate I want like maybe right center.
How do I do this? I can do this with html, but I am only limitted to having one flash movie in my html page. I want to do it with Flash because I might add other little Flash movie contents that will remain left center, bottom right, etc. on my Flash page.
View Replies !
View Related
Flash Button + Full-screen Window = Popup Blocker ?
I came across the following javascript code that creates a fullscreen pop up window from a rollover button (html/javascript) that appears to be unaffected by popup blockers in IE (or at least on my computers it's unaffected). However, when I adapt the button code to actionscript for use with a flash button it starts to trigger the popup blocker. Can someone help me figure out the correct actionscript to make this work without being blocked?
---------- Flash Button (Not working properly) ----------
on (release) {
getURL("javascript:openNewWindow('main.htm','0','s creen.availHeight','screen.availWidth')");
}
---------- Javascript Button ----------
<a href="#null" onClick="opensesame('main.htm',0 ,screen.availWidth, screen.availHeight)" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('portfolio','','splash/sn_port_over.jpg',1)"><img src="splash/sn_port.jpg" alt="portfolio" name="portfolio" width="206" height="37" border="0"></a>
---------- Javascript head code ----------
<script language="JavaScript">
<!--
function SymError()
{
return true;
}
window.onerror = SymError;
var SymRealWinOpen = window.open;
function SymWinOpen(url, name, attributes)
{
return (new Object());
}
window.open = SymWinOpen;
//-->
</script>
<script language="JavaScript" type="text/JavaScript">
<!--
var aw = screen.availWidth;
var ah = screen.availHeight;
var vWidth = screen.width;
var vHeight = screen.height;
function opensesame (url, full, w, h) {
var opts = "width="+ w +",height="+ h +",scrollbars=0";
if(full == true) opts += ",fullscreen=1";
//opts += ",top="+(ah-720)/2+",left="+(aw-1000)/2;
opts += ",top=0,left=0";
var ow = window.open(url,"ow",opts);
ow.focus();
}
var win = null;
function newWindow(mypage,myname,w,h,features) {
var winl = (screen.width-w)/2;
var wint = (screen.height-h)/2;
if (winl < 0) winl = 0;
if (wint < 0) wint = 0;
var settings = 'height=' + h + ',';
settings += 'width=' + w + ',';
settings += 'top=' + wint + ',';
settings += 'left=' + winl + ',';
settings += features;
win = window.open(mypage,myname,settings);
win.window.focus();
}
function MM_swapImgRestore() { //v3.0
var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}
function MM_preloadImages() { //v3.0
var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}
function MM_findObj(n, d) { //v4.01
var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
if(!x && d.getElementById) x=d.getElementById(n); return x;
}
function MM_swapImage() { //v3.0
var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
//-->
</script>
View Replies !
View Related
Browser Scroll Bar And Back Button In Full Screen Flash Site
How can I use the scroll bar and back button on a full screen flash site?
thinkswedish.com is a good example
I want to have the browser scroll bar if the swf content is bigger then the screen
and I want to learn how to implement back and forward buttons
Where can I find out more about those two thing? I need to implement that functionality in a project that I' working on right now
View Replies !
View Related
Click A Button And Play The Target Movie In Full Screen Mode(help Required)
hi.....i'm doing a presentation, in which there r 4 buttonz and a target movice clip....the first three buttonz r associated to different movies....pressing on each button loadz the associated movie load in to the target movie clip.......and i want some help with the 4th button.
clicking on the 4th button the movie which is playing in the target movie clip at that moment(it could be any movie....mov1....mov2...or mov3) should play in the full screen mode..so plz help me scripting the fourth button....and remember its a presentation(projector .exe format.)
thanks
urs sincerely
shekar.
View Replies !
View Related
|