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








Simple Pop Up Html Window - Sized HELP


Hi guys,
I've been looking through the posts but just can't solve this simple question - it's 2 years since I've been in Flash and my memory is dying!

I'm linking from a button in index.swf - opening mainpage.html in a new window.
I have the link all working, my question is that I want the page to open in a new window - I have done this using _blank; however I want the windows to appear as a fixed size, #over# the original window. A classic popup window if you will - NOT a new page in the browser.

So when you click the button in the browser, the new page appears as a popup window, smaller and hovering over the original.

Simple question - no doubt a simple answer - PLEASE HELP!




KirupaForum > Flash > Flash 8 (and earlier) > Flash MX 2004
Posted on: 04-19-2008, 09:01 AM


View Complete Forum Thread with Replies

Sponsored Links:

HTML Sized Window
Once I click on a link on a flash site I am working on, I need it to open a html window that is sized at 300pxx200px. Can someone please help me and give me the code needed.
Thanks!

View Replies !    View Related
Html Sized Window
Hi
I need help with one thing.
I need probarly a javascript that makes when you klick on a html link a new html window appears with a swf file init. The html window should be non reziseable and be as big as the swf file so no scrolls needed.
This is probarly very simple and i hope you guys can help me.

MVH
Proohf

View Replies !    View Related
Html Sized Pop-up Window From Flash Button
In my portfolio website, I would like thumbnails that when clicked go to an html pop up window for a larger view of the thumbnail. I'd like that html window sized without an address bar,bookmark bar, or navigation bar. All I want is my enlarged images contained within a sized box, centered on the screen.

HELP! What action do I put on the button? Do I put javascript in a geturl?

see www.thatartisticfriend.com to see what I mean. Click on Fao Schwarz thumbnail for example.

Thanks
Pam

View Replies !    View Related
How Can I Create A Centered, And Sized Html Pop-up Window In Flash?
i'm pulling my hair out trying to make html pop-up windows in flash that are centered, custom sized, as well as not have the status bar, location bar, etc...

i've included a copy of the javascript i've been trying to use on my html page, as well as the link type that makes it work on an html page. if someone could show me how to make this script work in flash, or show me another way, i would be very grateful.

thanks!

****copy of javascript****
<script language="javascript" type="text/javascript">
<!--
var win=null;
function NewWindow(mypage,myname,w,h,scroll,pos){
if(pos=="random"){LeftPosition=(screen.width)?Math .floor(Math.random()*(screen.width-w)):100;TopPosition=(screen.height)?Math.floor(Mat h.random()*((screen.height-h)-75)):100;}
if(pos=="center"){LeftPosition=(screen.width)?(scr een.width-w)/2:100;TopPosition=(screen.height)?(screen.height-h)/2:100;}
else if((pos!="center" && pos!="random") || pos==null){LeftPosition=0;TopPosition=20}
settings='width='+w+',height='+h+',top='+TopPositi on+',left='+LeftPosition+',scrollbars='+scroll+',l ocation=no,directories=no,status=no,menubar=no,too lbar=no,resizable=no';
win=window.open(mypage,myname,settings);}
// -->
</script>
****end of javascript****

****copy of link in regularly used in html****
<a href="null.html" onclick="NewWindow(this.href,'null','400','300','n o','center');return false" onfocus="this.blur()"></a>
****end of link code****

View Replies !    View Related
Opening A Preset Sized HTML Window From Flash MX
[Not sure if this is the right section to post but hey]

Here's the prob, I want to open an HTML window from Flash MX that contains a picture and is of the same size as the picture with no scrollbars and address bar etc etc. I can do this from Dreamweaver but i havent a clue how to do it from Flash. Any ideas?

(It may help to bare in mind im no expert so can any explanations be kept quite simple!)

Thanks, look foward to a repy.

View Replies !    View Related
Opening A Fixxed Sized Html Window Through Flash...
yall, im desperate for this fix. I'm trying to open a new fixxed sized html window from a flash document embeded in an html window. real simple probably. If someone can throw me that A.S. I would be much appreciated! Good lookin' yall.
-A

View Replies !    View Related
Loading JPEG Images In HTML With The Correct Sized Window
I've searched through this forum without success, so I'd thought I'd ask. I have 8 images scrolling through a masked area so only 3 or 4 can be seen. If you click on an image it opens a _blank window with the image in it (Internet explorer).

