Welcome to WebmasterWorld Guest from 54.158.167.59

Forum Moderators: open

Message Too Old, No Replies

flash html

flash html

   
11:49 am on Oct 25, 2003 (gmt 0)



how can I create web page titles in flash. for example this tag

<html>
<head> This is a flash website</head>
</html>

Where can I put it.

12:16 pm on Oct 25, 2003 (gmt 0)

WebmasterWorld Senior Member korkus2000 is a WebmasterWorld Top Contributor of All Time 10+ Year Member



You will put it on the page it is embeded in like:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Title of page</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>

<body>
<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>
</body>
</html>

2:53 pm on Oct 25, 2003 (gmt 0)



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.
3:15 pm on Oct 25, 2003 (gmt 0)

WebmasterWorld Senior Member korkus2000 is a WebmasterWorld Top Contributor of All Time 10+ Year Member



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.
4:34 pm on Oct 25, 2003 (gmt 0)



thanks korkus2000,
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.

4:59 pm on Oct 25, 2003 (gmt 0)

10+ Year Member



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.

5:14 pm on Oct 25, 2003 (gmt 0)

WebmasterWorld Senior Member korkus2000 is a WebmasterWorld Top Contributor of All Time 10+ Year Member



Please post the html code to your page that you want the title changed.
10:59 am on Oct 27, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



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.

ben

8:45 pm on Oct 27, 2003 (gmt 0)



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?

8:47 pm on Oct 27, 2003 (gmt 0)

WebmasterWorld Senior Member korkus2000 is a WebmasterWorld Top Contributor of All Time 10+ Year Member



Yes. The flash movie itself is in the swf file. The HTML is just what it is embedded in.
8:18 pm on Oct 28, 2003 (gmt 0)



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 :

<html>
<body>Welcome <?php echo $_POST["name"];?>.
You are <?php echo $_POST["age"];?> years old!</body>
</html>

Should I use the same method for the title above or I can type this in the action script area somewhere.

7:20 pm on Oct 29, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



no.

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.

10:25 pm on Oct 29, 2003 (gmt 0)

10+ Year Member



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.