Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
  Advanced Search
  HOME    TRACKER    Flash




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!



FlashKit > Flash Help > Flash ActionScript
Posted on: 04-24-2002, 11:53 PM


View Complete Forum Thread with Replies

See Related Forum Messages: Follow the Links Below to View Complete Thread

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...........

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...?

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

Opening A Chromeless Window Through Flash
On my HTML page, I can open up my chromeless window just fine, but does anyone know if it is just as easy to open from a Flash file?

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 !

Flash & Chromeless Window Problem
Hi my site is flash, and I want to have a chromeless window meaning the visitor has an option to view my site in normal view, or full view, chromeless. I'm working on it but my problem is when I press the full view, the chromelss opens, but my site doesn't show UP, I know it has to do with the scrip, anyone have a clue thanks.

Opening A New Chromeless Window Within A Flash Website?
I have question for the advance flash and javascript users, I use chromeless windows. And well i want to make a chromeless window separately, that makes a new window when u click the button in my flash website, i will give you the look of the actions and the script:

the javascript code:

<script language="javaScript" type="text/javascript" SRC="http://home.wanadoo.nl/carladehaan/wesbite/js/pz_chromeless_2.1.js"></SCRIPT>

<script>
function openIT() {
theURL="yoursite.com"
wname ="CHROMELESSWIN"
W=800;
H=600;
windowCERRARa = "img/close_a.gif"
windowCERRARd = "img/close_d.gif"
windowCERRARo = "img/close_o.gif"
windowNONEgrf = "img/none.gif"
windowCLOCK = "img/clock.gif"
windowREALtit = "site name"
windowTIT = "<font face=verdana size=1>sitename</font>"
windowBORDERCOLOR = "#FFFFFF"
windowBORDERCOLORsel = "#FFFFFF"
windowTITBGCOLOR = "#FFFFFF"
windowTITBGCOLORsel = "#FFFFFF"
openchromeless(theURL, wname, W, H, windowCERRARa, windowCERRARd, windowCERRARo, windowNONEgrf, windowCLOCK, windowTIT, windowREALtit , windowBORDERCOLOR, windowBORDERCOLORsel, windowTITBGCOLOR, windowTITBGCOLORsel)
}
//code by WesBite Websites
</script>

to open the chromeless window:
<a href="javascriptpenIT();">Flash Version

The FLash actions to open a new window with your flash buttons:

on (release) {
getURL ("javascript:window.open('http://www.globalnetwork.f2s.com/login.htm','Login','width=400,height=400,top=0,mid dle=0'); void(0);");
}

And i want does codes together , so that i can open a new window what is chromeless, with a flash button, can you help me with that , thanks already

WesBite
http://www.wesbite.net
<a href="http://www.wesbite.net">http://home.wanadoo.nl/carladehaan/wesbite/flash/wb_titel.swf<

__________________
Wild Wild Wes ! ! !

Jump To A Certain Spot In My Chromeless Window From Flash?
OK...

here's the deal. I jump to a chromeless window from my flash movie. That's all working fine and dandy. Now I need to jump to a certain spot on the html page from the different buttons from my movie.

I need to jump from my flash movie to my chromeless html page to a certain spot on the page depending what button you click on. I'm just not sure how to pass that.

It's no sweat in html. I'm just not sure how to tell it to acces my chromeless files and jump to the specified area without screwing up my code. Any ideas?

Flash Tutorial On Opening A Chromeless Window.
hi there
i am attempting to use the information in the flash tutorial on chromeless windows and apply this to my own site.

http://www.kirupa.com/developer/flash5/borderless.asp

however, it will just not work for me. I am trying to launch the flash file out of an HTML page. How do i adapt this code to do this instead of launching it from a flash page?

thanks a lot
vicktoria

Open Chromeless Window From Flash Movie
I have a flash movie that runs and when it is finished it opens a browser window. What I want is for that browser window to open as a chromeless window. I have the below script that creates a chromeless window, but where do I put it. Please note that the flash movie plays as a movie and does not open in a browser. Please help.


PHP Code:





<script language="javaScript" type="text/javascript" SRC="js/pz_chromeless_2.1.js"></SCRIPT>

<script>
function openIT() {
    theURL="test.html"
    wname ="CHROMELESSWIN"
    W=400;
    H=200;
    windowCERRARa         = "img/close_a.gif"
    windowCERRARd         = "img/close_d.gif"
    windowCERRARo         = "img/close_o.gif"
    windowNONEgrf         = "img/none.gif"
    windowCLOCK        = "img/clock.gif"
    windowREALtit        = "  Task title"
    windowTIT             = "<font face=verdana size=1>  Window title</font>"
    windowBORDERCOLOR       = "#000000"
    windowBORDERCOLORsel    = "#999999"
    windowTITBGCOLOR        = "#999999"
    windowTITBGCOLORsel     = "#333333"
    openchromeless(theURL, wname, W, H, windowCERRARa, windowCERRARd, windowCERRARo, windowNONEgrf, windowCLOCK, windowTIT, windowREALtit , windowBORDERCOLOR, windowBORDERCOLORsel, windowTITBGCOLOR, windowTITBGCOLORsel)
}
</script> 






Thanks
Tim

Flash Code For Chromeless Window Working In Expl, But Not Firefox
I have the flash code below on a button which links to a chromeless window (like a pop up). The parameters work in IE and Netscape, but does not work in FireFox. I have a website undercontruction at www.venerationmusic.com and you can see it as an example.

on (release) {
getURL("javascriptpenNewWindow('veneration.htm', 'thewin1','height=800 width=900,toolbar=no,scrollbars=no')");
}

I have no idea why it wont work as Firefox should be based on Netscape.
Please help

tony

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

Launch A Chromeless Window From A Swf?
Can you launch a chromeless window from a swf?

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, Ive 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 Im 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!

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.

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 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

Copyright 2005-08 www.BigResource.com, All rights reserved