cambiar tamaño imagen
Publicado por pulgy (1 intervención) el 03/07/2008 20:37:52
Buenas a todos!
tengo una galería de imágenes en flash la cual llama a una serie de imágenes atraves de un xml.
El problema que tengo es que quiero definir el tamaño de las imágenes en el xml ya que es el único código que tengo porque no tengo en .fla, ya que es un recurso que me baje de por ahí.
os dejo el código por si os sirve de algo...
como podeis ver e intentado ponerle tamaño definido a la primera, pero no funciona.
Muchas gracias!
<carousel>
<config>
<circle radius_x="200" radius_y="24" />
<blur max="4" quality="3" />
<scale min="0.3" max="0.5" />
<reflect min="0.05" max="0.6" />
<highlight r="1.4" g="1.4" b="1.4" />
<glow color="0xff9933" alpha="0.7" blurX="20" blurY="20" strength="5" />
<tooltip
borderColor="0xffffff" borderThickness="1" borderAlpha="0.8" cornerRadius="0"
backgroundColor="0x000000" backgroundAlpha="0.5"
color="0xffffff" fontFamily="Verdana" fontSize="9" fontAlpha="1"
alpha="1" dropShadowEnabled="true" padding="6"
position="relative"
/>
</config>
<items>
<item>
<img src="img/1.jpg" width="178" height="236"/>
<link href="#" target="" />
<text><![CDATA[<b>Prueba</b>
prueba]]></text>
</item>
<item>
<img src="img/2.jpg" />
<link href="#" target="" />
<text><![CDATA[<b>Item 2</b>]]></text>
</item>
<item>
<img src="img/3.jpg" />
<link href="#" target="" />
<text><![CDATA[<b>Item 3</b>]]></text>
</item>
<item>
<img src="img/4.jpg" />
<link href="" target="" />
<text><![CDATA[<b>Item 4</b>]]></text>
</item>
<item>
<img src="img/5.jpg" />
<link href="#" target="" />
<text><![CDATA[<b>Item 5</b>]]></text>
</item>
<item>
<img src="img/6.jpg" />
<link href="#" target="" />
<text><![CDATA[<b>Item 6</b>]]></text>
</item>
<item>
<img src="img/7.jpg" />
<link href="#" target="" />
<text><![CDATA[<b>Item 7</b>]]></text>
</item>
<item>
<img src="img/8.jpg" />
<link href="#" target="" />
<text><![CDATA[<b>Item 8</b>]]></text>
</item>
<item>
<img src="img/9.jpg" />
<link href="#" target="" />
<text><![CDATA[<b>Item 9</b>]]></text>
</item>
<item>
<img src="img/10.jpg" />
<link href="http://www.google.com" target="_blank" />
<text><![CDATA[<b>Google</b>]]></text>
</item>
<item>
<img src="img/11.jpg" />
<link href="#" target="" />
<text><![CDATA[<b>Item 11</b>]]></text>
</item>
<item>
<img src="img/12.jpg" />
<link href="#" target="" />
<text><![CDATA[<b>Item 12</b>]]></text>
</item>
</items>
</carousel>
tengo una galería de imágenes en flash la cual llama a una serie de imágenes atraves de un xml.
El problema que tengo es que quiero definir el tamaño de las imágenes en el xml ya que es el único código que tengo porque no tengo en .fla, ya que es un recurso que me baje de por ahí.
os dejo el código por si os sirve de algo...
como podeis ver e intentado ponerle tamaño definido a la primera, pero no funciona.
Muchas gracias!
<carousel>
<config>
<circle radius_x="200" radius_y="24" />
<blur max="4" quality="3" />
<scale min="0.3" max="0.5" />
<reflect min="0.05" max="0.6" />
<highlight r="1.4" g="1.4" b="1.4" />
<glow color="0xff9933" alpha="0.7" blurX="20" blurY="20" strength="5" />
<tooltip
borderColor="0xffffff" borderThickness="1" borderAlpha="0.8" cornerRadius="0"
backgroundColor="0x000000" backgroundAlpha="0.5"
color="0xffffff" fontFamily="Verdana" fontSize="9" fontAlpha="1"
alpha="1" dropShadowEnabled="true" padding="6"
position="relative"
/>
</config>
<items>
<item>
<img src="img/1.jpg" width="178" height="236"/>
<link href="#" target="" />
<text><![CDATA[<b>Prueba</b>
prueba]]></text>
</item>
<item>
<img src="img/2.jpg" />
<link href="#" target="" />
<text><![CDATA[<b>Item 2</b>]]></text>
</item>
<item>
<img src="img/3.jpg" />
<link href="#" target="" />
<text><![CDATA[<b>Item 3</b>]]></text>
</item>
<item>
<img src="img/4.jpg" />
<link href="" target="" />
<text><![CDATA[<b>Item 4</b>]]></text>
</item>
<item>
<img src="img/5.jpg" />
<link href="#" target="" />
<text><![CDATA[<b>Item 5</b>]]></text>
</item>
<item>
<img src="img/6.jpg" />
<link href="#" target="" />
<text><![CDATA[<b>Item 6</b>]]></text>
</item>
<item>
<img src="img/7.jpg" />
<link href="#" target="" />
<text><![CDATA[<b>Item 7</b>]]></text>
</item>
<item>
<img src="img/8.jpg" />
<link href="#" target="" />
<text><![CDATA[<b>Item 8</b>]]></text>
</item>
<item>
<img src="img/9.jpg" />
<link href="#" target="" />
<text><![CDATA[<b>Item 9</b>]]></text>
</item>
<item>
<img src="img/10.jpg" />
<link href="http://www.google.com" target="_blank" />
<text><![CDATA[<b>Google</b>]]></text>
</item>
<item>
<img src="img/11.jpg" />
<link href="#" target="" />
<text><![CDATA[<b>Item 11</b>]]></text>
</item>
<item>
<img src="img/12.jpg" />
<link href="#" target="" />
<text><![CDATA[<b>Item 12</b>]]></text>
</item>
</items>
</carousel>
Valora esta pregunta


0