-
come on! - you guys know this!
Been working on this for some time
My goal is to have NO boarders at all.
here's the site:
http://www.geocities.com/dkjvsite
Here's the AS:
on (release) {
getURL ("javascript:window.open('http://www.geocities.com/dkjvsite/dkjvsite.swf','welcome','width=1024,height=768,top =0,left=0,toolbar=no,scrollbars=no,resizable=no,me nubar=no,status=no,directories=no,location=no'); void(0);");
}
My goal is to have NO boarders at all.
I dont use 'publish' with my Flash 5.
I just test movie then embed the .swf on a page using Dreamweaver.
I'm gonna figure this out TODAY!
right after a morning nap...
thanks.
[Edited by gogon on 06-16-2001 at 09:08 AM]
-
where is everyone?
-
aleart
nope ... what i mean is when the user enter the site ... the swf movie automatically viewed full screen ... no border at all ... the example you can see here >> http://www.aleart.net ... your concern are very much appreciated. thx
mas
-
why do you think my fullscreen is to the left?
why do you think my fullscreen is to the left?
i want the same fullscreen effect as you!
-
Re: come on! - you guys know this!
This isn't really a ActionScript question more like Javascript.
-
Hi...put this on your button...
Code:
on (release) {
getURL ("javascript:window.open('http://www.yourDomain.com/yourPage.html','newWin','fullscreen=1');void(0);");
}
...and always give your visitor a way out of fullscreen...put this on an 'exit' button...
Code:
on (release) {
getURL ("javascript:window.close();void(0);");
}
Hope this helps...
-pigghost-
-
hey! it worked!
thanks...but when i tried to get rid of the scrollbars my movie
ended up being a small popup in the middle of the screen so i went back to the scrollbars
but how do i get rid of them
check my link below if u want
by the way u got the ultimate signature thingy and i have seen them all
-
part deux
i have part deux printed out beside me from A WEEK AGO!
been reading it at work
cant believe how F5 eats up my time but i love it
ADDICTED
[Edited by gogon on 06-16-2001 at 07:33 PM]
-
some times when i click on on of those "click window" links you (rarely) encounter on the internet i.e. tells me that the window wants to close and asks my permission, yet other times (like when you d/l something from flashkit) the closewindow button just works right and now prompt is shown..
y is that ?
-
happening to me latelt
i dont know why but since ive been working on the fullscreen prob it has happened
i used to have vb6 on my computer - deleted it - now i get asked if i want to debug all the time.
where is the land of the pure anyway?
-
Didn't know if it mattered to you (as Netscape seems to be dying these days) but I ran into a similar thing and when you just use the fullscreen code, netscape pops up your site in a normal window..."fullscreen" is javascript that only i.e. recognizes...
Just an FYI...
Also... The window prompting you "are you sure you want to close this window" or whatever. That comes from a security thing where the initial window loaded can't be closed by another button. Only subsequent popup windows can be closed without a prompt...
-
Add this code to an html file
<head><title>Slideshow Launcher</title>
<SCRIPT LANGUAGE="JavaScript">
<!-- Begin
var windowW=800 // wide
var windowH=600 // high
var windowX = 0 // from left
var windowY = 0 // from top
var urlPop = "swf file goes here"
var title = "Title goes here"
// set this to true if the popup should close
// upon leaving the launching page; else, false
var autoclose = false
// do not edit below this line
s = "width="+windowW+",height="+windowH;
var beIE = document.all?true:false
function openFrameless(x,y,w,h) {
var windowW=w;
var windowH=h;
var windowX=x;
var windowY=y;
if (beIE) {
NFW = window.open("","popFrameless","fullscreen,"+s);
NFW.blur();
window.focus();
NFW.resizeTo(windowW,windowH);
NFW.moveTo(windowX,windowY);
var frameString=""+
"<html name=screen>"+
"<head>"+
"<title>"+title+"</title>"+
"</head>"+
"<frameset rows='*,0' framespacing=0 border=0 frameborder=0>"+
"<frame name='top' src='"+urlPop+"' scrolling=no marginwidth=0 marginheight=0>"+
"<frame name='bottom' src='about:blank' scrolling='no'>"+
"</frameset>"+
"</html>";
NFW.document.open();
NFW.document.write(frameString);
NFW.document.close();
}
else {
NFW = window.open(urlPop,"popFrameless","scrollbars,"+s) ;
NFW.blur();
window.focus();
NFW.resizeTo(windowW,windowH);
NFW.moveTo(windowX,windowY);
}
NFW.focus();
if (autoclose) {
window.onunload = function(){NFW.close();}
}
}
// End -->
</script>
<SCRIPT LANGUAGE="JavaScript">function fullScreen(theURL, theNAME) { window.open(theURL, theNAME, 'fullscreen=yes, scrollbars=auto'); }</script></HEAD>
<BODY onload="openFrameless(window.screen.Width/2-400,window.screen.Height/2-300,800,600);window.close()" vlink="#0000ff">
on your flash button link to that file and make the target _new
to close the page in flash use a "javascript://window.top.close()"
you may wan't to view the source at codebreaker.com in their javascript section
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|