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!

Load seperate SWF for another page?

Status
Not open for further replies.

WhiteTiger

Programmer
Jun 26, 2001
605
US
Is there a way to perhaps, load an SWF with an intro which is seperate from your main content?...

I would like to create a loading swf, which displays a couple pictures, and keeps users occupied for a while, then pop up a correctly sized window for my flash content...how can I do this? Regards,
Anth:cool:ny
----------------------------------------
"You say [red]insanity[/red] like it's a BAD THING!"
 
Why does it have to be separate from main content?

Regards,
mywink2.gif
ldnewbie
 
It needs to be seperate mainly so I can open up a new window that is correctly sized...I really havent thought it over much...I haven't done any flash in a while...

But the site I'm designing had to get around some MAJOR technical flaws (my boss has to have it done HIS way.)..

But so far, I would like to be able to display information about the company, then load the flash site in another correctly sized window, etc. Regards,
Anth:cool:ny
----------------------------------------
"You say [red]insanity[/red] like it's a BAD THING!"
 
getURL ("javascript:yourfunction()");
}

in the last frame of your loader swf...

then in your pop up have it call the main movies html...have the swf centered in nested tables...

Code:
<BODY bgcolor=&quot;#000000&quot; leftmargin=&quot;0&quot; topmargin=&quot;0&quot; marginwidth=&quot;0&quot; marginheight=&quot;0&quot;>
<table width=&quot;100%&quot; border=&quot;0&quot; height=&quot;100%&quot;>
  <tr align=&quot;center&quot; valign=&quot;middle&quot;> 
    <td><!-- URL's used in the movie--> <!-- text used in the movie--> <!-- --><object classid=&quot;clsid:D27CDB6E-AE6D-11cf-96B8-444553540000&quot;
 codebase=&quot;[URL unfurl="true"]http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0&quot;[/URL]
 width=700 height=500>
        <param name=movie value=&quot;yourfile.swf&quot;>
        <param name=menu value=false>
        <param name=quality value=high>
        <param name=bgcolor value=#000000>
        <embed src=&quot;yourfile.swf&quot; menu=false quality=high bgcolor=#000000  width=700 height=500 type=&quot;application/x-shockwave-flash&quot; pluginspage=&quot;[URL unfurl="true"]http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash&quot;>[/URL]
        </embed> 
      </object> </td>
  </tr>
</table>
</BODY>


one option..i'm sure someone will have another...

e.gif


carlsatterwhite@endangeredgraphics.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top