Flash CS3

Free tutorials and scripts for all

Sometimes members don't get their activation email.
This happens because it gets deleted by accident, your spam folder gets it ... lots of reasons.
To Resend the account activation code you need to do two things:
1. Go here: Resend your activation email
2. Enter the email address you used when you signed up and click "Email activation codes"
3. When the email arrives in your inbox, be sure to click the link to activate your account.

Scroller di eventi - versione 2

This is a discussion on Scroller di eventi - versione 2 within the Utilità di FlepStudio forums, part of the Articoli e tutorials category; Un' altra risorsa gratuita per gli utenti di FlepStudio. E' sempre uno scroller tipo lo Scroller di Eventi che abbiamo ...


Go Back   Forum Flash CS3 > Flash CS3 e Actionscript 3.0 > Articoli e tutorials > Utilità di FlepStudio

Register Blogs FAQ Members List Calendar Search Today's Posts Mark Forums Read
  5 links from elsewhere to this Post. Click to view. #1 (permalink)  
Old 06-03-08, 05:34
Administrator
 
Join Date: Jul 2007
Location: Cesena
Posts: 4,319
Blog Entries: 1
Rep Power: 6
Flep is on a distinguished road
Scroller di eventi - versione 2


Un' altra risorsa gratuita per gli utenti di FlepStudio.



E' sempre uno scroller tipo lo Scroller di Eventi che abbiamo già visto, ma questa volta ho cambiato un po le logiche e le grafiche.

In sostanza, visualizza un evento con data, titolo evento, testo eveto e immagine evento. Chiaramente ogni evento è cliccabile e punta il browser verso le pagine che volete.


SCROLLER DI EVENTI versione 2

Flash CS3+XML


 

















Descrizione

Scroller di eventi o news che legge da un fileXML.


Pacchetto files

main.fla

package org.flepstudio

package caurina ( Tweener di Zeh Fernando )

events.xml

cartella thumbs con relative immagini

Puoi scaricare i files nella sezione downloads di questo sito.





Importante : Aprire il file LoadingXML.as e alla riga 32 cambiare l' url di chiamata al file XML.


 


Opzioni file XML:

data evento, titolo evento, testo evento, immagine evento, url evento


