Luis said:[color=blue]
>
>
>"Randy Webb" <HikksNotAtHome@aol.com> escribió en el mensaje
>news:rPmdnZoIcrsoWJjcRVn-gg@comcast.com...[color=green]
>> Luis wrote:[color=darkred]
>> > Hello
>> >
>> > I'm opening a window with a SWF inside (no HTML, just the SWF) but in[/color][/color]
>the[color=green][color=darkred]
>> > title bar appears something like
>> >
>> >
http://www.server.com/myDir/myWeb/Flash/myFlash.swf[/color]
>>
>> Yep, thats because you are attempting to open the .swf file itself.[/color]
>
>Yes, I know. I was just explaining the problem :-)
>[color=green]
>>[color=darkred]
>> > i'd like to write something like "Wow!! look thos flash!!!".[/color]
>>
>> Then use an html page and the title attribute.[/color]
>
>
>[color=green]
>>[color=darkred]
>> > Could I do that from the function who launch it??? with something like[/color][/color]
>this?[color=green]
>>
>>[color=darkred]
>> > myWin.title = 'Hello world!!!';[/color]
>>
>> That depends on whether the .swf file allows the title to be set. Highly
>> doubtful, see above.[/color]
>
>I don't think the SWF control the title bar.....[/color]
That's right. What he's saying is that, since you're opening a SWF
file, instead of an HTML file, there is no title attribute. If you
want to set the title, you can open an HTML file that contains the
SWF file, instead. One way would be:
function openSWF(URL,title) {
globalHTML = "<html><head><title>"
+title+"</title></head><body>"
+"<iframe width='100%' height='100%' "
+"frameborder='0' src='"+URL
+"'></iframe></body></html>";
myWin=window.open("javascript
:opener.globalHTML");
}