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








Flash And Javascript Popups


hi there,

a simple question (I guess,... I hope ) for anyone knowing some javascript and flash.

I have a button with this code:


Code:
getURL ("javascript:newWindow.open('" add language add "/mc" add load_option add ".html','picture','width=800,height=500,top=50,left=0'); void(0)");
don't pay much attention to variables, it's the code used to launch this or other html depending on the users choice.

What I've been asked is to launch those htmls in DIFFERENT windows, so that you can launch a second popup while exploring the first one.

Is there a way I can do so? What's the magic function in javascript?

Ta in advanced




FlashKit > Flash Help > Flash ActionScript
Posted on: 01-10-2003, 12:38 PM


View Complete Forum Thread with Replies

Sponsored Links:

Popups In Flash
I'm struggling with creating pop-up browsers in Flash.

http://www.wishentertainment.com

Click Home & Gifts, then Drink Charms

In Flash I have:

on (release) {
getURL("javascript:window.open('charmpop.html','Dr inkCharms','475,425,top=0,left=0,scrollbars=no')", "_blank");
}

In My Charmpop.html I have

<script language="JavaScript">
var newWindow
function openNewWindow(URLtoOpen, windowName, windowFeatures) {

newWindow=window.open(URLtoOpen, windowName, windowFeatures);
}
var height = window.screen.availHeight;
var width = window.screen.availWidth;
window.moveTo((width /2)-400,(height /2)-200);

</script>

I'm wingin it here, so if anybody could spell it out for me REEL SLOW like, that would be real cool.

Thanks

View Replies !    View Related
Popups With Flash MX Help
Whats up fellas..
Look i need some help. I've made a website in flash and the links to pictures that i have, when someone clicks on the thumbnail i want a pop up to come up with the full size picture.. i don't know how to do that.....Also i'd like to link several short animations (4seconds or so) to the page, also through popups.. their in quicktime format... Help me please guys.. this is my first post on this site, hopefully you guys can give me some good advice...
Thanx
Bobby

View Replies !    View Related
Flash Popups
Hi all, im new here & would love if some1 could help with this question, i wanna do a bit of flash for a website, the website is gonna have an index page with a map of a city & i would love to do it like the Universal Studios website has done theirs, that when u pick a part of the map it pops up with a little bit of info on that part of the map. (check link below)

http://themeparks.universalstudios.c...orlando.CIRCLE

If any1 has any ideas or tutorials that a new user to flash could use it would be greatly appreciated.

Thanks All

View Replies !    View Related
Popups Via Flash
Can anyone out there help me with my pop-ups - simply thing i thought untill I came across the problem or making for both platforms PC 7 MAc, I'm a MAC operator and before you say I know... the problem is that my pop-ups are not working on everyone's Pc's, all the new ones seem to bring them up, but on the clients Pc it doesnt arrrgghhhhhh!

Here my code any suggest for dealing with these cross platforms probs and please dont say... what i think your going say....!!!!!!!!

All via flash forgot to say....

so on my button in flash i have put

on (press) {
getURL("javascriptopUp('game.htm', 'gamewin', 'toolbar=no,location=no,status=no,scrollbars=no,re sizable=no,width=760,height=480')");
}

which should make the game.htm popup in front on my home page, easy enough ya..

then in my html page code i put in

<script language="javascript">
<!-- hide from old browsers
function popUp(URL, Name, Features){
window.open(URL,Name,Features);
//alert("ahhhhhhhhhhh, nicht");
}
//-->
</script>

this make si t popup... but on the client machine its doesnt, has he definatley doesnt have a pop-blocker installed, because i can get pop-ups to work for html code... but it doesnt seem to work form the flash swf .. but on my mac it does and on new PC is does...

i.e example


www.rebornmag.co.uk/amjnew/personnel.html

click on the tax&trust button - popup yes or no

Please help me, the client thinks im a dick

View Replies !    View Related
Popups In Flash
I want when a user clicks on a mc a window pops up with just an image, but I want the window to be the size of the image, how can I do that in flash?

