Jump to content
hirosima

cum inserez un buton flash din Dreamweaver

Recommended Posts

Posted

Mi-am facut grafica la o pagina web si acuma vreau sa inserez, niste butoane pe care le are Dreamweaver, am obsevat ca in unele pagini au toate butoanele facute si unite in flash insa eu nu cunsoc flash. DAca aveti un manual. Am o posibilitate sa pun butoanele in pagina mea web ???

mersic

Posted

Incluzi in pagina ta:

<object width="latime" height="inaltime">
<param name="movie" value="nume.swf">
<embed src="nume.swf" width="latime" height="inaltime"></embed>
</object>

Akm tu cauti pe google "button generate" dupa care modifici codul meu :

latime-numarul de pixeli pecare ii ocupa

inaltime- -||-

nume -cu numele fisierului flash(care are extensia swf cand e compilat)

Posted
Daca folosesti dreamweaver dai sus Insert > Media

asta stiam. Eu am facut templat-ul in photoshop iar acuma vreau sa pun butoanele peste imaginea facuta in photoshop. Sper sa ma ajute codul de mai sus, sa incerc.

Salutare, daca mia sunt idei ascult...

Posted

daca lucrezi cu layout cell pune imaginea sau imaginile care le-ai facut in photoshop ca background in cell dupa care dai insert > media > flash

si o sa iti puna butonul in flash peste imaginea care ai facut-o in photoshop

 <table width="400" border="0" cellpadding="0" cellspacing="0">
<tr><td width="300" height="300" valign="top" background="poza_din_photoshop.jpg">
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="100" height="30">
<param name="movie" value="butonu_in_flash.swf">
<param name="quality" value="high">
<embed src="butonu_in_flash.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="100" height="30"></embed>
</object></td></tr>
</table>

edit: daca tot nu te descurci fa o arhiva cu imaginea si butonu in flash care il vrei peste ea si il fac eu

Posted

invatati baiatul prost...asa nu o sa fie valid in nicii o mie de ani

sunt 2 metode

-flash satay(http://www.alistapart.com/articles/flashsatay)

Asta nu e recomandata

-si varianta mea preferata cu SWFObject

Exemplu:

<div id="flashcontent">
</div>
<script type="text/javascript">var so = new SWFObject("/cale/buton/buton.swf", "sotester", "100", "50", "9", "#FFFFFF"); so.write("flashcontent");</script>

schimba calea si marimile ( 100 x 50)

pentru informatii complete:

http://blog.deconcept.com/swfobject/

Download SWFObject http://blog.deconcept.com/swfobject/swfobject.zip

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...