|
|
Dynamic News Reel From XML - That Doesnt Scroll
Hi All,
Okay, I've created a flash (using MX) that I hard coded to have buttons (text w/ clear background) that scroll up to a point, stay there for 20 seconds or so and then scroll back down the way it came; then the next button scrolls up and so on ...
What I'd like to do is make this dynamic - meaning have a new button be created & placed into the animation dynamically from the text of a XML document (aka - not imaged based). That being said, though I've patched together a nice gallery using a similar technique, I'm really clueless on how to apply that to this. Creating/loading the XML I think I can handle. What I dont know is how to have the flash have the animated intro I want - then dynamically create all of the buttons (basically putting the new text on the clear background w/ the correct as link listed in the xml), have them go up then back down & move to the next. Then when all of the buttons are done, have the closing animation.
Does anyone know how to do what Im hoping to do? Know of any good tutorials on this (I've found things close but they arnt close enough)? Am I even being clear?
Thank you for any help you can toss me.
ActionScript.org Forums > ActionScript Forums Group > ActionScript 2.0
Posted on: 04-13-2006, 06:16 PM
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
Dynamic Automatic Text Scroll (like News Reader)
Hi all,
I know dynamic text scroll by clicking the button by adding this script
ActionScript Code:
up_btn.onPress=function(){
mytext.sctoll+=1
}
down_btn.onPress=function(){
mytext.sctoll-=1
}
but i dont know the following..
1) External text file load into flash and scroll automatically from bottom to top continously.
2) Whenever mouseOver on the text the animation should stop.
Can any one help ?
Thanks in advance.
Scroll News
hello everybody!
I would like to make a scroll of news that are loaded externally (html, xml, etc), that can use pixel fonts, and that the links that it contains can open in new windows (external sites) and also can control the flash movie (for example to load a new movie in my full flash site). I don't care if the scroll is a component, and finally I need that links in the news be different from text, and change color or underline (or something) on mouse over.
I'll really appreciate some help or suggestions.
thanx in advance.
(yes I know, my english is really bad... sorry for that)
Scroll News
hello everybody!
I would like to make a scroll of news that are loaded externally (html, xml, etc), that can use pixel fonts, and that the links that it contains can open in new windows (external sites) and also can control the flash movie (for example to load a new movie in my full flash site). I don't care if the scroll is a component, and finally I need that links in the news be different from text, and change color or underline (or something) on mouse over.
I'll really appreciate some help or suggestions.
thanx in advance.
(yes I know, my english is really bad... sorry about that)
Scroll News
hello everybody!
I would like to make a scroll of news that are loaded externally (html, xml, etc), that can use pixel fonts, and that the links that it contains can open in new windows (external sites) and also can control the flash movie (for example to load a new movie in my full flash site). I don't care if the scroll is a component, and finally I need that links in the news be different from text, and change color or underline (or something) on mouse over.
I'll really appreciate some help or suggestions.
thanx in advance.
(yes I know, my english is really bad... sorry for that)
Scrollpane Doesnt Scroll
hi,
so ive got my empty scrollpane there and i am attaching movies to it with
_root.mainscrollpane.content_mc.attachMovie("item" ,"item_"+i,i+1);
_root.mainscrollpane.content_mc["item_"+i]._y=60*i;
(the number of the attached movies is dynamically from an xml.)
but the scrollpane doesnt become scrollable when there is more content than the height of the pane. it just stays like it used to be in the beginning.
is this normal? am i missing something?
Why Doesnt This Scroll Bar Work?
Im loading this into a blankmovie clip on my main timeline
it works when its opened by itself...but not when loaded into my main movie...
what needs to be changed....??
TextArea Scroll Bar Doesnt Always Appear
hello,
please see http://www.vitalimpact.org/welcome.php
the scrollbars in the bottom right do not always appear. The content has not changed at all, but sometimes they appear, sometimes they dont. Here is my code:
ActionScript Code:
//init TextArea component
myWkMessage.html = true;
myWkMessage.wordWrap = true;
myWkMessage.multiline = true;
myWkMessage.depthChild0._visible = 0;
myWkMessage.embedFonts = true;
myWkMessage.setStyle = ("embedFonts", "standard 07_55, standard 07_55b, standard 07_55i, standard 07_55n");
fmtFormat = new TextFormat();
fmtFormat.font = "standard 07_55, standard 07_55b, standard 07_55i, standard 07_55n";
myWkMessage.setNewTextFormat(fmtFormat);
/******************************/
//load css
kungFuStyle1 = new TextField.StyleSheet();
kungFuStyle1.load("/flashRaw/kungfu.css");
myWkMessage.styleSheet = kungFuStyle1;
/******************************/
//load in XML
kungFuContent1 = new XML();
kungFuContent1.ignoreWhite = true;
kungFuContent1.load("/blog/wkmessage.xml?t="+new Date().getTime());
kungFuContent1.onLoad = function(success)
{
if(success)
{
myWkMessage.text = kungFuContent1;
}
}
And the second textArea component loads on the same frame but on a different layer.
ActionScript Code:
//init TextArea component
myEvents.html = true;
myEvents.wordWrap = true;
myEvents.multiline = true;
myEvents.depthChild0._visible = 0;
myEvents.embedFonts = true;
myEvents.setStyle = ("embedFonts", "standard 07_55, standard 07_55b, standard 07_55i, standard 07_55n");
fmtFormat = new TextFormat();
fmtFormat.font = "standard 07_55, standard 07_55b, standard 07_55i, standard 07_55n";
myEvents.setNewTextFormat(fmtFormat);
/******************************/
//load css
kungFuStyle = new TextField.StyleSheet();
kungFuStyle.load("/flashRaw/kungfu.css");
myEvents.styleSheet = kungFuStyle;
/******************************/
//load in XML
kungFuContent = new XML();
kungFuContent.ignoreWhite = true;
kungFuContent.load("/blog/events.xml?t="+new Date().getTime());
kungFuContent.onLoad = function(success) {
if (success) {
myEvents.text = kungFuContent;
}
}
Any ideas?
Scroll Text ///// News Feed
Hi guys I want to do news feed like this guy did
http://www.3xpression.com/start.htm
Can anyone explain how to do that scroll text and how to set links on news feed like he did.
Also anyone have some UI components for scrolling text (not default MX)????
If someone can be bother and upload FLA here that would be greatly appreciated!!!
Help: With A News Scroll, That Gets Info From Text Doc
Help: With a News Scroll, that gets info from text doc
******
EDIT:
Does not have to be a scroller, It can be a fade in and out thing or something eles also.... So it would do somthing like
Show newsitem1.text
fade newsitem1
show news2
fade 2
repeat
END EDIT:
*****
Okay, what Iam looking to do if possible, is make a flash object, that scroll's text in a *text field?*
----------
I know this can be done in action scripting, but since people in my Web design class dont know how to use flash......well
What I would like to do is have flash be the news scroller, but have the text field get info from a text document, that way the text document can be changed, while flash can be left alone, just reading from the updated text document.
Thanks!
~Hightech
Only dead fish go with the flow
How Do I Make A News Scroll Feeded By An RSS From For Example BBC?
I need to make a website for international relations students, I'm kind of a newbie, knowing few things about flash, although I've found lots of codes being sold on the internet, which claim to feed news, I'm not sure if they would work (and they are quite expensive). As of .FLA files in flashkit.com, none have worked or have been comprehensible for me to edit according to my needs. All I need is a newsfeed scrolling horizontally which can be easily edited in the source (BBC, CNN, etc...).
News Ticker - How To Scroll It Horizontally
I'm adapting the news ticker (July 2005 tutorial) for our nonprofit site and would like to have each new headline scroll from left to right horizontally, then fade. Is there a way to do that?
Tnx!
My Scroller Doesnt Scroll When I Load It Into Empty MC
i have a .swf(combobox.swf) that has a combobox on the scene. when the user selects something in the combobox it loads the selection into an empty movieclip (called "holder")on the scene. this part of the movie works fine. problem is....the movies that i want to be loaded have scrollers that load up txt from text file. that works fine too except that my up and down buttons do not work. however, the very same file (news.swf) scrolls just fine when it is viewed on its own. i cant figure this out? i guess when the news.swf movie is loaded into the empty movie clip the variables that define the up and down scrolling are not being passed
here is the URL to what i am working on
http://www.digitaldementia.ca/jimmyt...x/jsrouter.htm
if you select "movie3" the scroller will pop up on the scene but you will notice that it doesnt scroll!!!
i am also including all the files combobox.zip here:
http://www.digitaldementia.ca/jimmyt...x/combobox.zip
Html Doesnt Scroll My Whole Flash Movie?why
i dont know much about html...so...can someone tell me why the html window flash generates does not scroll my whole flash movie. the scroll bar does not let me scroll down to see the lower half of my movie(its long).I'm using flash mx6 and both explorer and safari on mac.
I do have dreamweaver but dont really use it...is there something i need to do to modify the html or create a new page altogether?
thanks kindly
Scroll If Loaded JPEG Doesnt Fit Target
Hi there,
Is it possible to read in the values of a jpeg once loaded into a target?
I would like to have it scroll over 2 seconds if its bigger than the specified target area.
I guess something like if moviename_x > original target dimensions, then scroll....
hmm I think I just answered my own question
Global Style Doesnt Work On My Scroll Bar
globalStyleFormat.face = 0x3399CC;
globalStyleFormat.shadow = 0x000033;
globalStyleFormat.darkshadow = 0xF2FA5F;
globalStyleFormat.highlight = 0xFFECB5;
globalStyleFormat.textColor = 0xFFFFFF;
globalStyleFormat.textSize = 10;
globalStyleFormat.textBold = true;
globalStyleFormat.applyChanges(face);
i put this in first frame of my movie, my scroll bar is in some movie and it appears as if any globalStyleFormat thing i use does nothing to my scroll bars, why?
thanks, i am lost/confused
Scrolling Menu Doesnt Scroll (please Look At Code)
I have tried the scrolling panel with no success...nothing happens.
Here is my code, do you see anything wrong with it?
The 720 is the center of where I want it to scroll, the whole image is 800 pixels wide.
Here is the web link...the pointer (hand) shows up over the icons, but no scroll.
http://www.dalen.co.uk/trial.html
Thanks
Code:
panel.onRollOver = panelOver;
function panelOver() {
this.onEnterFrame = scrollPanel;
delete this.onRollOver;
}
var b = stroke.getBounds(_root);
function scrollPanel() {
if (_xmouse<b.xMin || _xmouse>b.xMax || _ymouse<b.yMin || _ymouse>b.yMax) {
this.onRollOver = panelOver;
delete this.onEnterFrame;
}
var xdist = _xmouse - 720;
panel._x += xdist / 7;
}
[/code]
Scrolling News Ticker With Interactive Scroll Bar
I'm trying to create interactive news ticker onto my site. It will contain headlines that I want to be able to link to a page. I want it to move automatically, but also be able to drag the scroll bar on the left to stop and go when necessary.
Please help?
Integrating PHP News With Flash Scroll Field
Hello,
I have been working on a site for a friend of mine for a couple weeks now, and have run into a slight problem. Hopefully someone on here would be willing to help me out.
The site in question is http://pbs.sentiencecomics.com. Basically, I was planning on using a txt file to update the news, but I recently found a database driven PHP system (http://www.vbshelf.com/index.php) that would work FAR better than the crude system I had in place previously.
The thing is, with this new system (http://pbs.sentiencecomics.com/index.php), I am unable to control the length of the rants my friend might post. I was wondering if it is possible to import the text from the database (loaded from a php file with the correct code, perhaps) into Flash and displayed in a scrollable box like on the original page.
I'm not exactly sure how this should be done though, any help/fingers pointing in the right direction would be well appreciated.
If I haven't been too clear, I'd be happy to clarify. Thanks,
Jared
Main_mc Scroll Window, Doesnt Work Inside Movie?
Hey yall,
I'm trying to get a scroll bar tutorial to work inside of a movie (meaning I have a movie instance named "home mov"). However, when I try to run the program, it doesn't load the text file or show anything at all. Here is the main action script that is supposed to load it:
Code:
function showText(message) {
main4.w_field4.htmlText = message;
if (main4.w_field4.maxscroll > main4.w_field4.scroll) {
main4.gotoAndPlay("scroll_loop4");
}
}
function checkVars(success) {
if (success) {
the_text = this.my_text;
gotoAndStop(141);
} else {
trace("file didn't load");
}
}
should i name it home mov.main4.w_field4.htmlText ??? ive tried a few variations and nothing works
Scrolling News Text Wont Scroll Off Screen Properly
Hello again -
I had some very useful help yesterday & got this news ticker working...
But one last thing eludes me -
How do I get the text to roll off the left of screen completely before returning from the right again?
I've tried loads of stuff but don't know what I'm doing!
Here's the code:
Code:
var loadText:LoadVars = new LoadVars();
loadText.load("news.txt");
loadText.onData = function(src:String):Void {
if (src != undefined) {
news_txt.htmlText = " "+src;
scrollText();
} else {
news_txt.htmlText = "could not load data";
}
};
function scrollText() {
onEnterFrame = function () {
if (news_txt.hscroll<news_txt.maxhscroll) {
news_txt.hscroll+=30;
} else {
news_txt.hscroll = 1;
}
};
}
Don't mind the speed of the text - it's just to get through it quicker for the sake of testing!
Anyone able to help?
I've included the files...
MC With Dynamic News
I have a Movie Clip with a dynamic text box in it. I want to have news and updates ect. in this movie clip through the dynamic text box. How would I go about setting up this dynamic text box so I can just update news ect. into it without having to go into flash 5 and typing text and exporting, than uploading it to the web page everytime I update?
Dynamic News
Can anyone explain how or point me towards a good reference to make a dynamic news section on my homepage. I'm looking for something that will be easily updated. I would also like to apply the same concept to a weekly schedule. The one I have now uses a component and I have to update a symbol in Flash which is quite time consuming.
If it helps/matters and do use PHP and have a basic understanding and am starting to get into MySQL. I'm not sure if you would even use either but just letting you know.
Any ideas?
Thanks yet again,
Dynamic News Box
Does anyone know where I can find a tutorial to make a general news box that is updated via XML. So far I have made a movie clip in my library that has 3 dynamic text fields that have the instance names date_txt, headline_txt, and article_txt. I export the movie clip for actionscript and give it a linkage ID. I get as far as scripting a loop that adds mulitple of these clips on the stage, evenly spaced, but I can't figure out how to populate each clip with unique data from an XML file. I am assuming another loop will do it.
Basically I want to add a movieclip to the stage (or another movie clip that is masked for scrolling purposes) for each news item in the XML file.
Any advice or links would be appreciated.
Scroll Bar Show Up If Needed And Only Scroll To Dynamic Text Input Bottom... HOW
I have attached a copy of my scroll bar that i am currently using how can i make the scroll bar not show up unless needed (really not all that important but would be nice.)
The important thing is that i can setup a dynamic text box inside my item_holder movie clip but my scroller always scrolls to the bottom of the scroll box not matter if inside my scroll box i have on line of text loaded dynamicly or i have 100. So if i have 1 line of text and a large dynamic text box the scroll bar will scroll to the bottom of the scroll box even though it only has one line. See attachment and see if anyone can help. Thanks in advance. Brian
Dynamic Content Doesnt Load Help
is it possible that the servers don't suport swf or actions script ?
ive constructed my first web site...and im going crazy, cause the swf don't read the dynamic content in the ftp ( .txt , .jpg files). the master fla is embebed in html...wich is the index....., the site works well in my computer, and wen i click the index directly from the ftp..works has well...., but wen i put the address in the browser...the site loads, but the dynamic content doesn't. am i missing some information....
these are some action that are in the swf...
function loadFrame() {
_level0.myMCL.loadClip("frames/frames" + curFrameNum + ".jpg", this.framesMC);
_level0.myLV.load("frames/frames" + curFrameNum + ".txt");
this.framesMC._xscale = 100;
this.framesMC._yscale = 100;
}
can anyone give me some clues about my problem!!! tanx
Doesnt Recognize A Dynamic Clip In AS2
i created dynamic clips and attached a movieClip to them:
Code:
for (i=0; i<6; i++) {
this.createEmptyMovieClip("targetClip"+i, this.getNextHighestDepth());
_root["targetClip"+i]._x = i*20;
_root["targetClip"+i].attachMovie("btnM"+i, squere, this.getNextHighestDepth());
}
i added a button to each clip:
Code:
for (var m:Number = 0; m<11; m++) {
this["targetClip"+m] = addBehaviour(m);
}
function addBehaviour(m) {
this["targetClip"+m].onRelease = function() {
pressed(this._name);
};
}
function pressed(storedName) {
storedName = storedName.slice(10, 12);
_root["targetClip"+storedName]._y = 400;
}
and it doesnt recognize :_root["targetClip"+storedName]._y
i dont understand what i am doing wrang?
Dynamic News Feeds...?
Hi All,
I am starting a site for digital compositing (yeah!!)...and was just wondering if anyone knew if there is any sort of service out there where you can subscribe to news feeds for relevant industry info..???
I figure the hardest part of my site will be keeping it up-to-date...so any automation or news feeds i can get will help ALOT!!
Cheers for all your help and time !!
Dynamic News Section
Hey people!
Having major problems with the news section of a site and vrunning out of time 'till deadline, I'm in seriously need of help.
My question is, if anyone can point me to, or give me a direct link to more or less "ready to go" news kit for flash...
I want to write the news in a txt file that will be loaded into flash, displaying the news in one scrollable MC of variable size. The txt file can't be too complicated though, as the comming admins of this site has NO idea whatsoever of ANY programming language.
Date and Headline should preferably be bold and news text, just plain.
Isn' it possible to dynamically create (or attach) one MC for every news item/article without opening the FLA every time an item is added to the txt file?...
Hope all this is understandable.
Thanks in advance guys (...and gals!)
Dynamic News Page
HI, Please can someone help me, I need to create a news page which is populated by data in a database. The news page will contain a news headline and then a body of text (article). To view the article a user will have to click on the headline.
Any ideas how I can go about this? I am thinking I will have a asp page behind the swf which holds the information. I will not know how many news articles there are before hand.
Plaese help....
Michelle
Dynamic LED News Ticker Help
Hello all, I'm new to the forums here but I've been using the site for awhile now but anyhoo here's my problem:
Im using Shakib's LED ticker off of the site -> <a href="http://www.flashkit.com/movies/Scripting/Dot_Matr-Shakib-4210/index.php">Shakib's Ticker</a>
...and the problem is when I try and use it in another piece of work the ticker will show up but it will not run. The code is as follows:
function initialise () {
var k = 1;
for (var i=1; i<=60; i++) {
for (var j=1; j<=7; j++) {
var target = "dot_"+i+"_"+j;
duplicateMovieClip ("dot", target, k);
eval(target)._x = i*6 + 5;
eval(target)._y = j*6 + 5;
var k = k+1;
dots = k
finalx = eval(target)._x;
finaly = eval(target)._y - 35;
}
}
startdots = dots
countx = 0;
county = 0;
getText();
}
//
function frameAction () {
moveDots();
currLet = text.charAt(countx);
currCol = eval(currLet)[county];
for (var row=0; row<7; row++) {
if (currCol[row]==1) {
var target = "dot_"+dots;
newDots.attachMovie( "dm", target, dots);
target = "newDots."+target;
eval(target)._x = finalx
eval(target)._y = finaly + row*6
dots = dots + 1;
}
}
checker();
}
//
function moveDots () {
for (var thisDot in newDots) {
newDots[thisdot]._x -= 6
if (newDots[thisdot]._x <= 5) {
removeMovieClip(newDots[thisdot]);
}
}
}
//
function checker() {
if (dots>1.5*startdots) {
dots=startdots;
}
county = county + 1;
if (county > 5) {
county = 0;
countx = countx+1;
if (countx > text.length) {
countx = 0;
getText();
}
}
}
//
function getText() {
text = textClips[textCount];
textCount = textCount+1;
if (textCount>textClips.length){
textCount = 0;
}
}
//
gap = [0,0,0,0,0,0,0];
_ = [gap,gap,gap,gap,gap,gap];
a1 = [0,1,1,1,1,1,1];
a2 = [1,0,0,1,0,0,0];
a3 = [1,0,0,1,0,0,0];
a4 = [1,0,0,1,0,0,0];
a5 = [0,1,1,1,1,1,1];
a = [a1,a2,a3,a4,a5,gap];
b1 = [1,1,1,1,1,1,1];
b2 = [1,0,0,1,0,0,1];
b3 = [1,0,0,1,0,0,1];
b4 = [1,0,0,1,0,0,1];
b5 = [0,1,1,0,1,1,0];
b = [b1,b2,b3,b4,b5,gap];
c1 = [0,1,1,1,1,1,0];
c2 = [1,0,0,0,0,0,1];
c3 = [1,0,0,0,0,0,1];
c4 = [1,0,0,0,0,0,1];
c5 = [0,1,0,0,0,1,0];
c = [c1,c2,c3,c4,c5,gap];
d1 = [1,1,1,1,1,1,1];
d2 = [1,0,0,0,0,0,1];
d3 = [1,0,0,0,0,0,1];
d4 = [1,0,0,0,0,0,1];
d5 = [0,1,1,1,1,1,0];
d = [d1,d2,d3,d4,d5,gap];
e1 = [1,1,1,1,1,1,1];
e2 = [1,0,0,1,0,0,1];
e3 = [1,0,0,1,0,0,1];
e4 = [1,0,0,1,0,0,1];
e5 = [1,0,0,0,0,0,1];
e = [e1,e2,e3,e4,e5,gap];
f1 = [1,1,1,1,1,1,1];
f2 = [1,0,0,1,0,0,0];
f3 = [1,0,0,1,0,0,0];
f4 = [1,0,0,1,0,0,0];
f5 = [1,0,0,0,0,0,0];
f = [f1,f2,f3,f4,f5,gap];
g1 = [0,1,1,1,1,1,0];
g2 = [1,0,0,0,0,0,1];
g3 = [1,0,0,0,0,0,1];
g4 = [1,0,0,1,0,0,1];
g5 = [0,1,0,0,1,1,0];
g = [g1,g2,g3,g4,g5,gap];
h1 = [1,1,1,1,1,1,1];
h2 = [0,0,0,1,0,0,0];
h3 = [0,0,0,1,0,0,0];
h4 = [0,0,0,1,0,0,0];
h5 = [1,1,1,1,1,1,1];
h = [h1,h2,h3,h4,h5,gap];
i1 = [1,0,0,0,0,0,1];
i2 = [1,0,0,0,0,0,1];
i3 = [1,1,1,1,1,1,1];
i4 = [1,0,0,0,0,0,1];
i5 = [1,0,0,0,0,0,1];
i = [i1,i2,i3,i4,i5,gap];
j1 = [1,0,0,0,0,0,0];
j2 = [1,0,0,0,0,0,1];
j3 = [1,0,0,0,0,0,1];
j4 = [1,1,1,1,1,1,0];
j5 = [1,0,0,0,0,0,0];
j = [j1,j2,j3,j4,j5,gap];
k1 = [1,1,1,1,1,1,1];
k2 = [0,0,0,1,0,0,0];
k3 = [0,0,1,0,1,0,0];
k4 = [0,1,0,0,0,1,0];
k5 = [1,0,0,0,0,0,1];
k = [k1,k2,k3,k4,k5,gap];
l1 = [1,1,1,1,1,1,1];
l2 = [0,0,0,0,0,0,1];
l3 = [0,0,0,0,0,0,1];
l4 = [0,0,0,0,0,0,1];
l5 = [0,0,0,0,0,0,1];
l = [l1,l2,l3,l4,l5,gap];
m1 = [1,1,1,1,1,1,1];
m2 = [0,1,0,0,0,0,0];
m3 = [0,0,1,0,0,0,0];
m4 = [0,1,0,0,0,0,0];
m5 = [1,1,1,1,1,1,1];
m = [m1,m2,m3,m4,m5,gap];
n1 = [1,1,1,1,1,1,1];
n2 = [0,1,0,0,0,0,0];
n3 = [0,0,1,0,0,0,0];
n4 = [0,0,0,1,0,0,0];
n5 = [1,1,1,1,1,1,1];
n = [n1,n2,n3,n4,n5,gap];
o1 = [0,1,1,1,1,1,0];
o2 = [1,0,0,0,0,0,1];
o3 = [1,0,0,0,0,0,1];
o4 = [1,0,0,0,0,0,1];
o5 = [0,1,1,1,1,1,0];
o = [o1,o2,o3,o4,o5,gap];
p1 = [1,1,1,1,1,1,1];
p2 = [1,0,0,1,0,0,0];
p3 = [1,0,0,1,0,0,0];
p4 = [1,0,0,1,0,0,0];
p5 = [0,1,1,0,0,0,0];
p = [p1,p2,p3,p4,p5,gap];
q1 = [0,1,1,1,1,1,0];
q2 = [1,0,0,0,0,0,1];
q3 = [1,0,0,0,1,0,1];
q4 = [1,0,0,0,0,1,0];
q5 = [0,1,1,1,1,0,1];
q = [q1,q2,q3,q4,q5,gap];
r1 = [1,1,1,1,1,1,1];
r2 = [1,0,0,1,0,0,0];
r3 = [1,0,0,1,1,0,0];
r4 = [1,0,0,1,0,1,0];
r5 = [0,1,1,0,0,0,1];
r = [r1,r2,r3,r4,r5,gap];
s1 = [0,1,1,0,0,1,0];
s2 = [1,0,0,1,0,0,1];
s3 = [1,0,0,1,0,0,1];
s4 = [1,0,0,1,0,0,1];
s5 = [0,1,0,0,1,1,0];
s = [s1,s2,s3,s4,s5,gap];
t1 = [1,0,0,0,0,0,0];
t2 = [1,0,0,0,0,0,0];
t3 = [1,1,1,1,1,1,1];
t4 = [1,0,0,0,0,0,0];
t5 = [1,0,0,0,0,0,0];
t = [t1,t2,t3,t4,t5,gap];
u1 = [1,1,1,1,1,1,0];
u2 = [0,0,0,0,0,0,1];
u3 = [0,0,0,0,0,0,1];
u4 = [0,0,0,0,0,0,1];
u5 = [1,1,1,1,1,1,0];
u = [u1,u2,u3,u4,u5,gap];
v1 = [1,1,1,1,1,0,0];
v2 = [0,0,0,0,0,1,0];
v3 = [0,0,0,0,0,0,1];
v4 = [0,0,0,0,0,1,0];
v5 = [1,1,1,1,1,0,0];
v = [v1,v2,v3,v4,v5,gap];
w1 = [1,1,1,1,1,1,1];
w2 = [0,0,0,0,0,1,0];
w3 = [0,0,0,0,1,0,0];
w4 = [0,0,0,0,0,1,0];
w5 = [1,1,1,1,1,1,1];
w = [w1,w2,w3,w4,w5,gap];
x1 = [1,1,0,0,0,1,1];
x2 = [0,0,1,0,1,0,0];
x3 = [0,0,0,1,0,0,0];
x4 = [0,0,1,0,1,0,0];
x5 = [1,1,0,0,0,1,1];
x = [x1,x2,x3,x4,x5,gap];
y1 = [1,1,0,0,0,0,0];
y2 = [0,0,1,0,0,0,0];
y3 = [0,0,0,1,1,1,1];
y4 = [0,0,1,0,0,0,0];
y5 = [1,1,0,0,0,0,0];
y = [y1,y2,y3,y4,y5,gap];
z1 = [1,0,0,0,0,1,1];
z2 = [1,0,0,1,1,0,1];
z3 = [1,0,0,1,0,0,1];
z4 = [1,0,1,1,0,0,1];
z5 = [1,1,0,0,0,0,1];
z = [z1,z2,z3,z4,z5,gap];
//#include "alphabet.as" --- not used in fk version
textCount = 0;
textClips = ["websight_________","dynamic______","text________" ,"ticker_______"];
initialise();
apologies for the long post. The only other thing that he has code in is the enterframe movie clip which is:
onClipEvent (enterFrame) {
_parent.frameAction();
}
I have no idea what the problem is. I keep everything the same and I have looked over the code to see if I needed to change anything. I'm also a novice at actionscripting so I'm stumped. Can any of you give me a hand with this? It would be much appreciated! Thanks!
Dynamic News System Help Please
I am trying to create a dynamic news system with the assistance of PHP and mySQL. Basically, I want to create like an archive, so that when a new news item is added, it will be added onto the list, and a button will be created in flash that will use a goto action to display the news. How can I go about dynamically creating a button?
Been stumped for hours! Please help, thanks!
Dynamic News Generator
Does anyone have any ideas on how the news section of this site was created?
http://www.bigspaceship.com/
I'm a pretty intermediate user of Flash, but I can't quite figure out how to generate those entries dynamically. And I also can't figure out how the did the mouseovers for the links within the text.
Any help or suggestions on how to get started with something like this would be greatly appreciated. Thanks!
Dynamic News Section
Hey people!
Having major problems with the news section of a site and vrunning out of time 'till deadline, I'm in seriously need of help.
My question is, if anyone can point me to, or give me a direct link to more or less "ready to go" news kit for flash...
I want to write the news in a txt file that will be loaded into flash, displaying the news in one scrollable MC of variable size. The txt file can't be too complicated though, as the comming admins of this site has NO idea whatsoever of ANY programming language.
Date and Headline should preferably be bold and news text, just plain.
Isn' it possible to dynamically create (or attach) one MC for every news item/article without opening the FLA every time an item is added to the txt file?...
Hope all this is understandable.
Thanks in advance guys (...and gals!)
Dynamic News Scroller... HELP
i made a littel news scroller and it works fine.. but now i need it to read text from a file.. so i tryed to use the read dynamic text tutorial from Kirupa but somehow im doing something wrong...
ok how did i do it:
frame 1 has a action called
PHP Code:
news_text = "blah blah ";
This makes the text blah blah scroll, but how do i make it so this code
PHP Code:
var loadText = new loadVars();
loadText.load("nieuws.txt"); //name of text ducument
loadText.onLoad = function(success) {
if (success) {
// trace(success);
newsBox.html = true;
newsBox.htmlText = this.myNews;
}
};
Profides the same result?
check my attached file...
Dynamic News Ticker?
Hello all,
Due to a recent hard drive crash I have lost most of my .fla's. I just happen to lose a flash news ticker that I once had that read either a .txt file or was xml that just simply scrolled news/links.
I Googled the topic and found a bunch of tickers but none of them will allow my client to just update the ticker by editing a .txt file.
* Does anyone know where I could get a free ticker like this without buying the one from Flashloaded?
Thank you so much !
Dynamic News Menu
I'm trying to mimic the scrollable Movie Clip menu that's featured on sites like Work Rocks.
I imagine that there's some XML involved and possibly a critical 'for' loop.
Any ideas?
(Hint: I want a dynamically loaded menu)
Thanks in advance
Flash “Dynamic News Box”
Does anyone know how to do or sample code for a Flash “Dynamic News Box”
Also is it possible to change the fonts, colors, and backgrounds for the dates, titles, content? The dates, titles, & content will always be the same font, color, & background
<news>
....<newsItem>
.......<newsDate></newsDate>
.......<newsTitle></newsTitle>
.......<newsContent></newsContent>
....</newsItem>
</news>
__________________________________________________ _________________
Example
Video Trailers
Aug 5, 2006 - 10:44 pm
The video trailers aren't completed yet, but they should be added to the site in a couple weeks.
Happy June 1st
Aug 5, 2006 - 10:44 pm
Happy June 1st everybody. Sorry I haven't updated in so long. Hopefully I'll soon find some motivation to make a new site. I've got the new admin tool built and a shiny new mp3 player ready, but I'm stuck on the design.
__________________________________________________ ___________________
Thanks a million for your help!
[f8] Dynamic News Editor
Anyone know if its possible to pull in an entire html page? Or an RSS new feed? I want to be able to have the news pull in dynamically from a source like WordPress. So that way when I edit the news and it goes to the rss feed, it will display the entire news entry.
I've seen it done where the text came into a dynamic textbox and was from an html page.. and they rendered the text as HTML?
Could I some how do something like this? Or is that complicated? I'm very new and I don't have the best understanding of this..
Any help would be awesome!!!!
Dynamic News Section
Hey people!
Having major problems with the news section of a site and vrunning out of time 'till deadline, I'm in seriously need of help.
My question is, if anyone can point me to, or give me a direct link to more or less "ready to go" news kit for flash...
I want to write the news in a txt file that will be loaded into flash, displaying the news in one scrollable MC of variable size. The txt file can't be too complicated though, as the comming admins of this site has NO idea whatsoever of ANY programming language.
Date and Headline should preferably be bold and news text, just plain.
Isn' it possible to dynamically create (or attach) one MC for every news item/article without opening the FLA every time an item is added to the txt file?...
Hope all this is understandable.
Thanks in advance guys (...and gals!)
Dynamic News Scroller... HELP
i made a littel news scroller and it works fine.. but now i need it to read text from a file.. so i tryed to use the read dynamic text tutorial from Kirupa but somehow im doing something wrong...
ok how did i do it:
frame 1 has a action called
PHP Code:
news_text = "blah blah ";
This makes the text blah blah scroll, but how do i make it so this code
PHP Code:
var loadText = new loadVars();
loadText.load("nieuws.txt"); //name of text ducument
loadText.onLoad = function(success) {
if (success) {
// trace(success);
newsBox.html = true;
newsBox.htmlText = this.myNews;
}
};
Profides the same result?
check my attached file...
How Do I Do XML Dynamic News Article ?
What im trying to do, is have a scrollable text field for the main portion of my page , it will be right in the middle. The news should be scrollable within the text box , which i know how to do i think. Only problem is , the way i did it on my first page i had to keep adding the text into the action script bar, in flash.
I would like to be able to highlight certain words and maybe even add a graphic into the text like a grey bar for where the article title will go. I also want some words to be able to get linked to other sites or other places in my site. I dont think i have anyway of adding these into the variable lines in action script. The text was not even color changeable when i did it that way.
So what im asking is , if anyone can point me in the right direction to use XML so i can have it dynamically change as i edit the xml file, and how would i go about linking it to the text field ?
You can view what i have so far to maybe give you a better idea of what im going for. The Blue Box in center middle of page is where the news will go. I have it in html and swf
This should be scrollable within itself , like on the site David has the animationshoppe thing. If anyone could help me out i would greatly appreciate it... Thanks
html
swf
Dynamic News Ticker?
Hello all,
Due to a recent hard drive crash I have lost most of my .fla's. I just happen to lose a flash news ticker that I once had that read either a .txt file or was xml that just simply scrolled news/links.
I Googled the topic and found a bunch of tickers but none of them will allow my client to just update the ticker by editing a .txt file.
* Does anyone know where I could get a free ticker like this without buying the one from Flashloaded?
Thank you so much !
Dynamic Scrollpane News Box
I'm trying to find a way to have a scrollpane that loads dyanmic text either from SQL Server or from XML. I've seen it done alot, but can't seem to figure it out. Fairly new to Flash, using MX pro 2004. If anyone can point to a tutorial, download, or other, that would be appreciated. I did several searches through the backlogs on here, but didn't find what i was looking for.
Dynamic News Reader Help...
I'm creating a dynamic "news reader" type of thing. When finished, it will read news items from an XML document, dynamically create enough clips to fill the stage vertically, and then every few seconds scroll on it's own, deleting the top item, sliding everything else up one spot, and creating a new item at the bottom to house the next item. Pretty straightfoward...
The problem is I'm drawing an absolute blank about how to accomplish this! I've set up a dummy version to work it out, but I just don't know where to go after "initializing" the screen. Basically, I want to make it so that when you press the down arrow, the top clip is deleted, everything slides up to the top of the page, and new clips are added to the bottom to fill up the remaining space.
Here is what I've worked up. If someone could take a peak and give me some ideas on how to accomplish this I'd appreciate it! I'm getting a little bleary-eyed looking at code!
Download the .fla File »
Dynamic News Ticker
Hi,
I'm trying to create a vertically scrolling news banner, where the text is an external XML file. Each news story scrolls up and pauses, then moves on to the next one. I have already managed to load in this text into a dynamic text box with a scroll bar (but don't want that). I have seen some tutorials, but they're not really what I'm after. Also seen a little app that does what I want, but I want to able to code it myself -
http://www.scriptocean.com/flashn.html
Any help much appreciated!
|
|
|