View Replies !    View Related
Popups From Flash?
Hello, I have followed the flash-popup tutorial on Kirupa (http://www.kirupa.com/developer/flash5/newwindow.htm)

But it only works in Firefox and not in the ghastly IE - I really need this to work for one of my clients to sign off so any help or a way around it much appreciated!

JP

View Replies !    View Related
Flash 8 Popups
I'm trying to make some links in a full flash site done in flash 8 pop up in new html windows at a set size. My code works fine if I publish to older versions of flash, but not to version 8. I think they changed something for security reasons. Does anyone know of a workaround? Here's the code that I had been using previously:

on (release)
{
getURL("javascript:popupwindow('contact.html',' contact','height=650,width=475,top=0,left=0,resi zable=no,scrollbars=yes');", "_self");
}

View Replies !    View Related
HTML / FLASH / POPUPS
hi all,
my webpage is a popup window which just contains a swf, no html. In it, i have a button which popups a new window with a javascript window.open. The problem is that the javascript works but then my swf becomes white and within a simple texte "[OBJECT]"
What can i do ?
P.S. Sorry for my english, i'm french
Thx,
hacook

View Replies !    View Related
Popups Withing Flash
Hello, I am currently building a website (http://www.texzibit.8k.com/web1.html). I want to have a section where, if you click on a link (in flash) it will provide a popup of that specified link. I have all the javascript necessary to do it in a regular HTML, but i want the links in my flash movie! Thanks in advance!

View Replies !    View Related
Flash Popups - Help Needed
Hi All ,
Can any1 here tell me how do we use those promotional popups which we usually see on yahoo or msn site like the one of spiderman movie or a recent one i saw on yahoo an ad for Ford Truck .

the weird flash popup maximizes as the mouse pointer moves onto it and gets normal when we rollout r mouse from it , best part i liked is that it works on a page containing framesets .

well not actually popups as they grow big and short on the same window . i hope u people can understand what i m talking about .

so is it some difficult HTML or ASP or DHTML thing .

Help Will be appreciated .

Abir

* sorry as i posted this thread on 2 forums u know for immediate reply .

View Replies !    View Related
Flash Popups - Help Needed
Hi All ,
Can any1 here tell me how do we use those promotional popups which we usually see on yahoo or msn site like the one of spiderman movie or a recent one i saw on yahoo an ad for Ford Truck .

the weird flash popup maximizes as the mouse pointer moves onto it and gets normal when we rollout r mouse from it , best part i liked is that it works on a page containing framesets .

well not actually popups as they grow big and short on the same window . i hope u people can understand what i m talking about .

so is it some difficult HTML or ASP or DHTML thing . what is the technique or idea used for it .

Help Will be appreciated .

Abir

View Replies !    View Related
Flash, Frames & Popups
Hi ppl
I have the main site default.php with lot of frames.

one frame is named corner, which contains a text link
one frame is named flash, which contains a button in flash

both, the text link and the flash button open THE SAME POPUP

There's another text link in the popup which calls this JS function
openinparent('web.htm')

function openinparent(website){
window.opener.window.top.frames.corner.location=we bsite;
}

When i open the popup from flash button and click the link (that is in the popup website) the web.htm does not change in the corner frame, but when i open the popup from the text link frame, it does.

any ideas?

thanks alot

PS: i tried changing
window.opener.window.top.frames.corner.location=we bsite;
by
window.open(website,"corner"); and i had the same response, the same behaviour...

Maybe something becomes NULL when i open the popup from flash...

View Replies !    View Related
Unlimited Popups From Flash ... How?
Someone sent me a link to the following which proceeded to create unlimited browser popup windows from the flash file.

Quote:




http://www.disipal.net/abuse/GanjaUKevil.swf





How did they do this? Thanks.

WARNING! WILL CREATE COUNTLESS POPUP WINDOWS; MAY CRASH YOUR COMPUTER!

View Replies !    View Related
Html And Popups In Flash
alright....

i'm using dynamic textboxes that read from .txt files. i can make a popup window in flash, but only with a flash button:

on (press) {
this.attachMovie("popupwindow", "window", 1);
window._x = 251;
window._y = 150;
}

i was wondering if there's some html that you could use to make a popup like this in flash using the .txt file.

tell me if that doesnt make sense because i always have trouble trying to explain myself.

View Replies !    View Related
Flash Popups With Variables
I`m trying to open a popup window from flash and the URL is coming from a variable but the normal script i used doesnt seem to work at all ..

this is the JavaScript I have in the HTML page:
<script language="JavaScript">
function openNewWindow(URLtoOpen, windowName, windowFeatures) {
newWindow=window.open(URLtoOpen, windowName, windowFeatures); }
</script>

and this is the getURL() function in flash:

on (release) {
getURL("javascript: openNewWindow('popups/'+_root.fly+'_station.html','thewin','height=400,w idth=500,toolbar=no,scrollbars=yes')")
}

the variable "_root.fly" comes from another action in the movie and it opens a window if i used the normal getURL(url,target) ...

I appreciate any help or advice.

PS there is no space after the : in the code i just added it here to avoid the smiley :-)

View Replies !    View Related
Cool Flash Popups
Does anyone know how to create those annoying but cool transparent flash popup ads that you can often see popping up over the top of sites such as getmusic.com, and from what i can remember shockwave.com? I can't figure out how they have managed to create an swf file that doesn't have the frame of the flash player around it. If anyone knows how please help! Thanx

View Replies !    View Related
Flash 8 Javascript Popups
hi all,

i'm having a miserable time trying to get flash 8 to work javascript popups in both firefox and internet explorer...

right now i've got this working in firefox only:

html head:

<script language="JavaScript">
<!--
function launch(page) {
openWin = this.open
(page, "this is the title","toolbar=no,menubar=no,scrollbars=no,locati on=no,width=200,height=200,top=250,left=250");
}
-->
</script>


flash:

btn_Up.onRelease = function() {
getURL("javascript:launch('popup.html',400,300)");
};


any thoughts?

View Replies !    View Related
Why Popups For Flash Sites?
I was just wondering why alot of people (especially the folks here) have their main interface in a popup window, full screen or not. I am currently starting a flash site, and this popup trend isn't making any sense to me...

Care to explain??

Al

View Replies !    View Related
AS - Popups From Flash - Solution
Last edited by tiran : 2008-02-05 at 05:11.
























OK, I have been away from Flash for a little while now, and even when I was developing heavily in it I never used pop-up windows. I have recently run into a situation where I need them. Am I really so horribly behind that I missed the fact that Pop-Ups just don't work from flash anymore if the user has an active blocker? Is there a way to make the browser register the onClick and not block it if the user clicks it?

View Replies !    View Related
Flash&Java Popups And Close?
Hey Guys,
Im having a big problem, here is my situation:
I have a flash intro movie being loaded in a new window of fixed width ontop of the current (the one the user clicks from)
here is my script for that:

<script language="JavaScript">
function NewWindow(mypage, myname, w, h, scroll) {
var winl = (screen.width - w) / 2;
var wint = (screen.height - h) / 2;
winprops = 'height='+h+',width='+w+',top='+wint+',left='+winl +',scrollbars='+scroll+',resizable=no'
win = window.open(mypage, myname, winprops)
if (parseInt(navigator.appVersion) >= 4) { win.window.focus(); }
}
</script>

Then when i call it;

<a href="intro1.html" onclick="NewWindow his.href,'pop','550','400','no');return false;" ...etc


it opens a new fixed window of that size...

so far so good eh?

But here is my problem, after the movie has finished i would like the user to click on a link (in flash) and then that popup window closes and it loads a new page in the parent window.

I know this is possible and have seen it before but i have no idea how to do so. I've also looked for tutorials and cant find anything.

All help is greatly appreciated

View Replies !    View Related
Weird Problem With Flash Popups In IE6..
Am having a really annoying problem with my new portfolio site which I've just put live:

http://www.markburvill.co.uk/

I just launched it yesterday and am having this weird problem viewing it in IE6 on my PC.
I'm using javascript popups for launching the Flash games. It works fine for a while, then after I've launched about four or five of the flash games, it suddenly stops loading any others - just popping up a blank window and doing nothing!

What's strange is that it seems to work fine if I view it in Opera, and I gave it a quick test on a Mac yesterday and that seemed to work fine too. Also, other people have tested it on their PCs using IE and it seems to work fine.

I'd love to know if anyone else has ever come across a similar problem - or knows how I could fix it.

Cheers.

View Replies !    View Related
Customizable Java Popups In Flash MX?
hey all...

i've been searching long and hard to find a way to trigger customizable java popup windows (so that i can control the presence of menu & location bars, scroll bars, size, placement, etc.) i've tried a few that i found but none of them seem to work.

anybody got any ideas?

thanks!

~matt

View Replies !    View Related
Popups From Within Flash (NOT THE USUAL QUESTION)
Hiya folks, in my portfolio site i have a flash movie and contained within it is a lot of little buttons, i want each of these buttons to open a seperate popup when clicked, the problem is that the basic tutorials i find everywhere r for if ur only usin one button per flash movie, or even only one button per webpage. I was also wondering how i could make the first popup close automatically when another button is pressed, or when another popup appears. Any help with this would be greatly appreciated. -Ad

Using Flash and Dreamweaver MX

p.s. new to html coding, go easy on me.

if you want to see the flash file, here's the site so far:

http://www.freewebs.com/messymedia/HOME.htm

View Replies !    View Related
Flash Mx Popups And Variables, Tricky One?
Hi all,

I'm just wondering if there is a way to send a variable from the main movie to a popup window that contains an swf. I'd appreciate any tips on how to do that preferably without any php or cgi stuff since for now my server doesn't support those applications. Here's the code for what I'm trying:

In the main movie
on (release) {
getURL("javascript:window.open('./large/cantera1a.html','picture','width=800,height=361,to p=20,left=20'); void(0)", "", "POST");
}

In the swf at the popup (in a MC):
onClipEvent (load) {
this.preloader["text" add _global.language]._visible = true;
}


Ta

View Replies !    View Related
Popups From Flash Blocked, But Not From Html
We've got an html site that has a portfolio section done in flash. In the flash file there's a 'getURL' action to launch a popup window for viewing larger images. The popup gets blocked by IE and other popup blockers but when we use the same javascript in a standard HTML page, the popup is allowed. Any ideas how to fix this in flash?

View Replies !    View Related
Window Style Popups In Flash
hi all,

i wanna know if its possible in flash to develop window style dialogs, popups, windows. And when ported to Mac, will it show the mac style windows? Is this possible in flash? Is there any component in flash libraries to do this for us?

If this isnt possible at all in flash, can we achieve this in some other third party application?

View Replies !    View Related
Flash Popups, With A Close Button.
Hello, I have a doubt, i canīt find anywhere.

in some sites there is flash popups, with a close button and he in the end he fade out.

I try to put some "this.unloadMovie();", but in firefox not work very well, i canīt click anything below him, if i have a form i canīt click, but works on IE.

I saw in some sites flash popups, when you click de close button he dissapier, he works fine, i try to saw the source, but i canīt figure out.

Someone knows how to do that?

Sorry about my english.

View Replies !    View Related
Flash Popups And Popup Blockers
Hi everyone,

We have an issue where we need an in line flash video to be able to popup a new window and have that window communicate with the flash video. The standard method is easy, but it appears that popup blockers are thwarting the traditional window.open methods for javascript to be able to work with. Any thoughts and teaching the popup blocker who'se the boss?

View Replies !    View Related
How To Create HTML-like Popups With Only Flash?
Hey folks.

I'm creating this flash site that contains member profiles for members our online community. My current setup has the flash buttons launching a small html popup window using javascript. The window just contains a single jpg. I would like to do this using only flash. Any ideas? Again.. all I need is the button to activate a jpg that pops up in it's own presized and closable window.

Thanks!

Nick

View Replies !    View Related
Help Needed To Create Popups Inside Flash
hey guys,

can someone help me make some nice popup windows that can have scrollbars and all for my flash? i dont know how to do it and i was wondering if it was hard to make a nice animation for its appearance on the screan

i know its hard to understand (im strage )

thanks in advance cya guys

View Replies !    View Related
JS Popups Render Underneath Flash Content
When mouseover incites the popup (DW MX code), it renders underneath the flash content located below.

In essence, the flash content "covers up" the popup. This, as you can imagine, is very bad.

I know this has something to do with div layers, Z-indexes, etc - and I'm sure the answer is much more simple than I can imagine - but in either and any case, I can't figure it out.

Anyone? Help? Please?

Thanks in advance...

~m

View Replies !    View Related
Popups From Withis Flash (BUT NOT THE USUAL QUESTION)
Hiya folks, in my portfolio site i have a flash movie and contained within it is a lot of little buttons, i want each of these buttons to open a seperate popup when clicked, the problem is that the basic tutorials i find everywhere r for if ur only usin one button per flash movie, or even only one button per webpage. I was also wondering how i could make the first popup close automatically when another button is pressed, or when another popup appears. Any help with this would be greatly appreciated. -Ad

Using Flash and Dreamweaver MX

p.s. new to html coding, go easy on me.

if you want to see the flash file, here's the site so far:

http://www.freewebs.com/messymedia/HOME.htm

View Replies !    View Related
How Do I Make Buttons Create Popups In Flash?
okay I know how to create a pop up window usually with the code:
<a href="#" onClick="MyWindow=window.open("'index.html','MyWin dow','toolbar=no,location=no,directories=no,status =no,menubar=no,scrollbars=no,resizable=no,width=60 0,height=500,left=240,top=100'); return false;">

But how do I do something like this in Flash? Create a popup window when I click a button?

View Replies !    View Related
How Do I Make Buttons Create Popups In Flash?
okay I know how to create a pop up window usually with the code:
<a href="#" onClick="MyWindow=window.open("'index.html','MyWin dow','toolbar=no,location=no,directories=no,status =no,menubar=no,scrollbars=no,resizable=no,width=60 0,height=500,left=240,top=100'); return false;">

But how do I do something like this in Flash? Create a popup window when I click a button?

View Replies !    View Related
How Do I Make Buttons Create Popups In Flash?
okay I know how to create a pop up window usually with the code:
<a href="#" onClick="MyWindow=window.open("'index.html','MyWin dow','toolbar=no,location=no,directories=no,status =no,menubar=no,scrollbars=no,resizable=no,width=60 0,height=500,left=240,top=100'); return false;">

But how do I do something like this in Flash? Create a popup window when I click a button?

View Replies !    View Related
Flash Site Optimisation - Popups Or Not To Popup?
Should my full Flash site use a popup window? Or should the splash/detection page open the Flash in the same window?

I ask this because intitial peer review of my site as lead people to ask for it not to generate a second popup.

I don't fully understand the advatages of using a popup other than it generates another page which can be useful for extra search engine meta data - and prevents inexperienced users navigating away from the site too easily with the Back button.

What are the advantages/disadvantages of a popup for a full flash site - and how do I make a non-popup version which works well?

Regards,

magic_dot

View Replies !    View Related
Flash Site Optimisation - Popups Or Not To Popup?
Should my full Flash site use a popup window? Or should the splash/detection page open the Flash in the same window?

I ask this because intitial peer review of my site as lead people to ask for it not to generate a second popup.

I don't fully understand the advatages of using a popup other than it generates another page which can be useful for extra search engine meta data - and prevents inexperienced users navigating away from the site too easily with the Back button.

What are the advantages/disadvantages of a popup for a full flash site - and how do I make a non-popup version which works well?

Regards,

magic_dot

View Replies !    View Related
Hiding Printer Popups In Flash Projector
Is it possible to hide the printer popups when printing from a Flash Projector, or can this be done from a setting in Windows XP? It's for a kiosk I'm working on and ideally I'd like to be able to just print the page when the print button is pressed.

Can I do this with MDM Zinc?

Any advice or suggestions would be greatly appreciated.

View Replies !    View Related
Popup Killer Type Software With Flash Popups
Will popup killer type software also close flash popups?

Thanks

Vince

View Replies !    View Related
Links And Popups Wont Work (dweaver, Flash Or Ffox?)
Hi,

I am new to flash and the concept of web design but I successfully put a site together a while ago using flash and dreamweaver. I haven't had to make changes to the site in a long time but recently I tried previewing it in dreamweaver and none of the links or popups work. The site is still online and all of those links work fine, it's just when I preview from my computer.

This is also true of a newer website that I am trying to build, none of the links work in dreamweaver preview.

Dreamweaver is just what I use to hold the flash site that I made, all of the links are specified through flash. I'm not sure what the problem is and have been pulling my hair out over it. Is is flash, dreamweaver, firefox or something else entirely?

Any help would be greatly appreciated!

Thanks

View Replies !    View Related
Flash Popups Blocked In Flash Players 8 And 9?
A client wants popups launched from Flash, usually getURL ("javascript:window.open...)... etc works, but now when I do this, Flash launches a security warning and asks me to change settings. This is kinda no good for users - is there a way around it?

View Replies !    View Related
Popups
ok i guess this is where i should start.

i have my site start off with a pop-up window
i have the code javascriptpenNewWindow('popup.html','thewin','he ight=250,width=100,toolbar=no,srollbars=yes') for my content page.

within the contect page i'm trying to get a seperate window to open in a new window. i tried the same code but what ends up happening is that it opens in that same window, what i want to happen is to have another window pop up.


what do i do?

View Replies !    View Related
Popups
What are some websites that have popup code generators. Also I went to one and when i generated the code it does everything right except it shift my swf file down and to the right a bit so you cant see the whole image and it has just a white space where there is no image. Any clues.

View Replies !    View Related
Popups From Other Popups?
I created a Popup window script function by a button, from "flash-db.com" and it worked just fine with a few extra configurations.

But now that it pops up the new swf window, I can't get it to popup anymore swf windows from this one. Instead it replaces the swf file with a new one, but in the same window as if it Loaded as a Level.

What does it do that?

I need a new swf window. and not a URL.

View Replies !    View Related
Popups
How do i make information boxes appear over or next to buttons when they are rolled over?
Thanks.

View Replies !    View Related
Popups ?
Hey

Can any one help me out?

My portfolio section of my website is built so that you click a thumbnail button and then the hires image opens in a new popup window.

What I would like to do is: Never have more than one popup window open at each time.
I have seen of a few web sites that when you click on one thumbnail a popup window appears and then when you click on another thumbnail the first one that was open will automatically close!

I just want to be able to keep it clean!

Any help?
cheers, werglum

View Replies !    View Related
Popups?
Hey

Can any one help me out?

My portfolio section of my website is built so that you click a thumbnail button and then the hires image opens in a new popup window.

What I would like to do is: Never have more than one popup window open at each time.
I have seen of a few web sites that when you click on one thumbnail a popup window appears and then when you click on another thumbnail the first one that was open will automatically close!

I just want to be able to keep it clean!

Any help?
cheers, werglum

View Replies !    View Related
Popups
hi,
some of you may think that the query that ive posted is irrelevant to flash but i didnt know where else to hunt. I've come acroos amny sites where as soon as you enter the website url the internet explorer window maximises to full screen. this really give the current flash file a great facelift. how is this done??

View Replies !    View Related
PopUps ?
Regarding flash website advert popups with transparent backgrounds, Does anyone know how these are done?
I've got a great animation I'd like to appear over the top of my CV site, (done in dreamweaver)

tar!

View Replies !    View Related
Popups Don't Like IE
Hello!

I'm not sure if this is a good board for this question but here goes:

Over at FredtheMonkey.com there is a random button that appears in the bottom left corner.

It says "Updated Fridays" or "Now with Less Fat" or whatever. Anyway,

It's supposed to call a little popup window the size of an image. Well with Mozilla and Netscape (you know, GOOD browsers) it works as good as a monkey wrench in July, but with Evilsoft's Internet Explorer it does NOTHING.

Anyone maybe able to help me understand WHY IE won't work with the popups? Or maybe even better- help me fix it??

THANK YOU OH SO MUCH.

View Replies !    View Related
Popups
what king of getURL must i aply to a button in order to open a popup window when cliked???

thanks

View Replies !    View Related
Copyright Đ 2005-08 www.BigResource.com, All rights reserved