.
component categoriescomponent categories
overview
features
help & support
downloads
buy now

Awaiting 3 votes.
Report this file Ask author
Posted by : Nellie 4 purchases
Package includes: FLA
Opens with: Flash 8, Flash CS3, AS 2.0
Viewable with: Flash Player 7 and above
Flash knowledge required: N/A
Documentation: N/A


Compact News Viewer Sample



The Compact News Viewer is a great way to present your latest news when you don't have much space! It has many great features...

It is updated by editing an XML file. It's very easy! Add as many news items as you like!

The full news articles can contain HTML text. CSS styles for links (with hover!) are already set up for you in the flash file.

You can add unlimited news items with automatic scrolling on mouse over. If the full news items are long scroll arrows appear so you can scroll down and view the whole article.

Since the full news articles are HTML, they can contain images and swfs as well as other HTML formatting such as lists, bold, underline,etc.

Advanced Compact News Viewer v2.0 is now available!

Have a look at my other files here

Related items: Compact Image Viewer, News on Note Paper, Expanding Full Screen News Viewer



Tagstags
Please « login » to add tags.

Nellie Nellie Component author
 

In that same section of code for the CSS styles you can change the font size. H1 is the heading for the full news area, H2 is the other heading. Just change the fontSize to be the same.

var styleObjH1:Object = new Object();
styleObjH1.color = "#"+headingColor;
styleObjH1.fontSize = "14"; //Change this to 12
styleObjH1.fontWeight = "bold";

var styleObjH2:Object = new Object();
styleObjH2.color = "#"+headingColor;
styleObjH2.fontSize = "12";
styleObjH2.fontWeight = "bold";


Please send me an email if you need any more help as I may not notice your message here straight away.

Yes this was it, i would never find it, works great now, thank you.

One more little think:

The size of TITLE is a bit bigger on the fullnews area. What do i have to change to have the exact same font size on both titles?

Nellie Nellie Component author
 

I assume you are referring to Compact News Viewer v2.0 ?
If so, the text colour is set using CSS styles in the actionscript. You will find around line 236 this code:

var styleObjH3:Object = new Object();
styleObjH3.fontSize = "11";
styleObjH3.fontWeight = "bold";

var styleObjBody:Object = new Object();
styleObjBody.fontSize = "11";
styleObjBody.fontWeight = "normal";


H3 is the style for the date, and body is the style for the intro. So you need to change it to:
var styleObjH3:Object = new Object();
styleObjH3.color = "#000000";
styleObjH3.fontSize = "11";
styleObjH3.fontWeight = "bold";

var styleObjBody:Object = new Object();
styleObjBody.color = "#000000";
styleObjBody.fontSize = "11";
styleObjBody.fontWeight = "normal";

Hello Nellie,

I bought your component today and i must say its awesome, since i can not send you PM (dunno why) i'll ask you here for a little help. I adjusted component to my needs almost everythink, except a color of INTRO and DATE text. Its white and i want it black. I searched for option a lot, but no luck.

Please help and thank you for that great component.

Nellie Nellie Component author
 

Yes you can, from within the flash file. Just send me an email if you have and problems doing it and i'll guide you through it.

This is really cool, I've been looking for this since a long time. I just wonder if i can edit the color.


 
featured componentsfeatured components