File XML:
HTML Code:
<?xml version="1.0" encoding="UTF-8"?>
<events>
	<item date="Sept 14 2007">
		<title>Event 1</title>
		<date>Feb 01 2008</date>
		<category>blue</category>
		<thumb>http://www.flepstudio.org/utilita/EventsScroller_2/thumbs/thumb_0.jpg</thumb>
		<text>Lorem ipsum dolor sit amet, donec cras, ante elit pede iaculis quam natoque nulla. Ante etiam aliquam.</text>
		<url>http://www.flepstudio.org/</url>
	</item>
	<item date="Sept 15 2007">
		<title>Event 2</title>
		<date>Feb 02 2008</date>
		<category>orange</category>
		<thumb>http://www.flepstudio.org/utilita/EventsScroller_2/thumbs/thumb_1.jpg</thumb>
		<text>Elementum nec maecenas suscipit est, turpis ut, pellentesque fusce suspendisse ad sollicitudin eleifend pharetra.</text>
		<url>http://www.flepstudio.org/</url>
	</item>
	<item date="Sept 16 2007">
		<title>Event 3</title>
		<date>Feb 03 2008</date>
		<category>orange</category>
		<thumb>http://www.flepstudio.org/utilita/EventsScroller_2/thumbs/thumb_2.jpg</thumb>
		<text>Eget vel laoreet tempor, nunc in ut vel odio sed class, sed libero.</text>
		<url>http://www.flepstudio.org/</url>
	</item>
	<item date="Sept 17 2007">
		<title>Event 4</title>
		<date>Feb 04 2008</date>
		<category>black</category>
		<thumb>http://www.flepstudio.org/utilita/EventsScroller_2/thumbs/thumb_3.jpg</thumb>
		<text>Tincidunt libero duis eget est lectus. Faucibus feugiat arcu varius, mauris arcu vel dolor. </text>
		<url>http://www.flepstudio.org/</url>
	</item>
	<item date="Sept 18 2007">
		<title>Event 5</title>
		<date>Feb 05 2008</date>
		<category>blue</category>
		<thumb>http://www.flepstudio.org/utilita/EventsScroller_2/thumbs/thumb_4.jpg</thumb>
		<text>Malesuada donec dui commodo massa tortor, ut ut non, vitae arcu officia dignissim eu metus mi, auctor ultrices ante sed justo orci.</text>
		<url>http://www.flepstudio.org/</url>
	</item>
	<item date="Sept 19 2007">
		<title>Event 6</title>
		<date>Feb 06 2008</date>
		<category>blue</category>
		<thumb>http://www.flepstudio.org/utilita/EventsScroller_2/thumbs/thumb_5.jpg</thumb>
		<text>Tellus amet nulla nec, sit dolor mauris enim, vehicula lobortis, vitae eget suscipit, donec non euismod donec fusce et excepturi.</text>
		<url>http://www.flepstudio.org/</url>
	</item>
	<item date="Sept 20 2007">
		<title>Event 7</title>
		<date>Feb 07 2008</date>
		<category>black</category>
		<thumb>http://www.flepstudio.org/utilita/EventsScroller_2/thumbs/thumb_6.jpg</thumb>
		<text>Lorem ipsum dolor sit amet, donec cras, ante elit pede iaculis quam natoque nulla. Ante etiam aliquam.</text>
		<url>http://www.flepstudio.org/</url>
	</item>
	<item date="Sept 21 2007">
		<title>Event 8</title>
		<date>Feb 08 2008</date>
		<category>orange</category>
		<thumb>http://www.flepstudio.org/utilita/EventsScroller_2/thumbs/thumb_7.jpg</thumb>
		<text>Et etiam. Pellentesque tristique commodo lectus nibh placerat porttitor, in mauris ut vestibulum.</text>
		<url>http://www.flepstudio.org/</url>
	</item>
	<item date="Sept 22 2007">
		<title>Event 9</title>
	<date>Feb 09 2008</date>
	<category>blue</category>
		<thumb>http://www.flepstudio.org/utilita/EventsScroller_2/thumbs/thumb_8.jpg</thumb>
		<text>Nisl a tempus velit, proin commodo neque nunc ut magna, leo donec, gravida vel habitant nostra, sit augue.</text>
		<url>http://www.flepstudio.org/</url>
	</item>
	<item date="Sept 23 2007">
		<title>Event 10</title>
		<date>Feb 10 2008</date>
		<category>orange</category>
		<thumb>http://www.flepstudio.org/utilita/EventsScroller_2/thumbs/thumb_9.jpg</thumb>
		<text>Phasellus molestie in diam sed et diam, luctus lectus orci, sit metus nam ligula metus vestibulum elit.</text>
		<url>http://www.flepstudio.org/</url>
	</item>
</events>

Allego i files sorgente:
Attached Files
File Type: zip EventsScroller_2.zip (102.0 KB, 258 views)

__________________

 


I recommend: Essential Actionscript 3.0

- Non rispondo ai messaggi privati con domande tecniche. Apri una discussione sul forum !
- I do not reply technicians pvt messages. Open a thread !

Last edited by Flep; 05-06-08 at 07:46.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

  #2 (permalink)  
Old 06-03-08, 14:12
Junior Member
 
Join Date: Dec 2007
Posts: 2
Rep Power: 0
alexius4 is on a distinguished road
Riferimento: Scroller di eventi - versione 2

Ciao,

Ho un problema nella renderizzazione del vostro scroller di eventi.
Ho caricato tutti i file e seguito le istruzioni cambiando l'url del file xml, ma quando chiamo anche direttamente da browser l'swf mi fa vedere solo la finestra azzurra, senza contenuto.
Avete idea come mai? Potreste aiutarmi?
Grazie anticipatamente
Cordialità
Alessio
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 06-03-08, 16:43
Junior Member
 
Join Date: Dec 2007
Posts: 21
Rep Power: 0
Riuma is on a distinguished road
Red face Re: Scroller di eventi - versione 2

Ciao,
sarebbe possibile inserire nel campo testo con formattazione html in modo da poter avere dei link cliccabili???


Grazieeeeeeeeee
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 06-03-08, 17:05
tem's Avatar
tem tem is offline
Moderator
 
