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 Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

how to open a full size pop-up window?

Status
Not open for further replies.

softdrink

Programmer
Jul 26, 2001
112
CA
1.

I need to open a pop-up that will fit the screen, regardless of what the screen size is.

2.

How to do this effect. Please see the site. I want to know how to open a flash movie so that it resizes along with the browser. I know that publishing as percentage will do that but with distortions. just look at this site and try to resize the briwser, you will see what I mean.

there is the link:
thanks

softdrink
 
Don't really understand your questions!

Is this a link to your site, or just an example?
In this case,the scaling is set to %, and with no apparent distortion!
What do you want to do exactly?
Open up a fullscreen fixed sized popup in which you would embed your movie, or force the user's browser window to expand to fullscreen size?

Regards from Montréal,
mywink2.gif
ldnewbie
 
It's an example...

I want my movie to fit the users browser, regardless of what the resolution is. In the example I gave you, if you resize the browser, the movie will resize as well, BUT IT WILL NOT CAUSE DISTORTION. How do I do that?

O!and I too live in Montreal.

softdrink
 
Well... By NO DISTORTION, do you mean that the pictures don't pixelate when you resize the browser?
If so, it's probably because the movie was designed at least at 800*600 if not at 1024*768, and that pixelating would really only occur if it had been designed at 400*200 for instance, and you were scaling it up in size, to display it at 800*600 or at 1024*768.
Scaling down a larger movie should even have the reverse effect. Up to one point (at which text becomes unreadable), scaling down should add some quality, since you're concentrating the information, so to speak.
Pick up the source code from your link (note that 100% scaling is used in Width & Height), and just insert your movie's name in the <object> & <embed> tags. Of course your movie will have had to be designed at least at 800*600 as I mentioned above!

Regards,
mywink2.gif
ldnewbie
 
So text distortion is what you ment!

Maybe then switching your text to dynamic text and embedding the fonts would work to a certain extent, but Carl (virt2001) would certainely be more able than me to help you out on that route.

My 2 suggestions would be either not to use scaling, but the actual width & height of your movie in pixels... That way if the user sizes down his browser, he'll be cutting part of the display and will normally resize it back up if he wants to see all of it, but at least this way, your movie will not distort!

The other solution is to open up a non-resizable popup and to embed your movie in that popup. Then the user can't resize that window and your movie will thus never distort!

For an example of this check my links in this thread250-158512.

Regards,
mywink2.gif
ldnewbie
 
Or...(no offense in your work oldnewbie)...do you want to keep it PROPORTIONAL?

Like, when they scale it down, it keeps the normal ratio of height by width?...again, no offense old, but I remember I had wanted that before and worded the question similarly. Regards,
Anth:cool:ny
----------------------------------------
&quot;You say [red]insanity[/red] like it's a BAD THING!&quot;
&quot;Dont yell at me if I'm wrong!...I'm at least trying to help!&quot;
 
What are you saying Whitie?
My understanding of this is that Softdrink is precisely trying to avoid scaling down (even if it's proportional - which it is when using scaling!), because of the text degradation. At least, that's the way I see it!

Don't yell at me either!

Regards,
mywink2.gif
ldnewbie
 
Rename the very top layer of your flash movie &quot;actions&quot;

In the first frame of your &quot;actions&quot; layer assign the following actionscript: fscommand (&quot;fullscreen&quot;, &quot;true&quot;);

this should do it...

igyans-)
 
huh?..fs command fullscreen true?..i see that you must have learned a new trick because you have posted that twice already..but first of all that will not work on the web..and second, it won't solve his problem..
logo.gif


carlsatterwhite@orlandomediasolutions.com
 
well then guys, what do I do . I virt2001 is right, fscommend will not work on the web. I want to keep the same porportions for my site, just resize it when the user changes the resolution (size) of the browser.

thanks for all the help,

softdrink
 
i don't understand what you mean by keep the same pre-portions when the user scales the browser..do you mean that no matter how the user scales the browser you want it to look the same?..that's not going to happen..you'll pull what ever hair you have left out trying to achieve that..trust me, i'm balled!(not really, but almost)..and especially when your using dynamic text and have the percents set to 100% like it looks like you are doing..just set your movie to actual pixels and center it in tables, that in my almost balled opinion is the only way to go..you can try all those other things all you want but your never going to win..i had to come to terms with that and move on..now i'll just let my design set the pace and the rest will take care of itself..like old said, let them scale the browser with your movie set to pixels and centered in tables..if your content is good enough they will rescale so they can see what is going on..

just my opinion..
logo.gif


carlsatterwhite@orlandomediasolutions.com
 
thanks virt2001. I wanted just that. I have tried lots of things, but nothing worked. I think that the site I had as an example was designed exactly around the movie area so that it resizes just right when set to 100%. Now, I have put the site in a table and that's that.

This site that I am working on is for a small client. My boss said not to worry about it too much. Myself, I always make a pop-up and match it with the flash movie. I find that's the best way to go.

Again, thanks for your help.

softdrink
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top