Open Popup Window From Flash Blocks By SP2
Hello Everybody!
i am trying to open a popup window from flash (Like: ActionScript Code: getURL("javascript:window.open('....')"); with an onRelease event but SP2 always blocks my popup win. i know the reason (http://weblogs.macromedia.com/jd/arc...in_xp_sp_2.cfm ) and i'm looking for a solution...
if anyone knows something i would be very grateful...
thanking for advanced...
BirgO.
ActionScript.org Forums > Flash General Questions > Other Flash General Questions
Posted on: 07-10-2005, 03:39 PM
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
Wmode Blocks Window.open
I need to have a flash swf that has the transperent wmode parameter (so I can have a
html div infront), and from that swf I need to be able to call a
javascript function that opens a new window without being blocked.
Creating the window.open based function and calling it from flash is no problem, and the popup opens fine in IE7, firefox3 and google crome, but the div with html is hidden.
As soon as I add the wmode parameter, I can see the div, but the popup is blocked in IE7. I have tried to use both swfobject1.5, swfobject2.0 and the standard html embed tag.
With best regards
Kristian Mørck
Open Popup Window Out Of Flash ?
hi, im trying to open a popup window with a large picture when u click its thumbnail in a flashmovie.
i know how to do this in dw but it doesnt go well in flash
can someone help me out plz?
thx&grtz
Open A Popup Window With In Flash 8
Hi everyone,
I am having as small issue, in my movie I am using the drop shadow
filter in Flash 8, so I must publish as v8, but in doing so my code that I use to open a pop up from flash does not work, is there a way to acheive this in flash 8?
on (release) {
getURL("javascript:NewWindow=window.open('chick.sw f','myWindow','width=600,height=400,left=0,top=0,t oolbar=No,location=No,scrollbars=No,status=No,resi zable=No,fullscreen=No'); NewWindow.focus(); void(0);");
}
any suggestions, please!
Thanks!
Open Popup Window With Flash 5 Buttons
im ready to explode cuz i have no idea how the heck you open a popup window with flash buttons????
i dont mean the regular window that's full screen, i mean the small, no toolbars, popup windows.
please help....
Popup Html Window Open Frm Flash
can you open a specific sized popup html window from a button in flash?
I dont want the full browser to open.
The main flash movie will be in its own window.
thankyou.
Open My Flash Movie On A Popup Window
Hi!
I have my project ready and I want to make the first page of my web site and static page(.htm).This page will contain a image that when clicked I want my flash movie(web site) to open in another windows the same size of my flash movie.How can I do that?
How To Open A Popup Window Exact Size Of Random Gif From Within Flash Movie On Load?
Hi,
i have a flash movie, and on loading, or at a certain frame, is there some way i can have a random popup html window (which will have small gifs of random sizes) open up automatically the size of the gif.
They will be random images or quotes in gif format from a selection uploaded to a folder called quotes.
Many Thanks in advance from someone who will need it spelled out very clearly.
Cesca : )
p.s. i have a macromedia behaviour script that i found a while back, that creates a popup window of a chosen gif and resizes the window to the exact dimentions of teh gif. However this is for use within an html page, and doesnt consider the random factor....if i understood cding better, id probably be able to manipulate the code but i'm more of a doughnut...lol...any help or advise appreciated.
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
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
Open A Popup Window
How can I open a popup window from a flash button, without scrollbars, toolbar and all that stuff??
Thanks a lot!!
Open A Popup Window
How can I open a popup window from a flash button, without scrollbars, toolbar and all that stuff??
Thanks a lot!!
How To Open More Than 1 Popup Window
In the portfolio section of my site, I have several thumbnails which I want to open as popup windows for larger view of the images. I have used Peyman Hooshmandi Raad's tutorial - http://www.flashkit.com/tutorials/Ac...-708/index.php - for this and it works fine.
But I have more than 1 thumbnail. My question is do I need to have, say 50 javascript tags in the head of my html document to be able to open the 50 thumbnails I have? And give each javascript tag a different function eg.
<SCRIPT LANGUAGE ="Javascript">
function pop1(){
window.open("pic1.html","","height=400,width=600,l eft=200,top=200");
}
</SCRIPT>
<SCRIPT LANGUAGE ="Javascript">
function pop2(){
window.open("pic2.html","","height=400,width=600,l eft=200,top=200");
}
</SCRIPT>
<SCRIPT LANGUAGE ="Javascript">
function pop3(){
window.open("pic3.html","","height=400,width=600,l eft=200,top=200");
}
</SCRIPT>
and so on... or is there a simpler way of doing this?
I'm using Flash MX 2004
Open A Url In New Popup Window Help Please
HI Everyone. This is my first visit here so HELLO to you all.
PLease can someone help me I am very new to action script and I am trying to get the pic_url to open in a new window that is the size for the image that will be in it so not a new complete browser window. The script I have is below but I dont know how to adapt it. Please please can someone guide me?
onClipEvent (load) {
loadMovie(_root.url+"_pic6.jpg", this.c_mc);
}
on (rollOver) {
this.gotoAndPlay("s1");
}
on (releaseOutside, rollOut) {
this.gotoAndPlay("s2");
}
on (release) {
getURL(_root.pic_url6);
}
Open Popup Window
Hi,
I have searched the forum to find out some infprmationabout opening a popup window by clicking on a transparent button. Here is what I found:
-----------------------------------------------------
on (release) {
getURL
("javascript:NewWindow=window.open('ShowPopup.php' ,'newWin','width=400,height=300,left=0,top
=0,toolbar=No,location=center,scrollbars=yes,statu s=No,resizable=yes,fullscreen=No');
NewWindow.focus(); void(0);");
}
-----------------------------------------------------------
I copy pasted this to the button action and when I test the movie, the window that opens seams to reopen all the time I can't close it and the taskbar item flashes all the time. I must close the window using the task manager. Is there a STOP missing somewhere?
What section of this code do I replace to point to my url?
Thanks for the help
Hope my problem is clear enough
Mireille
How To Open A PopUp Window For The Swf On Level 1...
Hi all
I've seen the Tut...
http://www.actionscript.org/tutorial...sh/index.shtml
It works fine when there is one swf file....
But how can I open a PopUp window from a swf file which is on Level 1 of the main movie???? & can that swf file opens multiple PopUps windows for seperate links???
Please help
Thanks
Popup Window - Open AND Close
Hello there,
I'd appreciate some help with a popup window that I've opened from my shockwave flash page.
The flash page opens my popup fine, using the following code:
Code:
on (release) {
getURL("javascript:NewWindow=window.open('pageone.html','windowone','width=348,height=290,left=0,top=0,toolbar=No,location=No,scrollbars=No,status=No,resizable=No,fullscreen=No'); NewWindow.focus(); void(0);");
}
Now, the plan was, this particular popup window would have no scrollbars (this works fine). I then wanted to resize this window to fullscreen and open a new page insideit - but, to then activate scrollbars for this new page inside the popup that has no scrollbars.
As this seemed impossible, I've been trying to open my new page in a new popup window, and then get my previous popup window to close itself (behind my new popup window). A little sloppy . . . but it wouldn't appear any different to the user.
This is what I've been trying:
Code:
on (release) {
getURL("javascript:NewNewWindow=window.open('pagetwo.html','windowtwo','width=348,height=290,left=0,top=0,toolbar=No,location=No,scrollbars=Yes,status=No,resizable=No,fullscreen=No'); NewNewWindow.focus(); void(0);");
getURL("javascript:self.close()");
}
The close works fine, but no new popup window.
Anybody able to lend me a helping hand to get this working?
Open A Popup Window Problem...help
I'm trying to open a pop up window from a flash button, and I'm using this code
on (release) {
getURL ("javascript:NewWindow=window.open('aluxe.html','' ,'width=371,height=324,left=0,top=0,toolbar=No,loc ation=No,scrollbars=No,status=No,resizable=No,full screen=No'); NewWindow.focus(); void(0);");
}
Why this doesn't work well??...when I run the movie it opens a lot!!! of popup windows but doesn't show me anything..
Thanks!!!!
Open Popup And Close Window
I have an html page with an enter button which calls a popup window with the flash site. I want the html page to close when the user clicks 'enter'. I have an onclick event to open the popup, and another to call javascript 'window.close();'. This works when I check it on my hard drive but not when it's online. Any help gratefully received.
Open Popup Window With My Movie.
Hi!
I have my project ready and I want to make the first page of my web site and static page(.htm).This page will contain a image that when clicked I want my flash movie(web site) to open in another windows the same size of my flash movie.How can I do that?
Open Fullscreen IE Popup Window
Hi, I built a simple .fla file, with one button and the command below...
But, even using it as SWF, or .EXE the new IE window opens (not fullscreen) and closes in les then a second. I'm using Flash 8, what am I doing wrong?
Thanks in advance
Attach Code
on (release) {
getURL ("javascript:NewWindow=window.open('ShowPopup.php','newWin','width=1280,height=800,left=0,top=0,toolbar=No,location=No,scrollbars=No,status=No,resizable=No,fullscreen=Yes'); NewWindow.focus(); void(0);");
}
How? Open .swf In Closable Popup Window
Hi there! I'm stuck.
I've been trying to use this ASP and Javascript together to open a new window when a user clicks a button in my Flash movie. I start by putting this ASP code in my .fla:
on (release) {
getURL ("javascript:openNewWindow('my_popup.html','height=675,width=500,toolbar=no,scrollbars=no')");
}
I publish my movie using "Flash Only" settings. Then I edit the .html file using this code in the head:
<script language="JavaScript">
function openNewWindow(URLtoOpen, windowName, windowFeatures) { newWindow=window.open(URLtoOpen, windowName, windowFeatures); }
</script>
saving the .html file.
When I test the movie, it opens a browser window, but it's empty, with an "object expected" error. The file that "my_popup.html" represents does exist. What am I doing wrong?
Thanks!
Marianne
[FL8-AS2.0]Open Popup Window With Image From Xml
Hello everyone!
I made a different version of the carousel.
Practically my carousel is an image gallery and when i click on each thumbnail I would like to open a popup window with the bigger image(whose url is in the second attribute of the xml instead of the tooltip).
In the "for" loop just after i initialize the xml I load also the second attribute:
var xml:XML = new XML();
xml.ignoreWhite = true;
xml.onLoad = function(){
var nodes = this.firstChild.childNodes;
itemNumber = nodes.length;
for(i=0;i<itemNumber;i++){
var t = home.attachMovie("item","item"+i, i+2);
t.angle = i * ((Math.PI*2)/itemNumber);
t.onEnterFrame= mover;
t.icon.inner.loadMovie(nodes[i].attributes.image);
t.popups = nodes[i].attributes.popup;
t.icon.onRollOver = over;
t.icon.onRollOut = out;
t.icon.onRelease = released;
}
}
function released()
{
for (var i=0;i<itemNumber;i++)
{
var t:MovieClip = home["item"+i];
getURL(??????????????????????);
}
}
But then in the moment of the release I really don't know where to crash my head.
I tried with geturl but I don't think it is the right approch for my intentions.
Can anybody help me, pls?
THank you!!
How To Make A Popup 500x300 Window Open ?
Hi Now Iam in a flash portfolio with 10 thumbnail images I click on one thumbnail to enlarge the Image, a Popup window opens with a 500X350 Image not a whole webpage How is that Done .... Does AnyBody Know How ......
Thanks ....
How 2 Make A Popup Window 500X300 Open ?
Hi Now Iam in a flash portfolio with 10 thumbnail images I click on one thumbnail to enlarge the Image, a Popup window opens with a 500X350 Image not a whole webpage How is that Done .... Does AnyBody Know How ......
Thanks ....
After Preload Open Movie In Popup Window
Hi,
I have created a simple flash site with preloader. Once preloading is finished movie starts from frame 4.
Is it possible that once the preloading is finished the movie has to load in a separate popup window from frame 3.
Thanks
Open Preloaded Movies In Popup Window
Hi,
I have created a simple flash movie with preloader. Working fine.
After preloading it stops at frame 3.
There is a button on frame, when click it open the same movie which is loaded in a popup window but from frame 4.
Problem is when it popup the movie in the new window, you can see it travels from from frame 1 and then stops to frame 4.
1. How to ignore it?
2. Is the movie loaded? and it will open in the popup window from the memory?
3.Somebody suggested me using flashVars in popup.html to load the
preloaded movie. Is it done properly?
Please have a look to the attached file.
Thanks.
I would appreciate if you can send me the edited code in the file.
Open Popup Window By Video Clicps
Hey All,
I am not sure if this is the right place to post this thread, but I know there are lots of web-pro come here, so I one of you can give me a hand or a direction for my question: How can I embed a code in a video clips(wmv,rmvb...), in order to open a pupop window while the clip playing?
Thanks so much
Popup Window From Open Image Link?
Hello,
I have dynamic text in my movie that when clicked opens different image jpgs in _blank window. I would like to be able to have the blank window open at a set size so that when the link is clicked it doesn't open the image in a full window.
This is the AS which creates the links. Any suggestions? Thanks
Code:
<a href='http://" + currAttribs.link + "' target='_blank'>
Keep in mind that I'm not calling actual html pages but rather jpg files to open in _blank pages.
My Javascript "open Popup Window" Doesn't Work In Flash 8 Anymore? HELP?
I have the Flash MX 2004 program but recently I downloaded the Flash 8 Professional Trial to see what it has to offer.
I saved a file I was working on to Flash 8. Now my javascript to open popup windows on my website don't work anymore when the button is clicked.
Only when I save it back to my earlier version of Flash MX 2004, do my open pop up windows javascript work again on my buttons. Has anyone had this problem beside me or is there some type of new security issue I'm overlooking?
Trying To Open A New Window With No Tool Bar When The Viewer Hits Enter(popup Tryied)
I trying to do this,
When the user hits enter it will take the user to a new browser window, but with no tool bar , url, status etc.
And if possible it would size it self to the viewers monitor settings.
I have tried a popupwindow but I couldn't get the background color to work in the code(don't know what javascript uses to tell what the background color will be in the popupwindow.)
Thanks
Jason
Popup Window From Flash, Making Everything Load In Just 1 Popup
I have a simple thumbnail gallery in flash.
When a user clicks a thumbnail, I want a popup to appear. I got this far... now for my problem.
Without closing the window that has popped up, if you click another thumbnail, ANOTHER window pops up so I decided to keep the name of the windows the same to prevent this.
Now... when you click on the thumbnails, everything loads in just the one window without popping up a new window everytime you click a thumbnail but... the popup window stays minimized or "behind the main window".....
any help would be appreciated, thank you!
Popup Window From Flash, But Have Only 1 Popup
I have a simple thumbnail gallery in flash.
When a user clicks a thumbnail, I want a popup to appear. I got this far... now for my problem.
Without closing the window that has popped up, if you click another thumbnail, ANOTHER window pops up so I decided to keep the name of the windows the same to prevent this.
Now... when you click on the thumbnails, everything loads in just the one window without popping up a new window everytime you click a thumbnail but... the popup window stays minimized or "behind the main window".....
any help would be appreciated, thank you!
Open A Popup From Flash Without Js
I'm tring to open a pop up with this script in the main timeline of the movie:
Movieclip.prototype.centra = function (nome,titolo,lar,alt,feat){
var w = System.capabilities.screenResolutionX/2;
var h = System.capabilities.screenResolutionY/2;
var x = Math.round(w-(lar/2));
var y = Math.round(h-(alt/2));
getURL("javascript:window.open('"+ nome + "','" + titolo + "','width=" + lar + ",height=" + alt + ",screenX=" + x + ",left=" + x + ",screenY=" + y + ",top=" + y + "," + feat + "');void(0);");
}
and in the button:
on(release){
centra('pippo.htm','mia',700,300,'status=yes');
}
but all i see is a blank window with a text:"object" and an empty popup.
Perhaps the problem is in the location of my movie. It is in the _level2, after loadin from the _root movie with loadmovie("_level2").
Thanks to everybody!!!
IE Blocks Regular External Link (new Window)
Hi,
I just finished developing a new flash website. Because making websites is a hobby of me, for some people I create websites for free. But a link to my portfolio website allways has to be in there, easy to find and active.
I'm using Flash 9 with AS3.0. When I click the button to my own website, IE blocks this. FireFox just opens a new tab in the back, I can live with that. People who know how to use a computer properly, know how to allow the pop-up. But sorry to say, there are a lot of dumb people who struggle even with this.
This is my code:
Code:
function gotoURL(e:MouseEvent):void {
var url:URLRequest;
if(e.target.name == "contactInfo_btn") {
url = new URLRequest("mailto:contact@eurofitzolder.be");
} else if(e.target.name == "webmaster_btn") {
url = new URLRequest("http://www.EyeEmotion.be/");
}
navigateToURL(url,"_blank");
}
Is there a way that people can visit my own website without leaving the website they are currently in? I know some people are against it, but I like working this way.
Cheers
Open A Popup W/ New Clip Within Flash
Hi there,
I'm looking for a line or two of script which I can attach to a button in a movie clip and which will launch a controlled-size popup window with a new flash movie clip in it.
I had a script I was using and it launches the popup fine, but then the clip behind the new window goes blank! Which sucks!
Any help really appreciated. Also let me know if anyone's interested in a bit of programming. I have a job coming up. Thanks,
Necia
How Do You Open Up A Html Popup From Flash?
How can I click on a button in my movie and have a preconfigured (Height, Width, Scrollbars, X & Y, with no command line. I just want a little window to popup for info purposes when someone clicks on a button. Any help would be appreciated...
ian
ianfay.com
Flash + JS: Open Popup And Set Url For A Frame
Hi
Here's what I need to do:
1. from my SWF open a new popup window (probably using Fscommand).
2. The page displayed in the new window is a frames page, flash will send a url which will be loaded into one of the frames in the page.
Thanks
LeoBeer
I Want To Open My Popup Twice (flash, Php, Javascript)
Hi
I made a .swf (located in index.htm) which only contains two buttons. The first is designed to download a .mp3 file through a .php file (test.php). The second is designed to open au pop-up with a javascript function (test) set in index.htm.
first step :I hit the pop-up button first and close it after: no problem.
second step : I hit the mp3 button and close it too: no problem.
third step : then I want to re-open the pop up : my .swf diseappears !!!
I have tested this with winXP and win98, with IE6 and flashplayer 7.
My french-flash-friends can't help me because they suck ! I'm getting mad with this problem, please help me !
Thanx ! fabrice.
Open A Popup From Flash Movie ..
Hello everybody,
how can I open a pop up with an HTML page in it from flash (my menu is built in Flash) ? ..
I am deadly short on time and if someone can just type in the script I have to add to my button - this would be great! ..
Thanks a lot!
Centre Popup Window / Title Popup Window
Hi
Can anyone help? I would like my popup window to sit centre of the browswer and have a title on the top can I define it within the following actionscript?
on(release){
geturl("javascript:window.open('myfile.html','winO ne','height=400 width=450');void(0)");
}
Thanks ravenotice
Open Popup-style Windows In A Flash
I'd like to know what action I have to use to open popup-style windows in a flash scene.I've made a draggable window and I want it not to be visible until a button is pushed. Do I have to use visibility, goto or whatever, i just don't know...
Need Flash Popup To Go Behind Main Website Thats Open
hey all.
im looking for a way to send the popup behind the page that is behind the popup...
infoArea.learnMore_btn.onRelease = function():Void{
if(infoArea.lot_id_mc.lot_id.text != ""){
ExternalInterface.call("learnmore", theLot.learn_more_link);
//getURL("javascript:window.parent.opener.location = '" + theLot.learn_more_link + "';");
}
}
PopUp Window Help - Toggle Control Between Popup And Stage?
How do you toggle control between a popup window and the main timeline?
I have a button that opens up a pop up window. The popup window is going to contain some text instructions. I would like to have the text instructions visible and allow the user to control a movie clip on the stage. Unfortunately, right now once the popup window appears, the user can no longer control the movie clip on the stage until they close the popup. I'm using MX 2004.
Here is the code I have on my button - this creates the popup window (I got this from some other postings):
on (press) {
import mx.containers.Window;
var win = mx.managers.PopUpManager.createPopUp(_root, Window, true);
win.setSize(375, 262);
win.closeButton = true;
win.contentPath = 'text';
win.click = function() {
this.removeEventListener("click", this);
this.deletePopUp();
};
win.addEventListener("click", win);
}
This is my first posting, please let me know if I haven't provided enough information or if I'm going about this completely wrong. My project will not be posted on a website, it needs to be executed off of a CD so that's why I didn't use a getURL().
Popup Window In Flash MX
How can I create a pop up window in flash MX from a button?
-A pop up window were I can specify the size.
-Have no scroll bars etc.
Window Popup In Flash ( Please Help Me)
Hi I'm New here hope any 1 can solve my problem its Urgent..
I want a action script for flash button.
when any body click on that button,
another seprate popup window will be open....with my required size
Like Page Link = open.html
size height= 200
width = 400
Please, Please help me. i'm very greatfull to you
Thanks
Karachian
|