Temat: linkowanie banera
Wygląda na mocno skomplikowane :)
Ale jeszcze dopytam mam jedno i drugi wrzucić do kodu?
Na razie zaimportowałełem fotki do Adobe Flash Catalyst CS5, które mają być w bannerze i kod wygląda tak:
<?xml version="1.0" encoding="utf-8"?>
<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark" xmlns:d="http://ns.adobe.com/fxg/2008/dt" xmlns:fc="http://ns.adobe.com/flashcatalyst/2009" backgroundColor="#FFFFFF" height="300" preloaderChromeColor="#FFFFFF" width="960">
<s:states>
<s:State name="Page1"/>
<s:State name="Page2"/>
<s:State name="Page3"/>
</s:states>
<fx:DesignLayer d:userLabel="Layer 1">
<s:BitmapImage id="bitmapimage2" includeIn="Page1" smooth="true" source="@Embed('/assets/images/banner-madara2.jpg')"/>
<s:BitmapImage height="300" id="bitmapimage1" includeIn="Page2" smooth="true" source="@Embed('/assets/images/MADARA_F_DecoCare_2_RGB.jpg')" width="960" x="1" y="-1"/>
<s:BitmapImage height="300" id="bitmapimage4" includeIn="Page3" smooth="true" source="@Embed('/assets/images/Image.png')" width="960" x="-1" y="0"/>
</fx:DesignLayer>
<s:transitions>
<s:Transition autoReverse="true" fromState="Page3" toState="Page2">
<s:Parallel>
<s:Parallel target="{bitmapimage1}">
<s:Fade duration="0"/>
</s:Parallel>
<s:Parallel target="{bitmapimage4}">
<s:Fade duration="0"/>
</s:Parallel>
</s:Parallel>
</s:Transition>
</s:transitions>
</s:Application>
i co mam to wrzucić na koniec tego kodu? Pewnie to śmieszne pytanie ale jestem troszkę zielony w temacie...