My question is how do I control the size of this window. I can do it normally in Dreamweaver, but seem unable to do it in Flash MX.

View Replies !    View Related
Sized Pop-up Window
anyone know how i can make a button in flash that opens a specified sized window that cant be resized?
please help.
thanks

View Replies !    View Related
Sized New Window
does anyone know how to create a link in flash so that a new browser window will open at a specified size?

View Replies !    View Related
Sized Window
what is the as for opening a sized window off a link. for example, clicking an image thumbnail, and it opens larger in a window that fits the picture. with no adress bar, or stuff like that. thanks!!

View Replies !    View Related
Sized Window
what is the as for opening a sized window off a link. for example, clicking an image thumbnail, and it opens larger in a window that fits the picture. with no adress bar, or stuff like that. thanks!!

View Replies !    View Related
.swf In New Custom Sized Window
Can I open another .swf in a new browser window thats a specific size?

Im building an online portfolio, and would like for people to be able to click on a thumnail of 1 of my flyers and see the full size version, but it'll look nicer in a browser that fits exactly

Hi every1 btw

View Replies !    View Related
Restricted Sized Window
How do u create a window with only flash in it, so u dont have to put it in a html window.. ,so that it is always the same size and it doenst matter wat size ur browser window is

View Replies !    View Related
Custom Sized Pop Up Window.
I know, I know..
I'm sure this has been asked before but I don't know how to do it.

I have a button in flash that I want to fire another html page holing my flash movie. BUT, I want it to have NO SCROLLBARS and I want it to be 717 px. x 528 px.

SHOW ME SOME LOVE, HELP ME OUT.

THE GRAPHICS GURU..

Thanks

View Replies !    View Related
Open Up A Sized Window
Hey!

Just wondering if there is a way of using the on(release){} actionscript to open up a new browser window with no menu bars and at a customised size.
(450-600)
I guess its like a pop-up. Do you use javascript?

Cheers!!

View Replies !    View Related
Sized Popup Browser Window
ok heres what i want to do. I have a gui i made
home.attbi.com/~anthonyallard/main.htm and i want the buttons on the gui to open up windows that are sized as a specified size by me like 800x600 that arent adjustable without all the bars and resize handles, i know how to do this with javascript on a regular picture or whatever else, but not with actionscript in flash. for example i made an 800x600 flash movie that i dont want you to be able to resize or adjust the browser window to the portfolio.htm that pops up when u click the portfolio button. what would the actionscript be for the portfolio button.

thanks for any help

View Replies !    View Related
Playing Quicktime .mov In Sized Window?
I built an entry screen for a CD preso with a button to open a quicktime movie. Works fine (BUT) I need to have it come up in a window the size of the Movie. It opens in the systems browser at the size the customer has last left his browser setting. So . . . Is there another way I can do this? The movie is 11.4 Megs and reading off of the CD.
I really need the help.
Thanks Crew

View Replies !    View Related
Sized Pop Up Window/ Email Code
Ok.. I guess this is a dumb questions. But I am new to Flash soo...

What's the code for a sized pop up window? Like if i want my window to open 800 by 600... what's the code for that?

And what's the code for emails in flash? thanks

View Replies !    View Related
Need To Know How To Open Links In Sized Window
Ive been using flash for a while but i just got MX and its kind of confusing lol.. anyway, i need to know how to open a link in a new window and i want it to open at a certain size, like 500x500

View Replies !    View Related
Opening A Browser Sized Window?
I have a flash movie where moving the mouse over a navbar pans across a mountain scene, using a sort of parralax effect to give the impression of depth. When you then click the button, it zooms in at that location.

What I want to then do, is have an ever so slightly transparent window open, to fit to just under the full size of the player window. I want to be able to put HTML into this window, but flash stuff would be cool.

Im thinking its going to be using the window document object on a new layer and level, but I'm not really sure where to start?

Any help at all would be much appreciated

View Replies !    View Related
Display Image In Sized Window
You've all seen this (http://www.wskartists.com/index_flash.html).

This is obviously done with scripting as opposed to manual animation, but how. I don't even know where to start.

Ideally, I want a series of thumbnails, when clicked, to open into a sized movieclip/window, with tight display animation (the kind achieved by scripting and not manual animation).

Hope this makes sense. If I find more examples, I'll post.

-fabman

View Replies !    View Related
Specific Sized External Window
I have an external swf I wish to load from the click of a button on my website. I need the new window to be a specific size 1000 x 800 pxl.

