Flash CS3 - Flash CS4

Free tutorials and scripts for all.
Actionscript 3.0

News Scroller

This is a discussion on News Scroller within the FlepStudio utilities forums, part of the Tutorials category; Hi all ! One more free utility for FlepStudio's users. It is an horizontal scroller. You can scroll the news ...


Go Back   Forum Flash CS3 Flash CS4 > English Forums > Tutorials > FlepStudio utilities

Register Blogs FAQ Members List Calendar Search Today's Posts Mark Forums Read
  1 links from elsewhere to this Post. Click to view. #1 (permalink)  
Old 23-09-07, 16:42
Administrator
 
Join Date: Jul 2007
Location: Cesena
Posts: 4,352
Blog Entries: 1
Rep Power: 6
Flep is on a distinguished road
News Scroller

Hi all !
One more free utility for FlepStudio's users.
It is an horizontal scroller. You can scroll the news of your site.
Simple to update from a XML file.

Let's see it...

NEWS SCROLLER

horizontal scroller









Description

Horizontal scroller.

Reads from XML file.

Each news is clickable.

Text and url options using the XML file.


Files package

main.fla

main.swf

Main.as

news.xml

readme.txt


Important

Change the url to XML file: LoadingXML.as line 34



Source files:
Attached Files
File Type: zip News_Scroller.zip (50.4 KB, 342 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 16:18.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

  #2 (permalink)  
Old 01-01-08, 17:39
Junior Member
 
Join Date: Dec 2007
Posts: 1
Rep Power: 0
Grobermatic is on a distinguished road
Re: News Scroller

Does anyone know how to edit the code so that the text is LEFT justified?... I have tried

format.align= "Center";

but it doesn't work?? Does it have anything to do with the registration point?

Regards


Craig
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 02-01-08, 05:50
Administrator
 
Join Date: Jul 2007
Location: Cesena
Posts: 4,352
Blog Entries: 1
Rep Power: 6
Flep is on a distinguished road
Re: News Scroller

Hi,
Code:
format.align=TextFormatAlign.LEFT;
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 07-01-08, 12:11
Junior Member
 
Join Date: Nov 2007
Posts: 2
Rep Power: 0
skudu is on a distinguished road
Re: News Scroller

Hi there Flep, happy new year and all the best for 2008.
I am still pretty new to all the uploading and installing buissiness, could you help me with a step by step installing say of the news scroller into a dreamweaver file.
where do i put the xml file and so on??
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 07-01-08, 12:19
Administrator
 
Join Date: Jul 2007
Location: Cesena
Posts: 4,352
Blog Entries: 1
Rep Power: 6
Flep is on a distinguished road
Re: News Scroller

Hi skudu and welcome
Happy new year !

- open LoadingXML.as and change this line:
Code:
var request:URLRequest=new URLRequest('http://www.flepstudio.org/utilita/NewsScroller/news.xml');
with
Code:
var request:URLRequest=new URLRequest('news.xml');
- re-publish the SWF from the FLA

- insert the SWF into your Dreamweaver HTML page.

Keep the XML in the same folder of the SWF.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

photoFlow

  #6 (permalink)  
Old 07-01-08, 13:50
Junior Member
 
Join Date: Nov 2007
Posts: 2
Rep Power: 0
skudu is on a distinguished road
Re: News Scroller

Thanks Flep

When i try and re-publish the SWF from the FLA in my macromedia flash mx2004 it says that it does not recognise the file format.
Do i have the right version of flash?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 07-01-08, 14:05
Administrator
 
Join Date: Jul 2007
Location: Cesena
Posts: 4,352
Blog Entries: 1
Rep Power: 6
Flep is on a distinguished road
Re: News Scroller

You need CS3 version:
Adobe - Flash CS3 Professional, Interactive Multimedia, Interactive Design
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8 (permalink)  
Old 15-02-08, 21:20
Junior Member
 
Join Date: Feb 2008
Location: Seattle
Posts: 1
Rep Power: 0
tacec is on a distinguished road
Re: News Scroller

This is great! You have no idea how long I've been looking for a scroller like this.

So, since I'm pretty new to actionscript, how could I apply this scroller with an RSS feed? (ex. Traffic Conditions - Seattle) I figured since RSS feeds are pretty much XML it wouldn't be too hard....or am I just dreaming?

Any help would be greatly appreciated!
thanks!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #9 (permalink)  
Old 31-03-08, 16:23
Junior Member
 
Join Date: Mar 2008
Posts: 4
Rep Power: 0
assenoost is on a distinguished road
Re: News Scroller

very nice! looks good. I've got one problem though and i see the example above has the same problem.

For some reason it does not load the correct url when you click an item. Instead in constantly opens:

http://www.flepstudio.org/forum/[object%20Object] instead of the actual url that is set.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #10 (permalink)  
Old 03-04-08, 07:33
Junior Member
 
Join Date: Mar 2008
Posts: 4
Rep Power: 0
assenoost is on a distinguished road
Re: News Scroller

Quote:
Originally Posted by assenoost View Post
very nice! looks good. I've got one problem though and i see the example above has the same problem.

For some reason it does not load the correct url when you click an item. Instead in constantly opens:

http://www.flepstudio.org/forum/[object%20Object] instead of the actual url that is set.
anyone ?
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
News Scroller 2 Flep FlepStudio utilities 30 26-08-08 15:14
News Scroller 2 Flep Utilità di FlepStudio 9 13-08-08 12:31
News Scroller Flep Utilità di FlepStudio 22 01-08-08 08:06
news scroller orrizzontale kingrock AIUTO utilità free 0 13-02-08 21:40
Consiglio News zizzolo Flash CS3 generale 12 31-10-07 18:39


All times are GMT. The time now is 06:37.


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