Popular Searches: FrontPage Hosting | FrontPage Templates | FrontPage Training | Free FrontPage

Flash Web Component   Logged in as: Guest
  Printable Version
All Forums >>FrontPage Specific Issues >>FrontPage Newbies >> Page: [1]
Name:
Message<< Newer Topic  Older Topic >>

AndyJ234

 

Posts: 4
Member since: 6/17/2008
 

Flash Web Component 

I'm trying to put a flash menu on my site, and i've looked up how to do it. I've tried to do it just making it a plug in and inserting the html file, but it just comes up in a small box and not the right size, nor does it display my menu. I've looked around some more and seen that there is a web component specifically for flash. How do I get this component????

Thanks
  Report Abuse |  Date: 6/17/2008 1:40:01 PM

TexasWebDevelopers

Posts: 7016
Member since: 9/24/2002
From: USA

RE: Flash Web Component (in reply to AndyJ234

First of all, the menu should have given you an active-x object/embed code to use,
It might look something like this:
<!-- URL's used in the movie-->
<!-- text used in the movie-->
<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0"
WIDTH="550" HEIGHT="400" id="yourfilename" ALIGN="">
<PARAM NAME=movie VALUE="yourfile.swf">
<PARAM NAME=menu VALUE=false>
<PARAM NAME=quality VALUE=high>
<PARAM NAME=scale VALUE=exactfit>
<PARAM NAME=bgcolor VALUE=#000000>
<EMBED src="yourfile.swf" menu=false quality=high scale=exactfit bgcolor=#000000 WIDTH="550" HEIGHT="400" NAME="yourfilename" ALIGN=""
TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer">
</EMBED>
</OBJECT>
Simply upload your flash movie (the .swf file) and set your height, width, background color and all of your other variables in the code above. Then upload the code where you want the movie to appear.

Now, the problem with this code is that it will cause a popup to appear in IE browsers that says "click to activate and use this control". We get around this by using a javascript to write the flash movie into a <div> tag.
Instruction here: http://www.texaswebdevelopers.com/click-to-activate-and-use-this-control.asp


_____________________________



FrontPageTools.com:Templates, Tools and Training support this forum
  Report Abuse |  Date: 6/17/2008 9:27:08 PM

AndyJ234

 

Posts: 4
Member since: 6/17/2008
 

RE: Flash Web Component (in reply to AndyJ234

Okay so i'm pretty green to frontpage. So bare with me I found the code and have it set up like I want it. Or atleast how I want it til I get it working.

<!--url's used in the movie-->
<!--text used in the movie-->
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="150" height="286" id="menu" align="middle">
<param name="allowScriptAccess" value="sameDomain" />
<param name="movie" value="menu.swf" />
<param name="quality" value="high" />
<param name="bgcolor" value="#ffffff" />
<embed src="menu.swf" quality="high" bgcolor="#ffffff" width="150" height="286" name="menu" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
</object>
</body>
</html>


I have the swf too, now I guess I just need to know what you mean by upload them. Do i insert them as web components, as plug ins or something different? Or am i completely doing the wrong thing? Thanks for the help
  Report Abuse |  Date: 6/18/2008 1:27:17 PM

TexasWebDevelopers

Posts: 7016
Member since: 9/24/2002
From: USA

RE: Flash Web Component (in reply to AndyJ234

The jargon is all different but these words || "Publish, upload, put" || mean the same thing--move the files from your computer hard drive to your hosted server's hard drive.
So move the .swf file and the page with your code on it up to the server. FrontPage calls this "publishing" (although nobody else does).


_____________________________



FrontPageTools.com:Templates, Tools and Training support this forum
  Report Abuse |  Date: 6/18/2008 3:47:09 PM

AndyJ234

 

Posts: 4
Member since: 6/17/2008
 

RE: Flash Web Component (in reply to AndyJ234

Okay the file with the code in it is a html file, does that sound correct?
  Report Abuse |  Date: 6/19/2008 1:24:04 PM

TexasWebDevelopers

Posts: 7016
Member since: 9/24/2002
From: USA

RE: Flash Web Component (in reply to AndyJ234

Yes, yes, yes...the html code (above) just tells the browser to display the flash movie (.swf).
As a side note, the movie itself may have it's own controls built in to the movie (like play/pause/stop) if the movie is a video player or mp3 player. Otherwise, it just plays. Don't try to make this hard because it's not.


_____________________________



FrontPageTools.com:Templates, Tools and Training support this forum
  Report Abuse |  Date: 6/19/2008 5:26:36 PM

AndyJ234

 

Posts: 4
Member since: 6/17/2008
 

RE: Flash Web Component (in reply to AndyJ234

Okay, well i'm getting closer and closer. I've got it put in and I see the active x controls so the next thing I have to do is that step. However even when I put it in, no image shows up. Just a blank box or no box at all. However I can right click where it should be and a menu will pop telling me that it is there. Why can't I see it? Thanks for all your help.
  Report Abuse |  Date: 6/20/2008 11:49:45 AM

TexasWebDevelopers

Posts: 7016
Member since: 9/24/2002
From: USA

RE: Flash Web Component (in reply to AndyJ234

The page has to be served out--on a server (hence the name "server").
Using FrontPge preview or even previewing in a browser on your loacal machine is NOT the same as seeing a page "served" to your browser. Unless you are using a server at home (Windows XP-Pro has a built-in iis server) the you may not see the page as it is supposed to look until it is uploaded to your server and you view it in a browser.


_____________________________



FrontPageTools.com:Templates, Tools and Training support this forum
  Report Abuse |  Date: 6/21/2008 9:15:26 PM
Page:   [1]
All Forums >>FrontPage Specific Issues >>FrontPage Newbies >> Page: [1]
Jump to:

New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts



Forum Software powered by ASP Playground Advanced Edition 2.0.5
Copyright © 2000 - 2003 ASPPlayground.NET

0.265625