PDA

View Full Version : XML help about graphics


DigitALL
04-10-2010, 01:24 AM
Hello folks,:)

I am a noob with XTML and read the forum here and elsewhere but could not find something similar. I have a flash/XML website template but unfortunately the designer did not provide the fla files to be able to include a small png logo. From the xml files you could change all the content and pictures so it should be easy to build the site but if you wish to alter the flash behavior, forget it. I tried to decompile with no success.

However, right on the front page where the company logo appears, you just type the company name and it is done. But I wish to add a small png file, I have no idea how to do that.

Here is a fragment of the provided xml file:



<Sections id="menu">

<Menu btnName="FOLIO" p="35" f="Folio" title="OUR WORK" css="folio"></Menu>
<Menu btnName="FOLIO Gallery" p="35" f="Folio" title="OUR WORK" css="folio"></Menu>
<Menu btnName="MUSIC" p="45" f="Music" title="MUSIC" css="folio"></Menu>
<Menu btnName="MOVIES" p="55" f="Videos" title="VIDEOS" css="folio"></Menu>
<Menu btnName="ABOUT US" p="25" f="About" title="ABOUT US" css="about"></Menu>
<Menu btnName="ABOUT US 2" p="25" f="About" title="ABOUT US" css="about"></Menu>
<Menu btnName="NEWS" p="15" f="News" title="NEWS &amp; UPDATES" css="news" ></Menu>
<Menu btnName="NEWS 2" p="15" f="News" title="NEWS &amp; UPDATES" css="news" ></Menu>
<Menu btnName="CONTACT" p="65" f="Contact" title="CONTACT US" css="contact"></Menu>
</Sections>

<Sections id="logo">
<data>XML DESIGN</data>
<data>VISUAL EFFECTS STUDIO <br/>PARIS, FRANCE</data>
</Sections>

and here is the only html (index):

<html xmlns="http://www.w3.org/1999/xhtml">
<head>

<title>Flash Design</title>
<link href="styler.css" rel="stylesheet" type="text/css">
<script src="AC_RunActiveContent.js" type="text/javascript"></script>
<style type="text/css">
<!--
body {
background-color: #000000;
margin-left: 0px;
margin-top: 0px;
margin-right: 0px;
margin-bottom: 0px;
}
-->
</style></head>


<body>
<script type="text/javascript">
var so = AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0','width','100%','height','100%','src','base','quality','high','pluginsp age','http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash','movie','base' );
so.addParam('allowScriptAccess', 'always');
//end AC code
</script><noscript><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0" width="100%" height="100%">
<param name="movie" value="base.swf">
<param name="allowScriptAccess" value="always">
<param name="quality" value="high">
<embed src="base.swf" quality="high" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="100%" height="100%" allowScriptAccess="always"></embed>
</object></noscript>
</body>

</html>


So how could I include some graphics in the "logo" section, please?

Thank you for reading this message.

jbulaswad
04-10-2010, 01:45 AM
Digit,

I see two possible solutions. Decompile the flash using SoThink SWF Decompiler and insert the image. Or, if it fits into the design, absolutely position an image over the top of the flash movie using CSS.

DigitALL
04-10-2010, 02:19 AM
Digit,

I see two possible solutions. Decompile the flash using SoThink SWF Decompiler and insert the image. Or, if it fits into the design, absolutely position an image over the top of the flash movie using CSS.

Thank you for your advice my friend. I tried to decompile using two different applications, including Sothink but it does the swf is not decompiled correctly and I can not make it work after.

The CSS seems to be a great idea but how do I do that please? Probably I can make a css with a backgrouund image but how can I call the CSS file in the XML?

drhowarddrfine
04-10-2010, 04:55 PM
<?xml-stylesheet type="text/css" href="" ?>

DigitALL
04-10-2010, 08:25 PM
<?xml-stylesheet type="text/css" href="" ?>

Thank you for your advice. I found the same expression on XML help pages but doesn't work. I understand that I have to use z-index parameter but have no idea how to do it. :rolleyes:

derossi39
11-28-2010, 06:57 PM
Domain Name Registration, Domains. (http://ozzietel.com.au/)
May vary these rules and regulations from time to time in its sole discretion, and the Customer will comply with all other reasonable security requirements that Ozzietel International Pty Ltd.