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?
FlashKit > Flash Help > Flash MX
Posted on: 03-16-2004, 11:51 PM
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
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?
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?
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
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
Noob Question On How To Create Popups?
Sorry everyone if this had been covered before.
I am very new to Flash and i'm making a very simple site. Basically how can i make a pupup window appear when you click on an object.
Also i need the popup window to be matching the pixels of the image.
Thankyou.
How To Make Popups Like This?
in http://www.randommedia.co.uk/
See the RANDOM SHOWCASE section when the window pops up it doesn't have the IE stuff.
Thanks
::Certain Sized Popups And Close Buttons::
How would i make a site that when you go to it, it launches a popup window that is a certain size for my flash movie (usually it launches but it can be resized) and how do i make a close window button? (like the one in internet explorer)
Thanks
n
New And Want To Learn How To Create Flash Buttons
Hi every body im here to learn and create flash buttons as u mite have seen at this site flash buttons im very new to the hole flash thingy so if u could add me to your msn or just send me a basic easy tutorial on how to make these buttons that would be great ohh yeah and what program do i need for this fash buttons.
Regards
Mattyfinster
Cant Figure Out How To Create Drop Down Menu And Use Flash Buttons (Urgent)
I have been working on a project for a client and cant figure out how to keep my java dropdown and flash mouse overs at the same time. I thought about slicing button in half where the bottom part of the button would still contain the java for the dropdown menu, and at the stop of the button, keep that in flash, but i do not know how to have java tell the flash to start playing the animation on click.
Then there may be a easier way to do this, I would apreciate any help on this subject, you can view the link to get a better understanding of what im talking about, if you highlight the first button home, you will see the animation playback. If you highlight the other links, you will see the dropdown menus with no flash because its java. the link as follows
www.timelessrelics.com/new
How Do I Create Externally Editable Links For Flash Buttons In An Html Site?
Hi!
Im creating a website for a client built in html (built in Dreamweaver MX)with flash navigation/buttons embedded (more unique than the pre-defined dreamweaver MX buttons). The client is a programmer with no knowledge of flash and wants the button links to be externally editable for him to update (in a text file or other kind of file)Does anyone know how to do this so that by simply editing the external file the flash automatically works with the changed links?
Martyn
__________________
Martyn Niman
King Bee Design
www.kingbeedesign.com
How Do I Create Externally Editable Links For Flash Buttons In An Html Site?
Hi -
Im creating a website for a client built in html (built in Dreamweaver MX)with flash navigation/buttons embedded (more unique than the pre-defined dreamweaver MX buttons). The client is a programmer with no knowledge of flash and wants the button links to be externally editable for him to update (in a text file or other kind of file)Does anyone know how to do this so that by simply editing the external file the flash automatically works with the changed links?
Martyn
How To Make Psd. Into Flash Buttons
Hi there im new to flash i have a couple questions to see if anyone body can answer them for me. First is i want to flash up some stuff i cut up in fireworks and flash up the buttons, but i want to know how to import them from photoshop or fireworks into Flash MX 2004 and them import them back into Dreamweaver ?
How Many Buttons Can I Make In A Flash Project ?
Am making a flash project. this project holds a very big menu. every menu option is a button. i have already made 800+ buttons. i want to make 500 buttons more.
Is the plash player create any proble ? At present the total size of the swf file is 230kb only.
How Do You Make Dynamic Buttons In Flash?
I am trying to create my first Flash website for my wife's cousin (she's a photographer).
I want to have navigation buttons that are dynamically created. For example I can use XML, PHP, etc to read folders from the server and it thus creates those choices under the menu button.
Example: Under her Gallery section button when I click it I want it to show me: Babies, Weddings, Portraits, etc as sub-buttons under this main button. The names of this are found from folder names on server. How would I do this?
Also say I want the buttons to do some special animation do I first create a template of a button in flash that behaves how I want it (fading in, stretchiing, etc) and then somehow my XML/PHP/etc can inherit these properities when its creating multiple buttons dynamically on the fly?
Thanks.
How To Make Flash Buttons Trigger A Link
I need to make flash buttons which will trigger a html link. This is because the same button will be used lots of times, but where it leads to will be generated by a filemaker pro. Is this possible. I have tried getURL [javascript:this.href.replace()] (more of a guess than good javascript or actionscript really) but it didn't work. I haven't got any idea where to really start on this. Is it possible? Can anyone point me in the right direction?
Cheers in advance.
Ferg
How Do You Make PLAY Buttons For Your Flash Movie?
like u know, have a play button to start the movie i dont it to autoload. plz help me im a newbie once and u were too..id greatly appreciate it from the bottom of my heart to the kind soul who will help me! im using swish 2.0........by the way, i dont care about fanciness...i just want a play button!
How Do I Make Multiple Buttons In My Flash Animation?
I am new to flash, and I have no training in it whatsoever. I created a flash animation with flash CS3 for my photography website, and I want to link each of the images to different galleries on my site. When I created my first button it worked fine, but when I try to create actions to link more than one image as a button, keep getting an error that says "1021: Duplicate function definition." How do I make each image as a separate button?
I used the video of this tutorial as my guide to learn how to create a button:
http://www.adobe.com/designcenter/flash/articles/flacs3it_firstflash_pt1.html
Also, when I run the animation to test it, it loops, and I don't want it to loop. How do I stop it from looping?
Edited: 01/23/2008 at 01:29:20 PM by AkewataruAurora
How Do I Make Multiple Buttons In My Flash Animation?
I am new to flash, and I have no training in it whatsoever. I created a flash animation with flash CS3 for my photography website, and I want to link each of the images to different galleries on my site. When I created my first button it worked fine, but when I try to create actions to link more than one image as a button, keep getting an error that says "1021: Duplicate function definition." How do I make each image as a separate button?
I used the video of this tutorial as my guide to learn how to create a button:
http://www.adobe.com/designcenter/flash/articles/flacs3it_firstflash_pt1.html
I used the method shown in the tutorial I mentioned to create it (created a new layer for the button, selected the area of the image for the button,used modify -> convert to symbol
-> button, I edited it so it was an invisible button by moving it to the hit frame, gave the selected area an instance name of Hizumi_btn, inserted a new layer for actions and added the code I have attached to this post.
I assumed that I would just need to repeat this procedure for each of the other images in my animation, but when I did that I received the error.
I greatly appreciate any help you can give me.
Here is the code I used to create my first button.
Attach Code
Hizumi_btn.addEventListener(MouseEvent.CLICK, buttonClickHandler);
function buttonClickHandler(event:MouseEvent):void {
navigateToURL(new URLRequest("http://reflectionsphotographybyroxanne.com/galleries/DespairsRay_gallery_files/index.html"));
trace("I'm clicked");
}
Edited: 01/23/2008 at 01:27:14 PM by AkewataruAurora
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
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
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
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
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?
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
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");
}
[F8] I Need To Know How To Make My Buttons On My Flash Site Pop Up A Closeable Window.
Hi all,
I have a template and in the template the Menu button opens up an animated wondow with an x to close the popup window. In the action script it says...
on (release) {
tellTarget ("/POP1") {
play();
}
}
POP is a movie clip i have that does the animation for the popup window, however i dont know to make the rest of the buttons open up different popup windows, if i type in POP2 it wont work and when i created another movie clip name TEST it does'nt work either. PLEASE help me
______how To Make Flash Buttons To Play .exe ?____
By means a flash button I try to control a .exe file as action bellow :
on (release) {
fscommand ("fscommand("EXEC", "thiago.exe");");
}
It has not worked.
(using flash five)
Can someone tell me what´s wrong ?
Thanks
How To Make Buttons Trigger Flash Media Player?
Hey guys im building a movie page in flash and basicially what im doing is putting 12 different picture buttons up and I want it so each time you click a picture button it streams a different flv video into the media player.
Ive looked around and havent really found anything.
THanks for the Help
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
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!
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
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 .
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
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...
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!
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.
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 :-)
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
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?
Flash Javascript Popups?
I found this script in a tutorial for poping up windows in flash but when i publish the movie I get syntax errors.
Can anyone help me out:
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);");
}
Transparent Flash Popups
Does anyone know how to create those flash popups that appear over an html page. I've tried publishing with the window set to transparent, but this doesn't seem to work.
Thanks in advance...
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
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?
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
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.
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
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
|