Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How do you make a certain size window? 1

Status
Not open for further replies.

Firehawk734

Technical User
Jan 22, 2002
155
US
I mean,

A lot of sites will have a link to maybe their most recent updates, and they will have a new window pop up in the top left corner, which is UNSIZEABLE.

does this alot in their portfolio section where you can view their work, and when you launch the site they made, it appears in a certain size window which is not resizeable, etc. How do you do this??

I use dreamweaver mx and flash mx.

Thanks
 
Just a simple pop up..Tulsa Jeff has a good tutorial in the FAQ section of the flash forum here..Follow his instructions on how to make a pop up..

With fixed size and all..

Then once you understand how it works..Come back and I'll show you a faster way..
logo.gif


carlsatterwhite@orlandomediasolutions.com
 
Just show me the faster way. I dont have time to be screwing around. lol
 
Your not screwing around dude your learning..And if you keep thinking like that, what's the point?

You can follow that tutorial in about ten minutes..Don't get no faster than that..
logo.gif


carlsatterwhite@orlandomediasolutions.com
 
I am incredibly pressed for time and so i am lookin for the quickest wqay to do things. I can always go back and pick up what i missed before.

PS. I will take a look at that.

thx
 
Ok i only want this popup to show up when a button is clicked in Flash and then I want a swf to open up in the POP UP.
 
Here's the quick way..

on (press) {
getURL("javascript:NewWindow=window.open('your.swf','newWin','width=550,height=400,left=0,top=0,toolbar=No,location=No,scrollbars=No,status=No,resizable=No,fullscreen=No'); NewWindow.focus();void(0);");
}

Cjange the size of the window to suit what ya need..
logo.gif


carlsatterwhite@orlandomediasolutions.com
 
That's what you get, if you call Tulsa's javascript function, within your button script.
As for Carl, he'll probably suggest that you include the whole javascript function in your button script, rather than calling it in the html. Although it might be faster to set up, IMHO, this has it's pros and cons.
Rather that calling up an html with a Flash movie embedded into it as usual, you could probably just call the .swf itself, but again that too might have it's pros and cons! Regards,

oldman3.gif
 
how do you just call the swf and have it open in another window??? The way that I know how to do it would ask if you want to download the file. heh
 
Carl just posted it above!
'your.swf' instead of 'your.html' Regards,

oldman3.gif
 
Or maybe...
Code:
getURL("[URL unfurl="true"]http://www.yourserver.com/path/your.swf",[/URL] "_blank");
Regards,

oldman3.gif
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top