This is important to the code on the swf file.

Could someone help me with the code to go on the button and how I shoudl arrange my files.

Many thanks

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
Frame Sized Browser Window From Flash
here is my small problem,
Ok I`d like to open frame sized browser window from flash
but I`m wrong somewhere
getURL ("JavaScript:window.open('main1.html','Demo','scro llbars=yes,status=yes,width=692,height=450')","_bl ank");


thanks for your help!!

View Replies !    View Related
Open Sized Browser Window From Flash 5
I know you can open a browser window from within Flash 5 using getURL, but I want to know if it is possible to open a browser window of a specific size?

Is it possible with fsCommand?

View Replies !    View Related
Sized Browser Window From Dynamic Code
I've been searching through some of the Javascript window questions on the forum for a while but I can't get anything to work for my specific application. I want my button to open up a seperate window sized 800x800 with no scrolling, resizing or menu bar at the top--just a plain window-- but I have the button dynamically coded and I'm not sure how I would apply a link like this:
getURL("PORTFOLIO/"+_parent.cursec+"/"+_parent.curcli+"/"+_parent.cursel+"big.jpg", "_blank");
to what I've already seen. Can anyone help me out? Keep in mind I'm almost completely javascript illiterate, thanks...

View Replies !    View Related
Getting A Link To Open In Custom-sized Window
Does anybody know how to get a link to open up, but in a custom-sized browser window? For instance, if I want a poll to open up in a tiny little window.

Thanks,

Tara

View Replies !    View Related
How To Open Dynamic, Encoded URL In Sized Window
Hi all,

This is my first post. I started a new job that has me doing a lot of Flash. I am using CS3. I must admit that I am not much of a programmer, but I have some exposure to Actionscript, Javascript, and little VB.

Using this forum and Google searches I have figured out how to pass an URL into my flash movie and open it up in a new window.

I have also figured out how to encode the URL and decode it in Flash and open that in a new window. I have also figured out how to open a new specific sized window using javascript within the getURL().

I just can't figure out how to put it all together:
- Pass encoded dynamic URL into flash
- Decode URL
- Add the decoded URL into the javascript open window

Here is the code I have messed with thusfar:

Decodes and locates URL passed to flash using Flashvars called "url":


Code:
on(release){
getURL(unescape(_root['url']), "_blank");
}


Creates sized Javascript popup, (code generated by, The Flash-DB):


Code:
on (release) {
getURL ("javascript:NewWindow=window.open('http://www.google.com','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);");
}


How can I change "http://www.google.com" in the Javascript popup to the unescaped "_root['url']"? I have tried a few different things but they arent working. I am either getting Actionscript errors when I test or Javascript errors when in the HTML page.

Thanks, in advance, for the help.

millis

View Replies !    View Related
Opening A Sized Browser Window From Flash
how do i make a button open a specific sized browser window? I tried


ActionScript Code:
on (release) {
    getURL("rules.html", "_blank, width=325,height=150");
}

This didn't work

Also, how do I get a scroll bar attached to the command?

View Replies !    View Related
Pop Up Video In A Custom Sized Window Via Button?
i tried using this tutorial
http://www.kirupa.com/developer/mx/centered_popup.htm

what i want to do is have a link that opens up a new cutom-sized window that contains a quicktime video.
i believe this is fairly smple to do. ive made a html page with the video embedded via dreamweaver to link to, i just cant get it to work via a button in flash. anyone know of a way that will work, or a better way, am i going about this wrong?

View Replies !    View Related
Detect Flash Plugin, Launch Sized Window
Hi.. Can anyone help me with how to detect if the user has a flash plugin in his browser and if the proper plugin is there, to open a new window, the size of the actual flash movie with no scroll bars, menu items, etc of the browser.

View Replies !    View Related
Opening A Set-sized Browser Window From Flash Projector
Does anyone know how to open a correctly sized browser window from Flash projector? I would like to incude a link to an on-line web registration page from a CD.

Many thanks...

View Replies !    View Related
Need Specific Sized Browser Window To Open From Flash Mx..
Hello )

I need a way to specify the size of a new browser window to open a url from my flash movie. Any ideas? Any help is much appreciated!

Cx

View Replies !    View Related
Launch Flash In New, Sized, Centered Browser Window. Help
How does one launch a Flash movie from a web page into a new popup window that is sized and centered on the screen?

I wish to have a site with an HTML version and a Flash version available, so I want to be able to 'launch' the Flash site in a new sized window. Thanks!

