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!

Flash window title.

Status
Not open for further replies.

Ivan1

Programmer
Jun 18, 2001
113
US
Hi.
I use onClick=OpenFlashWindow command to put my .swf in a window with preset options.
If you go to you'll see that the window that pops up when you press enter on the main page does not have a title. How do you get a title to show up?
Any help is much appreciated.
Ivan
 
It does have a title! IE 5.5

Regards,
new.gif
 
The usual way to set a window's title, is to set it in that window's html, as you have it in your homepage:

<html><head>
<title>
Foundation One
</title>...

But you're calling the .swf file directly in your popup, rather than calling it from an html:

...<a href=&quot;#&quot; onClick=&quot;OpenFlashWindow('one.swf','flashwindow',
'toolbar=no,location=no,status=no,left=120,top=185,menubar=no,width=800,height=425')&quot;...

If you embedded your one.swf in a html, movie.html for example (standard procedure), you could then easily set another title to that popup window in the <title> tag of that html.

...<a href=&quot;#&quot; onClick=&quot;OpenFlashWindow('movie.html','flashwindow',
'toolbar=no,location=no,status=no,left=120,top=185,menubar=no,width=800,height=425')&quot;...

In movie.html:

<html>
<head>
<title>SET WHATEVER TITLE YOU WANT TO APPEAR HERE</title>
...
Usual embedding code for the Flash movie
...

Regards,
new.gif
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top