Professional :: News Scroller With Images/videos?

Sep 4, 2010

I am trying to create a news scroller such as the one on espn.com where you have a scrolling news component that can contain images and or videos and links to news stories stored in the database.

View 2 Replies


Similar Posts:


ActionScript 2.0 :: Add Images To A News Scroller?

Jun 5, 2008

I found a script at on the web that emulates the news scroller found atI would like to add images to each news headline so it can replicate the effect found at

Code:
stop();
//

[code].....

View 2 Replies

Professional :: XML News Reader With Images And Video Links

Jan 8, 2010

I want to implement an XML news reader with images and video links( youtube for example) in as3. Does anyone know where i could find and example or at least, how to read video links from an XML file in as3?

View 2 Replies

Professional :: Embedding Videos And Images?

Jul 26, 2010

How can i embed images and videos in swf through actionscript in flash? I am reading an xml through actionscript (3.0) and loading the content But is it possible to embed them and when a compile it , i get swf with content embedded in it (this possibly eliminates the need of giving the content separately with swf )?

View 2 Replies

ActionScript 2.0 :: Horizontal News Scroller With Links To Full Story

Nov 23, 2010

I am looking to create a horizontal news scroller. In fact I once found one on the web but failed to bookmark it now I can't find it again. I have attached an image of what it needs to look like. It will load text from an external source and have links to the full news story.

View 0 Replies

ActionScript 2.0 :: News Scroller - Center Justifying Dynamic Text

Jan 6, 2005

I have this news scroller for work - Vertical member (160 X 600) And the idea is that it has 3 text fields (Headlines). These fields are lined up vertically (one at the top of the scroller, one at the middle, and one at the bottom.). I load them dynamically from XML, and after about 5 seconds, I have them all move up. (the top one goes up the top, and comes back from the bottom, the other two move up). The problem is that I am trying to center justify them. When they're loaded I can center justify them, using this code:

Code:
MovieClip.prototype.centerFunction = function() {
format = new TextFormat();
format.align = "center";
_root.news2.headline2_txt.setTextFormat(format);
_root.news3.headline3_txt.setTextFormat(format);
_root.news1.headline1_txt.setTextFormat(format);
}

Now, when they are first center justified by the code, they look slightly off, and once they move they arrange themselves correctly.

View 5 Replies

ActionScript 2.0 :: News Style Scroller - Text And Audio Clips

Feb 3, 2007

I've got a news-style scroller that has audio clips and text loaded in via an XML file. The text works fine and I can read the string of the mp3 file to play, but if I actually hit play, it only plays the LAST listed mp3 in the array instead of the one that should be playing.

