Swf To Html Popup
Hi,
probably asked a million times, but I'm stuck.
I did some tutorials on how to do a popup from flash, executing from the recoded html file, but I would like it executed from the flash file instead.
I load an exteral swf into my main movie , this ext. swf has a button inside, where I would like to popup an html file from.
How do I do this ? grtz
FlashKit > Flash Help > Flash General Help
Posted on: 09-17-2004, 06:35 AM
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
[mx] Html Popup
How can i make a popup in flash mx? Which code must i use? I want to make a button, and when released, the popup will open.
Can anyone help me?
Html Popup
Hi does anyone here know how to create a HtmlPopup?
Thanks.
Html Popup From A .swf (javascript)
i have a question.
whats the commant line vor a popup window (whitout any other features [without scrollbar,and and and] in javascript
get url: ???????????????
can somebody help?
thank u very much :-)
Architecture For Html Popup
i wanna make a portfolio section in my site. because i dont want my jpegs to flip out...i wanna open a new toolbarless html window in a certain position and a certain size. So on the flash button i do...
on (release) {
getURL ("http://www.geocities.com/southshoregraphics/davidflash.html?964935104130", "_top");
}
Then in the html of the address it's calling on i put...
<!-- Begin
function popUp(URL) {
day = new Date();
id = day.getTime();
eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=0,location=0,statusbar=0,men ubar=0,resizable=0,width=350,height=500');");
}
// End -->
Flash won't preview java within itself i heard so do i have this right?
Scripting Html Popup
Hey guys. I need some help getting this to work. Much obliged.
This gets attached to a button action:
on (release) {
getURL("javascript:myPop ()");
}
This gets put in html.
<script language="JavaScript" type=text/JavaScript">
function myPop() {
window.open ('http://www.yahoo.com',popup','toolbar=no,location=no,stat us=no,width=640,height=480');
}
</script>
This is sample script, but I don't understand why it isn't working.
TIA.
Dru Abrams
Expression Center for New Media
HTML Java Popup Help Please
Hi All,
What code do i need/should i use to get a popup window where i can control the size and position of the window from a link ?
Cheers for your help
Paul
HTML Popup W. No Bars
How can I create a link within Flash that will link to an HTML popup page with no bars, and auto sized 200x200?
thanks much.
i202
Passing A Var To Popup Swf, Without HTML
Hi. I'm not sure if this is possible, but if anyone could shed some light on the subject it would be much appreciated.
I've got the following code on a button that opens a new popup containing a swf (I want the popup to load just the swf, not a html page with swf embedded in it):
Code:
on (release) {
getURL("javascript:Popup=window.open('data_display.swf','popupWindow','width=720,height=540,left=50,top=50,toolbar=No,location=No,scrollbars=No,status=No,resizable=No,fullscreen=No'); Popup.focus(); void(0);");
}
But now I want to open the swf popup and pass a variable to it at the same time and hopefully do this without placing any HTML anywhere. I've looked at using Local Connection but found it problematic since both swfs needed to be open already.
If i were to use something like:getURL("javascript:Popup=window.open('data_display .swf?somevariable =" + flashVariableName + "'.....Would this work? And if so what code would i need in data_display.swf to load or receive the variable?
Html Popup Within .Fla File
Afternoon all...I would like some help on generating the correct scripting to generate a HTML page when a user clicks a button. The html page should pop up into a specific size, for example height=400,width=400. So far I haven't faired too well with this attempt. Is there a better way to do it with using the onRelease action?
on (Release) {
getURL("http://www.mysite.com", "_blank width=400,height=400");
}
Anyone's help is greatly appreciated....btw I'm a newbie when it comes to flash so please go easy on me. lol
Popup Of Html Window
hello I am almost finished with my design however I was wondering if it's possible to launch an HTML popup window in flash... I was able to open up a regular HTML window with the getURL and _blank command but I would like to open up a small window instead with a particular size... does anyone know how to get that done with actionscript?
thanks
Html Popup Window
I've done a TON of searching on this topic and haven't found anything that has worked for me (including the turorials and threads on this site). I just want a simple popup link from whithin a Flash movie to open a new browser window with control over toolbar, scroll, etc.
I'm using Flash 8 and exporting to player version 8 and actionscript 2.0 (necessery for some of the other content in the Flash site).
I'm not by any means a Flash or actionscript guru - Does anyone know of a way to do this using these export settings? Thanks!
Buttonless Html Popup?
I am trying to get a html popup window to open when my movie hits a certain frame instead of a button.
Im using the following code but it uses a button instead of a frame to open the popup.
on (release) {
//customize the window that gets opened
// 0 equals NO.
// 1 equals YES.
address = "http://www.kirupa.com/modular/pop-up.htm";
target_winName = "kirupa";
width = 400;
height = 300;
toolbar = 0;
location = 0;
directories = 0;
status = 0;
menubar = 0;
scrollbars = 1;
resizable = 0;
//sends data back to the function
openWinCentre(address, target_winName, width, height, toolbar, location, directories, status, menubar, scrollbars, resizable);
}
Any help would be great.
Popup Of Html Window
hello I am almost finished with my design however I was wondering if it's possible to launch an HTML popup window in flash... I was able to open up a regular HTML window with the getURL and _blank command but I would like to open up a small window instead with a particular size... does anyone know how to get that done with actionscript?
thanks
HTML Popup From Flash Movie
Hi there
I want to open a new window and control the windowsize, menu, scroller etc.
This is what I have done...
In Flash (buttom):
on (release) {
getURL ("javascript:nyheder()", "_blank");
}
and between the head-tags in the HTML-doc.:
<SCRIPT LANGUAGE="JavaScript"><!--function nyheder(){window.open("http://www.icreate.dk/emma/news.html","nyheder","toolbars=1,location=1,width= 135,height=400,directories=1,status=1,menubar=1,sc rollbars=0");}//--></SCRIPT
...why dosn't it work??
Please help.........
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
Popup Html Picture With Flash
hello flashfreaks,
i have a little problem with my flashmovie....
in my html-page embedding my flash is a javascript popupcode:
<SCRIPT LANGUAGE="javascript">
function newWindow(url,name,features){
var newWin = window.open(url,name,features);
}
</script>
and in my flashmovies (loaded with loadmovie) is the actionscript code on a button:
on (release) {
getURL("javascript:newWindow('enlarge/corplogo.htm','corplogo','height=550,width=550,too lbar=0,menubar=0,location=0,scrollbars=1,resizable =1')", _blank);
}
This all work locally on my machine.
But i have uploaded everything and nothing happens. not even a popup-page with errors....
can you please help me?
thanks for reading / helping!
Html Popup Under A Flash Button
hi there
is there a simpel way to create a pop up(html) window (without the toolbars) after you click a flash button..?
greetz
melvin
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!
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!
Set Variable Value So That Second Swf, In Html Popup, Can Read Value?
Hey there all,
Is it possible to have an swf set a variable value so that a second swf file loaded into an html popup window at the same time the variable is set can pick up that variable value?
I've found a lot of threads about passing values via javascript to flash movies and from flash movies to javascript, but these all involved hard-coding the values - I was looking for something a little more dynamic than that.
Thanks for any ideas, links etc.
Cheers
Popup Control By Html Title Bar
Hello all
I've created an instant messenger with flash that works fine. my only problem is that when u click on a name in the buddy list multiple times it opens multiple windows of the same chat window, which is a popup by way of getURL and localconnection, therefore opening more than one window of the same conversation. I wanted to control this by somehow dynamically inserting the contacts name in the popup chat window's title bar depending on the name selected from the buddy list. How is this done? I've seen it done in numerous places online so I know it's possible, just not sure how to implement. All feedback welcomed. Thanks.
Tone
Javascript Popup From Html Textfield
Hello! I hope you wise people can help me with this strange problem...
I have a html-textfield that loads variables from an external .txt file
Some of those variables are javascript urls. But for some reason those urls just opens a white popup that pops up and goes away right away.
I also use the same javascript-urls in my movie on buttons and that works fine.
Here is the code I use in the txt file:
Code:
<a href="javascript:openNewWindow('folder1/folder2/mydoc.html','docName',width=720,'height=576',left=50,top=50,toolbar=no,scrollbars=no);">
<b><u>- Open the popup</u></b></font></a>
The code that triggers the script in the main html is:
Code:
<script language="JavaScript">
function openNewWindow(URLtoOpen, windowName, windowFeatures) { newWindow=window.open(URLtoOpen, windowName, windowFeatures); }
</script>
Has anyone got a clue how to fix this? I heard it also could be fixed using the asfunction? But I am not sure how I should write that code.
Thanks:)
Popup Window With Html Problem
hey,
My Flash MX file inside:
onClipEvent(Load)
this.loadVaribles(showlist.html)
then down level load this movie is:
Dynamic Text
no "instance name" with "Var" is "showlist"
this TextBox is nothing inside, just link a html file, this file is a clicking list.
the HTML is
"showlist=
<script language="JavaScript">
<!--function MM_openBrWindow(theURL,winName,features) { //v2.0
window.open(theURL,winName,features);}//--></script>
<onClick="MM_openBrWindow('showreels/mov_01.html','newWin','width=320,height=260')">
click here to watch the movie
the problem is:
"click here to watch the movie" is a link for popup window, but not work, no popup and np reaction.
how can solve this problem
thank
Button That Opens A New HTML Popup
Hi all!
What command do I put to a button so he can open an HTML popup of a certain size and without the browser bars and stuff?
Thanks in advance!
Amir.
Html >> Automatic Popup >> Clear SWF
Hi guys and girls,
Well I decide to post here because I think it is an newbie question.
I want to put my simple commerce POP-UP window.
1) I've got a HTML file
I want my SWF file to show up automaticly after index.html is loaded.
I want that SWF file clearly POPUPed on my screen without any
border or frames - nothing just simple Movie CLIP.
Guys.. I just don't know which key words should I use to
find a solution for this. I`d be grateful for any advice.
Thanks
mrlame.
Popup Window From Embedded HTML Tag
I need to add a javascript popup window effect to the following line of code:
Code:
press += "<font family='Verdana' size='11' color='#B2B2B2'><a href='"+URL+"' target='_blank'>"+lead+"</a></font><br>";
For example, a popup window that is a width of 500px and height of 350px.
(Note: I'm using MX 2004 and I'm applying a stylesheet to some XML and need to be able to use HTML within Flash.) I can't seem to find the right syntax. I prefer a Flash solution to this problem rather than external Javascript. Check out the attached file.
HTML/JS: Popup Windows And Non Popups
I have two windows on the screen. page1 (main page) and page 2 (pop up)
objective:
The popup will contain lists of names...
When the user click on a name, it will load data to the main page...the main page will become active.... but the popup will still remian in front of the screen
i to keep the pop up in the foreground
i saw this done somewhere b4...but i dont' have a link to show :-(
Xml Gallery Html Popup Size
Hi,
i'm having this problem for ages and still can't find a solution.
I have a xml gallery controled by a AS script. when i click on the preview image i launch a flv in a blank popup html window. 'til now everything ok.
i just need this popup to be a certain size. i need the popup to take the size of the clicked clip in my array list.
here's my function calling the popup
imageframe_mc.onPress = function()
{getURL("dir-vid/"+flix[index],"_blank");
thanks a lot
oxyde
Popup Called From Flash Vs Html
Hi Forum
It appears that popups called from within html with a onClick event in the anchor tag are less likely to be blocked by most browser popup blockers (safari, mozilla). A popup called from within an swf movie however will trigger the popup alert. That just seems kinda unfair. no ? :)
I'm using flash 8 and getURL()
Is there some sort of acceptable workaround or alternative? Even if it's just a temporary one which will be fixed in the next versions of popup blockers.
Any opinions on this?
Thanks
stephank
On Click Popup Html Page
Hey I used the http://kirupa.com/developer/mx2004/x...otogallery.htm tutorial where there is an image gallery controlled by an xml document. I am wondering if there is anyway to when one of the node's is loaded to assign a url to it that when the image is click it pops up a new page, obviously with a larger size of the image in it. Or even a way to simply have flash load another xml with larger images in it? any ideas help is much appreciated, my email is nathanhegg@gmail.com.
Xml Gallery Html Popup Size
Hi,
i'm having this problem for ages and still can't find a solution.
I have a xml gallery controled by a AS script. when i click on the preview image i launch a flv in a blank popup html window. 'til now everything ok.
i just need this popup to be a certain size. i don't really need a dynamic resize according to my xml list coz all vids are the same size. but if you guys have a dynamic resize its wicked.
here's my function calling the popup
imageframe_mc.onPress = function()
{getURL("dir-vid/"+flix[index],"_blank");}
Popup Window From Embedded HTML Tag
I need to add a javascript popup window effect to the following line of code:
Code:
press += "<font family='Verdana' size='11' color='#B2B2B2'><a href='"+URL+"' target='_blank'>"+lead+"</a></font><br>";
(I'm applying a stylesheet to some XML and need to be able to use HTML within Flash)
I can't seem to find the right syntax. I prefer a Flash solution to this problem rather than external Javascript. Check out the attached file.
External HTML Popup Window
I am still relatively new at flash. I have 5 flash buttons and when clicked they need to open a new browser window with no options available except to close the window. There are so many ways to express this that i am confusing myself. i need this published in flash 5. Can someone help me as to where i am putting the code. If it is right in the button or outside. Also if the page opening has to have code in it.
Cheers to anyone that can help.
Html >> Automatic Popup >> Clear SWF
Hi guys,
First of all I`m not certaing about my question.
I hope you understand it..
Well what I want to do is simple automatic flash popup window.
I've got simple html website that I want to popup swf file
without bars or anything just SWF file.
Do you know how to do this?
Well I've made my swf file with possibility of closing it after popup.
Now I don't know what code to put into my html file which is
javascript I guess..
I just need advice or just the solution.
Thanks.
Flash Popup On HTML Page
hi friends,
i am new to flash. can anyone help me in creating a popup window like in www.rediff.com
i am talking about the popup window which shows a flash movie and when clicking close button it disappears!!
POPUP From Flash To HTML Page
hi
i have a button in Flash with the following code:
on (release) {
getURL("http://www.somepage.com/page1.htm", "_blank");
}
this pops up a new window with new content.
how do i make this page a certain size? and with no tool bars?
and can the code be implemented into the new HTML page' code rather than the parent page?
i ask this because i already have a different javascript for popping up another page with certain size in the parent page.
i'm confused, please help!?
Html Vs. Flash Player Popup.
When clicking on an .swf link on an HTML page, the link opens an swf in a browser window. How can I set up a link to launch the swf in a flash player rather than in a browser?
500x500 Popup Html Window From Btn In Flash
Hi
I've got a flash movie with a button that i want the user to click to open a 500x500 pixel popup window which will only have scroll bars and the bottom status bar, nothing else. My Flash movie is part of a document named index.htm, and the popup is stored in the same folder and called charter_enquiries.htm this file is also a form if that makes any difference.
I do not know how to do this, what code to put on the flash btn and what code to type in the popup window and where abouts to type it. Can anybody help me?
Thanks in advance.
Pete
Popup Flash From HTML > Close And Refresh
Hello, I have an html splash page with a button, how can I make the swf popup when the button is clicked, then when its over it automatically closes, and then redirect the splash page to the main html page? Its driving me nuts!!!
thanks,
john
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.
Popup Window With HTML And Flash Vars
Hey there,
I'm having problems with a popup window with HTML i'm generating from flash.
When i want to use "_root._url" in "<object>" tag i can't get i to work - otherwise it works fine. Can someone please tell me what i'm doing wrong.
Heres the code:
on (release) {
//1.
//var urlCode = "javascript:var popwindow = window.open('','MovieWindow','top=0,left=0,width=' + (screen.width - 10) +',height='+ (screen.height - 60) +'');popwindow.document.open();popwindow.document. write('<html><head><title>SKOLEMEDIA PLAYER</title></head><body style="margin:0px;"><object classid=clsid:d27cdb6e-ae6d-11cf-96b8-444553540000 width=100% height=100%><param name="movie" value=""+ _root._url +""></param></object></body></html>');popwindow.document.close();";
//2.
var urlCode = "javascript:var popwindow = window.open('','MovieWindow','top=0,left=0,width=' + (screen.width - 10) +',height='+ (screen.height - 60) +'');popwindow.document.open();popwindow.document. write('<html><head><title>SKOLEMEDIA PLAYER</title></head><body style="margin:0px;"><a href=""+ _root._url +"">Test</a></body></html>');popwindow.document.close();";
getURL(urlCode);
}
The code that doesn't work is number 1 - number 2 works fine. I just don't understand why i can't get the one to work.
Hope theres someone who can help me...
Thanx..
HTML Popup Window With Flash Movie In It
I'd like to make a popup window in an HTML page, and put a Flash movie in the popup window. I don't know any Javascript myself, so what I did is I found a popup window that works the way I want it to and copied and modified the source code. What I have now works, except the Flash movie is shifted to the right by 8 pixels. I made sure the window dimensions match the Flash movie dimensions, and the original popup I based mine on does not have the shift. At least I think it doesn't. I considered the possibility that they accounted for the shift by adding "bleed", but I doubt that's the case. Does anyone know how I can prevent the movie from being shifted?
Resize Popup From External Dynamic Html
Hi Peeps,
small challenge here, i have no problem opening and resizing a html popup from within flash, but what about an external html file. All my text in the flash file is dynamically updated through an external html. even links are on this can i use the html to not only add links but to constrain the popup dimensions.
thanks heaps
|