PDA

View Full Version : need help publishing .fla file


wonderroot
01-09-2006, 04:40 AM
I am having two problems publishing my file. When I upload it to the server www.prism.gatech.edu/~gtg767h/index.html, the movie is not centered to the browser page and buttons are performing actions that they are not assigned. For example the contact button opens a frame with an image on it. Any help with these two problems would be greatly appreciated. This is my first posting on a forum. Any feedback on the appropriateness if my post will be appreciated as well. Thanks.

Billy T
01-09-2006, 04:46 AM
to center the movie put it in an html table that is a 100% width and height with its align and valign properties set to center and middle

the contact button worked ok for me but we couldnt tell you anything without seeing some code

cheers

wonderroot
01-09-2006, 04:56 AM
what is a html table and how do i edit it?

Billy T
01-09-2006, 06:10 AM
http://www.hed.swin.edu.au/design/tutorials/other/intro_html/index.php

wonderroot
01-09-2006, 03:09 PM
here is the html code from what i think is where the dimensions should be alterred. Where do I edit it. Thanks!!!

AE6D-11cf-96B8-444553540000"'
+ 'width="680" height="600"'
+ 'codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab">'
+ '<param name="movie" value="Drew Martin Photography.swf" /><param name="play" value="false" /><param name="quality" value="high" /><param name="bgcolor" value="#000000" />'
+ '<embed src="Drew Martin Photography.swf" play="false" quality="high" bgcolor="#000000" '
+ 'width="680" height="600" name="Drew Martin Photography" align="middle"'
+ 'play="true"'
+ 'loop="false"'
+ 'quality="high"'
+ 'allowScriptAccess="sameDomain"'
+ 'type="application/x-shockwave-flash"'
+ 'pluginspage="http://www.macromedia.com/go/getflashplayer">'
+ '<\/embed>'
+ '<\/object>';

Billy T
01-10-2006, 01:20 AM
looks like you're using the plugin detection which complicates it a little but just add the opening table tags to the start of the string and the closing tags at the end

did you read the tute?

wonderroot
01-11-2006, 12:42 AM
Thanks for the suggested tutorial. I did read it and it made since, but I am still having trouble finding where I should specifically make changes.

Billy T
01-11-2006, 12:44 AM
well I dont think you posted all the relevant code (missing the start) but the end bit will look like

+ '<\/object><\/td><\/tr><\/table>';

wonderroot
01-11-2006, 12:57 AM
the rest of the section of the code is as follows


return (reqVer ? false : 0.0);
}
// -->
</script>
</head>
<body bgcolor="#000000">
<!--url's used in the movie-->
<a href="http://www.wonderroot.org"></a>
<!--text used in the movie-->
<script language="JavaScript" type="text/javascript">
<!--
var hasRightVersion = DetectFlashVer(requiredMajorVersion, requiredMinorVersion, requiredRevision);
if(hasRightVersion) { // if we've detected an acceptable version
var oeTags = '<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"'
+ 'width="680" height="600"'
+ 'codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab">'
+ '<param name="movie" value="Drew Martin Photography.swf" /><param name="play" value="false" /><param name="quality" value="high" /><param name="bgcolor" value="#000000" />'
+ '<embed src="Drew Martin Photography.swf" play="false" quality="high" bgcolor="#000000" '
+ 'width="680" height="600" name="Drew Martin Photography" align="middle"'
+ 'play="true"'
+ 'loop="false"'
+ 'quality="high"'
+ 'allowScriptAccess="sameDomain"'
+ 'type="application/x-shockwave-flash"'
+ 'pluginspage="http://www.macromedia.com/go/getflashplayer">'
+ '<\/embed>'
+ '<\/object><\/td><\/tr><\/table>';

Thanks for the quick replies.

wonderroot
01-11-2006, 04:12 PM
i figured out formatting problem i was having. thanks! i am still having problems with my site though. i have uploaded the fla file to the server. the url is http://www.prism.gatech.edu/~gtg767h/drewsiteredo.fla. the symptons are strange. sometimes the buttons work and sometimes they do not. i am not sure if it has something to do with the downloading of the file. the "contact" button seems to be causing the most trouble. if you refresh the page and click on contact very quickly, the slideshow starts playing???? is this simply a problem with my code or what??? any help is appreciated. thanks!

the site is posted at www.prism.gatech.edu/index.html

Billy T
01-11-2006, 11:41 PM
might be best to make a new thread about a specific problem