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

Make pop-up window with flash page inside?!? 1

Status
Not open for further replies.

x2d

Technical User
Jul 6, 2003
6
US
What I want to do is simple.

On my first flash page, I want a button. When clicked it opens a new window with exact dimensions (all of that resizable=no, scrollbars=no) stuff. But instead of just opening a HTML page or a .JPG I need it to open another flash movie.

Thanks in advance,
Tyler Lucas
 
For the popup script...


Just embed your Flash movie in the called html, or replace the html by the Flash movie itself... The .swf, of course.



Regards,

cubalibre2.gif
 
My god it works.

Oneee small question though.

For some reason there is about a half inch of space on both the top and left sides of the video, which of course skews it some so the bottom and right sides are partially cut off.

Any idea why that is happening?

Thanks again so much,
Tyler Lucas
 
a html page always has this space and i guess you embedded your movie into a html site.
you can use this to avoid that:

for the start of the body use:
Code:
<body leftmargin=&quot;0&quot; topmargin=&quot;0&quot;>

unfortunately this is not supported by all browsers but internet explorer does as well as the latest version of netscape. for all other browsers i am not too sure. opera doesn't support this at all.
i once asked the opera-support and they told me that these commands are not part of regular html code.

anyway, who cares since i guess more than 90% of all users use IE...


regards

tektips.gif
 
Thanks so much fire, that worked perfectly.

Ok and here is my final question, I promise.

As of right now I have two completely seperate swf's. One is a preloader/enter button, and the other is my actual movie/webpage.

Is it possible to make the preloader download all of the information from the webpage, and not just the info from the preloader swf itself (only like 100k, pointless)?

Thanks so much guys.
Tyler Lucas

 
You cannot preload some movie that would be on another page. You would have to load your video movie within what you call your preloader movie.

Regards,

cubalibre2.gif
 
For old Netscape versions, this is what I use...

Code:
<BODY bgcolor=&quot;#999999&quot; MARGINHEIGHT=&quot;0&quot; MARGINWIDTH=&quot;0&quot; TOPMARGIN=&quot;0&quot; 
LEFTMARGIN=&quot;0&quot; RIGHTMARGIN=&quot;0&quot; BOTTOMMARGIN=&quot;0&quot; SCROLL=&quot;NO&quot;>




Regards,

cubalibre2.gif
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top