Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Problems publishing flash buttons

Status
Not open for further replies.

Middleworld842

Technical User
Aug 13, 2001
2
US
I created some nifty buttons in Macromedia's Flash 5 but am having some trouble publishing the finished .swf file in dreamweaver/ultradev 4.0.  The buttons work fine when I preview them in Flash 5 but when I pull them into UD all I get is a blank grey box.  When I upload the proper files to my webserver and check it with internet explorer all I get is blank white boxes.  For an example of my problem go to checked all the obvious problems such as lack of plugins and not uploading all the files but can't seem to figure this out. If anyone has any advice or knows what i'm doing wrong please let me know.
Thanks,
Tim
 

<object classid=&quot;clsid:D27CDB6E-AE6D-11cf-96B8-444553540000&quot; codebase=&quot; width=&quot;252&quot; height=&quot;252&quot;>
<param name=movie value=&quot;/flash/gallery%20button.swf&quot;>
<param name=quality value=high>
<embed src=&quot;/flash/gallery%20button.swf&quot; quality=high pluginspage=&quot; type=&quot;application/x-shockwave-flash&quot; width=&quot;252&quot; height=&quot;252&quot;>
</embed>
</object>



The above is the section in your html that is supposed to embed your Flash movie in your page.
First off, it's allways better to include the full path to your .swf, including the http:// part.
Second, you shoudn't use blank spaces in the name of your .swf, as you have done here. IE can allways live with them, but you'll run in to problems with NS users.
Third, I located your swf in your Flash directory after assuming the following path:
Code:
[URL unfurl="true"]http://www.middleworld.net/flash/[/URL]
which gives a listing of your files in that directory. Now maybe this is DW stuff (I wouldn't know... I never used Dreamweaver), but your swf appears with a double ext as:
gallery button.swf.bin, and this might well be your problem.
First get rid of that blank space, by removing it or replacing it with an underscore and take off that second extension(.bin), so that the file is named:
gallery_button.swf
Now open up main1.htm in notepad or whatever, and correct the file name in the <object> & <embed> tags as you've just renamed it in your flash directory, and include the full path as:
Code:
[URL unfurl="true"]http://www.middleworld.net/flash/gallery_button.swf[/URL]

Now I've seen your movie and it seems to only be a button calling another movie or another html. If it's calling another movie, then I suggest your remove all the blank spaces you have in your files' names (and you have a lot of those!), and that you update any html you called with the full path and the new names of these files you're calling!

Hope this is clear... If not whistle yourself back here!

mywink.gif
ldnewbie
Hope that this
was helpful!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top