Dealing W/ Chromeless Window
ok...this is not a cry for help...lol
I understand the whole chromeless thing...
but i didn't get why there was this margin in the html file. It leaves this gap from the left and the top of the html page from the flash movie.
I couldn't figure out why....thought it was some javascript thing...
but it was just a simple HTML thing...
<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
....
</body>
Just incase someone was pondering the same thing.
ActionScript.org Forums > Flash General Questions > Other Flash General Questions
Posted on: 01-06-2003, 04:30 AM
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
Chromeless WIndow
Hi, i have looked at the flashkit tutorials, but still i can not find out how to make a chromeless window. Can somebody please tell me? And what are your thoughts on the chromeless window? good/bad? THANKS!
Chromeless Window
I'm having trouble opening up a chromeless window, could somebody have a look at this code and tell me where is is going wrong;
cheers
lee
on (release) {
getURL ("javascript onunloadopen:ChromeslessWindow('Dev1.swf','GuidedT our',550,300,null,null,'Guided Tour', '#000000', '#000000', '#ffb210', '#808040' ,true,");
}
Chromeless Window
hey guys please, how do i make a chromeless popup window in FlashMX. i need to make one for tomorrow, thank you
Chromeless Window
Hi all,
How can I make a chromeless window?
I did the following.I made a file and called it index.In the first frame I added code to load in the splashpage in at one.So on frame 2 I have my splash with the enter button.
The enter button holds this code:
on (release) {
_root.loadMovie("div.swf");
}
So where do I place code to make div.swf a chromeless one.
Witch code I use to get this done.
Big thx in advance,grtz
Chromeless Window
Hi all,
How can I make a chromeless window?
I did the following.I made a file and called it index.In the first frame I added code to load in the splashpage in at once.So on frame 2 I have my splash with the enter button.
The enter button holds this code:
on (release) {
_root.loadMovie("div.swf");
}
So where do I place code to make div.swf a chromeless one.
Witch code I use to get this done.
Big thx in advance,grtz
The Chromeless Window...
I have just created a simple webpage with one swf file in it. The webpage is called main.html, and the swf file has 15 buttons in it. When you click one, it loads a chromeless window, as shown at kirupa's site here. Each button refers to a seperate page, 1-15.html.
The problem is the script that gives the title name for the borderless window is in main.html, and each button gives the same title name.
Is there any way to make each window have a different title name? If so, will it take lots of coding, coz i ain't too good at that and ain't got much time!
Thanks for any help.
ATOCP
Chromeless Window - Off Of CD
I'm creating a promotional CD and my presentation is 600 x 600. I would like it to be chromeless when it opens off of the CD. Any suggestions out there? Thanks so much for your help.
Chromeless Window Help
hello all, i need some help immediately and im sure this is a simple inquery but i cannot seem to make it happen...
I have made a flash campus map, my intentions are to have a html splash page prompting the user to download flashplayer if they dont already have it, and then there will be a link to open the mapping swf page. i want this map to open in a complete chromeless browser window (no buttons, address bar, etc.)
the link below is an example of want i want to accomplish....
www.tokyoplastic.com
thanks in advance for your help, and sorry for being a noob.
WheatleyWeb
Chromeless Window
how can i open immediately my flash movie in a chromeless window upon load without clicking a button? so that if someone types www.mysite.com my page will automatically display in a chromeless window.
Chromeless Window
Hello: Kirupa Chinnathambi
I am writing regarding the chromeless window, you can find this in
your website by doing a search for "window" select the chromeless pop-up window instruction. However, after I generate the chromless
pop-window I have my html embeded in the window and it has a button that I would like for the same effect to occur again but when I select
the view source code for the chromeless window it do not perserve the
chromeless sorce code I paste in it. So I need a procedure to generate another chromeless window from the chromeless window I have already generated.
Sincerely,
Kevin Smith
Chromeless Window
Is there a way to make the content of the actual borderless window a flash movie AND how do i get to it in order to edit it? Thanks in advance for any help you can offer.
PLEASE HELP Chromeless Window
i did the tutorial and now ive made my own but how can i make more then one? i am doing a flash site and i want certain parts to be pop ups only....and i tried adding the same code after the first one but it didnt work, can anyone help please? if you dont understand my question i can say it another way...
Code:
<script type="text/javascript" src="ByKlein_chromeless2.0.js"></script>
<script type="text/javascript" >
function createChromeless()
{
/////////////////////////////////////////////
//This are the attributes you can customize//
/////////////////////////////////////////////
var B = "http://tourniquet21.tripod.com/the****.htm"; // URL
var Y = "Example by Kirupa"; // title
var K = "c_title.gif"; // titlebarImage
var L = 23; // titlebarHeight
var E = "Arial"; // titleFont
var I = 10; // titleSize
var N = "#000000"; // titleColor
var C = true; // scrollbars
var h = 500; // width (w)
var r = 400; // height (h)
var o = true; // centered
var m = 0; // xPos
var e = 0; // yPos
var l = "#000000"; // borderColor
var e_= 5; // borderSize
var s = "minimize.gif"; // minimizeBottom
var s_= "close.gif"; // closeBottom
myChromeless = new ChromelessWindow(B,Y,K,L,E,I,N,C,h,r,o,m,e,l,e_,s,s_);
}
createChromeless()
</script>
Chromeless Window
hmm, i've tried over and over again. every time i do what kirupa says, and then go to publish it to .swf and .html format, it put up a an error:
**Error** Scene=Scene 1, layer=Layer 1, frame=1:Line 1: Statement must appear within on handler
chromeless.onPress = function()
Total ActionScript Errors: 1 Reported Errors: 1
being a highschool flash noob, i have no clue what i did wrong, and what i need to do to fix it.. any suggestions?
.aLDO
Chromeless Pop-Up Window ... HELP Plz...
Hi everyone, I am a newbie. And I have been trying to figure out the chromeless Pop-Up window tutorial located on this link : http://www.kirupa.com/developer/mx2004/chromeless.htm
I am not sure what I did wrong, I am guessing I copy and paste the first script wrong in the action panel in flash.
Am I suppose to be pasting the script in expert mode?
if this is not the problem i am guessing I did something wrong on the next script.
In the instruction you mentioned </head> tags, well I found two </head> tags in the html and I added the script after both </head> tags.
Am I suppose to add it on only the last </head> tags? or both?
And also, should this part of the script
/////////////////////////////////////////////
//This are the attributes you can customize//
/////////////////////////////////////////////
be paste in the html?
Anyone who can land me a hand on this would be the greatest person on earth.
THX!!!!!
Chromeless Window..?
Well i was wondering if it is possible to do the chromeless window thing with mozilla or an alternative that i could make using flash.
If anyone has any ideas please post here
Chromeless Window
Hello: Kirupa Chinnathambi
I am writing regarding the chromeless window, you can find this in
your website by doing a search for "window" select the chromeless pop-up window instruction. However, after I generate the chromless
pop-window I have my html embeded in the window and it has a button that I would like for the same effect to occur again but when I select
the view source code for the chromeless window it do not perserve the
chromeless sorce code I paste in it. So I need a procedure to generate another chromeless window from the chromeless window I have already generated.
Sincerely,
Kevin Smith
Chromeless Window
Is there a way to make the content of the actual borderless window a flash movie AND how do i get to it in order to edit it? Thanks in advance for any help you can offer.
PLEASE HELP Chromeless Window
i did the tutorial and now ive made my own but how can i make more then one? i am doing a flash site and i want certain parts to be pop ups only....and i tried adding the same code after the first one but it didnt work, can anyone help please? if you dont understand my question i can say it another way...
Code:
<script type="text/javascript" src="ByKlein_chromeless2.0.js"></script>
<script type="text/javascript" >
function createChromeless()
{
/////////////////////////////////////////////
//This are the attributes you can customize//
/////////////////////////////////////////////
var B = "http://tourniquet21.tripod.com/the****.htm"; // URL
var Y = "Example by Kirupa"; // title
var K = "c_title.gif"; // titlebarImage
var L = 23; // titlebarHeight
var E = "Arial"; // titleFont
var I = 10; // titleSize
var N = "#000000"; // titleColor
var C = true; // scrollbars
var h = 500; // width (w)
var r = 400; // height (h)
var o = true; // centered
var m = 0; // xPos
var e = 0; // yPos
var l = "#000000"; // borderColor
var e_= 5; // borderSize
var s = "minimize.gif"; // minimizeBottom
var s_= "close.gif"; // closeBottom
myChromeless = new ChromelessWindow(B,Y,K,L,E,I,N,C,h,r,o,m,e,l,e_,s,s_);
}
createChromeless()
</script>
Chromeless Window
hmm, i've tried over and over again. every time i do what kirupa says, and then go to publish it to .swf and .html format, it put up a an error:
**Error** Scene=Scene 1, layer=Layer 1, frame=1:Line 1: Statement must appear within on handler
chromeless.onPress = function()
Total ActionScript Errors: 1 Reported Errors: 1
being a highschool flash noob, i have no clue what i did wrong, and what i need to do to fix it.. any suggestions?
.aLDO
Chromeless Window Nightmares...
ARGH!!!!!!!!
I'm probably retarded... But i can't seem to understand this tutorial... Javascript all seems like Goooly goo goo language to me..
Can someone try and explain this tutorial http://www.actionscripts.org/tutoria...ow/index.shtml
to me in grade two english?
Please???
Much appreciated..
The check is in the mail..
The Old Chromeless Window Trick. . .
I have searched and could not find the code for opening your html page "chromeless" (no navigation or anything) cane anyone help point me in the right direction ??
thanks a bunch!
Darin
Pop Up Chromeless Window From Flash
I have been playing with this java script in flash for a while and I have not figured it out as yet. How do I open a chromeless window from flash.
Thanks...........
NEW Chromeless Window Problem
My problem is that i did every thing on this tutorial http://www.kirupa.com/developer/flash5/borderless.asp
but when i click on my button i get a internet explorer with the cod i past in flash. It says:
javascript:openIT'page.html',450,250,null,null,'my winname01');
in the address bar.
The thing is im runing the my buton from a SWF file but it sould work any way as long as i have my HTML and the chromeless.js in the sam folder right ?
im really geting desperat.. need help from some one profesional.. and if you whant to help me can you mak a easy button that makes the chromeless window work and send me the folder (the HTML, chromeless.js and the fla file ??)
plezzzzzzzzzzzzzzzzzzzz
Chromeless Window Question
Do you know how to get the top part of the chromeless window off? I think it is: var tsz =0;
but I don't know where to put to at!
Closing A Chromeless Window
Does anyone know how you can close a chromeless window from inside flash.
I have a button inside flash that is embedded in an html page that loads into a chromeless window.
Ive tried dropping some java script into the html page, and then tried calling this from a button within flash...but this doesnt seem to be working...
Is this possible?
Cheers...
p.s im using levels within flash, does this effect it??
Chromeless Window Question
Hello all,
I've created a cdrom in flash and will be exporting it as an .exe, I’ve disabled the toolbar/menu unfortunately this leaves a border of whatever the bkg colour of the movie is at the top & bottom (don't know if I can get rid of it), but what I’m after is to remove the window border (chromeless window effect). I've seen this being done on cd cover disks i.e. Computer Arts magazine.
Can this be done in flash or do I need a 3rd party prog? Hopefully someone can point me in the right direction.
Many thanks
Toony
Opening In Chromeless Window
Hi!
I know how to get a link to open in a new window but how do I get the new window to be chromless (with no buttons or menus at the top) please?
Thank you in advance!
Chromeless Window Tutorial?
Does anyone know a good resource for a chromeless window tutorial.
I want to launch a web page containing an 'swf' file that opens in a chromeless window.
I have tried pasting the jscript into my 'home.html' page and targeting my 'into.html' page containing the 'swf' but nothing happens, do I need to place a 'js' folder in my domain folder on the server for the code to access and then complete the chromeless window??
hope you can help,
thanks
Problem With Chromeless Window
So, I have a fla file 700/350. I want the swf to opens in a chromeless window. I gave the same values for the chromeless window(700/350), but it is biggest, I have space(10-15pxs) around my swf.
How to center it? I don`t want to be resizable, no scrollbars and NO space
Chromeless Window Problems
The 1973 Fisher Price Activity Center dilema
I've tried BOTH tutorials for chromeless windows on actionscript.org but am encountering endless problems.
Please go to www.liamdevereux.co.uk, type 'fisher' in the box in the bottom right corner and press Enter.
It doesn't load!
I'm using Jesse Stratford's code from his tutorial, so can anyone tell me why it's not working?
To see the page in full screen, go to www.emr.org.uk/fisherprice.htm
I would really appreciate any ideas!!!
Chromeless Borderless Window
Has anyone else had an issue with popup windows not holding their specified size? On certian machines the window will automatically maximize even though it is set to be 150 X 350. Any ideas? Thanks
Working Of Chromeless Window
as per the example and tutorial I learned to open the chromeless window. Does that works with all browsers or just the IE. I wanted to know if that works with all browsers. Like Netscape and Mozilla...
Thank you very much
Chromeless Window Alternative
Pulling my hair for this....
I've tried the chromeless script from chromeless.org but it doesn't work in windows XP SP1 and SP2. I need a pop up full screen window as I've designed the whole site with the full screen in mind and if I can't get a pop up, I got to redo everything!! I redid it twice and I'm not going to try the third!! OMG!! Anyone has alternative solutions for this? Or anyone has another version of the chromeless script that works with SP1 and SP2? If you have a solution for this.. if I can jump out of the screen to give you a kiss and hug, I WILL!!!!! Millions of thanks in advance!
Chromeless Borderless Window...
hi there!
i' have been trying to get create borderless windows for popups using the code available at http://www.kirupa.com/developer/flash5/borderless.htm. I followed the instructions, but when i tried testing my movie in flash, the following code error pops up:
Scene=Scene 2, Layer=Layer 8, Frame=1: Line 1: ')' or ',' expected
getURL(javascript:openIT('page.html',450,250,null, null,'mywinname01'););
Does anybody know what is missing or where i have gone wrong.
(Im using flash mx by the way).
Thanks for any help!
Chromeless Window Flash Mx
how do i do in flash mx to make a link open in a new chromeless window, with no addressfield menues and such...?
Chromeless Window Update
Hi guys, i have a chromeless window on my site, it works fine, but people with internet explorer 6 and below are having problems running it, if say i wanted to update my chromeless window, would i just need to download an updated chromeless file?
Working Of Chromeless Window
as per the example and tutorial I learned to open the chromeless window. Does that works with all browsers or just the IE. I wanted to know if that works with all browsers. Like Netscape and Mozilla...
Thank you very much
Problem In Chromeless Window
Hi gulls & guys,
I 'm facing a problem when I try to open a chromeless window in flash i.e.
http://www.kirupa.com/developer/flash5/borderless.asp
I'm unable to position the window on the screen as 0 x 0 (on top left corner) ,
so if any body knows how to do it , tell me
thnx,
bye,
maani
Chromeless Window Alternative
Pulling my hair for this....
I've tried the chromeless script from chromeless.org but it doesn't work in windows XP SP1 and SP2. I need a pop up full screen window as I've designed the whole site with the full screen in mind and if I can't get a pop up, I got to redo everything!! I redid it twice and I'm not going to try the third!! OMG!! Anyone has alternative solutions for this? Or anyone has another version of the chromeless script that works with SP1 and SP2? If you have a solution for this.. if I can jump out of the screen to give you a kiss and hug, I WILL!!!!! Millions of thanks in advance!
Chromeless Borderless Window...
hi there!
i' have been trying to get create borderless windows for popups using the code available at http://www.kirupa.com/developer/flash5/borderless.htm. I followed the instructions, but when i tried testing my movie in flash, the following code error pops up:
Scene=Scene 2, Layer=Layer 8, Frame=1: Line 1: ')' or ',' expected
getURL(javascript:openIT('page.html',450,250,null, null,'mywinname01'););
Does anybody know what is missing or where i have gone wrong.
(Im using flash mx by the way).
Thanks for any help!
Yet Another Chromeless Window QUESTION...
Ok Im sorry for asking this but I cannot find a well "worded answer" within 900 tutorials. Ive gotten the chromeless window tutorial to work with my website that you can find on actionscript.org..however that script is just for one button... Now lets say I have 20 buttons, and after u click each one a new Chromeless window comes up.
How do I code each button? and do I have to repeat the javascript code "20" times within the Index.html file. Again Im sorry but i cant figure this out. Thanks in advance
Here is the code im using for the one button:
on (release) {
getURL ("javascriptpenIT()");
}
Here is code in my webpage published file (index.html):
<script language="javaScript" type="text/javascript" SRC="java.js"></SCRIPT>
<script>
function openIT() {
theURL="yourpage.html"
wname ="CHROMELESSWIN"
W=300;
H=100;
windowCERRARa = "close_a.gif"
windowCERRARd = "close_d.gif"
windowCERRARo = "close_o.gif"
windowNONEgrf = "none.gif"
windowCLOCK = "clock.gif"
windowREALtit = " ? Task title"
windowTIT = "<font face=verdana size=1> your chromless</font>"
windowBORDERCOLOR = "#000000"
windowBORDERCOLORsel = "#000000"
windowTITBGCOLOR = "#FF0033"
windowTITBGCOLORsel = "#FF0033"
openchromeless(theURL, wname, W, H, windowCERRARa, windowCERRARd, windowCERRARo, windowNONEgrf, windowCLOCK, windowTIT, windowREALtit , windowBORDERCOLOR, windowBORDERCOLORsel, windowTITBGCOLOR, windowTITBGCOLORsel)
}
</script>
Yet Another Chromeless Window QUESTION...
smile
Yet Another Chromeless Window QUESTION...
Ok Im sorry for asking this but I cannot find a well "worded answer" within 900 tutorials that I understand. Ive gotten the chromeless window tutorial to work with my website that you can find on actionscript.org..however that script is just for one button... Now lets say I have 20 buttons, and after u click each one a new Chromeless window comes up.
How do I code each button? and do I have to repeat the javascript code "20" times within the main Index.html file. Again Im sorry but i cant figure this out. Thanks in advance
Here is the code im using for the one button:
on (release) {
getURL ("javascriptpenIT()");
}
Here is code in my webpage published file (index.html):
<script language="javaScript" type="text/javascript" SRC="java.js"></SCRIPT>
<script>
function openIT() {
theURL="yourpage.html"
wname ="CHROMELESSWIN"
W=300;
H=100;
windowCERRARa = "close_a.gif"
windowCERRARd = "close_d.gif"
windowCERRARo = "close_o.gif"
windowNONEgrf = "none.gif"
windowCLOCK = "clock.gif"
windowREALtit = " ? Task title"
windowTIT = "<font face=verdana size=1> your chromless</font>"
windowBORDERCOLOR = "#000000"
windowBORDERCOLORsel = "#000000"
windowTITBGCOLOR = "#FF0033"
windowTITBGCOLORsel = "#FF0033"
openchromeless(theURL, wname, W, H, windowCERRARa, windowCERRARd, windowCERRARo, windowNONEgrf, windowCLOCK, windowTIT, windowREALtit , windowBORDERCOLOR, windowBORDERCOLORsel, windowTITBGCOLOR, windowTITBGCOLORsel)
}
</script>
Opening A Chromeless Window From Flash?
Hello
I have got the javascript to open up a Chromeless window via HTML , but I want to open on up from a button in flash. But I have no idea how to write the java in the flash actionscript editor??? The Code is below.
<***CODE***>
<a href="javascript://" onClick="mywinname01=openIT('flash.html', 800, 400, null, null, 'mywinname01');">
<***CODE***>
Thank you
Chromeless Window & Flash W/ Javascript On Top
OK I have a chromeless window that contains a Flash Movie in it. In this flash Movie I have a button that opens a customized window using javascript IN FLASH using ActionScript.
The New Window Has a button that plays an .avi video. When the video plays it laggs the flash movie and the video. I want to either pause the flash movie or close the chromeless window? What should I do? How easy is it to pause the Flash Movie? How Do I target the chromeless window from the newly opened Video window?
Im posting this in Scripting&Backend and Flash 5 because it's sort of both!
Preload, AttachSound, Chromeless Window
I know i'm close to making this baby work...
THE GOAL: to have a small flash chromeless window that plays music you can turn on or off pop up on my homepage.
WHAT I HAVE:
music with a simple graphic, play & stop buttons in a separate .swf file. (musicfinal.swf)
i tested this so i know my music plays.
this is the script i used to get my music playing:
onClipEvent (load) {
music = new Sound(this);
music.attachSound( "music" ); //this attaches the sound from the library
music.setVolume(0); //this starts the volume a t zero for the initial fade in
music.start(0, 99999999999999); // this starts the music and loops it.
nVgoal = 100;
nVnew = 0;
musicon = true;
}
onClipEvent (enterFrame) {
nVdiff = nVgoal-(music.getVolume());
nVmov += nVdiff*0.2;
nVmov *= 0.2;
nVnew += nVmov;
music.setVolume(nVnew);
}
I want the above (musicfinal.swf) to start loading in frame one of my main movie. so...
In my main movie I created a new movieclip for my preloader.
The preload is simply the word loading fading in and out.
I placed this on the first frame of my main movie and added this script.
onClipEvent(load){
loadMovieNum("musicfinal.swf",1)
}
onClipEvent(enterFrame){
percentloaded=Math.floor(_level1.getBytesLoaded()/_level1.getBytesTotal()*100)
if(percentloaded == 100 && !initialized){
_level1.mysound()
initialized=true
_visible=false
}
}
When i test the movie no errors come up but...
1. i don't see my preload, although the graphic that is part of the sound movie immediately appears.
2. the music doesn't play.
3. the graphic that is part of my sound movie appears in the top left corner of my main movie.
how can i be more specific about where the sound movie graphic appears in my main movie?
note 1: i have no problem getting rid of the graphic and buttons in my sound movie if i can put them in my main movie and have the buttons control my sound movie.
note 2: my main movie is just a flash chromeless window. which is why i need my sound movie graphic to be placed in it accurately.
question? would it be better to create my music and preload inside of my chromeless window instead of as a separate swf.file?
you know what if i can fix what i have now i'd rather do that.
whew! i'm getting overwhelmed.
thanks for any help.
kai
p.s. by the way for a cool flash chromeless window check out
http://www.microbians.com/
they have a download and everything!
HELP Chromeless Window + Flash Button = :-(
I can't get this button to launch the chromeless window and i have a feeling it's because it's Javascript, and not a regular url... is there another alternative for:
on (press, release) {
getURL("javascript:openIT();");
}
it's supposed to launch a chromeless window, but when i tried to enter *javascript:openIT();* as the url, it wouldn't launch the window as if it were a normal html link... How frustrating, someone help PLEASE!?!?!?!?!
(begging)
-LogiKZeRO
Chromeless Window Flash Commponent ?
chromeless window Flash commponent ? please............................................ .................................................. .................................................. ...................../?/
fla source !
|