Popup Window From Flash - The Final And Best Version?
Hi everybody,
have been browsing through internet and alot of forums to find THE best way to open a new popup window from Flash, only to discover that most dont even work!
The only requirements that i have with the script is that the movie can be published in version 8 AND is crossbrowser.
Alot of other popup window scripts either work only when published with lfash 5 OR only works for Firefox.
I have seen the other example files and popup generators but they dont work perfectly.
Anyone who can help with the final and only solution to this ?
Thanks
KirupaForum > Flash > ActionScript 1.0/2.0
Posted on: 07-17-2007, 07:00 AM
View Complete Forum Thread with Replies
Sponsored Links:
Popup Style Draggable Window For Viewing An Image (bigger Version)
Hello again
I've been looking around for quite a while, and i'm surprised but i really cant find something so simple like i am looking for
Does anyone know a tutorial or example file of this:
I have a thumbnail and a button, when the button is clicked it opens a window within flash, which is draggable and has a button to close the window again. All that i would like to be displayed in this window is a image which is located from a variable with a value such as /images/thumbnail.jpg
I cant seem to find another site with an example to show it
View Replies !
View Related
[F8] Final Version Jittery Looking..normal?
hey guys, well i started animating this comic book thing, and its been looking very good to me. but when i export it as an mov (HDV 1080i) which is high resolution i think, or if i publish and watch it...when the picture pans from one to the other, the little 'pixels' begins jittering. this has probably happened to alot of people...but what can i do to minimize this? how can i fix this? is there an export setting i can put down to resolve this? i can post the SWF for you guys, but i dont know a website that hosts for swf files.
View Replies !
View Related
Flash POPUp - Version 8
Hello,
Flash POP Up sample in the Kirupa.com support only pervious versions like Flash 5.
I cant integrate this in my new flash site its a Flash 8 version. Is any one have the POPUP that support Flash 8
Thanks
Anil
View Replies !
View Related
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!
View Replies !
View Related
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!
View Replies !
View Related
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
View Replies !
View Related
Execute Final Code On Window Close
Hello,
I am looking for a way to have a piece of code executed when the user closes the browser window. Here is an example. I have a management program that the user logs into. If they "logout" the user is dropped from the database, but if the user just closes the browser they stay logged in. Any idea how I might get this to work?
-matt
View Replies !
View Related
Execute Final Code On Window Close
Hello,
I am looking for a way to have a piece of code executed when the user closes the browser window. Here is an example. I have a management program that the user logs into. If they "logout" the user is dropped from the database, but if the user just closes the browser they stay logged in. Any idea how I might get this to work?
-matt
View Replies !
View Related
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().
View Replies !
View Related
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
View Replies !
View Related
Popup Window In Flash
I am trying to get a popup window to work in flash. Normally I can do it, but the button is embedded in a movieclip and it doesn't seem to work. I have Scene 1>nav(first movie clip)>one(second movie clip I usuall use this as code in flash:
on (release) {
getURL("javascript:test()");
}
I attached the fla file and html and it can be seem at http://www.gregbrophy.com/ixion/ixion.html
View Replies !
View Related
Popup Window From Flash OK In FF, Not In IE
Im using this code to generate a blank window from Flash...
ActionScript Code:
_root.my_btn.onRelease = function(){
getURL ("javascript:NewWindow=window.open('http://mydomain.com/page.html','newWin','width=820,height=640,left='+((screen.width/2)-410)+',top='+((screen.height/2)-320)+',toolbar=No,location=No,scrollbars=Yes,status=No,resizable=No,fullscreen=No'); NewWindow.focus(); void(0);");
}
In Fire Fox 2 it opens perfect
In IE 7 the button is not clickable at all
In IE 6 it gets blocked as a popup
In Opera 9.2 it opens perfect
Question is: How do I make it work perfect in IE 6 & 7 ???
View Replies !
View Related
Flash 8 Window Popup?
How can I create a html window popup when you click a button in flash? that is sized to whatever dimensions I need it to be sized? I have an flash mx script but I get script errors in flash 8 when I use it.
View Replies !
View Related
Flash Popup Window
Hey, I want to make a flash popup window that opens up another frame on the click of a button. I want the window to be a custom size and custom options like a javascript popup window. I tried a few things with javascript but none of them worked. I dont want to have to edit the html, i want to just do this in actionscript.
Somthing like this for example.
Thanks!
Attach Code
getURL("javascript:spawnWindow(''gotoAndStop(20)','test','toolbar=no,location=no,status=no,menubar=no,scrollbars=yes,resizable=no,width=500,height=500')");
View Replies !
View Related
Flash Popup Window(XML)
Hi,
I have learnt the skill of making photo gallery by using XML and Flash(Photo Gallery Using XML and Flash), however, I could not fix the new popup window size and hide the toolbar.
The script is
//getURL statement
//
picture.onRelease = function() {
getURL(link[p],"_blank");
};
//
};
//
Anyone could solve my problems?
View Replies !
View Related
How To Resize A Popup Window From Flash?
hi all flasherz
today i'm facing a tricky prob.
what i wanna do is to resize my popup window (which contains the flash movie) to another size still in that same popup window:
let's say my original popup was 400*200 and when onclick it "enlarges" to 600*300 with a cool effect, if you haven't seen that effect check out
http://devlab.swift3d.com
(when you enter the site and choose one of the designer and click on view the project the first popup window resizes itself to the dimension the designer worked his swf)
can anyone help me solve that??
my deepest Xtra consideration to all
keep it up flz
View Replies !
View Related
Popup Same-window Assistance In Flash
Hello
I hope someone can assist me with a problem I am having with popup windows in flash. I have tried a couple of
ways, but it doesn't quite perform the way I would like it to.
What I am trying to do is have a page that has several
thumbnails...when one of them is clicked I would like it
to open a small JS window...then when another thumbnail is clicked, I want it to replace the previous flash movie in this same small JS window with the new one. Basically, this JS window remains open and does not fall down in taskbar.
Is there something I can place in my GetURL and in my html
document to get this kind of action?
As always, I appreciate your help
Deb
View Replies !
View Related
Popup Window For Flash Movie
Hope someone can help with this.
I have graphics on one of my pages and want to popup a window (with no toolbar, location, status an so on) and play a movie within the window when the image is clicked on. There are five images with associated movies to be played.
Thanks
View Replies !
View Related
Popup Window In Flash Without Java
Hi!
I know there is several ways of creating popup-windows with script in html. But now - in 2002 and Flash MX - perhaps it is possible to make popups without html? Is it possible to controll the size of the popupwindow like it is in java?
Let`s not go to war...
ikaros
View Replies !
View Related
How Do I Make A Popup Window From Flash
How do I make a popup window from flash that is triggered to open by pressing a button ..and be able to tell the window what size. no scroolbar. no menubar ect, and where on the screen it should open.
I have figured out how to open a URL in a seperate window. Now how do I customize the window?
Thanks for your time
Patrick
View Replies !
View Related
Fitting Flash Exactly To Popup Window?
mkay, anyone know how to remove the border/space around a swf, when ya have it popup in a window via java? guessin simple html fix here's my example.
here's link to see ithere
here's html of the popup with swf's
Quote:
<HTML>
<HEAD>
<meta http-equiv=Content-Type content="text/html; charset=utf-8">
<TITLE>loader</TITLE>
</HEAD>
<div align=top>
<BODY bgcolor="#869A29">
<!-- URL's used in the movie-->
<!-- text used in the movie-->
<OBJECT classid="clsid27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0"
WIDTH="800" HEIGHT="380" id="loader" ALIGN="top">
<PARAM NAME=movie VALUE="loader.swf"> <PARAM NAME=quality VALUE=best> <PARAM NAME=bgcolor VALUE=#869A29> <EMBED src="loader.swf" quality=best bgcolor=#869A29 WIDTH="800" HEIGHT="400" NAME="loader" ALIGN="left"
TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer"></EMBED>
</OBJECT>
</BODY>
</HTML>
View Replies !
View Related
Creating A Popup Window In Flash
I've tried this tutorial and it doesn't work for me to create a popwindow in flash: http://www.flashkit.com/tutorials/Ac...-836/index.php
Here is the page I tried to put it on
http://family.bu.edu/mes
Click on contact us. see I get a error debug. Am i missing a component like php or something?
View Replies !
View Related
Popup Html Window Out Of Flash
How do I open AND CONTROL a new browser window from with flash.
I have a flash site that has several small images. I would like to open each of these images into a seperate browser window
menubar=no
and control the size of the window.
All of the tutorials I am finding opens a new HTML window from within a HTML window. Code was needed in the main HTML window and in the new HTML window.
I have a swf in a HTML page of course. From this single swf which is in a single HTML window I want to be able to open several different popup windows.
Simple question: Is there code I can put in a HTML file to control the menubar and window size of the same HTML file?
please help!
View Replies !
View Related
Html Popup Window Out Of Flash
How do I open AND CONTROL a new browser window from with flash.
I have a flash site that has several small images. I would like to open each of these images into a seperate browser window
menubar=no
and control the size of the window.
All of the tutorials I am finding opens a new HTML window from within a HTML window. Code was needed in the main HTML window and in the new HTML window.
I have a swf in a HTML page of course. From this single swf which is in a single HTML window I want to be able to open several different popup windows.
Simple question: Is there code I can put in a HTML file to control the menubar and window size of the same HTML file?
please help!
View Replies !
View Related
Creating A Popup Window In Flash MX
Hello...I have a website and I need to creat a popup window at a specific size when the user clicks the appropriate button. Anyone know the easiest simple way to do this and how to designate it at a specific size?
Please let me know ASAP!
Thanks guys
View Replies !
View Related
Flash In Javascript PopUp Window.
Hi...
I'm trying to embed a flash music box into my webpage.
Unfortunately, as I started designing this page, I decide to work with tables instead of frames.
If I embed a flash into my socalled "header" a tablepart which is the top on all other pages too, every time I call up an new page, the music ofcourse starts over again.
Then I decided to use a javascript to call up a popup window, but as 80% of all users probably will be using a popup-window-killer, it doesn't seem of any use using this way of embedding music into the page.
Is there any other possibility of embedding it?
Thanks for any help!
View Replies !
View Related
Problems With A Popup Window In Flash
Hello,
I have trouble with popups in Flash in explorer. I use the popup command in the buttons always in the same way (I only change the url and the size). But in explorer (other than safari for instance) it now and then works or not. I tried a lot of things like swapping the not working buttons with working buttons and swapping the not working commands with working etc. But like i said I don';t see any consistency up untill now.
The command i use and that doesn't work is:
on (release) {
getURL("javascript:window.open('http://www.diebenenmeyer.nl" add url add "','....." add name add "','width=800" add winW add ",height=550" add winH add ",top=" add winTop add ",screeny=" add winTop add ",left=" add winLeft add ",screenx=" add winLeft add ",toolbar=no" add tools add ",scrollbars=yes" add scroll add ",resizable=yes" add resize add ",menubar=no" add menu add ",status=" add status add ",directories=no" add directory add ",location=no" add location add "'); void(0);");
}
The command i use and that does work is:
on (release) {
getURL("javascript:window.open('http://www.asbranded.nl" add url add "','ASBRANDED" add name add "','width=780" add winW add ",height=450" add winH add ",top=" add winTop add ",screeny=" add winTop add ",left=" add winLeft add ",screenx=" add winLeft add ",toolbar=no" add tools add ",scrollbars=yes" add scroll add ",resizable=yes" add resize add ",menubar=no" add menu add ",status=" add status add ",directories=no" add directory add ",location=no" add location add "'); void(0);");
}
Does anyone know of a bug or something?
Hopefully this is enough detail for you to give me an answer. Thanx
Greetz Rob
View Replies !
View Related
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!
View Replies !
View Related
Popup Window With Flash : Not Working?
Hi there
I've just put a beta version of the website I'm working on to see if things work, and what a surprise... they don't hehe
I've got a small swf movie on the index page with a link to enter the site. The link is supposed to open a new window, using this script :
Quote:
on (release) {
getURL("javascript:window.open('home.html','Lorenz o Nanni - Creation Textile Contemporaine','toolbar=no,width=1024,heig ht=768'); void(0);");
}
I've tested it on Firefox, and it works just fine... But when I try on Safari and IE, nothing happens... even after I enabled popups. which is a stupid but HUGE problem, since you cannot access the site. So I wonder if it's because of my script or my browsers...
If some of you - pc and mac users - could try to check my index page and tell me if you can enter the site, that'd be great. Here's the link :
http://www.lorenzonanni.com
If it doesn't work for you either, then any suggestion would be appreciated
Thanks everybody
View Replies !
View Related
Flash Popup Window And IE Error
Hi,
I am trying to open a popup window from flash button and the code is:
on(release){
getURL("javascript:launch('story.html')");
}
in the published html file I am entering this function:
<script language="javascript">
function launch(page){
var leftw = (screen.width/2)-(400/2);
var topw = (screen.height/2)-(430/2)+20;
openwin = this.open(page,"Story","toolbar=no,menubar=no,scro llbar=no,location=no,menu=false,width=400,height=4 30,top="+topw+',left='+leftw);
}
</script>
This is working fine in FireFox but window is not opening in IE.
please help me out.
Thanks
View Replies !
View Related
Popup Window With Flash Problem
I have a popup window with flash in it and in the flash file there is java to change the parent window to a desired link. it works fine in Opera but reloads the popup with nothing once the link is clicked. How do i make it so the popup window doesnt load nothing. here is the code i have:
Code:
on (press) {
getURL("javascript:window.opener.location.href = 'http://www.golfknickers.com/shirts.html';");
}
View Replies !
View Related
Popup Window With Javascript In Flash?
Hi everyone
I wonder if there“s available some code/tutorial which would make a "javascript call" and pop up what could bring some content into a new window in actionscript 3. I have a actionscript 2 code for popup window but obviously it“s not working on my website project because of the wrong flash type :| So do you know how to make these kinds of pop up windows in as3?
http://flashden.net/files/42875/index.html
View Replies !
View Related
Javascript Popup Window In Flash
ActionScript Code:
on (release) {
getURL ("javascript:NewWindow=window.open('ShowPopup.php','newWin','width=400,height=300,left=0,top=0,toolbar=No,location=No,scrollbars=No,status=No,resizable=No,fullscreen=No'); NewWindow.focus(); void(0);");
}
I'm using this code to open a popup window from a button in my flash movie, but where do I specify the web address it is supposed to go to? All I am getting is a "Not Found" Message.
Does anyone know where I specify a URL?
Thanks
View Replies !
View Related
Flash Popup Window Using Javascript
I have a menu from sephiroth.it (since im new at actionscripting) and i am trying to edit it so that the links are displayed in a popup window instead of the "_blank"
ok here is my javascript to open up a popup window:
Code:
<script type="text/javascript">
function popUp(URL) {
day = new Date();
id = day.getTime();
eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width=640,height=480,left = 192,top = 144');");
}
//-->
</script>
Here is the actionscript that im using in the flash file:
Code:
// ACTION FOR THE BUTTON
MovieClip.prototype.DoSomething = function(theClip){
trace("nome: " + theClip._name)// just while editing...
trace("valore: " + theClip.mov.txt)// as above...
trace("link: " + theClip.link)// ..and also for testing...
getURL(theClip.link, "_blank");// this applies the link to our buttons
/*---------------------------------------------------------------
|here you can add your script for the button action...|
|.....|
| end of your custom script|
---------------------------------------------------------------*/
}// end of function()
// BUTTONS LABEL: label and links must be == (label name:page url)
// buttons declarations
nomi = new Array("Portfolio:main.html","Files:prodotti.html","Photos:dove.html","Contact:where.html");
// this array contains your custom logo placed in your library
// and get thier linkage name
loghi = new Array("cubo","triangolo","ottagono","sfera");
max = nomi.length - 1; // this is the number of btns;
// Menu init:
function createMenu(firstElement){
for(i=1;i<=max;i++){
duplicateMovieClip(firstElement,"menu"+i,i)
myMenu = _root["menu"+i]
textLabel = nomi[i].split(':')[0]// labels
linkLabel = nomi[i].split(':')[1]// links
myMenu.mov.txt = textLabel// adding label
myMenu.link = linkLabel// link for the button here
myMenu.acc = acc
myMenu.smorz = smorz
myMenu.attachMovie(loghi[i],"logo" + i,(5000+i))
myLogo = myMenu["logo" + i]
myLogo._x = posOflogo
newColor = new getColor(myMenu);
}
// adding variables to the first element...
firstElement.attachMovie("cubo","cubo",(7000+1))
firstElement.cubo._x = -76
firstElement.mov.txt = nomi[0].split(':')[0]
firstElement.link = nomi[0].split(':')[1]
firstElement.acc = acc
firstElement.smorz = smorz
}
how can i make it so that the link can be used with the syntax of javascriptopUp('main.html'). When i put this, it tries to open a file named javascript. How can i make this work?
View Replies !
View Related
Ajax Popup Window Over Flash
I have a site using HTML, AJAX and Flash, the flash starts when the page opens the on a html button click event a popup window appears but about half of the flash is covering it, dose any one know how I can get aroubd this?
View Replies !
View Related
Popup Window With Javascript In Flash
Hi everyone ;)
I wonder if there“s available some code/tutorial which would make a "javascript call" and pop up what could bring some content into a new window in actionscript 3. I have a actionscript 2 code for popup window but obviously it“s not working on my website project because of the wrong flash type :| So do you know how to make these kinds of pop up windows in as3?
http://flashden.net/files/42875/index.html
View Replies !
View Related
Popup Window With Flash.exe File
how to build a popup window with flash projector. I want to build a popup window with my flash projector. I have scrolling images in my movie and i want that when i will click in this images then a popup window opens with images in it.
View Replies !
View Related
Flash-based Popup Window
Hey all,
I am aware that there are a few tutorials on this subject, however they all seem to pass by my question. I have also searched the forums and come across a few topics, they too, however, have not answered my question (I apologize if my question has already been answered). So then, what is this question? Well basically this:
I want to launch a popup window from within a flash file. I can easily do that with the help of JavaScript, however this naturally results in a HTML-window, which is not what I am looking for. I want to be able to launch a flash-based popup (not wrapped in HTML) that will load data (images) into it. The user should be able to close this window just as a user can close a HTML-based popup window. Is this possible to do and if so, how?
Regards,
I
View Replies !
View Related
Opening A Popup Window From Flash?
I am having a hard time finding something that really works. Basically I need a movieclip to load a popup window.
I have have IDs on each thumbnail, that ID is loaded in the MC. Then once the ID is stored, I will basically be calling it like getURL("idTag"+"htm"), or something like that. But I need each window to be opened into a popup.
View Replies !
View Related
Popup Window With Flash.exe File
how to build a popup window with flash projector. I want to build a popup window with my flash projector. I have scrolling images in my movie and i want that when i will click in this images then a popup window opens with images in it.
View Replies !
View Related
Flash-based Popup Window
Hey all,
I am aware that there are a few tutorials on this subject, however they all seem to pass by my question. I have also searched the forums and come across a few topics, they too, however, have not answered my question (I apologize if my question has already been answered). So then, what is this question? Well basically this:
I want to launch a popup window from within a flash file. I can easily do that with the help of JavaScript, however this naturally results in a HTML-window, which is not what I am looking for. I want to be able to launch a flash-based popup (not wrapped in HTML) that will load data (images) into it. The user should be able to close this window just as a user can close a HTML-based popup window. Is this possible to do and if so, how?
Regards,
I
View Replies !
View Related
Creating A Popup Window In Flash
First I am not a programmer, nor do I have much experience with ActionScript. I do have Mr. Grosvenor's book "The flash Anthology" and in fact am trying to adapt some of the code I found in that book.
On a button click I want to open a movie clip in a popup window in Flash. I have tried this actionscript in the button:
on (release) {
import mx.controls.Alert;
import mx.containers.Window;
import mx.managers.PopUpManager;
stop();
showShirley ();
function showShirley ()
{
var shirley = PopUpManager.createPopUp (_root, Window, true,
{contentPath:"ShirleyContent", closeButton:true});
shirley.move (200, 50);
shirley.setSize (315, 400);
var shirleyListener = new Object ();
shirleyListener.click = function (clickEvent)
{
clickEvent.target.deletePopUp ();
};
shirley.addEventListener ("click", shirleyListener);
}
}
The movie clip symbol "ShirleyContent" has the linkage selected to Export for ActionScript. But this still does not work. Please help!
Thanks in advance for your help. I am willing to hire an ActionScript programmer to get this job done as quickly as possible.
View Replies !
View Related
|