II. Изготвяне на .xml файла за галерията
1. Задължително картинките ни трябва да са точно 25 (не повече, не по-малко иначе се разваля 3D формата)
2. Създайте на компютъра си нов .xml файл и го преименувайте на: thumbnail_list_2
3. Ето и какво трябва да е съдържанието му:
<?xml version="1.0" encoding="utf-8"?>
<thumbnails>
<thumbnail filename="interface.jpg" url="http://dpproductions.110mb.com/aisnscreenshots/" target="_self"
title="Interface Screen"
description="AISNSim New Design Interface Screen." />
<thumbnail filename="gate.jpg" url="http://dpproductions.110mb.com/aisnscreenshots/" target="_self"
title="Gate Screen"
description="This the AISNSim gate control screen. This particular screen obtain diffarent functions." />
<thumbnail filename="database.jpg" url="http://dpproductions.110mb.com/aisnscreenshots/" target="_self"
title="Planetary Database Screen"
description="This is the AISNSim Planetary Database screen. From here you can dial any planet which is in the database. " />
<thumbnail filename="biosensors.jpg" url="http://dpproductions.110mb.com/aisnscreenshots/" target="_self"
title="Bio Sensors Screen"
description="This is the Bio Sensors Screen of AISNSim. IN it you can run infection diganostics and view detiled map of the city nad much more funtions." />
<thumbnail filename="AtmosphereVanting.jpg" url="http://dpproductions.110mb.com/aisnscreenshots/" target="_self"
title="Bio Sensors Screen - ATM Funtion"
description="This is the Atmosphere vantion scenario of the Bio Sensors Screen." />
<thumbnail filename="Galaxy Map.jpg" url="http://dpproductions.110mb.com/aisnscreenshots/" target="_self"
title="Galaxy Map Screen"
description="This is the Galaxy Map Screen. FOr the moment it is just a design view with no functions in it. " />
<thumbnail filename="Grounding Stations.jpg" url="http://dpproductions.110mb.com/aisnscreenshots/" target="_self"
title="Grounding Stations [Out of Date]"
description="This screen is no longer support since version 1.2.0. This is why it has so bad design." />
<thumbnail filename="incoming.jpg" url="http://dpproductions.110mb.com/aisnscreenshots/" target="_self"
title="Gate Screen Incoming"
description="This is feture of the gate screen. It shows an incoming wormhole." />
<thumbnail filename="Incoming Hives.jpg" url="http://dpproductions.110mb.com/aisnscreenshots/" target="_self"
title="Long Range Sensonrs - Hive SHip Incoming"
description="This is an Incoming Hive Ships scenario which is part of the Long Range Sensors Screen." />
<thumbnail filename="loading address.jpg" url="http://dpproductions.110mb.com/aisnscreenshots/" target="_self"
title="Databse Screen - Loading Address"
description="This is how the databse screen loads an address for dialing into the gate screen." />
<thumbnail filename="lockdwon.jpg" url="http://dpproductions.110mb.com/aisnscreenshots/" target="_self"
title="Lockdown Screen"
description="This is the Lockdown screen of AISNSim. From here you can iniciate the lockdown in exchange of password." />
<thumbnail filename="lockdwon2.jpg" url="http://dpproductions.110mb.com/aisnscreenshots/" target="_self"
title="Lockdown Screen - Active"
description="This is how the Lockdown screen looks like when it is Activated." />
<thumbnail filename="LongRange.jpg" url="http://dpproductions.110mb.com/aisnscreenshots/" target="_self"
title="Long Range Sensors"
description="This is the Long Range Sensors Screen. It is one of the most interesting screens in the sim." />
<thumbnail filename="Mainframebreach.jpg" url="http://dpproductions.110mb.com/aisnscreenshots/" target="_self"
title="MainFrame Breach Screen"
description="This is the MainFrame Breach Scenario of the Sim. It activates when you detect intruder into the sistem." />
<thumbnail filename="mEDICAL.jpg" url="http://dpproductions.110mb.com/aisnscreenshots/" target="_self"
title="Medical Screen [Incomplete]"
description="This is going ot be part of the AINSim as a new feature. The Medical Scanner feature." />
<thumbnail filename="PowerControl.jpg" url="http://dpproductions.110mb.com/aisnscreenshots/" target="_self"
title="Power Control Screen [Out of Date]"
description="This screen hasn't been updated since version 1.3.5 that is why the design of it is so bad." />
<thumbnail filename="satrdrive.jpg" url="http://dpproductions.110mb.com/aisnscreenshots/" target="_self"
title="Stardrive Screen"
description="This is the Stardrive screen. There are many functions so download the sim and explore them." />
<thumbnail filename="sd1.jpg" url="http://dpproductions.110mb.com/aisnscreenshots/" target="_self"
title="Slef-Destruct Screen"
description="This is the SD screen. This is in AT Preparation Mode waiting for activation." />
<thumbnail filename="SD2.jpg" url="http://dpproductions.110mb.com/aisnscreenshots/" target="_self"
title="Self-Destruct Screen - Active"
description="This is how the screen looks when it is ARMED." />
<thumbnail filename="sd3.jpg" url="http://dpproductions.110mb.com/aisnscreenshots/" target="_self"
title="Self-Destruct Screen - Aborted"
description="This is how the Self-Destruct Screen looks like when it is Aborted." />
<thumbnail filename="singal.jpg" url="http://dpproductions.110mb.com/aisnscreenshots/" target="_self"
title="Incoming Sginal"
description="This is part of the gate screen. In this moment of the Sim we recieve an Offworld Signal and the system is trying to recognize it." />
<thumbnail filename="sublight.jpg" url="http://dpproductions.110mb.com/aisnscreenshots/" target="_self"
title="Sublight Engines - Activated"
description="FThis is part of the Stardrive Screen. In this screen you see the Sublight Engines activated." />
<thumbnail filename="SubmergeProtocols.jpg" url="http://dpproductions.110mb.com/aisnscreenshots/" target="_self"
title="Submerge Protocols Screen"
description="From this screen you cna Rise and Submerge the City of Atlantis." />
<thumbnail filename="transporters.jpg" url="http://dpproductions.110mb.com/aisnscreenshots/" target="_self"
title="Surveillance Cameras"
description="In this screen from the Survvailance Cameras you can observe the transporter." />
</thumbnails>
Обяснения по кода:
thumbnail filename - Името на картинката ви. (В случая имате места за 25 картинки), примерно: azsymtuk.jpg
url - Това е линка към който ще се отива като се натисне картинката и линка който ще се показва на .swf файла на галерията.
target= - Това е как искате да се отваяр линка (в нов прозорец: _blank и в същият: _self )
title - Тука напишете заглавието на картинката.
description - Тук напишете описанието за картинката.
III. Изготвяне на картинките и тяхната директория
1. Направете нова папка с името: thumbnails
Тази папка е там, където ви е и .swf файла и също по същият начин трябва да се качи в интернет директорията на уебсайта ви.
2. Всяко еднa картинка задължително трябва да бъде оразмерена от оригиналният си размер на размер: 140x105 px
Това е всичко после Upload - .swf file, .xml file и папката thimbnails с директорията на уебсайта ви и така получавате 3D Галерия.
Урок: By d0brin
Свали работните файлове: ТУК
http://dpproductions.110mb.com/aisndownloads/