Here's some code:
stop();
MovieClip.prototype.mV = function() {
this.onRollOver = function() {
this.t.colorTo(0x815249, .5);
this.roller.gotoAndPlay("over");
[Code] .....

What's happening is when you click the play button, it only plays the last song named in the XML file, and doesn't link to the correct url, but all the text is in the correct places.

View 6 Replies

ActionScript 3.0 :: Vertical News Scroller - Fade Out When Text Reaches At End

Jul 13, 2009

I'm creating a vertical news scroller, that will eventually load in from an external text file and then just scroll the text in a movie clip vertically. I have this working but I have a couple of questions.

1. As the text reaches the end of the scroll I want it to start to fade out, I've added a IF statement to do this but it doesn't seem to fire. Why is this?
2. Even though I don't have any easing the scroll seems to slow down as its nearing the end of the animation, do you know why this is happening?

Code:
import gs.TweenLite;
import gs.easing.*;
var myTimer:Timer = new Timer(0,1);
myTimer.addEventListener(TimerEvent.TIMER, scrollNow);
myTimer.start();
[Code] .....

View 5 Replies

Flex :: Scaling An Image In A Scroller Resizes The Scroller When Relative Dimension Are Set To The Scroller?

Mar 9, 2010

I would like to position relatively a scroller in my application like below.When I scale the image, I resize the scroller...

<s:Scroller width="50%" height="50%" >
<s:Group>
<mx:Image

[code].....

View 2 Replies

ActionScript 3.0 :: Create A News Rotator That Pulls Info And Images From A XML File

Nov 10, 2009

I am trying to create a news rotator that pulls info and images from an XML file.I made something similar a while back which pulled just the headlines which worked great and I am trying to adapt this same idea to a current project. pull all the info from the XML and push them into separate arrays based on the type of information it is. ie title, description, image etc.From there I have a function which is supposed to display the all of the info and another which cycles through it based on a timer.Like I said before, this worked great with just the headlines, but when trying to add images its getting thrown off. The function which intends to parse the data and pushing it into separate arrays.

Code:
function onLoaded(evt:Event):void {
xml = new XML(evt.target.data);
var il:XMLList = xml.channel.item;

[code]....

I'm aware that it has something to do with either how the info for the images is being parsed (or not), and/or how I am going about displaying it.I was able to write a separate function which displayed one image as intended, but then wouldn't cycle through as the news changed.

View 1 Replies

ActionScript 2.0 :: XML - Fetch News From Xml And Populate That News Headings Into Four Text Fields

May 17, 2010

I am working on the news ticker module (AS2) where I have to fetch news from xml and populate that news headings into four text fields and these 4 headings will stay for a while and fade until last record. this process will continue.

View 0 Replies

ActionScript 2.0 :: Making An XML News Reader Based Off Of Senocular Squirrel XML News?

Mar 24, 2007

Making an XML news reader based off of senocular Squirrel XML news.

I'm using Fuse and wanted to target the dynamic text and or background portions of the headline section.

However, this movie clip is attached to the menu_mc so I'm stumped as to what I should exactly target for the fuse sequence (or any mx.transition/zigo engine based code-tweening process for that matter).

I've attached the files in a .zip for people to look at (and possibly conquer my problem!

View 3 Replies

ActionScript 2.0 :: Xml News- Pulling Multiple News From Xml?

Jul 17, 2009

I wanted to add a second news box under the first one and have it pull the first two news items in the xml file and have it displayed on the movie. Currently it is putting the first news item in both news boxes.ction script so that the second box is actually the second "<news> tag". From the tutorial I removed the <info> <author> and <comment> tags.

View 0 Replies

ActionScript 2.0 :: Claudio's Scroller + XML Images?

Aug 6, 2006

fixing my XML thumbnail images to work with Claudio's scroller. The scroller doesn't adjust correctly to show all of the dynamically loaded thumbnails..? I found this thread explaining why this is happening but I haven't been able to correct the problem with the suggested fix.

http:[url]....Apparently the variable located inside my scroller,

"bottom= thumbnail_mc._y-mask_mc._height+thumbnail_mc._height-space;"

is set before the XML has finished loading so does not calculate the correct mc_height to work with the scroller and show all the thumbs at the bottom... ?

View 1 Replies

Actionscript 2.0 :: Create Dynamic Scroller For Xml Images?

May 13, 2009

How to create a dynamic horizontal scroller for xml driven images.

View 2 Replies

Professional :: Making A News-Ticker

Oct 2, 2010

How can I make such a News-Ticker as on URL...(The nice box, which has 4 advertisements is ment)I´m making a website for a friend and want to add something like this. Unfortunately its the first time I´m using Flash.

View 3 Replies

ActionScript 3.0 :: Embedding Videos And Images?

Jul 26, 2010

I am using flash for developing a project(flash cs4 professional) with actionscript 3.0. I am reading an xml file from which i am getting the path of the videos and images to be loaded.When delivering the swf file, i also need to give the images and videos along with swf file.Is there any way through which i can embed the images and videos in compiled swf file and hence preventing the content to be given with swf file?

View 5 Replies

Professional :: Regarding A Flash News Slide Show?

May 10, 2010

I am having a major problem with the news slide show I want to make, Mainly It's a news slide show where the images source is an external folder connects to flash using Xml.Everything is working, but what I want is to make buttons related to the current slides where it changes it's appearance as the slide changes.

I've tried alot, but I guess I am lacking some knowledge when it comes to action script.

View 2 Replies

Flash :: Flex - Builder 4.5 Mobile App ... Scroller And Preloaded Images

Oct 26, 2011

I got some Images in my scroller component. while scrolling the scroller sometimes hang for a second... i think the image is loading. is it possible to load the image before the scroller is on the position?!.

View 1 Replies

Professional :: Make A Scrolling News Section With A Stage Of 200 W X 250 L?

Sep 1, 2010

I am in the process of building a web site and am running into an issue with dynamic loading text.I am trying to make a scrolling news section with a stage of 200 W x 250 LCreated a movie clip with the following coding:

var myTextLoader:URLLoader = new URLLoader();var myTextField_txt:TextField = new TextField();myTextField_txt.wordWrap=true;
myTextLoader.addEventListener(Event.COMPLETE, onLoaded);
function onLoaded(e:Event):void {myTextField_txt.text = e.target.data;addChild(myTextField_txt);} 
myTextLoader.load(new URLRequest("myText.txt"));
 
Then set the clip (which is 250 W x 600 L) on the main stage, moving upwards, creating the auto scroll effect.The problem I am running into is that I can't figure out how to make the text use the whole width of the text box I created. It only uses half of the width, creating columbs like this:
 
Hello and
welcome
to our new

[code]...
 
The text box itself is at least twice the width of the sentences, but they aren't using the full width.

View 5 Replies

Professional :: Load Facebook News Feed In Flash?

Jan 26, 2011

Is there a way to perfectly load a Facebook News Feed inside Flash?Haven't been able to find anything so far..

View 5 Replies

ActionScript 2.0 :: Keeping Videos And Images Aspect Ratios?

Jul 13, 2009

I have been watching too many peoples asking about various aspect levels for images and videos. Here is a simple demo to show your image/video with different aspect ratio levels. I hope the aspect ratio list is very tiny like, 3:2, 4:3, 16:9, 1.85:1, 2.39:1. Here is sample code:

Code:
function setAspectRatios() {
var widthR:Number = 2.39;
var hightR:Number = 1;

[Code].....

View 1 Replies

ActionScript 2.0 :: Make A Horizontal Scroller, That Pulls Images From An XML Document, And Scrolls Them Infinitely?

May 9, 2008

Im trying to make a horizontal scroller, that pulls images from an XML document, and scrolls them infinitely.I have 2 problems with this and I have been looking everywhere for a tutorial, or example that shows how to do this and I always find something that is close to what I want but not quite.Here is what I have so far:

Code:
var mcLoader:MovieClipLoader = new MovieClipLoader();
var mcListener:Object = new Object();[code]....

What I'm wanting to do is instead of using 490 (underlined), I want to be able to get the width of each loaded image so that I can line up the next image right up against it regardless of its width (490 just happens to be the width of all of them right now).I'm trying to use the onLoadInit() function, but I know I'm doing something wrong. When I try and trace my mainLoader variable, it traces the right amount of times, but they are all the last object in the group.What do I need to do to be able to get the widths of each image as it loads, then use that variable to position the next image right after it?

also (a semi unrelated help request), what I'm doing right now is loading them ALL in creating one giant line of images, then loading in another giant line of images and just alternating between the 2 each time one is almost to the end of its length. Is there a better way to do this so that only the right amount will load, and scroll, at the beginning adding the one right before it enters stage, and as they move off stage they are removed, then when it's near the end it just adds the first one back to the end?

View 6 Replies

Professional :: Dynamically Loading News Ticker - Vertical Scroll / Loop

Sep 2, 2010

I have been working on a dynamic loading news ticker for a site and have been running into two separate problems:

The first, creating a movie clip, inserting the following code:
var myTextLoader:URLLoader = new URLLoader();
var myTextField_txt:TextField = new TextField();
myTextField_txt.wordWrap = true;
myTextField_txt.autoSize=TextFieldAutoSize.LEFT;
[Code] .....

And having the clip load the text from the text file listed. In this version, everything is working fine except I don't have the ability to change the font, size, and color of the text using only flash and the text document, (to my understanding).

The second, creating two .fla files, one with the embedded font I want to display named font.fla, and the other blank named fontloader.fla. Also create an .as file in the folder with the following code:
package {
import flash.display.Loader;
import flash.display.MovieClip;
import flash.events.Event;
import flash.net.URLRequest;
[Code] .....

In this second scenario, the problem is that I can't figure out a way to make the dynamic text scroll vertically and loop, (Was trying to figure out a way to save the fontloader.fla as a movie clip, then importing it into a new .fla and just using a motion tween on the clip, but so far I'm confused by it). This second scenario is also not my first choice, because loading the text straight from a text file would make the news section very easy to update for those who don't have any design experience.

View 3 Replies

ActionScript 3.0 :: Proper Resize Images And Videos At Runtime Without Losing Quality?

Dec 9, 2009

I've built a flash site in which i want to resize a movie to the stage. I do it by keeping the proportion, thus i only resize the width and then i resize the height acordingly to the new width but keeping the proportion. The problem is that my film still looks "pixeled". I found a website on which the stage resizes dinamically with the movie and the background images without either of them losing quality. Till now i knew that resizing images or videos in flash at authoring or runtime produces pixeled results.
 
This is the website: [URL:]. Can someone tell me how do they do it without losing quality? just make the browser windowed and resize the margins to see the effect.

View 2 Replies

ActionScript 2.0 :: Vertical Sliding Scroller Based On A Tutorial For A Horizontal Slide Scroller

Feb 21, 2004

I am trying to build a vertical slide scroller based on a tutorial for a horizontal slide scroller and am having difficulties undertanding what values I need to change in the code for the slider mc in order to make it work. The horizontal slider is quite smart [code]

View 3 Replies

Professional :: Increasing Gap In Scroller?

Aug 10, 2010

I'm editing a scoller and have removed a photo from it however as the scroller scrolls a gap slowly appears where the original photo was. I can't seem to stop this happening?

View 1 Replies

Professional :: 4 Column Text Scroller?

Sep 20, 2011

I want to copy 4 separate columns of text from one application into flash and be able to scroll the columns up and down. I never used flash so I'm lost and don't have a clue where to start. I'm using Flash CS5.

View 1 Replies

ActionScript 2.0 :: Menu Text Above Scroller It Controls The Scroller?

Jul 29, 2005

my problem is that if you go over the menu text above my scroller it controls the scroller. I wan this areas movement to have no effect on the scroller below. is there a way to script my scroller to set it to this?

View 1 Replies

ActionScript 2.0 :: Convert Vertical Scroller To Horizontal Scroller?

Aug 17, 2007

have a cool vertical scroller that I did try to convert to horizontal, but I could not make it work.

//code by Billy T
//set a variable
targY=0;
//set the x position of the dragger
dragger._x = 370;

[code]....

View 4 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved