AW: Flash-Galerie in HTML einbinden
hi,
hier die meiner meinung nach wichtiste XML
(hab es schon bisschen nach meinen geschmack sortiert und gelöscht was man nicht braucht)
<galleryStyle xmlns="">
<styleInfo>
<amgVersion>1.3</amgVersion>
<thumbnailPath></thumbnailPath>
<previewPath></previewPath>
<styleName>Test</styleName>
<styleDescription></styleDescription>
<galleryMaker></galleryMaker>
<creationDate>10/17/09, 01:39:07 %p</creationDate>
</styleInfo>
<appearance xmlns="">
<playOptions playMode="pause"/>
<galleryInfo>
<galleryInfoTextField height="1200.00" width="635.00"/>
<galleryInfoText fontFamily="Myriad Web Pro" linkColor="9F9F9F" align="left" color="4A522B" size="12.00"/>
<galleryInfoBgColor color="E8EDD6" alpha="00.00"/>
<galleryInfoScrollBars>
<galleryInfoScrollBarFill color="525E2E" alpha="100.00"/>
<galleryInfoScrollBarBorder alpha="100.00" color="525E2E"/>
<galleryInfoScrollBarFore alpha="100.00" color="DEE6CC"/>
</galleryInfoScrollBars>
<galleryInfoBorder alpha="100.00" color="949E7A"/>
</galleryInfo>
<slideTransitions slideDuration="5.00" transitionDuration=".75" transition="fade"/>
<contactInfo>
<contactInfoText color="4A522B" fontFamily="Myriad Web Pro" alpha="100.00" size="11.00"/>
</contactInfo>
<bandWidthOptions connection="broadband"/>
<slideshow>
<slideshowButtons>
<slideshowBtnFore color="DEE6CC" alpha="100.00"/>
<slideshowCtrlText color="4A522B" alpha="100.00" fontFamily="Myriad Web Pro" size="12.00"/>
<slideshowBtnBackground color="525E2E" alpha="100.00"/>
<slideshowBtnBorder color="525E2E" alpha="100.00"/>
</slideshowButtons>
<videoCtrl>
<videoCtrlBgColor alpha="100.00" color="0F0F0F"/>
<videoDropShadow enabled="true"/>
<videoCtrlBtnFore color="DEE6CC" alpha="100.00"/>
<videoCtrlBorder color="666666" alpha="80.00" width="1.00"/>
<videoCtrlBtnBorder color="525E2E" alpha="100.00"/>
<videoCtrlBtnBackground color="525E2E" alpha="100.00"/>
</videoCtrl>
<slideshowBorder color="949E7A" alpha="100.00"/>
<images>
<imageBorder color="1C1C1C" alpha="100.00" width="2.00"/>
</images>
<slideshowMetadata>
<metadataField titles="true" height="36.00" captions="true"/>
<metadataFieldText fontFamily="Myriad Web Pro" autoSize="true" color="4A522B" alpha="100.00" size="12.00"/>
</slideshowMetadata>
<slideshowBgColor alpha="0.00" color="0F0F0F"/>
</slideshow>
<headerBar>
<groupTitle color="4A522B" fontFamily="Myriad Web Pro" alpha="100.00" size="16.00"/>
<headerBarEnabled enabled="true"/>
<headerBarColor color="E8EDD6" alpha="00.00"/>
<pageTitle color="4A522B" fontFamily="Myriad Web Pro" alpha="100.00" size="20.00"/>
</headerBar>
<menuBar>
<menuBorder alpha="40.00" color="FFFFFF"/>
<menuBgColor alpha="100.00" color="E8EDD6"/>
<menuHover alpha="20.00" color="FFFFFF"/>
<menuText alpha="100.00" color="4A522B"/>
<menuBarEnabled enabled="true"/>
</menuBar>
<mediaPosition videoScale="upDown" positionType="auto" fitAtStart="true" height="264.00" imageScale="fitToScreen" x="0.00" y="0.00" width="360.00"/>
<metadataOptions metadataPosition="underPhotos"/>
<viewOptions startingView="galleryScrollingBottom"/>
<background>
<backgroundBgImg alpha="00.00" src=""/>
<backgroundBgColor alpha="00.00" color="E8EDD6"/>
</background>
<thumbnailView>
<thumbnailViewBorder color="949E7A" alpha="100.00"/>
<thumbnailViewBgColor alpha="0.00" color="0F0F0F"/>
<thumbnails>
<thumbHover color="FE0000" alpha="100.00"/>
<thumbSelected color="DFDFDF" alpha="100.00"/>
<thumbDropShadow enabled="true"/>
<thumbBorder color="1C1C1C" alpha="100.00" width="1.00"/>
</thumbnails>
<thumbnailViewScrollBars>
<thumbnailViewScrollBarFill color="525E2E" alpha="100.00"/>
<thumbnailViewScrollBarBorder alpha="100.00" color="525E2E"/>
<thumbnailViewScrollBarFore color="DEE6CC" alpha="100.00"/>
</thumbnailViewScrollBars>
<thumbnailViewControls>
<thumbViewBtnBackground alpha="100.00" color="525E2E"/>
<thumbViewCtrlText alpha="100.00" color="4A522B"/>
<thumbViewBtnFore color="DEE6CC" alpha="100.00"/>
<thumbViewBtnBorder color="525E2E" alpha="100.00"/>
</thumbnailViewControls>
</thumbnailView>
<metadataView>
<metadataViewBtnFore color="DEE6CC" alpha="00.00"/>
<metadataViewBgColor color="292929" alpha="0.00"/>
<metadataViewBorder alpha="100.00" color="1C1C1C"/>
<metadataViewBtnBorder color="525E2E" alpha="100.00"/>
<metadataViewBtnBackground alpha="100.00" color="525E2E"/>
<metadataViewField titles="true" captions="true" widthPercentage=".25"/>
<metadataViewText fontFamily="Myriad Web Pro" linkColor="0000FF" align="left" color="CECDCD" size="12.00"/>
<metadataViewTitle fontFamily="Myriad Web Pro" linkColor="0000FF" align="left" color="FFFFFF" size="14.00"/>
</metadataView>
</appearance>
</galleryStyle>
eine Javascript datei hätte ich auch ncoh
//v1.0
//Copyright 2006 Adobe Systems, Inc. All rights reserved.
function AC_AddExtension(src, ext)
{
if (src.indexOf('?') != -1)
return src.replace(/\?/, ext+'?');
else
return src + ext;
}
function AC_Generateobj(objAttrs, params, embedAttrs)
{
var str = '<object ';
for (var i in objAttrs)
str += i + '="' + objAttrs + '" ';
str += '>';
for (var i in params)
str += '<param name="' + i + '" value="' + params + '" /> ';
str += '<embed ';
for (var i in embedAttrs)
str += i + '="' + embedAttrs + '" ';
str += ' ></embed></object>';
document.write(str);
}
function AC_FL_RunContent(){
var ret =
AC_GetArgs
( arguments, ".swf", "movie", "clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"
, "application/x-shockwave-flash"
);
AC_Generateobj(ret.objAttrs, ret.params, ret.embedAttrs);
}
function AC_SW_RunContent(){
var ret =
AC_GetArgs
( arguments, ".dcr", "src", "clsid:166B1BCA-3F9C-11CF-8075-444553540000"
, null
);
AC_Generateobj(ret.objAttrs, ret.params, ret.embedAttrs);
}
function AC_GetArgs(args, ext, srcParamName, classid, mimeType){
var ret = new Object();
ret.embedAttrs = new Object();
ret.params = new Object();
ret.objAttrs = new Object();
for (var i=0; i < args.length; i=i+2){
var currArg = args.toLowerCase();
switch (currArg){
case "classid":
break;
case "pluginspage":
ret.embedAttrs[args] = args[i+1];
break;
case "src":
case "movie":
args[i+1] = AC_AddExtension(args[i+1], ext);
ret.embedAttrs["src"] = args[i+1];
ret.params[srcParamName] = args[i+1];
break;
case "onafterupdate":
case "onbeforeupdate":
case "onblur":
case "oncellchange":
case "onclick":
case "ondblClick":
case "ondrag":
case "ondragend":
case "ondragenter":
case "ondragleave":
case "ondragover":
case "ondrop":
case "onfinish":
case "onfocus":
case "onhelp":
case "onmousedown":
case "onmouseup":
case "onmouseover":
case "onmousemove":
case "onmouseout":
case "onkeypress":
case "onkeydown":
case "onkeyup":
case "onload":
case "onlosecapture":
case "onpropertychange":
case "onreadystatechange":
case "onrowsdelete":
case "onrowenter":
case "onrowexit":
case "onrowsinserted":
case "onstart":
case "onscroll":
case "onbeforeeditfocus":
case "onactivate":
case "onbeforedeactivate":
case "ondeactivate":
case "type":
case "codebase":
ret.objAttrs[args] = args[i+1];
break;
case "width":
case "height":
case "align":
case "vspace":
case "hspace":
case "class":
case "title":
case "accesskey":
case "name":
case "id":
case "tabindex":
ret.embedAttrs[args] = ret.objAttrs[args] = args[i+1];
break;
default:
ret.embedAttrs[args] = ret.params[args] = args[i+1];
}
}
ret.objAttrs["classid"] = classid;
if (mimeType) ret.embedAttrs["type"] = mimeType;
return ret;
}