Centred Pop-up Window Not Wqorking In IE
Hi, i used kirupa's centred pop-up window tutorial, and it works fine in Firefox, but not IE.Can someone please tell me what's wrong?Thanks in advance.
KirupaForum > Flash > Flash 8 (and earlier) > Flash MX
Posted on: 10-17-2005, 05:51 AM
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
Pop-up Window With Centred Swf?
Hi.
I have a popup window 550x260 which opens up along with my website. What happens is when an swf (also 550x260) is played in the window it gets forced to the lower right corner with a bit disappearing below the window. The top and left sides then show some of the white background. All I require is for the swf to align directly in the middle of the window with no background showing.
Here's the code in the Flash website that opens the pop-up-
Code:
getURL ("javascript:NewWindow=window.open('http://www.MYWEBSITEINHERE123.net/Report.html'
,'newWin','width=550,height=260,left=0,top=0,toolbar=No,location=No,scrollbars=No,
s tatus=No,resizable=No,fullscreen=No'); NewWindow.focus(); screen_height =
window.screen.availHeight; screen_width = window.screen.availWidth; left_point =
parseInt(screen_width/2)-(550/2);
top_point = parseInt(screen_height/2)-(260/2); setTimeout
('NewWindow.moveTo(left_point,top_point) ',100); void(0);");
-And that's all on one line btw.
And here's the Report.html-
Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Temporary window</title>
</head>
<body bgcolor="#ffffff">
<!--url's used in the movie-->
<!--text used in the movie-->
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" width="550" height="260" id="Report" align="middle">
<param name="allowScriptAccess" value="sameDomain" />
<param name="movie" value="Report.swf" />
<param name="quality" value="high" />
<param name="scale" value="noscale" />
<param name="bgcolor" value="#ffffff" />
<embed src="Report.swf" quality="high" scale="noscale" bgcolor="#ffffff" width="550" height="260" name="Report" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
</object>
</body>
</html>
Could somebody please take a look and tell me where it's going wrong.
Centred Pop Up Window
i feel really stupid here but despite reading all the tutorials i cannot get the window to launch when i upload it to my isp despite using http..... address?
can anyone please help?
thanx in advance.
Centred Pop Up Window
i feel really stupid here but despite reading all the tutorials i cannot get the window to launch when i upload it to my isp despite using http..... address?
can anyone please help?
thanx in advance.
Launching A Centred Pop Up Window
Hello Everyone.
I don't usually post any difficulties/problems that I encouter with Flash as I aways seem to work the issue out...eventually, however this occasion is different.
The tutorial on this wonderful site for "Launching a Centred Pop Up Window" is excellent. I have followed it to the letter to use this functionality on a site that is currently in development:
What I'm attempting to do is launch a centred "customizable" .swf
I have modified the script in the following way:
on (release) {
//customize the window that gets opened
// 0 equals NO.
// 1 equals YES.
address = http("D:\WEB_Projects\WedPopUpTestFile\CallupUR LTest.swf");
target_winName = "";
width = 400;
height = 300;
toolbar = 0;
location = 0;
directories = 0;
status = 0;
menubar = 0;
scrollbars = 1;
resizable = 0;
//sends data back to the function
openWinCentre(address, target_winName, width, height, toolbar, location, directories, status, menubar, scrollbars, resizable);
}
the Java script remains un-changed at:
_global.openWinCentre = function(url, winName, w, h, toolbar, location, directories, status, menubar, scrollbars, resizable) {
getURL("javascript:window.open('"+url+"','"+winNam e+"','"+"width="+w+",height="+h+",toolbar="+toolba r+",location="+location+",directories="+directorie s+",status="+status+",menubar="+menubar+",scrollba rs="+scrollbars+",resizable="+resizable+",top='+(( screen.height/2)-("+h/2+"))+',left='+((screen.width/2)-("+w/2+"))+'"+"');void(0);");
};
Unfortunately this is not producing the required result. I want to open a seperate .swf file [centred and customized] that will control audion on the site.
If someone could be so kind as to point me in the correct direction, i'd be very appreciative.
Many thanks
Handle
Problem With Centred Pop-up Window
Works fine in all the browsers I could try.
The only problem I found was when you have more than one window to open and you don't close the first one. The window doesn't refresh itself with the new data, stays with the old. You close it, try again and everything's fine.
Any way to change the javascript code to force the new page into the window already opened?
Thanks
Centered Pop Up Window Not Centred
I haven't even attempted the tutorial yet but when I click on the test the window pops up but it isn't centred. This is the case in both safari and firefox (on the mac).
Anyone experienced this as well. Is it a matter of settings? Any ideas?
Launching A Centred Pop Up Window
Hello Everyone.
I don't usually post any difficulties/problems that I encouter with Flash as I aways seem to work the issue out...eventually, however this occasion is different.
The tutorial on this wonderful site for "Launching a Centred Pop Up Window" is excellent. I have followed it to the letter to use this functionality on a site that is currently in development:
What I'm attempting to do is launch a centred "customizable" .swf
I have modified the script in the following way:
on (release) {
//customize the window that gets opened
// 0 equals NO.
// 1 equals YES.
address = http("D:\WEB_Projects\WedPopUpTestFile\CallupUR LTest.swf");
target_winName = "";
width = 400;
height = 300;
toolbar = 0;
location = 0;
directories = 0;
status = 0;
menubar = 0;
scrollbars = 1;
resizable = 0;
//sends data back to the function
openWinCentre(address, target_winName, width, height, toolbar, location, directories, status, menubar, scrollbars, resizable);
}
the Java script remains un-changed at:
_global.openWinCentre = function(url, winName, w, h, toolbar, location, directories, status, menubar, scrollbars, resizable) {
getURL("javascript:window.open('"+url+"','"+winNam e+"','"+"width="+w+",height="+h+",toolbar="+toolba r+",location="+location+",directories="+directorie s+",status="+status+",menubar="+menubar+",scrollba rs="+scrollbars+",resizable="+resizable+",top='+(( screen.height/2)-("+h/2+"))+',left='+((screen.width/2)-("+w/2+"))+'"+"');void(0);");
};
Unfortunately this is not producing the required result. I want to open a seperate .swf file [centred and customized] that will control audion on the site.
If someone could be so kind as to point me in the correct direction, i'd be very appreciative.
Many thanks
Handle
A Good Little Centred Pop Up Window Code
For anyone having trouble with pop up windows in HTML, here's a useful site I came across, I'm sure most of you have seen it but it's handy to bookmark
http://javascript.internet.com/gener...up-window.html
Creates centred popup windows from js and emails the code to you
James.
Launching A Centred Popup Window In Flash Cs3
I have followed the tutorial for doing this exact thing here:
http://www.kirupa.com/developer/mx/centered_popup.htm
Unfortunately this is for flash 8 and the whole way buttons work in flash has changed. How ould you go about replicating this in flash cs3?
Thanks
Centred Popups
here is my problem i have a series of buttons on my flash intro movie that when pressed link to myhtml pagesthat are made in dreamweaver. The action on my buttons is this
on (release) {
getURL ("javascript:window.open('"add url add"','"add winName add"','width="add winW add",height="add winH add",top='+((screen.height/2)-(" add winH/2 add "))+',left='+((screen.width/2)-(" add winW/2 add "))); void(0);");
}
i was given the script by somebody else and i understand what each action does Ie javascript:windowopen calls a new window
but does winname name my new window or does it look for a window of that name?????
and my big question is with the centre function if i want my 600x400 window to open centre screen how should i fill in the add bits???
help
Centred Popup
i'm having some trouble with the centred popup tute...
i follow the steps exactly..but when i save the file and then preview it...the only thing that loads is a window with the entire code from the "actions" layer inside the URL text field....
what do i do???
Centred Popup
I know ther have been many threads about this but none seem to work for me.
All I want is to be able to have a chromless centre popup window from a button in flash. Ive tried all sorts of approaches but they never seem to work. Mainly because i think they are too complex and something always get messed up.
help would be nice
Centred Popup Windows
hi all,
i have an index page with a slideout menu which calls pages which contain gallery swfs. what i want is for the swf to load into a popup window which will then close when the next section is chosen.
this is the page at the moment. http://www.craigcahillphotography.com.au
any help appreciated.
ozdude
Dynamic Centred Text
i have a dynmaic text box, and i wish to centre some of the text in there.
i have been using html tags, but the centre one doesnt appear to work, any idea?
heres my code:
Code:
onEnterFrame = function(){
if (_root.help_page == "striker_settings") {
_root.help.help_box.help_text.htmlText = true
_root.help.help_box.help_text.htmlText = "<CENTER><B><H2>Striker Settings Help</H2></B></CENTER>"
}
}
[F8] Published, Uploaded, Not Centred
Ok not too happy here. I've just spent the better part of a week starting to learn flash and I thought i was going along really well, making various stick figures die, among other things. Earlier today my mum asks me to make her a basic front page for her photography website (which is unfinished, so it really is BASIC) and I agreed, thinking "Yeah, i'll get some practice in before bed." It is now 2:30 am, and I think i'm about to throw my computer sideways and through the window to a long drop to solid concrete. I have been, for about, the past 3 hours, attempting to align this bloody flash to the centre of a web page, both horizontally and vertically. No luck using the publish settings on Flash CS3, and my very limited HTML knowledge proved useless. Not to mention i had a look at the Javascript and closed it immediatley(sp) thinking "What the hell?" So i have been trying to find a tutorial or something, but no such luck. I even called a friend with one of those "Idiots Guides" to no avail. Now I ask the community I have stumbled on tonight for help, because I am at wits end, and ready to take a hammer to the computer that has frustrated me so much.
I am sorry for the essay i wrote, but i started typing, and i thought that at least if you had a chuckle at my misfortune, it may be to my benefit, just in case you decide to help me.
In any case, the flash is currently hosted at http://www.adurophotography.com.au just in case anyone is interested in seeing it, or if it helps in any way to see the actual work.
I'm heading to bed now, because i think i will throw the computer through the window soon, but I am hoping someone might be able to help me out with this, because as I said, i am at wits end here.
Thanks, Marc
Multi? Centred Pop Up Question?
I have 3 buttons that each open a centered pop-up window. Now the problem is when one is open you can't open another. Why is this happening and how can I fix it and make it so you can view all 3 at the same time?
Foolio
Help Needed With Centred Pop Up Windows
Hi guys,
Thanks for the interest in my post...
I am opening centred pop up windows with Flash for a gallery so when you click on a thumbnail, it brings up the centred pop win.
Unfortunately, if the user opens a pop up window, they have to close it in order to open another one. What I want to happen is if the user has a pop up window already open and selects another thumbnail from the gallery, the pop up window is replaced by the new one, meaning the user won't have to close a pop win.
Is this do-able with the code I'm using?
Code:
_root.contentMain.openWinCentre = function (url, winName, w, h, toolbar, location, directories, status, menubar, scrollbars, resizable) {
getURL ("javascript:var myWin; if(!myWin || myWin.closed){myWin = window.open('" + url + "','" + winName + "','" + "width=" + w + ",height=" + h + ",toolbar=" + toolbar + ",location=" + location + ",directories=" + directories + ",status=" + status + ",menubar=" + menubar + ",scrollbars=" + scrollbars + ",resizable=" + resizable + ",top='+((screen.height/2)-(" + h/2 + "))+',left='+((screen.width/2)-(" + w/2 + "))+'" + "')}else{myWin.focus();};void(0);");
}
...and...
Code:
on (release) {
address = "gallery/large.php?image=041";
target_winName = "gallery";
width = 750;
height = 493;
toolbar = 0;
location = 0;
directories = 0;
status = 0;
menubar = 0;
scrollbars = 0;
resizable = 0;
//sends data back to the function
openWinCentre(address, target_winName, width, height, toolbar, location, directories, status, menubar, scrollbars, resizable);
}
Thank you very much and I hope to hear from you.
All the best,
Mark
Centred MC With Horizontal Scroller - Please Help
I'm very new to complex actionscripts. My problem is I can not make a movieclip with a horizontal scroller stay in the center of the window.
Imagine the movieclip in the center with a horizontal scroller. When I resize the window, the movieclip re-centers itself to allow for the 'content'.
A sample of the .swf file with a horizontal scroller is attached.
Thanks for all your help in advance.
Multi? Centred Pop Up Question?
I have 3 buttons that each open a centered pop-up window. Now the problem is when one is open you can't open another. Why is this happening and how can I fix it and make it so you can view all 3 at the same time?
Foolio
Full Centred Flash In As3.
there's already a thread regarding full centred flash but that is in as2.As i work in as3 i needed the new transformation to as3.After i searched the new sintax for as3 i came up with this.Hope it will help someone and they don't have to search like i did.
Code:
stage.scaleMode = "noScale";
stage.align = "TL"
stage.showDefaultContextMenu= false;
stage.addEventListener (Event.RESIZE , resized);
function resized (e:Event):void{
main_mc.x=Math.floor((stage.stageWidth - main_mc.width)/2);
main_mc.y=Math.floor((stage.stageHeight - main_mc.height)/2);
}
Re-size Fla. But Keeping Everything Centred?
I have a quick query, it probably easy but I cannot find a solution.
I have created my fla. file however I want to make this slightly wider. The problem is when altering the page size with properties it add's the extra sizing the the right, therefore not keeping any of the work centred. Is there any way to adjust the page sizing and getting flash to add the extra points to each side of the current fla. file?!
Thanks
Inteface Thatīs Over The Background Picture Is Always Centred
I want to have the same function that 2advanced have on the swf in the Browser window. Look at the link below and you can see that the interface thatīs over the background picture is always centred when you make the browser smaller. The background picture and the picture over the background picture is always in tune with each other. How did they do that?
http://www.2advanced.com/#portfolio/.../showall&id=80
Centred Pop Win To .php Page Not Displaying Properly
Hi guys,
Thanks for checking out my post...
In my Flash 8 movie I have a centred pop up window that launches when you press a button.
I want this pop up to open the url 'news/news.php?pagename=headlines' but everytime the pop window opens, it just displays news/news.php and doesn't display the php include or any graphics from news.php below the include.
When I visit 'news/news.php?pagename=headlines' in a normal browser window, it works absolutely fine so I can't understand why this is happening.
Does anyone have any suggestions by any chace?
Thank you very much and I hope to hear from you.
All the best,
Mark
Centred Pop Up From External Movie Clip
Been reading the tutorial on centred pop ups by Kirupa and I am wondering how to execute the javascript from an externally loaded movie?
I have a button on a clip that is loaded externally and I want this button to open a centred, non resizable pop-up window. Do I simply publish the external clip as both flash and as htm, place the javascript code on the htm file and then play the root movie clip as normal?
thanks in advance
Movie Clip Width 100% Centred
Morning everyone,
I'm having a problem with AS3...I want to have a movie clip that spans the width of the browser window which is centered so if the browser is scaled the content in the center remains the same size but the left and right expands.
In css it would be a little like adding margin:auto to a div tag.
Ideally it would be great to load in various external swf files for different sections that images txt etc are able to move in from the edge of the screen.
This sort of thing http://www.elmwood-design.com.au
Does anyone know of a tutorial or post that may shed some light on this. Still quite a green with AS3.
Cheers
Full-Screen Centred Flash
Hi everybody !!!!
I have seen that you can use a full background directly in flash that will allow you to keep you site always centered in the page with any screen resolution...
Can anybody help me or tell me how you do it ???
Normally I do it in html and put my flash in centered w & h 100% table...
Tks in advance !!!!!
Profile P.
Keeping A Flash File Vert Centred?
Hi _- i have this flash file that keeps a flash file sticking to the bottom of its window - but what I really need is for it (the red rectangle) to be sitting in the centre - vertically of its flash window, no matter what the size
does anybody know a way i could do this?
many thanks for your help - Ive attached a fla file
Centred Popup Does Not Work In Externally Loaded Swf
hello boys and girls....
Im about to crack out on this... I'm combining 2 tutorials, namely the "extrenally loaded swf's with transition" and the "centered pop up window"
What I want to do is this: there is a button in one of the externally loaded swf. When the user presses this button, a centred pop up window is launched. It works fine when I take a look on the swf itself, but when its externally loaded, it doesnt do crap! why is this, how can I solve this?
is it because the _root.openWinCentre = function in the swf that is externally loaded is wrong or something?
Any advice anyone? thknzzz kos010
Centred Popup Does Not Work In Externally Loaded Swf
hello boys and girls....
Im about to crack out on this... I'm combining 2 tutorials, namely the "extrenally loaded swf's with transition" and the "centered pop up window"
What I want to do is this: there is a button in one of the externally loaded swf. When the user presses this button, a centred pop up window is launched. It works fine when I take a look on the swf itself, but when its externally loaded, it doesnt do crap! why is this, how can I solve this?
is it because the _root.openWinCentre = function in the swf that is externally loaded is wrong or something?
Any advice anyone? thknzzz kos010
Loading A Centred HTML Page From Flash
Here's a good one for you!
I have used some code from a kirupa tutorial to load a centred html frame from flash.
This includes the foloowing action script in each button:
on (release) {
// customize the window that gets opened
// 0 equals NO.
// 1 equals YES.
address = "ogs2eu.htm";
target_winName = "order";
width = 520;
height = 450;
toolbar = 0;
location = 0;
directories = 0;
status = 0;
menubar = 0;
scrollbars = 0;
resizable = 0;
// sends data back to the function
openWinCentre(address, target_winName, width, height, toolbar, location, directories, status, menubar, scrollbars, resizable);
}
There is also some action script that is placed in a new frame on the same keyframe as the buttons:
Movieclip.prototype.openWinCentre = function (url, winName, w, h, toolbar, location, directories, status, menubar, scrollbars, resizable) {
getURL ("javascript:var myWin; if(!myWin || myWin.closed){myWin = window.open('" + url + "','" + winName + "','" + "width=" + w + ",height=" + h + ",toolbar=" + toolbar + ",location=" + location + ",directories=" + directories + ",status=" + status + ",menubar=" + menubar + ",scrollbars=" + scrollbars + ",resizable=" + resizable + ",top='+((screen.height/2)-(" + h/2 + "))+',left='+((screen.width/2)-(" + w/2 + "))+'" + "')}else{myWin.focus();};void(0);");
}
When I test this on my pc the centred window pops up perfectly.
However, when I upload the files to the server and click the buttons, absolutely nothing happens......No html frame loads!!!!
The buttons all load on level 35 in my flash movie and I need to have them load from this level as it would take months to change it all.
Does anyone know how i can overcome this major problem!!!!
By the way, I have tried using both the short version of the html link as above in the code and also I have tried using the full URL. But irrespective of that....the damn html page isn't loading at all!!!
Here's the site address to give you an idea:
http://www.picture4.me.uk
Thanks in advance folks!!!
How To Open Custom Sized & Centred Html Windows
Within a flash movie I want a button which will open a new browser window. I want this window without chrome, centered on the screen and to have specific dimensions. Anyone knows how to? Greatly appreciated.
Problem Loading Centred Html Page From Flash
Here's a good one for you!
I have used some code from a kirupa tutorial to load a centred html frame from flash.
This includes the foloowing action script in each button:
on (release) {
// customize the window that gets opened
// 0 equals NO.
// 1 equals YES.
address = "http://www.cozmek.com/p4/ogs2eu.htm";
target_winName = "order";
width = 520;
height = 450;
toolbar = 0;
location = 0;
directories = 0;
status = 0;
menubar = 0;
scrollbars = 0;
resizable = 0;
// sends data back to the function
openWinCentre(address, target_winName, width, height, toolbar, location, directories, status, menubar, scrollbars, resizable);
}
There is also some action script that is placed in a new frame on the same keyframe as the buttons:
Movieclip.prototype.openWinCentre = function (url, winName, w, h, toolbar, location, directories, status, menubar, scrollbars, resizable) {
getURL ("javascript:var myWin; if(!myWin || myWin.closed){myWin = window.open('" + url + "','" + winName + "','" + "width=" + w + ",height=" + h + ",toolbar=" + toolbar + ",location=" + location + ",directories=" + directories + ",status=" + status + ",menubar=" + menubar + ",scrollbars=" + scrollbars + ",resizable=" + resizable + ",top='+((screen.height/2)-(" + h/2 + "))+',left='+((screen.width/2)-(" + w/2 + "))+'" + "')}else{myWin.focus();};void(0);");
}
When I test this on my pc the centred window pops up perfectly.
However, when I upload the files to the server and click the buttons, absolutely nothing happens......No html frame loads!!!!
The buttons all load on level 35 in my flash movie and I need to have them load from this level as it would take months to change it all.
Does anyone know how i can overcome this major problem!!!!
By the way, I have tried using both the short version of the html link as above in the code and also I have tried using the full URL. But irrespective of that....the damn html page isn't loading at all!!!
Here's the site address to give you an idea:
http://www.picture4.me.uk
Thanks in advance folks!!!
Problem Loading Centred Html Page From Flash
Here's a good one for you!
I have used some code from a kirupa tutorial to load a centred html frame from flash.
This includes the foloowing action script in each button:
on (release) {
// customize the window that gets opened
// 0 equals NO.
// 1 equals YES.
address = "http://www.cozmek.com/p4/ogs2eu.htm";
target_winName = "order";
width = 520;
height = 450;
toolbar = 0;
location = 0;
directories = 0;
status = 0;
menubar = 0;
scrollbars = 0;
resizable = 0;
// sends data back to the function
openWinCentre(address, target_winName, width, height, toolbar, location, directories, status, menubar, scrollbars, resizable);
}
There is also some action script that is placed in a new frame on the same keyframe as the buttons:
Movieclip.prototype.openWinCentre = function (url, winName, w, h, toolbar, location, directories, status, menubar, scrollbars, resizable) {
getURL ("javascript:var myWin; if(!myWin || myWin.closed){myWin = window.open('" + url + "','" + winName + "','" + "width=" + w + ",height=" + h + ",toolbar=" + toolbar + ",location=" + location + ",directories=" + directories + ",status=" + status + ",menubar=" + menubar + ",scrollbars=" + scrollbars + ",resizable=" + resizable + ",top='+((screen.height/2)-(" + h/2 + "))+',left='+((screen.width/2)-(" + w/2 + "))+'" + "')}else{myWin.focus();};void(0);");
}
When I test this on my pc the centred window pops up perfectly.
However, when I upload the files to the server and click the buttons, absolutely nothing happens......No html frame loads!!!!
The buttons all load on level 35 in my flash movie and I need to have them load from this level as it would take months to change it all.
Does anyone know how i can overcome this major problem!!!!
By the way, I have tried using both the short version of the html link as above in the code and also I have tried using the full URL. But irrespective of that....the damn html page isn't loading at all!!!
Here's the site address to give you an idea:
http://www.picture4.me.uk
Thanks in advance folks!!!
Close.window Script In Flash Button Quits My Browser Window Or Crashes System
Can somebody please help me?
I have a javascript attached to a button in a .swf file to close the browser window it is in.
The code which was given to me yesterday by senocular is
on(press){
getURL("javascript:window.close()")
}
__
however if you try it IE will unexpectedly quit or bomb my computer.
I tried it in Netscape and it didn't crash.
You can refer to my site http://www.valdesdesign.com
after intro go to print button and then to editorial button.
Editorial opens new window with editorial.swf inside. Click on top right button to close window and see what happens.
Is there something I'm doing wrong? Please help me.
Thanks
Link In Pop-up Window (flash File) Target=parent Window
I have a flash demo that is opened from our web site and spawns a new window. At the end of the demo is a link that directs the user to "get more information." I would like this link to open the "more info" page in the PARENT window rather than the spawned window. Currently I have my Flash link coded with:
on (release) {
getURL ("http://www.hiddenmind.com/materials.html", _parent);
}
This is not working. Do I need to add some code to the parent window and/or the HTML page where the Flash file is embedded?
Thanks for your help! I can't seem to find the solution
AS: Close Current Window And Open Link In Father Window ?
Please, guys, can anyone lead my hand in this?
I have produced a flash movie. the wholw are is an invisible button which
should close the animation and in father window open a link.
The flash movie pops up automatically when page is loaded. I used this:
on (press) {
getURL("javascript:self.close();window.opener.loca tion.href = 'http://www.unibanka.sk/servlet/com.elline.pb.Page?page=alfa_ts'");
}
... but am not sure if this would work exactly how I want it.
Thanx
Passing Variables From Spawned Window To Parent Window
Is it possible to pass a variable from a child to a parent window.
I have one page (Index.html) with a swf (index.swf). A button on the index.swf launches demo.html containing a demo.swf. When the user gets to a certain point in demo.swf, I need to tell index.swf that it has arrived. Is this possible.
Any suggestions are appreciated.
Cordially,
Jason
Pausing After Preload If Browser Window Is Not Active Window
Hi folks,
I'm trying to figure out how to do this, but so far I have had no success. The intention is for anything like a Flash trailer, intro movie or such like which is large to preload and once this is done check to see if the user is still viewing that browser window.
So if during the preloading the user opens/selects a different window and the preloading finishes then the Flash will go to a paused screen, awaiting the user to indicate they want to proceed (eg a play button). If however the user still has, or has returned to, the browser window it will skip the pause screen and play the animation.
For an example the 9th chapter of Ninjai.com seems to do this (I haven't checked the other chapters).
Any help would be appreciated.
Ragnar
webmaster@ragnarkarlsson.com
GetURL - Targetting The Parent Window Of Popup Window?
Hello!
Yet another thread on getURL but I did a search and couldn't find anything related to my question, so here goes...
I have a website which launches a 900x400 popup window which contains an interactive flash movie. From within this movie, I am loading in HTML from a text file which populates a scrolling textfield.
I was pleased to learn that href links within the text file work as links within the flash textfield. What I want to do is have these links open in the parent window that spawned the popup.
If I use target=_blank on these links, the pages open up in a new browser window.
If I use target=_parent on these links, the pages open up in the same popup window and obviously replace the flash movie content (goes to the link instead of launching it in the parent window).
Is it possible to use the _parent target to launch these links into the main website that spawned the popup or is _blank the only one?
If anyone has any tips or experience on this matter it would solve a huge headache for me.
Thank you!
Flash Reload Parent Window + Close Window
Hi i got a quesiton.
I have an asp page that will open a new asp page in a new window that contains a swf file with a button.
When the user clicks the button i want to close that window and reload the parent window. Any ideas on how to achieve this in flash ?
Thanks
Popup Window Doesn't Stop Window.open
Hi,
check out www.adidas.com/1
You will notice that although you might have popups blocked the site still pops up. I have checked the source and they seem to use window.open.
Any ideas how thye have done this?
thanks
ash
|