Join Date: Jan 1970
Posts: 435
Rep Power: 39
tem is on a distinguished road
Re: Scroller di eventi - versione 2

Bello bello bello bello!!!
grande Flep!!
__________________
http://www.thetconcept.com
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 06-03-08, 17:42
Junior Member
 
Join Date: Dec 2007
Posts: 21
Rep Power: 0
Riuma is on a distinguished road
Smile Re: Scroller di eventi - versione 2

Scusa, ho risolto...col CDATA indicato da te.


Ciaooooooo
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 06-03-08, 23:37
Junior Member
 
Join Date: Dec 2007
Posts: 21
Rep Power: 0
Riuma is on a distinguished road
Cool Re: Scroller di eventi - versione 2

Avrei un altro problemino...ho cercato di caricare il colore dello sfondo dal file XML: ho creato una var pubblica di tipo stringa, la popolo col valore messo nell'XML e cerco di sostituirla nella riga 146:

trace(bgcolor);
bg_mc.graphics.lineStyle(40,bgcolor,.15,false,"normal",CapsStyle.ROUND,null,3)

Nel trace il valore ce l'ho peṛ mi dà l'errore seguente:
"1067: Implicit coercion of a value of type String to an unrelated type uint."

Molto probabilemente nn vuole la variabile di tipo stringa, ma allora che tipo deve essere???

Ciaoooooooooooo
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 07-03-08, 16:57
Junior Member
 
Join Date: Dec 2007
Posts: 21
Rep Power: 0
Riuma is on a distinguished road
Wink Re: Scroller di eventi - versione 2

Scusa, ho risolto anche questo, è bastato definire la variabile come uint:

public var colorbg:uint;



Holaaaaaaaaaa
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8 (permalink)  
Old 07-03-08, 17:41
Junior Member
 
Join Date: Dec 2007
Posts: 21
Rep Power: 0
Riuma is on a distinguished road
Red face Re: Scroller di eventi - versione 2

Ancora io :-),
come faccio a cambiare il colore all'item selezionato con un effetto di transizione??? Nn riesco a intercettare l'oggetto...


Grazie, ciao
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #9 (permalink)  
Old 08-03-08, 10:55
Junior Member
 
Join Date: Dec 2007
Posts: 2
Rep Power: 0
alexius4 is on a distinguished road
Riferimento: Scroller di eventi - versione 2

Salve,
Nessuno mi ha risposto ancora al mio problema, e sono fermo.
Fornisco qualche dettaglio in più sperando che qualcuno mi aiuti, potendo coś utilizzare lo scroller da voi creato.

Se prendo il source della vs. pagina e lo uso all'interno del mio blog, funziona correttamente.
Ora non essendo un problema di browser, mi viene il dubbio che sia la mia customizzazione del file xml, anche se chiamando ciascun componente ex. immagini thumbs dal server dove ho pubblicato singolarmente tutte le cartelle ed i suoi contenuti si vedono senza problemi, compreso il file XML come riportato qui sotto.
E.G. Inaugurazione C.E.F.

L'swf solo blu, senza contenuto:
http://www.webalice.it/alelda/EventsScroller_2/main.swf

Help me please,
Ale
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #10 (permalink)  
Old 08-03-08, 16:28
Junior Member
 
Join Date: Dec 2007
Posts: 21
Rep Power: 0
Riuma is on a distinguished road
Re: Scroller di eventi - versione 2

Sembra un problema di sicurezza dei domini ma sinceramente nn ho capito come evitarlo.


Ciaooooooooooo
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump

Similar Threads

Thread Thread Starter Forum Replies Last Post
Scroller di eventi Flep Utilità di FlepStudio 56 23-07-08 15:57
Cambio versione swf marshall Flash CS3 generale 1 28-03-08 05:09
Cambio versione swf marshall Flash CS3 generale 0 27-03-08 12:17
scroller eventi: ridimensionare eventi pettedemon AIUTO utilità free 12 22-11-07 10:24
Rilevare la versione Flash Player utente Flep Articoli e tutorials 0 20-09-07 07:46


All times are GMT. The time now is 19:31.


Powered by vBulletin versione 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0 RC4
Forum SiteMap

FlepStudio
by Filippo Lughi
P.IVA 03605860406