homepage Welcome to WebmasterWorld Guest from 23.23.8.131
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Home / Forums Index / Code, Content, and Presentation / Flash and Shockwave
Forum Library, Charter, Moderator: open

Flash and Shockwave Forum

    
flash html
flash html
krikri



 
Msg#: 9 posted 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.

 

korkus2000

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



 
Msg#: 9 posted 12:16 pm on Oct 25, 2003 (gmt 0)

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>

krikri



 
Msg#: 9 posted 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.

korkus2000

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



 
Msg#: 9 posted 3:15 pm on Oct 25, 2003 (gmt 0)

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.

krikri



 
Msg#: 9 posted 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.

SethCall

10+ Year Member



 
Msg#: 9 posted 4:59 pm on Oct 25, 2003 (gmt 0)

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.

korkus2000

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



 
Msg#: 9 posted 5:14 pm on Oct 25, 2003 (gmt 0)

Please post the html code to your page that you want the title changed.

benihana

WebmasterWorld Senior Member 10+ Year Member



 
Msg#: 9 posted 10:59 am on Oct 27, 2003 (gmt 0)

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

krikri



 
Msg#: 9 posted 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?

korkus2000

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



 
Msg#: 9 posted 8:47 pm on Oct 27, 2003 (gmt 0)

Yes. The flash movie itself is in the swf file. The HTML is just what it is embedded in.

krikri



 
Msg#: 9 posted 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.

benihana

WebmasterWorld Senior Member 10+ Year Member



 
Msg#: 9 posted 7:20 pm on Oct 29, 2003 (gmt 0)

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.

dougmcc1

10+ Year Member



 
Msg#: 9 posted 10:25 pm on Oct 29, 2003 (gmt 0)

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.

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / Flash and Shockwave
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved