/ Forside/ Teknologi / Multimedie & design / Flash / Spørgsmål
Login
Glemt dit kodeord?
Brugernavn

Kodeord


Reklame
Top 10 brugere
Flash
#NavnPoint
bentjuul 4251
molokyle 1978
Klaudi 1488
jhvp 1265
pallenoc 1160
katekismus 1020
Fnollerpi.. 790
slander 510
Flash77 500
10  Dr.Disco 500
Hvordan ændre man teksten her
Fra : ganga
Vist : 474 gange
100 point
Dato : 31-10-09 20:18

For at anskueliggøre mit spørgsmål, henviser jeg til nedenstående link:
http://www.flashcomponents.net/upload/samples/3502/index.html?full=true
Ved at man højre klikker, kommer der en etikette frem, som fortæller bla. hvem der har designet siden.
Hvordan ændre man denne?
På forhånd tak..

 
 
Kommentar
Fra : bentjuul


Dato : 31-10-09 20:41

Nu kunne du lige fortælle om det er et site du har downloaded, hvis det er det, så kunne der være nogle *.xml filer du kan ændre tekst, billeder m.m i - derudover kan der være en *.fla der måske skal ændre.

I flash kan du ikke ændre noget ved at højreklikke på swf'en.......


Kommentar
Fra : bentjuul


Dato : 31-10-09 20:52

Jeg kan se det er en templates der koster penge - så jeg vil ikke hente den, men der er nogle xml- filer du kan ændre og så skal du lægge dine egne billeder ind i de rigtige biblioteker. Men det er umuligt at guide dig yderligere - når man ikke kender sites nøjagtige opbygning.

Men mon ikke du har fået en "beskrivelse" af hvordan du gør.

Kommentar
Fra : ganga


Dato : 31-10-09 21:25

Hej igen..
Det er en component jeg har købt og downloaded.., jeg har fundet de steder hvor jeg kan placer mine billeder og ændre teksten..
Jeg har følgende filer:
config.xml, flashobjects.js, index.html, send_message.php, og load.xml

config.xml indholder :


<?xml version='1.0' encoding='UTF-8'?>
<!--This is the configuration xml, here you need to setup your menu and submenus-->
<content>
<!----------------SHOW OR HIDE CONTACT, ABOUT, VIDEO, SOUND ICON---------------->
<show_video>yes</show_video>
<show_contact>yes</show_contact>
<show_about>yes</show_about>
<show_sound_icon>yes</show_sound_icon>

<!---------------------------------------------------------------->


<!-----------LABELS FOR ABOUT US CONTACT AND VIDEO BUTTONS--------------->
<about_us_label><![CDATA[ABOUT]]></about_us_label>
<contact_us_label><![CDATA[CONTACT]]></contact_us_label>
<video_label><![CDATA[VIDEOS]]></video_label>

<!-----------------------BACKGROUND IMAGE PATH --------------------->
<bk_image_path>load/background_image/img.jpg</bk_image_path>
<!---------------------------------------------------------------->

<!-----------------------LOGO IMAGE PATH ------------------------->
<logo_path>load/logo/logo.png</logo_path>
<!---------------------------------------------------------------->

<!-----------------------ABOUT TEXT------------------------------->
<about_text><![CDATA[Welcome to<br>


<br>
<br>I
<br>
<br>

]]></about_text>
<!------------------------------------------------------------->

<!-----------------------CONTACT FORM TEXT-------------------------->
<contact_text><![CDATA[Email: <a href="mailto:mail@mail.dk">mail@mail.dk</a> <br><br>Tel: +45 11223355]]></contact_text>
<!----------------------------------------------------------------->

<!----------------------CONFIG MAIN MENU AND SUBCATEGORIES---------->
<main_menu>

   <button_label>GALLERY 2009</button_label>
   
<submenu>
      <button_label>Buildings</button_label>
      <main_path>load/collections1/load.xml</main_path>
</submenu>
   
   <submenu>
      <button_label>Forests</button_label>
      <main_path>load/collections2/load.xml</main_path>
</submenu>
   
   <submenu>
      <button_label>Outdoors</button_label>
      <main_path>load/collections3/load.xml</main_path>
</submenu>
   
    <submenu>
      <button_label>Locations</button_label>
      <main_path>load/collections1/load.xml</main_path>
</submenu>
   
   <!--submenu>
      <button_label>Winter portfolio</button_label>
      <main_path>load/collections2/load.xml</main_path>
</submenu>
   
   <submenu>
      <button_label>This is changable in the xml file</button_label>
      <main_path>load/collections3/load.xml</main_path>
</submenu-->
   
   
</main_menu>

<!---------------------------------------------------------------->


</content>


flashobjects.js indholder:

/**
* FlashObject v1.2.3: Flash detection and embed - http://blog.deconcept.com/flashobject/
*
* FlashObject is (c) 2005 Geoff Stearns and is released under the MIT License:
* http://www.opensource.org/licenses/mit-license.php
*
*/
if(typeof com == "undefined") var com = new Object();
if(typeof com.deconcept == "undefined") com.deconcept = new Object();
if(typeof com.deconcept.util == "undefined") com.deconcept.util = new Object();
if(typeof com.deconcept.FlashObjectUtil == "undefined") com.deconcept.FlashObjectUtil = new Object();
com.deconcept.FlashObject = function(swf, id, w, h, ver, c, useExpressInstall, quality, redirectUrl, detectKey){
this.DETECT_KEY = detectKey ? detectKey : 'detectflash';
this.skipDetect = com.deconcept.util.getRequestParameter(this.DETECT_KEY);
this.params = new Object();
this.variables = new Object();
this.attributes = new Array();

if(swf) this.setAttribute('swf', swf);
if(id) this.setAttribute('id', id);
if(w) this.setAttribute('width', w);
if(h) this.setAttribute('height', h);
if(ver) this.setAttribute('version', new com.deconcept.PlayerVersion(ver.toString().split(".")));
if(c) this.addParam('bgcolor', c);
var q = quality ? quality : 'high';
this.addParam('quality', q);
this.setAttribute('redirectUrl', '');
if(redirectUrl) this.setAttribute('redirectUrl', redirectUrl);
if(useExpressInstall) {
// check to see if we need to do an express install
var expressInstallReqVer = new com.deconcept.PlayerVersion([6,0,65]);
var installedVer = com.deconcept.FlashObjectUtil.getPlayerVersion();
if (installedVer.versionIsValid(expressInstallReqVer) && !installedVer.versionIsValid(this.getAttribute('version'))) {
this.setAttribute('doExpressInstall', true);
}
} else {
this.setAttribute('doExpressInstall', false);
}
}
com.deconcept.FlashObject.prototype.setAttribute = function(name, value){
   this.attributes[name] = value;
}
com.deconcept.FlashObject.prototype.getAttribute = function(name){
   return this.attributes[name];
}
com.deconcept.FlashObject.prototype.getAttributes = function(){
   return this.attributes;
}
com.deconcept.FlashObject.prototype.addParam = function(name, value){
   this.params[name] = value;
}
com.deconcept.FlashObject.prototype.getParams = function(){
   return this.params;
}
com.deconcept.FlashObject.prototype.getParam = function(name){
   return this.params[name];
}
com.deconcept.FlashObject.prototype.addVariable = function(name, value){
   this.variables[name] = value;
}
com.deconcept.FlashObject.prototype.getVariable = function(name){
   return this.variables[name];
}
com.deconcept.FlashObject.prototype.getVariables = function(){
   return this.variables;
}
com.deconcept.FlashObject.prototype.getParamTags = function(){
var paramTags = ""; var key; var params = this.getParams();
for(key in params) {
paramTags += '<param name="' + key + '" value="' + params[key] + '" />';
}
return paramTags;
}
com.deconcept.FlashObject.prototype.getVariablePairs = function(){
   var variablePairs = new Array();
   var key;
   var variables = this.getVariables();
   for(key in variables){
      variablePairs.push(key +"="+ variables[key]);
   }
   return variablePairs;
}
com.deconcept.FlashObject.prototype.getHTML = function() {
var flashHTML = "";
if (navigator.plugins && navigator.mimeTypes && navigator.mimeTypes.length) { // netscape plugin architecture
if (this.getAttribute("doExpressInstall")) { this.addVariable("MMplayerType", "PlugIn"); }
flashHTML += '<embed type="application/x-shockwave-flash" src="'+ this.getAttribute('swf') +'" width="'+ this.getAttribute('width') +'" height="'+ this.getAttribute('height') +'" id="'+ this.getAttribute('id') + '" name="'+ this.getAttribute('id') +'"';
      var params = this.getParams();
for(var key in params){ flashHTML += ' '+ key +'="'+ params[key] +'"'; }
      pairs = this.getVariablePairs().join("&");
if (pairs.length > 0){ flashHTML += ' flashvars="'+ pairs +'"'; }
flashHTML += '></embed>';
} else { // PC IE
if (this.getAttribute("doExpressInstall")) { this.addVariable("MMplayerType", "ActiveX"); }
flashHTML += '<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="'+ this.getAttribute('width') +'" height="'+ this.getAttribute('height') +'" id="'+ this.getAttribute('id') +'">';
flashHTML += '<param name="movie" value="' + this.getAttribute('swf') + '" />';
      var tags = this.getParamTags();
if(tags.length > 0){ flashHTML += tags; }
      var pairs = this.getVariablePairs().join("&");
if(pairs.length > 0){ flashHTML += '<param name="flashvars" value="'+ pairs +'" />'; }
flashHTML += '</object>';
}
return flashHTML;
}
com.deconcept.FlashObject.prototype.write = function(elementId){
   if(this.skipDetect || this.getAttribute('doExpressInstall') || com.deconcept.FlashObjectUtil.getPlayerVersion().versionIsValid(this.getAttribute('version'))){
      if(document.getElementById){
       if (this.getAttribute('doExpressInstall')) {
       this.addVariable("MMredirectURL", escape(window.location));
       document.title = document.title.slice(0, 47) + " - Flash Player Installation";
       this.addVariable("MMdoctitle", document.title);
       }
         document.getElementById(elementId).innerHTML = this.getHTML();
      }
   }else{
      if(this.getAttribute('redirectUrl') != "") {
         document.location.replace(this.getAttribute('redirectUrl'));
      }
   }
}
/* ---- detection functions ---- */
com.deconcept.FlashObjectUtil.getPlayerVersion = function(){
var PlayerVersion = new com.deconcept.PlayerVersion(0,0,0);
   if(navigator.plugins && navigator.mimeTypes.length){
      var x = navigator.plugins["Shockwave Flash"];
      if(x && x.description) {
         PlayerVersion = new com.deconcept.PlayerVersion(x.description.replace(/([a-z]|[A-Z]|\s)+/, "").replace(/(\s+r|\s+b[0-9]+)/, ".").split("."));
      }
   }else if (window.ActiveXObject){
    try {
    var axo = new ActiveXObject("ShockwaveFlash.ShockwaveFlash");
      PlayerVersion = new com.deconcept.PlayerVersion(axo.GetVariable("$version").split(" ")[1].split(","));
    } catch (e) {}
   }
   return PlayerVersion;
}
com.deconcept.PlayerVersion = function(arrVersion){
   this.major = parseInt(arrVersion[0]) || 0;
   this.minor = parseInt(arrVersion[1]) || 0;
   this.rev = parseInt(arrVersion[2]) || 0;
}
com.deconcept.PlayerVersion.prototype.versionIsValid = function(fv){
   if(this.major < fv.major) return false;
   if(this.major > fv.major) return true;
   if(this.minor < fv.minor) return false;
   if(this.minor > fv.minor) return true;
   if(this.rev < fv.rev) return false;
   return true;
}
/* ---- get value of query string param ---- */
com.deconcept.util.getRequestParameter = function(param){
   var q = document.location.search || document.location.href.hash;
   if(q){
      var startIndex = q.indexOf(param +"=");
      var endIndex = (q.indexOf("&", startIndex) > -1) ? q.indexOf("&", startIndex) : q.length;
      if (q.length > 1 && startIndex > -1) {
         return q.substring(q.indexOf("=", startIndex)+1, endIndex);
      }
   }
   return "";
}

/* add Array.push if needed (ie5) */
if (Array.prototype.push == null) { Array.prototype.push = function(item) { this[this.length] = item; return this.length; }}

/* add some aliases for ease of use / backwards compatibility */
var getQueryParamValue = com.deconcept.util.getRequestParameter;
var FlashObject = com.deconcept.FlashObject;




index.html indholder:




<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Welcome to my site</title>

<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" >
<META NAME="TITLE" CONTENT="your description">
<META NAME="SUBJECT" CONTENT="your keywords">

<link href="detect/ms.css" rel="stylesheet" type="text/css">
<script type="text/javascript" src="flashobject.js"></script>
<style type="text/css">
<!--
.style1 {color: #999999}
.style2 {color: #FF0000}
.style3 {color: #FFFFFF}
body {
   background-color: #171717;
}
.style4 {font-size: 18px}
-->
</style>
</head>
<body>
<noscript>

</noscript>
<table class="tabel" width="100%" cellpadding="0" cellspacing="0">
<tr>
      <td align="center" valign="middle">
      <div id="flashcontent" class="flash">
      <br><br><br><br><br>
         <table width="100%" border="0" cellspacing="0" cellpadding="0">
       <tr>
         <td width="570">&nbsp;</td>
         <td width="100%" height="160" class="mid"></td>
         <td width="100%" height="160" align="justify" ><div align="center">
          <p align="center"><span class="style1"><span class="style2">To view this page you need adobe flash player ... </span><span class="style3">you can download the player</span> </span><a href="http://www.adobe.com/products/flashplayer/" target="_blank" style="color:#0099FF">here</a></p>
          <p align="center"><span class="style1"><span class="style2">Ca sa vizualizati aceasta pagina aveti nevoie de flash player ... </span><span class="style3">il puteti descarca</span> </span><a href="http://www.adobe.com/products/flashplayer/" target="_blank" style="color:#0099FF">aici</a><br>
          <br>
          </p>

          <br>
          <a href="http://www.maharaj.dk" target="_blank" style="color:#0099FF">This site was developed by MAHARAJ</a><br>
          </p>
         </div></td>
         <td width="583">&nbsp; </td>
       </tr>
      </table>
      </div>
   </td>
   <td style="vertical-align:middle; width:1px;">   <img src="" width="1" height="550" alt=""></td>
   <tr>
      <td style="height:1px;"><img src="" width="960" height="1" alt=""></td>
      <td style="height:1px;"></td>
   </tr>
</table>

<script type="text/javascript">
   // <![CDATA[
      var fo = new FlashObject("index.swf", "test", "100%", "100%", "9", "#171717");
      fo.addParam("allowFullScreen", "true");      
      fo.write("flashcontent");
   // ]]>
</script>
</body>
</html>


send_message.php indholder:


<?php
$name_txt = $_POST['nume_txt'];
$tel_txt = $_POST['phone'];
$email_txt = $_POST['email_txt'];
$msg_txt = $_POST['mesaj_txt'];

$contact_form_title = "DEMO CONTACT FORM";
$contact_form_subject = "CONTACT FORM SUBJECT";
$email_to_send = "ganga@ofir.dk";

$message = "Name:".$name_txt."\nPhone:".$tel_txt."\nEmail:".$email_txt."\nMessage:".$msg_txt;
_send_mail($email_to_send, $contact_form_title, $contact_form_subject, $message);

function _send_mail($mailto, $contact_form_title, $subject, $message) {
$header = 'From: '. $contact_form_title . "\r\n" .
'Reply-To: ganga@ofir.dk' . "\r\n" .
'X-Mailer: PHP/';
if (mail($mailto, $subject, $message, $header)) {
echo 'sent=OK&dum=nimic';
} else {
echo 'sent=ER&dum=nimic';
}
}
?>

og load.xml indholder:





<?xml version='1.0' encoding='UTF-8'?>
<!--This is the xml file for bio-->
<content>

<!---------------------------------------------------------------->
<image>
<desc>Hoejerup Kirke - Stevns</desc>
<small_image_path max="yes">load/collections2/smallimage/1.jpg</small_image_path>
   <big_image_path>load/collections2/bigimage/1.jpg</big_image_path>
</image>

<image>
<desc>Coming soon</desc>
<small_image_path max="yes">load/collections2/smallimage/2.jpg</small_image_path>
   <big_image_path>load/collections2/bigimage/2.jpg</big_image_path>
</image>

<image>
<desc>Coming soon</desc>
<small_image_path max="yes">load/collections2/smallimage/3.jpg</small_image_path>
   <big_image_path>load/collections2/bigimage/3.jpg</big_image_path>
</image>

<image>
<desc>Coming soon</desc>
<small_image_path max="yes">load/collections2/smallimage/4.jpg</small_image_path>
   <big_image_path>load/collections2/bigimage/4.jpg</big_image_path>
</image>

<!---------------------------------------------------------------->
</content>

Pyhaa.., det var meget...




Kommentar
Fra : bentjuul


Dato : 31-10-09 21:34

Citat
Det er en component jeg har købt og downloaded.., jeg har fundet de steder hvor jeg kan placer mine billeder og ændre teksten..
Så er det bare at gå igang god fornøjelse.

Kommentar
Fra : molokyle


Dato : 01-11-09 08:05

Du kan vel 'bare' undlade at vise oplysningen ved at rette i XML markøren:

<show_contact>yes</show_contact>

Altså:

<show_contact>no</show_contact>

Ps. Jeg har ikke megen forstand på FLASH programmenring
...så det er blot et 'skud i tågen'
</MOLOKYLE>

Du har følgende muligheder
Dette spørgsmål er blevet annulleret, det er derfor ikke muligt for at tilføje flere kommentarer.
Søg
Reklame
Statistik
Spørgsmål : 177429
Tips : 31962
Nyheder : 719565
Indlæg : 6407948
Brugere : 218878

Månedens bedste
Årets bedste
Sidste års bedste