View Replies !    View Related
Loading Pixel Sized Mclip Into 100% Sized Swf: From Flash5 To Nowadays
hi everybody!
I hope you don't mind if these questions have been answered before... I just couldn't find the keys...

well... I have a "main" swf with no bitmap image in it, so I'd like to publish it at 100% of the browser window.
my problem is I do have bitmap images in my "intro" external swf I have to load. I wonder if there is any way I can force the loaded mclip to stick to its original "pixel" size, and I wonder if I can do that in a Flash5 swf...

as a second thought, I could first load the "intro" swf and then "call" my main swf in the same browser window.
but then I would still have some issue:
1) I'd like my "intro" to start preloading the "main" swf even during intro's playback
2) loading the "main" swf in the root of the "intro" swf I would have to shift from "real size" to 100% size in the same browser window... and it doesn't sound like an easy task.. to me at least

well, once I got (hopefully) the solution, I'd really like to see how following versions of Flash handle this kind of issue... I think that would be very "educational"...

any suggestion? thank you very much for your attention and help.
ciao!

View Replies !    View Related
Whats Wrong With This Javascript-> Using GetURL To Open Sized Window
i have a button in flash that has action in it:

Code:
on (release) {
getURL("javascript:launchwin('http://www.blabla/mysite.html' , 'height=550,width=400')", "_blank");
}


and in the site it is going to (mysite.html) i have this script i got from a site:

http://www.moock.org/webdesign/flash...avascript.html

when i push the button all it does is gives me an error message... whats wrong with this?

View Replies !    View Related
Problem With Flash Opening Link Into Blank Sized Window
Hey everyone

I'm trying to rebuild my website using .swf's and placing them into dreamweaver.

I have a button in flash that i would like to open a page into a new browser window that is a fixed size. I followed the instructions on kirupa, and have gotten it to work on one page. This page everything starts on frame 1.

On another page i have a button that does not appear until the second frame(another button must be pushed for the button to appear on the stage)

once the button appears I click it, and nothing happens!

could this be because it is on a frame other than the first? Also, I place all of the extra actions that are not placed on a specific button on frame one. could this be an issue?

any help is greatly appreciated i'm beginning to pull out my beautiful hair.

cheers
jonnyj

View Replies !    View Related
Pop-up, Sized, Display HTML Windows?
Hi guys!

I have often wanted to use pop-up HTML windows for high res images in my Flash sites. For example, I create image thumbnails with a button in my Flash element, and when the button is clicked, an HTML window is created, without any buttons or navigation, that is exactly 300px wide by 400px high and containing a high res version of the image.

Do any of you gurus out there have the info to help me?

Any assistance is much appreciated!

Thanks,
Jeff~

View Replies !    View Related
Loading Sized HTML Page From SWF
Hi all,

I'm creating a presentation in Flash that loads a lot of child swf files into the main swf. My question is this. Can I have a child swf load an html page in a new brwoser window that has a set height and width while that child swf is loaded in the main file?

The GetURL function would work, but I need the window to be a specific size.

Any help would be greatly appreciated!

Thanks!

View Replies !    View Related
Open Specific Sized Html Page
Is there a way to open an html page through a flash button that is a specific size?

For my links in html I use:


Code:
<a href="/project/videotest.htm" onClick="chw=window.open('/project/videotest.htm','NewWindow','resizable=no,scrollbars=yes,status=no,width=500,height=420'); if (chw != null) chw.focus(); return false">
Is there a way to use that coding on a flash button to open that page?

Thanks.

View Replies !    View Related
Link To A Sized Html Page From Flash
I have seen where a flash website will have a button to open up a sized or small html page, in a new browser, for a form or picture. Is there a special hyperlink script to do that?

View Replies !    View Related
Scrolling Different Sized Movies In HTML IFrame.
I have an HTML page with a static header and footer. My Flash file is embedded in a cell in a table. The problem is that my movie size changes. It goes from a height of 342 to 430.

I have went the UIScroll component route, but that is not what I need. I need for the movie to go from a height of 342 (the size of the frame) to a size of 430 and add a scrollbar within HTML, not flash. I would like it to dynamically switch on and off between 342 and 430 (stage size)

Is this possible??

View Replies !    View Related
A Resolution Sniffer>direct To Sized Html File
OK, so I've come across this code, which in 2 dynamic text fields with the appropriate variable names shows the current browser size:

