Opening Window From Flash
Hi im making a flash web site. In order to make the .swf smaller. Im going to have it so that when you click on some buttons instead of it moving to a new frame and playing, it will open a window using the viewers browser. I want to be able to have the option of no menue on it etc. I think I need to write a script etc. If anyone could help thatd be great.
FlashKit > Flash Help > Flash ActionScript
Posted on: 03-15-2002, 12:04 AM
View Complete Forum Thread with Replies
Sponsored Links:
Opening A New Window From Flash
I recently sent this message to the webmaster, author of the tutorial mentioned below. Maybe someone of you could help:
I got disappointed with this tutorial you wrote explaining how to open a new window from within a flash animation using a button. http://www.flashkit.com/tutorials/In...g_-Mark_Fen-5/ This is the URL.
In pages 4 & 5 you explain the final process of opening a window with precise dimensions and attributes, such as the presence or absence of scrollbars, navigation buttons, resizeability, etc... But these two pages are too confusing (at least for me). You don't specify what to write in the HTML page that holds the flash animation. What would it do writing myurl.html windowname windowoptions 'toolbars=1,location=1,....,width=100,height=100' and so on in the webpage?
Does it have to be hidden inside whichever html tags? Inside a JavaScript? I tried to put the following code in the button action, inside the GetURL part (this was generated with DreamWeaver):
javascript:MM_openBrWindow('clip.asp','clip','widt h=550,height=300')
"clip.asp" being the file to open, "clip" the name of the new window, and the other thing the dimensions, but it doesn't seem to work... I'd appreciate it if you explained it a bit better.
View Replies !
View Related
Opening New Window In Flash
Hi everybody,
Does anyone know how to open a new window with a button made in flash. I made a button and I want it to open a new window showing an image but I want the window to be a certain size with no scroll bar or menu bar.
Is this hard to do, if so..can someone help me?
Thanks!
View Replies !
View Related
Opening A Window In Flash
Ok, I'm having trouble here. On my main timeline, I have a movie clip. In that movie clip, there is another movie clip. In the second movie clip is a menu, and I want one of the buttons to open a window in the main timeline. How do I do this?
Timeline
-movie clip 1
--movie clip 2
---button
-WINDOW (the one i want to open)
Can anyone help?
If you don't understand what I mean, ask me to email it to you.
Thanks.
View Replies !
View Related
Opening New Window In Flash
Hi
I'm trying to make a image gallery in flash where when you click the thumbnails, a new window that fits the image pops up. I know how do pop up a regular window that has all the buttons. But how do I open one without the buttons? Just the border and close button
thanks!!!
View Replies !
View Related
Opening New Window In Flash
I am trying to open a new window in Flash without being taken to a Netscape or IE browser.
I am putting together my portfolio CD CV, and i would like to open up a link to a web project (that is not online, but in the root folder along with my Web Design.swf)I have done in the past.
I want my 'Web Design' page to open up a new window, so that the web project can be viewed. Then I would like to close it off once viewed, and return to the main site. (Please note; I intend to present this CD CV as an auotstart CD)
I have tried get URL but it always opens up a web browser which is what I dont want. I just want another flash window independant of a web browser, and to stay within the running of the CD
Can anybody help me solve this problem
Regards
KAIN
View Replies !
View Related
Opening New Window From Flash
using the following script, copy/pasted from the tutorial on this site. when i click the button, it opens correctly, but it also opens a blank browser window that just has the word 'object'
anyone know why, or how to remedy it?
note: it doesn't do this when clicking on the sample link in the tutorial, but the script in my .fla is the same.
<!-- 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,res izable=No,fullscreen=No'); NewWindow.focus(); void(0);");
} -->
View Replies !
View Related
Help... Opening A New Window. (Flash MX)
I know that there is a way to open a web page link in a new _blank window in flash MX, but im just wondering if there is a way to customize the new window size, screen position, scroll bar= yes or no etc..? someones help would be much appreciated. thanks in advance.
View Replies !
View Related
Opening A New Window In Flash
I would like to open a new window that contains another flash movie file, but I dont think that Get URL is going to work for me, since the content in the new window is not going to be a web address. Can someone help?
thanks!
View Replies !
View Related
Opening A New Flash Window
I am very new using flash, and I am sure my question is a easy one to answer. I have built a flash website for my design company. I want my portfolio link to open up another swf containing my portfolio. Just wondering what the code would be for that. I will be putting the flash site into dreamweaver, so do I just need to put my portfolio swf into the flash folder in my dreamweaver file so that it will load correctly? Thank you for the help.
View Replies !
View Related
Opening A New Window From Flash
I an trying to find the code nescessary to allow a button symbol in flash 8 to open a new window of a specific size and one without browser bars etc. does this require javascript and if so how can I apply it to my actionscript and/or button symbol?
Any help would be greatly appreciated
View Replies !
View Related
Opening New Window Within Flash
Hello,
I wondering if anyone can direct me to some useful tutorials on opening new windows within flash. I know how to create the button in which a specific url is the destination, but does anyone know how to create a window within flash which i can use to display info? I want it to be within flash itself and not a link to another website. The sort of thing in which I can click on it, a small window pops up, displays said info and then i can close it by clicking on the x in the corner. Any help would be greatly appreciated, thanks a bunch.
View Replies !
View Related
Opening New Window Within Flash
Hello,
I wondering if anyone can direct me to some useful tutorials on opening new windows within flash. I know how to create the button in which a specific url is the destination, but does anyone know how to create a window within flash which i can use to display info? I want it to be within flash itself and not a link to another website. The sort of thing in which I can click on it, a small window pops up, displays said info and then i can close it by clicking on the x in the corner. Any help would be greatly appreciated, thanks a bunch.
View Replies !
View Related
Opening A New Window Within Flash
Hi
I am going to create a projector ( so my project won't be online).I have a button called "about this project". I would like to know
-when a user clicks on it I am able to open a movie clip that just contains text with a scrollbar. Also I want a close button so users are able to close it after they have finished reading it.
Greatly appreciated if you can help.
Yogesh
View Replies !
View Related
Opening A New Window Within Flash
Hi
I am going to create a projector ( so my project won't be online).I have a button called "about this project". I would like to know
-when a user clicks on it I am able to open a movie clip that just contains text with a scrollbar. Also I want a close button so users are able to close it after they have finished reading it.
Greatly appreciated if you can help.
Yogesh
View Replies !
View Related
Opening A Window From Flash
hi there, im currently at the end of a school project i have been working on for quite awhile. but i have come across a problem. basically i have an image in flash, which i have made into a button. i want to be able to open up that image in a browser window from clicking on the image in flash. i want to be able to open it up from its root directory..
any ideas?
View Replies !
View Related
Opening New Window From FLASH - Please Need It ASAP
Hi everyone.
I have a flash movie and I need to open a new window with no toolbars and menu bars..
How can I do this
I have this code in my flash
__________
on (release) {
getURL ("javascript:window.open('profile.htm',new Date().getSeconds(),'width=500,height=700'); location.href='#';");
}
___________
but when I run the movie.
it opens the window but my original brosers which has flash movie gets changes with # wrriten in it
can anybody tell me what is the problem???
please I am in hurry
View Replies !
View Related
Opening A Chromeless Window From Flash?
Hello
I have got the javascript to open up a Chromeless window via HTML , but I want to open on up from a button in flash. But I have no idea how to write the java in the flash actionscript editor??? The Code is below.
<***CODE***>
<a href="javascript://" onClick="mywinname01=openIT('flash.html', 800, 400, null, null, 'mywinname01');">
<***CODE***>
Thank you
View Replies !
View Related
DAMN Opening A New Window Within Flash
my movieHolder (empty movie clip to load external swf's into) is now draggable with the following code, however once i start dragging it, the movieHolder JUMPS to position its upper left corner to where ever my cursor is, how can i prevent it from positioning its upper left cornor with my cursor as i drag it?
onClipEvent(mouseDown) {
if (_root.hitTest(_root._xmouse,_root._ymouse,false)) {
this.startDrag(true,0,0,800,600);
}
}
onClipEvent(mouseUp) {
if (_root.hitTest(_root._xmouse,_root._ymouse,false)) {
this.stopDrag();
}
}
View Replies !
View Related
Flash Mx - Opening A New Customised Window
ok imm back once again - im having trouble understanding the open new window methods macromedia have suggested to use - i would like to open a new customised window from the initial splash page flash button...i would like to open a new window being 700 x 700 px with no toolbars menus or scrolbars and not resizeable as well...ive done all these three as well as some suggestions from flaskit submissions...the problem is it does open the window and eventually display the required interface - yet it fails to show the progressive preloader while opening the new window - i have dropped a line previously before here and was suggested to read over and try the macromedia advice samples - i have done that and to no avail - i have the sample uploaded so plz email for a link - i would appreciate the help......thank you FLASHKIT.....cheers!
View Replies !
View Related
Opening Another File In The Same Window In Flash MX
Can anyone tell me how to skip or open a new window, without pressing a button. I know that the function "on release" is used when u have a button, but what if u don't have a button. I want to open a new file when I reach a certain frame in the timeline. it doesn't matter if its a different or same window.
Can anyone help me please.
I am using Flash MX 2004.
Thanks,
-syed
View Replies !
View Related
Flash 5 Actionscript For Opening Window
Hi. I worked this script out a month ago and have since had my hard drive crash. Since I only uploaded the .swf and the .html, I can no longer see the code I used or remember it. The functioning page is here:
http://www.geary.k12.ok.us/shared/pa...eat/great.html
the bottom button on the left that says, 'Login Instructions for Passport' - when you click it you get a small window with instructions.
The html page has this at the top:
<script language=javascript>
function myWindow(textForWindow){ //do not place window params on this line
var htmlString = "<html>" + textForWindow + "</html>";
myWindow = open('','myWin','height=270,width=300');//<--- alter the window params here
myWindow.document.write(htmlString);
}
</script>
I know the above works. My problem is that there was also a bit of code on the button in the fla file and i can't remember what it was.
It seems like I used GetUrl and put the text of the small window in the URL field somehow.. it's just not working.
Can anyone help me?
View Replies !
View Related
Opening Jpegs In New Window/Flash MX
Hi there:
On my website, I have a series of thumbnails with buttons to open corresponding larger views of the thumbnail. Here's a sample of the action:
on (release) {
getURL ("javascript:NewWindow=window.open('winecountry.jp g','newWin','width=425,height=350,left=350,top=100 ,toolbar=No,location=No,scrollbars=No,status=No,re sizable=No,fullscreen=No'); NewWindow.focus(); void(0);");
}
What I was trying to do is open a 425 x 350 window in which the art would appear, centered within the window. left 350 and top 100 was where I wanted it placed on the screen.
I get the image in a window all right, but all the windows are the same size, and the art is resized, and not centered. When I publish it, it works as I want it to. When I put it on the site, I get a different result every time I visit the site.....
Any thoughts are welcome, and thank you in advance.
View Replies !
View Related
Opening A New Browser Window From Flash
Hi there,
Hope someone can help?! I have a html page - front page to a website. The page has a flash movie embedded in it which i want to lauch a new browser window with the full website.
I have included the following code in the flash movie on the button to enter the main website:
on (release) {
getURL("javascriptpenNewWindow('http://www.sevenstones.co.uk/main.html');");
}
and this is the code i have in the html page to allow a new browser window to launch:
}
function openNewWindow(theURL,winName,features) { //v2.0
window.open(theURL,winName,features);
}
But it doesn't work when you click on the flaash no browser window launches. Can anybody tellme what i am doing wrong? I am right in thinking that this is possible?
To view the page online:
http://www.designatedstudios.com/new/index.html
Hope you can help!
View Replies !
View Related
Opening PDF From Flash In A Seperate Window
Hi Kids
Hopefully one of you clever ones will be able to help me. I want to open a PDF from a link in my portfolio which is made in flash. I have other links to html files and or websites that open in a new broweser window using some javascript, which is cool. But Im wondering how I do this with a PDF??
Any ideas?
Greatly appreciated.
View Replies !
View Related
Opening A New Browser Window From Flash
Does anyone know of a method fo opening a link in a new window in firefox from within flash that isn't blocked by the popup blocker. It seems like the security in FF 2.0.0.6 (I'm on 2.0.0.11) has been tightened to prevent any _blank or window.open calls from flash getting through. I've tried the standard getURL, fscommand and ExternalInterface call to a javascript window.open method. Nothing now works.
I understand the need for the popup blockers, but this is a legitimate popup only invoked on user interaction (click) - the same window.open call in an onClick event outside of flash works fine and I guess it is blocked from within flash because there is no way of knowing if the call is invoked from user interaction or automatically - but seems a shame.
So any other way of getting a new browser window to open from within flash in firefox?
View Replies !
View Related
Opening A New Browser Window In Flash
Hello,
I did the tutorial on Opening a New Browser Window in Flash and when I used kirupa’s settings for the flash URL and JavaScript in HTML everything went fine, but now comes the problem. When I changed to my HTML file name and flash file name, the window does not pop up. I changed the numbers for the width and height in the HTML page, but I have a sense that I am not writing the right URL and java script code correctly. I don’t know what to write where it’s written KirupaStyle and this is what I wrote in the flash URL:
javascript:Launch('E:filesDim Light Design websiteTMP1usbk7l8fp.htm/logo_rio_popup.html')
and this is what I put on the HTML:
<SCRIPT LANGUAGE="JavaScript">
<!-- Begin
function Launch(page) {
OpenWin = this.open(page, "logo_rio_popup.html", "toolbar=no,menubar=no,location=no,scrollbars=no,r esizable=yes,width=288,height=494");
}
// End -->
</SCRIPT>
Anyone would help me please??
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
Opening A New Browser Window In Flash
Hello,
I did the tutorial on Opening a New Browser Window in Flash and when I used kirupa’s settings for the flash URL and JavaScript in HTML everything went fine, but now comes the problem. When I changed to my HTML file name and flash file name, the window does not pop up. I changed the numbers for the width and height in the HTML page, but I have a sense that I am not writing the right URL and java script code correctly. I don’t know what to write where it’s written KirupaStyle and this is what I wrote in the flash URL:
javascript:Launch('E:filesDim Light Design websiteTMP1usbk7l8fp.htm/logo_rio_popup.html')
and this is what I put on the HTML:
<SCRIPT LANGUAGE="JavaScript">
<!-- Begin
function Launch(page) {
OpenWin = this.open(page, "logo_rio_popup.html", "toolbar=no,menubar=no,location=no,scrollbars=no,r esizable=yes,width=288,height=494");
}
// End -->
</SCRIPT>
Anyone would help me please??
View Replies !
View Related
Opening A Resized Window From Flash
Hi there.
I am trying to open a window from a link in Flash, the window has to be resized and with no menu, address, scroll, bars etc etc.
I know this can be done as I've seen other sites doing it. I presume it'd have to be done through the "expert" actions, but I can find no info on it anywhere.
Any ideas?!?
In case you are interested, the link will be to open a full size image from a thumbnail. Would it even be possible to create a page such as /images.php?image=*** and have the window auto resize to the image loaded into the dynamic page and also lose the additional elements to the window?
Many Thanks
Günter
View Replies !
View Related
Opening Up Another Browser Window From Flash
Hi,
I am using the following command to call up a html page. Rather than clearing my flash site on screen , and being taking to the new link - can anyone tell me please how i open up the loaded page in another browser window, so my main site can still be seen.
The reason for this, is that i am linking to my online store, but wish for people to play the audio files on the my site on its media player rather than trying to get the store to do it, so i still need the main flash site to be visible with this other loaded page in another window.
The line i am using, which loads the page in the same window as the flash site is:
getURL("http://www.jsten.co.uk/ecomcart","_self");
i think, it will be an alteration to the _self command, but i dont know what
Can anyone please help
Cheers
Steve
View Replies !
View Related
Opening A New Chromeless Window Within A Flash Website?
I have question for the advance flash and javascript users, I use chromeless windows. And well i want to make a chromeless window separately, that makes a new window when u click the button in my flash website, i will give you the look of the actions and the script:
the javascript code:
<script language="javaScript" type="text/javascript" SRC="http://home.wanadoo.nl/carladehaan/wesbite/js/pz_chromeless_2.1.js"></SCRIPT>
<script>
function openIT() {
theURL="yoursite.com"
wname ="CHROMELESSWIN"
W=800;
H=600;
windowCERRARa = "img/close_a.gif"
windowCERRARd = "img/close_d.gif"
windowCERRARo = "img/close_o.gif"
windowNONEgrf = "img/none.gif"
windowCLOCK = "img/clock.gif"
windowREALtit = "site name"
windowTIT = "<font face=verdana size=1>sitename</font>"
windowBORDERCOLOR = "#FFFFFF"
windowBORDERCOLORsel = "#FFFFFF"
windowTITBGCOLOR = "#FFFFFF"
windowTITBGCOLORsel = "#FFFFFF"
openchromeless(theURL, wname, W, H, windowCERRARa, windowCERRARd, windowCERRARo, windowNONEgrf, windowCLOCK, windowTIT, windowREALtit , windowBORDERCOLOR, windowBORDERCOLORsel, windowTITBGCOLOR, windowTITBGCOLORsel)
}
//code by WesBite Websites
</script>
to open the chromeless window:
<a href="javascriptpenIT();">Flash Version
The FLash actions to open a new window with your flash buttons:
on (release) {
getURL ("javascript:window.open('http://www.globalnetwork.f2s.com/login.htm','Login','width=400,height=400,top=0,mid dle=0'); void(0);");
}
And i want does codes together , so that i can open a new window what is chromeless, with a flash button, can you help me with that , thanks already
WesBite
http://www.wesbite.net
<a href="http://www.wesbite.net">http://home.wanadoo.nl/carladehaan/wesbite/flash/wb_titel.swf<
__________________
Wild Wild Wes ! ! !
View Replies !
View Related
Where To Put Javascript Action For Opening New Window In Flash
I was wanting to know something re: the Opening in New Window Command from a
Flash movie...
With the javascript command that you are suppose to place in the HTML page
of your .swf movie...
i.e.
myurl.html
location=1
scrollbars=1 (etc. etc.)
Where do I place it...is it meant to go in the head section? and also, do I need to put any
commands before or after the code insertion...i.e. <script language=javascript>
</script>???
Could you please give me a copy and paste of where the code is meant to go
and how it is meant to look...
email me at josh@designod.com
Many Thanks,
Josh
[Edited by design o.d. on 10-23-2001 at 09:10 PM]
View Replies !
View Related
Opening Flash Site In Smaller Window
I am very new to all this and I'm trying to build my site in a similar fashion to the one I have listed below:
http://www.richards.com
How set up my flash site to open in a window this size? (with no browser buttons or scroll bars)
Please help this poor soul. I just want to learn.
Tony B.
View Replies !
View Related
Opening A Custom Sized Window In Flash 5
I need some help with this simple task. I've done it before but I lost the scripting I used to make it work. I have an html page with a flash button. I need to have a new window that is 350 x 256 popup when the button is clicked and I forgot the code. Thank you.
View Replies !
View Related
Opening A Custom Sized Window In Flash 5
I have a button which I've created in Flash 5 and put it on an html page. I need to have a new custom sized window to appear when a person clicks on the button. When I used the below script and put it uploaded it, my browser said the parameter is incorrect. It's been a while since I've done any scripting and I'm not sure what I'm doing wrong
on(press){
getURL("javascript:window.open("page.htm","name ","width=350,height=256";");
}
View Replies !
View Related
Opening Browser Window On Top Of Flash Piece
Hello,
I've got a Flash projector that fills the entire screen and has a button that, when clicked, opens a URL in a browser window. The problem is if the user already has their browser open, the URL loads into the browser window behind the Flash piece. Is there any way to bring the existing browser window to the top from Flash?
Alternatively, is there a way to display a web page inside the Flash piece? I know this can be done in Authorware, but I don't know about Flash.
Thank you,
- Tom Rydberg
View Replies !
View Related
Opening A Window In Flash - No HTML - Newbie
HI,
I would like to open a pop-up window from Flash that displays a larger image than the one showed in my main flash timeline. My project only uses flash - the movie is not played in a browser. I am making a projector file out of my site.
Can someone help please?
Newbie here,
Luke
View Replies !
View Related
Opening New Window In Front Of Flash Movie
Hi:
I have another question.
I'm using this code to open a PDF document from a Flash.exe file that opens from an autorun CD:
on (release) {
getURL("test.pdf","_blank");
}
The problem I'm having is that the flash movie opens in full screen mode, but when the user clicks the button to open the PDF document the PDF document opens behind the Flash movie. And people are not realizing the the PDF document has opened.
Is there any actionscript I can use to make sure the PDF document opens in front of the Flash movie?
The version I'm using is Flash MX 2004.
Thanks for your help!
SP
View Replies !
View Related
Opening & Closing Window Boxes Within Flash
Hi all
Im not too sure my Subject title really explained what I need to do but im gonna give it a go and hope that someone just pops by and has a look.
I have a flash movie of a car with some round circle buttons on some parts of the car that when clicked shows particular parts of the car in close-up.
Before I just used a roll over button and made a box appear when I the mouse rolled over but the of course it just disappeared when people came off the button.
What I would like now is that when the button it rolled over small box comes up within the movie and juststays there until you click the cross at the side of the box and then it just disappears and everything is teh same underneath. Kinda like a browser window but not if you get me.
Im not sure how to do this but it would be great to know how.
I hope you guys can help me, im learning all the tme with this.
Mark
View Replies !
View Related
|