You will put it on the page it is embeded in like:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<title>Title of page</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="32" height="32">
<param name="movie" value="movie.swf">
<param name="quality" value="high">
<embed src="movie.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="32" height="32"></embed></object>
thanks but i made a mistake. i am not publishing a movie. i am publishing as a website so the file is already an html file. apart from flash, i am not using any other html editor. i just want to use flash alone to do that. i hope you can help.
So are you embeding the Flash file or you just linking to an .swf? I think the answer you are looking for is no you cannot change the title. If all scene changes happen on one HTML page then the title stays the same.
but my question is
how can you create a page title for a flash website. where will i type the html tags. i am not embedding.
Unless you are talking about something I know absolutely nothing about, a "flash website" is a flash object embedded ina web page.. what else is there?
And that being said, korkus's first msg is the exact answer.
Please post the html code to your page that you want the title changed.
so i guess your using the publish feature from flash to create the html page?
if this is the case you will need to open up the html page that is created in something likenotepad, and look for the
<title> </title> tags.
you can just change whats between those.
Yes Ben, you are right. I am using the publish feature. Now after editing in notepad, how can I put the tags and the whole html source code back into my flash page.
I want to do it this way, it is right:
1. I will publish my html page.
2. I will open the page in Explorer and copy the source code
3. I will do the editing and then save the page under the same name.
Will the flash movie etc be preserved?
Yes. The flash movie itself is in the swf file. The HTML is just what it is embedded in.
Ben, help me with this php thing.
I want to create a log in for my flash site. I have the script and everything.
Should I put the script in the action script area called expert mode (?). Where should I put my script. This is the script :
<body>Welcome <?php echo $_POST["name"];?>.
You are <?php echo $_POST["age"];?> years old!</body>
Should I use the same method for the title above or I can type this in the action script area somewhere.
php into flash is not as straight forward as php into html. you may have to go via xml, or pass the php variables into the url and then use loadVariable to get it into flash.
but its not my area of expertse.
|Where should I put my script |
Just put it in a folder called 'scripts' and in your Flash movie make a link to http*//www.yoursite.com/scripts/scriptname.php.
To make a link, just click the HTML button in the properties window and type in the URL to the script.