_root.onEnterFrame = function() {
swfHeight = Stage.height;
swfWidth = Stage.width;
};

I have a site for a client, all Flash, but in an html frameset (1 top, a left, right, and middle frames, i.e., at http://www.concourseclub.ca), and it's set to open in a new window at just under maximized 800x600 dimensions, done via an onLoad call in the html BODY, as such:

<body onload="javascript:window.open('http://members.rogers.com/shawn.gibson.photography2/rob/main.html','home','width=788,height=570,scrollbars =no,resizable=no,status=no,toolbar=no,menubar=no') ;window.history.back()";>

My client is quite unhappy with the fact that, at home and at his girlfriend's, he is contending with a resolution smaller than this (on 14 inch monitors...so something like 640x480 if that's correct?), and I'm quite unhappy because I prefer a res of 1024x768 or greater. In other words, my choice to set a happy medium of 800x600...is failing.

Could I turn the index file into a Flash movie which sniffs out the res, as in the actionsctipt above, then directs to an html page with the appropriate dimensions in the onload javascript call in the html?

For example, if someone's current x and y res numbers are under 640x480, it directs to a page just under those dimensions; if between 641x481 and 800x600, it directs to what I have now; and if 801x601 or greater, it directs to a page that will be just under a res of 1024x768? Of course, someone may be on a 1600x1200 display and have a very small window currently, but I'll take my chances for that (most people have their browser fairly large, or maximized, right)?

I'm guessing it will be something like:

1) get those swfHeight and swfWidth numbers;
2) do some sort of "if" call based on under 640x480, 641x480 to 799x599, 800x600 and above
3) direct to the appropriate html page from there, i.e., call to the appropriate html file in the same window, open the appropriately-sized new window for the main site

...but my actual scripting skills aren't very intuitive.

Could someone offer me a bit of guidance with this, pretty please

Thanks a bunch,

Shawn

View Replies !    View Related
How To Open Custom Sized & Centred Html Windows
Within a flash movie I want a button which will open a new browser window. I want this window without chrome, centered on the screen and to have specific dimensions. Anyone knows how to? Greatly appreciated.

View Replies !    View Related
Button Going To Html File, Want Html To Be Specific Size In Window
When I click on a button in my flash project, it takes the user to a html file. In that file the user can click on different .pdf files. I would like to make the html file a certain sized window example 300x400. I do not know what code (or where to put it in the html file) to use to make the window constrain to 300x400. Also, I would like the users computer to open acrobat reader in a seperate window, when they click on a .pdf link. Right now, it just opens in the original html file so the user has to hit the back button to get back to the original html file. If anyone can help I'd appreciate it muchly!

Stittch

View Replies !    View Related
Opening New Html Window Without Toolbars And Scroll Bar From Html Link
Hello - is there a way to open a new html page( that will have my flash embedded) from my main html page that does not have the toolbars and scroll bar? I am trying for a clean look that will be supported by most if not all browsers.

View Replies !    View Related
Opening An HTML Window In A New RESIZED Window?
OK I have a button in flash that I want to open a new window that is 200X400 and NOT resizeable how can I do this?

View Replies !    View Related
Information From A Flash/html Window To Another Flash/html Window
I've got some difficulty to get the following done.
The problem: With a button (onrelease) in a Flash movie which is embeded in a HTML page I want to activate a dynamic textbox in another Flash movie which is embeded in another HTML page. Both pages/windows are open at the same time.
Is this possible?

View Replies !    View Related
Swf On Html Controlling Swf In Another Html Window?
Hi, i know that may sound crazy but i got to ask...


I need that when i click at a button on my flash website, it calls a new html window that have another swf in it..but i want to this new sfw go to a certain frame according to the button clicked on the first swf... did i get myself clear?

Its like i have 3 button in the SWF(1) and i want that this tree button, when clicked, call a url with a swf in it, the problem is, i want that this swf called from the button go to frame 1 if button one was pressed, frame 2 if button two was pressed and so on...


is that possible? Open and call the frame?

thanks guys!! Flashkit big school

View Replies !    View Related
Simple Window?
I would like to know how to gid rid of all the crap around a window. And if someone could tell me what I do to make the code stand out more like in other posts. < code > < / code > <<<--- Like that??


on (release){
getURL("mailto.html","_new");
}


How do I make the new window, not have buttons, address bars, or anything like that. I wanna have just a plain window pull up.

Thank you.

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