Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
  Advanced Search
  HOME    TRACKER    Flash








Load External Links File (xml)


I'm building a Flash website that will have a "links section" (original, i know.) My problem is that I am attempting to make the section dynamically-loaded so that when the owner of the site wants to change his links he can do so just by editing the external file.

I know VERY LITTLE about XML or how to use Flash with XML, but I would be forever grateful if someone could help me figure out how to use something like the following XML structure to build a movie clip (of movie clips???) that will act as the links section.

XML:
<link>
<src>http://www.flashkit.com</src>
<desc>The Flash Source</desc>
</link>

I know that I need a generic movie clip that will have a button on it with the getURL() function and a textbox, but how to load the external XML is beyond my intermediate Flash knowledge.

Thanks for ANY help you can give.




FlashKit > Flash Help > Flash ActionScript
Posted on: 11-24-2002, 11:07 PM


View Complete Forum Thread with Replies

Sponsored Links:

How To Load Clickable Links From External Text File
I can load text from a text file into a dynamic text box but I want the text to be clickable so that It will open a new window to that clickable link.

View Replies !    View Related
Load External Text With Html In Text File...links Possible?
hello forum.....

I loaded an external.txt file into my flash news section so it will be really easy to edit... my problem is when I try to add HTML.. as in ahref tags... the words that are supposed to show up as "links" do not!! I have the html text box checked in the character properties too... is this at all possible ?

View Replies !    View Related
Load A Xml File That Contains Urls - Want 2 Load A Movie Instead Of Open URL Links
i'm just wondering how does one go about to load an xml / text file into a text box.. this text file - has url links.. or a href tags.. how do i change it such that the url links can call actionscripts instead of opening the window to a url..

does that make sense?? if it still doens't - go to www.praystation.com

if you click on the "news" section - his urls open/load movie clips how do i make something similar to that

thanks

View Replies !    View Related
Load .swf From External .txt Links
I want to create some links in an external .txt file that when clicked will load a new .swf into my placeholder movieclip. I know how to load an external .swf from inside my main flash movie. For example a frame action with:

placeholder_main.loadMovie("experiment.swf");

However, I can't seem to figure out how make a html link that will do this in my externally loaded .txt file...Anybody know? thanks!

View Replies !    View Related
[F8] Load External Rows With Links
hello everybody, its been a while

ok heres my problem.. ive read what feels like hundreds of tutorials on loading external data in flash but this is a bit advanced for me (i hate to admit )

im using php/mysql to get data rows from a database and loading it into flash
but with each of my rows i want to add a link in flash that would load another movie with more details about that row..

so for example i have 3 swfs

1) (main.swf) main timeline that loads submain.swf into a movieclip
2) (submain.swf) loads rows of data into a dynamic text box from php/mysql
3) (details.swf) loads specific data for each row

so my question is how do i put a link in each row in submain.swf that will tell details.swf what data to load?

am i making sense?

please help me
any direct help or links to tutorials detailing this would be greatly appreciated

View Replies !    View Related
Load External Text With Embedded Links ?
Hi !

My first post here at this wonderful resource!!
I wonder if it´s possible to use links within external loaded text?

Thanx kirupa for the best flash tips and more!

Johan

www.petfactory.se

View Replies !    View Related
[F8] Links In External Txt File?
i have a plain text info.txt file being loaded into my site. it simple has contact info. my question is how to i link the email addresses and website so that they are active links?

I tried <a href="http://……"> </a> but I think that only works in html - this is just .txt

please help.

View Replies !    View Related
How To Load A Text File That Includes Links?
I now know how to dynamically load text into a flash file from a .txt file (covered here), and I know how to create links in a dynamic text field (covered here).

How do I combine those concepts and load a .txt file that includes links?

View Replies !    View Related
How To Load Links In Flash From An External Server Such As Myspace
i did a flash movie/animation of a product i would like to sell...
and i am planning to post it on my bulletin in myspace...i had set all the buttons (in flash) to get the url of the links but when i paste the code in myspace, it does not direct me to the link when i click on the button....actually, it's dead...

there must be some flash variables involved in here, i guess...i am not good at actionscripting so please help me with this dilemma...i don't want to waste my hard work without sharing the flash link i had created...

appreciate your help...

adidas boy

View Replies !    View Related
Web Links In Text From External .txt File?
'ello...

i have some .swf files which act as news archive pop-ups, containing text which is loaded in from an external .txt file. i put some web links within that text, but they only open within the pop-up window, which is only about 300 x 300 and isn't resizeable, so that's no good!

am i allowed to put web links in a .txt file for loading into .swf? should i be putting "_blank" somewhere in the text file to make sure they open in another window, or is there some other way i can make sure it does that?

thanx 4 any help
louise

View Replies !    View Related
External .txt File To GetURL Links
I would like to import about 17 hyperlinks from a simple text file and assign them to various buttons within the movie. There are probably better ways to lay the foundation, but my brain is going numb.

The logic is as simple as this:

external text file with URL links as variables. (they change)

load the variables into the movie

take those variables and assign them to a button which uses getURL

Right now I'm manually typing in the URL in the getURL command for every button and that's getting really tedious. And if the URL's change, that's definitely gonna s--k.

Appreciate any advice, code hints, etc. I can see it, but I just cannot seem to execute it...

Thanks in advance,
Christian

View Replies !    View Related
Loading Links From External File
Hey, i'm a beginner to flash and i'm looking for a little help.

I'm creating a links page on my site. I want to load a list of links from an external html or text file, into a dynamic text box named content_txt.

I'm able to load text from an external file, but can't seem to get links to work.

Thanks for your time!

View Replies !    View Related
Defining Links In An External File
well, I am wondering about 2 things actually (and please bear with me these might be ridiculously simple but I am fairly new to flash...)

1. Is it at all possible to use externally defined variables in a button or does it *have* to be in a movie clip?

2. How would I go about defining hyperlinks in an external file, and would the code look something like (in a frame for a movie clip that serves as a button)...
loadVariables ("links.txt",_targetMC)
_targetMC.onRelease = function() {
getURL(varlink)
}
I probably got it completely (or mostly) wrong, which is why I would appreciate any advice of how to do it the "right way"

View Replies !    View Related
Links In External Text File With & In Them
Hi, I am building a flash website which takes it's content from text files. In these text files I use HTML links and images. I need to make a paypal button on one page. Unfotunatly the code has & in the link address, this means that when flash reaches an & it thinks the file has ended and does not load the rest as i am using the loadVars method. the text file is as follows:


Code:
&daTextBox=
<img align='left' height='150' width='170' src='pic8.jpg'>Psychotherapy is a type of Soultion<br>
Second Paragraph. Contains lots lots lots lots lots lots lots lots lots lots lots lots lots lots lots lots lots lots lots lots lots of stuff<br>
<img align='right' height='150' width='170' src='pic9.jpg'
<a href="https://www.paypal.com/cgi-bin/webscr?cmd=_xclick&business=kathleen%2ehaden%40btinternet%2ecom&item_name=1%20hour%20Reverse%20therapy%20Session%20%28Dundee%29&item_number=RTdundee&amount=100%2e00&no_shipping=0&no_note=1&currency_code=GBP&lc=GB&bn=PP%2dBuyNowBF&charset=UTF%2d8"><img src="buyit.gif"></a>
&


How can i make flash ignore the & in the html link?

Thanks for any advice, suggestions, etc.

Ewen

View Replies !    View Related
Putting Links In An External .txt File
ok guys, i am a noob who needs some help. i am creating my first full flash site and i am trying to have a links page that i can update when ever i want to without having to upload the entire site.
i've read some tutorials on the forums but i am majorly confused. if you could give me a hand it would be great.

thanks
~dave

View Replies !    View Related
Updating Links From An External File
Hi guys,
I was wondering if there is a way to contain the links used in the SWF in an external file. So everytime a link changes, I don't have to edit the code for each button in the movie.

Thanks,
Fred.

View Replies !    View Related
Putting Links In An External .txt File
ok guys, i am a noob who needs some help. i am creating my first full flash site and i am trying to have a links page that i can update when ever i want to without having to upload the entire site.
i've read some tutorials on the forums but i am majorly confused. if you could give me a hand it would be great.

thanks
~dave

View Replies !    View Related
Changing Code To Load External Swfs Instead Of Html Links
Hi

So I've purchased a flash nav menu with some actionscript that's a lot more advanced than my skills. All I want to do is change the code so that i can make the buttons load external swfs instead of launching an html window. Any help would be really apreciated, I suspect it's some thing minor, but I can't figure it out. I've posted the script below, alot of it controls the look of the menu, I trimmed a bit off the end because the post was too long, I'm just concerned with the links part. Thanks in advance.



function subnum(i)
{
var inNum = 1;
var maxNum = 0;
while (inNum > maxNum)
{
if (this["sub" + i]["sub" + i + inNum] == undefined)
{
maxnum = inNum + 1;
continue;
} // end if
++inNum;
} // end while
max = 0;
return (inNum - 1);
} // End of the function
function onNout(n)
{
if (!n && _root.page)
{
n = _root.page;
benm = _root.page;
if (_root.page)
{
this["sub" + _root.page]["sub" + _root.page + _root.spage].frm(1);
} // end if
}
else
{
this["sub" + _root.page]["sub" + _root.page + _root.spage].frm();
} // end else if
for (i = 1; i <= num; i++)
{
if (n)
{
if (n == i)
{
this.ma.coloring(this.ma, i, 1);
this["mtxt" + i].alphaNfrmNmovXY(0, 1, undefined, undefined);
this["omtxt" + i].alphaNfrmNmovXY(100, undefined, undefined, undefined);
this.bar.subControler(_root["omtxt" + i]._x, _root["omtxt" + i]._width + 7, 100);
this["mline" + i].alphaNfrmNmovXY(0, 1, undefined, undefined);
this["mline" + (i - 1)].alphaNfrmNmovXY(0, 1, undefined, undefined);
this.bg._x = this["mtxt" + i]._x - 20;
this.bg._width = subw[i] + 20;
this["sub" + i]._y = 62;
this["sub" + i]._x = Math.round(subx[i]);
this["sub" + i]._alpha = 100;
this.bw.alphaNfrmNmovXY(100, 1, undefined, undefined);
}
else
{
this["mtxt" + i].alphaNfrmNmovXY(100, 1, undefined, undefined);
this["mline" + i].alphaNfrmNmovXY(100, 1, undefined, undefined);
this["omtxt" + i].alphaNfrmNmovXY(0, undefined, undefined, undefined);
this.bw.alphaNfrmNmovXY(0, 0, undefined, undefined);
this["sub" + i]._y = 400;
} // end else if
this.nbtn.frm(1);
continue;
} // end if
this.ma.coloring(this.ma, 0, 0);
this.bw.alphaNfrmNmovXY(100, 0, undefined, undefined);
this["mtxt" + i].alphaNfrmNmovXY(100, 0, undefined, undefined);
this["omtxt" + i].alphaNfrmNmovXY(0, undefined, undefined, undefined);
this["mline" + i].alphaNfrmNmovXY(100, 1, undefined, undefined);
this["sub" + i]._y = 400;
this.nbtn.frm(0);
} // end of for
} // End of the function
function init()
{
_global.num = 6;
_global.onum = 4;
_global.sub = new Array();
_global.subw = new Array();
_global.subx = new Array();
counter = 1;
for (i = 1; i <= num; i++)
{
this.nbtn.gotoAndStop(1);
this["mtxt" + i].gotoAndStop(1);
sub[i] = subnum(i);
subw[i] = this["sub" + i]._width;
subx[i] = this["sub" + i]._x;
this["sub" + i]._alpha = 0;
this.ma.gotoAndStop(1);
this["btn" + i].onRollOver = function ()
{
pagerControl(1);
nm = benm = this._name.substring(3, 4);
onNout(nm);
};
this["btn" + i].onRollOut = this["btn" + i].onReleaseOutside = function ()
{
pagerControl(2);
onNout();
nm = benm = this._name.substring(3, 4);
};
this["btn" + i].onRelease = function ()
{
name = this._name.substring(3, 4);
getURL(_root["connURL" + name + "0"], _root["connGET" + name + "0"]);
};
for (n = 1; n <= sub[i]; n++)
{
this["sub" + i]["sub" + i + n].gotoAndStop(1);
this["sub" + i]["sub" + i + n].onRollOver = function ()
{
pagerControl(1);
nm = benm = this._name.substring(3, 4);
onNout(nm);
this.frm(1);
};
this["sub" + i]["sub" + i + n].onRollOut = this["sub" + i]["sub" + i + n].onReleaseOutside = function ()
{
pagerControl(2);
onNout();
this.frm(0);
};
this["sub" + i]["sub" + i + n].onRelease = function ()
{
name = this._name.substring(3, 5);
getURL(_root["connURL" + name], _root["connGET" + name]);
};
} // end of for
} // end of for
this.bg.onRollOver = function ()
{
pagerControl(1);
nm = benm;
onNout(nm);
};
this.bg.onRollOut = this.bg.onReleaseOutside = function ()
{
pagerControl(2);
nm = benm = undefined;
onNout();
};
this.nbtn.onRelease = function ()
{
if (counter == 1)
{
this.frm(1);
nBtnControler(1);
this._parent.masd.Check = true;
++counter;
} // end if
};
this.nbtn.onRollOver = function ()
{
this.frm(1);
};
this.nbtn.onRollOut = function ()
{
this.frm(0);
};
this.bg.useHandCursor = false;
this.masd.inbt.onRollOver = function ()
{
};
this.masd.inbt.useHandCursor = false;
for (i = 1; i <= onum; i++)
{
this["obtn" + i].onRollOver = function ()
{
};
this["obtn" + i].onRollOut = this["obtn" + i].onReleaseOutside = function ()
{
};
this["obtn" + i].onRelease = function ()
{
name = this._name.substring(4, 5);
getURL(_root["oURL" + name], _root["oGET" + name]);
};
} // end of for
} // End of the function
function nBtnControler(st)
{
var i = 1;
while (i <= num)
{
if (st == 1)
{
onNout();
this["btn" + i]._visible = true;
this.bg._visible = true;
this.m_mask.xwidth(Stage.width);
this["obtn" + i]._alpha = 100;
this["oline" + i]._alpha = 100;
}
else if (_root.page != undefined || _root.spage != undefined)
{
onNout();
}
else
{
this.m_mask._width = 0;
this["mtxt" + i]._alpha = 0;
this["btn" + i]._visible = false;
this.bg._visible = false;
this.bar._alpha = 0;
this["mline" + i]._alpha = 0;
this["obtn" + i]._alpha = 0;
this["oline" + i]._alpha = 0;
} // end else if
++i;
} // end while
} // End of the function
function pagerControl(st)
{
if (st == 1)
{
_root.pager.gotoAndStop(1);
_root.page = "";
}
else if (st == 2)
{
_root.pager.play();
} // end else if
} // End of the function
Stage.align = "";
Stage.scaleMode = "noScale";
Stage.showMenu = false;
_root.connURL10 = "125.html";//COMPANY
_root.connURL11 = "125.html";
_root.connURL12 = "125.html";
_root.connURL13 = "125.html";
_root.connURL14 = "125.html";
_root.connURL15 = "125.html";
_root.connURL16 = "125.html";
_root.connURL20 = "125.html";//BUSINESS
_root.connURL21 = "125.html";
_root.connURL22 = "125.html";
_root.connURL23 = "125.html";
_root.connURL24 = "125.html";
_root.connURL30 = "125.html";//PRODUCTS
_root.connURL31 = "125.html";
_root.connURL32 = "125.html";
_root.connURL33 = "125.html";
_root.connURL34 = "125.html";
_root.connURL35 = "125.html";
_root.connURL40 = "125.html";SERVICE
_root.connURL41 = "125.html";
_root.connURL42 = "125.html";
_root.connURL43 = "125.html";
_root.connURL44 = "125.html";
_root.connURL45 = "125.html";
_root.connURL50 = "125.html";SOLUTION
_root.connURL51 = "125.html";
_root.connURL52 = "125.html";
_root.connURL53 = "125.html";
_root.connURL54 = "125.html";
_root.connURL60 = "125.html";SUPPORT
_root.connURL61 = "125.html";
_root.connURL62 = "125.html";
_root.connURL63 = "125.html";
_root.connURL64 = "125.html";
_root.connURL65 = "125.html";
_root.connURL66 = "125.html";

_root.connGET10 = "";
_root.connGET11 = "";
_root.connGET12 = "";
_root.connGET13 = "";
_root.connGET14 = "";
_root.connGET15 = "";
_root.connGET16 = "";
_root.connGET20 = "";
_root.connGET21 = "";
_root.connGET22 = "";
_root.connGET23 = "";
_root.connGET24 = "";
_root.connGET30 = "";
_root.connGET31 = "";
_root.connGET32 = "";
_root.connGET33 = "";
_root.connGET34 = "";
_root.connGET35 = "";
_root.connGET40 = "";
_root.connGET41 = "";
_root.connGET42 = "";
_root.connGET43 = "";
_root.connGET44 = "";
_root.connGET45 = "";
_root.connGET50 = "";
_root.connGET51 = "";
_root.connGET52 = "";
_root.connGET53 = "";
_root.connGET54 = "";
_root.connGET60 = "";
_root.connGET61 = "";
_root.connGET62 = "";
_root.connGET63 = "";
_root.connGET64 = "";
_root.connGET65 = "";
_root.connGET66 = "";
_root.oURL1 = "125.html";//HOME
_root.oURL2 = "125.html";//LOGIN
_root.oURL3 = "125.html";//JOIN
_root.oURL4 = "125.html";//SITEMAP
_root.oGET1 = "";
_root.oGET2 = "";
_root.oGET3 = "";
_root.oGET4 = "";
MovieClip.prototype.xwidth = function (tw)
{
var speed = 2.000000E-001;
tw = tw == undefined ? (this._width) : (tw);
this.onEnterFrame = function ()
{
this._width = this._width + (tw - this._width) * speed;
if (Math.abs(tw - this._width) < 1)
{
delete this.onEnterFrame;
} // end if
};
};
MovieClip.prototype.coloring = function (name, n, pb)
{
chg = new Color(name);
var confirm = 0;
this.color0 = "255, 255, 255";
this.color1 = "167, 190, 0";
this.color2 = "0,169,190";
this.color3 = "146, 23, 237";
this.color4 = "255, 5, 81 ";
this.color5 = "255, 102, 0";
this.color6 = "227,0,16";
col = this["color" + n].split(",", 3);
cRed = col[0];
cGreen = col[1];
cBlue = col[2];
var spd = 4;
this.onEnterFrame = function ()
{
confirm = 0;
if (pb == 1)
{
this.nextFrame();
if (this._currentframe == this._totalframes)
{
++confirm;
} // end if
}
else
{
this.prevFrame();
if (this._currentframe == 1)
{
++confirm;
} // end if
} // end else if
with (name)
{
thisColor = chg.getTransform();
thisColor.rb = thisColor.rb + (cRed - thisColor.rb) / spd;
thisColor.gb = thisColor.gb + (cGreen - thisColor.gb) / spd;
thisColor.bb = thisColor.bb + (cBlue - thisColor.bb) / spd;
chg.setTransform(thisColor);
if (Math.abs(thisColor.rb - cRed) <= 8)
{
thisColor.rb = cRed;
thisColor.gb = cGreen;
thisColor.bb = cBlue;
chg.setTransform(thisColor);
++confirm;
} // end if
} // End of with
if (confirm == 3)
{
delete this.onEnterFrame;
} // end if
};
};
MovieClip.prototype.mcAlphaMove = function (txa, txb, tyc, tyd, al)
{
var speed = 2.000000E-001;
al = al == undefined ? (0) : (al);
txa = txa == undefined ? (this._x) : (txa);
txb = txb == undefined ? (this._y) : (txb);
tyc = tyc == undefined ? (this._x) : (tyc);
tyd = tyd == undefined ? (this._y) : (tyd);
al = al == undefined ? (this._alpha) : (al);
this.onEnterFrame = function ()
{
this._x = this._x + (txa - this._x) * speed;
this._y = this._y + (txb - this._y) * speed;
this._alpha = this._alpha + (al - this._alpha) * speed;
if (Math.abs(this._x - txa) < 1 && Math.abs(txb - this._y) < 1 && Math.abs(al - this._alpha) < 1)
{
this._x = tyc;
this._y = tyd;
delete this.onEnterFrame;
} // end if
};
};
MovieClip.prototype.frm = function (pb)
{
this.onEnterFrame = function ()
{
if (pb == 1)
{
this.nextFrame();
if (this._currentframe == this._totalframes)
{
delete this.onEnterFrame;
} // end if
}
else
{
this.prevFrame();
if (this._currentframe == 1)
{
delete this.onEnterFrame;
} // end if
} // end else if
};
};
MovieClip.prototype.alphaNfrmNmovXY = function (al, pb, x, y)
{
var spd = 4;
var confirm = 0;
al = al == undefined ? (0) : (al);
x = x == undefined ? (this._x) : (x);
y = y == undefined ? (this._y) : (y);
this.onEnterFrame = function ()
{
confirm = 0;
if (pb == 1)
{
this.nextFrame();
if (this._currentframe == this._totalframes)
{
++confirm;
} // end if
}
else
{
this.prevFrame();
if (this._currentframe == 1)
{
++confirm;
} // end if
} // end else if
this._alpha = this._alpha + (al - this._alpha) / spd;
if (Math.abs(this._alpha - al) < 4)
{
this._alpha = al;
++confirm;
} // end if
this._x = this._x + (x - this._x) / spd;
this._y = this._y + (y - this._y) / spd;
if (Math.abs(this._y - y) < 1 && Math.abs(this._x - x) < 1)
{
this._x = x;
this._y = y;
++confirm;
} // end if
if (confirm == 3)
{
delete this.onEnterFrame;
} // end if
};
};

View Replies !    View Related
Creating Multiple External Links For One SWF File
Hello,

Does anyone know how I can manually link my .swf banner to specified links without having to edit the actual .fla file each time creating a totally new banner?

Here is my problem in more detail:

I have a bunch of affiliates who use the same exact flash banner that I created, but they all have to link to a different URL. My problem is that, whenver I have to update the banner, I then need to change the .fla file, and then create about 100 new banners to replace the old banners... this it quite time consuming and very irritating!

I'm wondering if there is a way to just link a .swf file, the way anyone would by just adding a link to a .gif banner, ie:

<a href="http://www.linkname.com"><img src="imagefile.gif"></a>

is there a way i can do it like this:

<a href="http://www.linkname.com"><img src="imagefile.swf"></a>

i know this way does NOT work.. but is there some way like this that I can use to link the same banner to different URL's?

My goal is to have ONE .swf banner for ALL my affiliates... but each one to have its own link...

if anyone knows of a way this can be done, that would be great! Please let me know..

thanks

angelyssa

View Replies !    View Related
Setting Up Links In External Text File
how would i set up a link in the middle of some text that is loaded from an external txt. i know that i have to set the text box to html.
text. but how exactly do i set up the text file. right now its just news= , and it works but without the ability to set up a link.

View Replies !    View Related
A Way To Reference Links On Buttons From External Txt File
Is there a way to set getURL Link destinations to an
outside text file or HTML file ? -
So that the links can be changed quickly...

Thanks.

View Replies !    View Related
Loading External Txt File With Links To Frames?
I am loading an external text file which I have put html tags on.

Does anyone know if it is possible to place links on the text to frames within the main timeline?

Any help would be appreciated.

Thanks!

View Replies !    View Related
Error With Links Via External Text File
This is driving me insane, because I actually had it working once and now I can't do it.

I have a .txt file that contains:


Code:
&solutionslink=/solutions/index.hml
In my .fla, attached to my button I have the following:


Code:
on (release)
{
getURL(solutionslink);
}
But when I hit the link I get //webserver/undefined instead of //webserver/solutions.html

I've done a trace and I get "/solutions/index.html"

I just don't know what I'm doing wrong! Please help?

View Replies !    View Related
GetURL Function Using External File For Links
Ok, here's the situation:

Need to design a navigation structure that allows for the URLs to be updated easily without re-compiling a FLA file. I've setup a XML file with the following format:

<LINK linkurl="http://www.anydomain.com" linktext="Site Name" linkalt="We Rock the Llama!" linktarget="_blank" />

Question is, how do I setup the getURL function to use this external data?

Thoughts? Ideas? Suggestions?

Tks much

SB

View Replies !    View Related
Links From External ASP File Breaking Dynamic Txt Box
i'm using ACCESS DB to spit out scores of my univeristy's recently played athletic games. on the ASP page i've got all the game info from multiple games being stored in a variable to pass to my flash movie. working great. all the scores load into a textfield that i scroll. also working great. now i need to go back to the string being passed to flash to add a link so that you can click on the game score and go to another page to view that game's write-up. the textfield loads fine until it hits the first "<a href""> code and it stops loading.


My String - all one line:
getetad="<b>"&Recordview("etad")&"</b>"&"<br>"&"<b>"&Recordview("fhuteam")&"</b>"&" vs."&"<br>"&Recordview("team")&"<br>"&"<a href=http://www.fhu.edu/athletics/index_ScBrd_Rslts.asp?varRes="&Recordview("ID")&"</a>"&Recordview("FHUresult")&"</a>"&"<br><br>"

if you remove the bolded section it works fine. thanks for the help. this my first post, hope i got it right!

- kelly

View Replies !    View Related
How To Give Links For Loading External File Values
Hai flash experts, I need help.

I developed flash movie that it'll load the external text file and display the values. I would like to give links for the values in text file or in flash file. If u have any idea and solution, kindly send to my email id post2sathish@hotmail.com.

Actually in my text file i wrote the variable is "title" and value is "click here to get live news"

&title=click here to get live news

I able to view this value in my flash file, but not able to give hyperlink for this.

I've uploaded the sample work files in my server, so if u want to work in that, pls download through
http://209.235.29.142/temp/sathish/test.zip and and send solution.

I hope u'll help me to get done this task.

Avidly waiting for ur reply

Thx
sathish

View Replies !    View Related
[MX] Updating Button Links From External Text File
Hi,

I've figured out how to update text in a flash file using variables in an external text file but what i really need to do is update links within buttons.

I not sure how a variable will drop in. e.g how do i use a variable to change "mainnav.swf".

++++++
on (release) {
loadMovieNum("mainnav.swf", 5);
loadMovieNum("bg.swf", 2);
}
++++

View Replies !    View Related
Html Links From External Dynamic Text File
hi
does anyone know,

is there a way that text from an external note pad file can be made to include html links to alternate sites.

So that the client/user can type a web address into the notepad and it will it is published into flash it can be selected and clicked up on.


I have no idea at all?

Thanks
Michael

View Replies !    View Related
Problems With External .txt File Text Format And Links
Hi all,

New to posting in this forum although have found a lot of useful information through searches but not this time!!(I'm sure someone will prove me wrong!!). Here's my problem....

I am just experimenting at the moment but the situation is that i have several dynamic text boxes linked to .txt files. The problem i have is that of formatting this text.
The dynamic text boxes have been set to the font i wish to use and the font has been embedded, html render has been enabled and i have the following code on the frame where the dynamic text boxes appear:

loadText = new loadVars();
loadText.load("home.txt");
loadText.onLoad = function(success) {
if (success) {
// trace(success);
text_home.html = true;
text_home.htmlText = this.dynContent;
}
};

so the text all loads in fine except for its format. I was wanting to use a specific font for this loaded text but even thought the dynamic boxes have fonts embedded the font is not showing on a browser??

Also within the .txt files i have links to URL's and have used <a href="whatever" target="_blank"> but in some cases the links i want to be in a new window wont open in a new window but some do even though the html is the same, apart from the ones that don't work are in a list using <p> </p> to list them (can that make a difference?)

Anyone know of a solution??

David

I could attach .fla if that would help??

View Replies !    View Related
External File Scroller - Links, Text And Images
Hello all!

Quick question. I want to dynamically load an html document within a scroller.

I want to include hyperlinks as well. I have some crude action script written which works until I nest it. Is their some source out there to accomplish this? The problem I've had is when the code I'm using is referenced within the timeline but it is nested a below the top.

I have two scenes escena 1 and escena nested. It works in the first and not in the other.

Please let me know if someone can help me take this the rest of the way.

Thanks!

-D-light

View Replies !    View Related
Problems With External .txt File Text Format And Links
Hi all,

New to posting in this forum although have found a lot of useful information through searches but not this time!!(I'm sure someone will prove me wrong!!). Here's my problem....

I am just experimenting at the moment but the situation is that i have several dynamic text boxes linked to .txt files. The problem i have is that of formatting this text.
The dynamic text boxes have been set to the font i wish to use and the font has been embedded, html render has been enabled and i have the following code on the frame where the dynamic text boxes appear:

loadText = new loadVars();
loadText.load("home.txt");
loadText.onLoad = function(success) {
if (success) {
// trace(success);
text_home.html = true;
text_home.htmlText = this.dynContent;
}
};

so the text all loads in fine except for its format. I was wanting to use a specific font for this loaded text but even thought the dynamic boxes have fonts embedded the font is not showing on a browser??

Also within the .txt files i have links to URL's and have used <a href="whatever" target="_blank"> but in some cases the links i want to be in a new window wont open in a new window but some do even though the html is the same, apart from the ones that don't work are in a list using <p> </p> to list them (can that make a difference?)

Anyone know of a solution??

David

I could attach .fla if that would help??

View Replies !    View Related
[F8] External Text Files Wont Load Into External Swf File...
Hi,

I'm making a Flash website in Flash 8 (mac).

Structure: There is 1 main file that loads external SWF files depending on what is clicked on.

One of the external SWF files loads its text from external text files. This works fine when viewing the SWF applet on its own. But when viewing as a whole site, the text doesnt appear. Very annoying.

I made that particular SWF on my mums computer running Flash MX 2004. The flash file itself uses the Scrollbar component from MX.

Could someone tell me why the text doesnt load in this scenario? It runs fine on its own, just not as an external SWF.

I've attached the files in question. Its a 200kb ZIP download. Do tell me if you need to know more.

Thanks

View Replies !    View Related
How Can I Load External JPEG From External File?
I know I should read manual.., but I don't have now.
So please someone help me.
I am trying to load JPEGS from external file into MC.

View Replies !    View Related
Loading External Swf Which Load External Txt File
Hi,
My main movie loads an external swf with the following:
code:
createEmptyMovieClip("contRight_mc", 5);
contRight_mc.loadMovie("contHome.swf");
contRight_mc._x = 485;
contRight_mc._y = 0;


contHome.swf loads an external text file and stylesheet:
code:
loadVariablesNum("contHome_no.txt", 0);

globalStyle = new TextField.StyleSheet();
globalStyle.load("global.css");
hdrHome00_txt.styleSheet = globalStyle;


hdrHome00_txt is a dynamic text field with the variable hdrHome00, which is used in the loaded text file:

hdrHome00=<html><body><hdr>text</hdr></body></html>

All files are currently in the same directory. When I test contHome.swf (the swf loaded by the main movie), everything works. But when I test the main movie the text does not load, or at least it does not show up as I receive no errors in the output window, and I can't figure out why. Can anyone help?

View Replies !    View Related
External Swf File Does Not Load External Text
Hi,
I have an external text file that loads dynamically in my swf file.
It uses the actionscript:

loadVariables("joblist.txt","_root");

When I play the swf it works perfectly with the text scrolling in the dynamic text field, but when I load this swf file into my main swf file with loadMovie, the text does not appear.
I have tried embedding the fonts in both files, but it still does not show up when loaded into the main movie.
Can anyone help me with this?

View Replies !    View Related
How To Load The External File For Every Five Min
Hai flash guys

Flash movie loading the external text file and displaying the values properly. After updating the text file the flash movie doesn't get the new updated value, its showing the old text file value. If we open movie in new window the values are changed. So, what i've to do while movie online should get loading the text file for every five min.

thx
sathish

View Replies !    View Related
How To Load The External Swf File
Hai flash experts

Is it possible to open new swf file with appropriate scene name by clicking the existing movie in IE like the popupwindow.

That i'm having 5 scenes in one movie and in another provided 5 link. Now what i need to do if the user clicks the movie1.swf first link it should open movie2.swf scene 1.
if user click the 3rd link it should open hte movie2.swf scene 3. lilke this for th other four link

its my idea. if its possible pls help me.

i'm hurry.

thx

View Replies !    View Related
Load External Jpg's From File Into Mc
I have like 100 buttons that all load a differend jpg files from a directory into a mc with the name "imageholder". It takes allot of time to define the buttons.
Is it possisible like give each button a number and then by an external file define what image to load in the imageholder

example:
button 1
button 2

external file:
1 = 1000.jpg
2 = 1010.jpg

View Replies !    View Related
Load External Txt File Into Swf
Hi there,

Sorry if this question has been asked before, but I've been searching around all day and am about to start pulling my hair out

What I want to do is similar to the loadVariables tutorial that is on this site. I have 5 dynamic text boxes in my flash animation, and I'd like them to load data from a text file on a *different* server.

Obviously it involves a different type of scripting to "loadVariables" as this doesn't support having the file on a different site to the swf (?).

Can anyone help me out?? it'd be much appreciated

View Replies !    View Related
Load Url From External File
I have three buttons, and I want to make them to the following thing:
when you release the button, load "http;\www.eclipsedc.com.mxedc"

I don´t know haw can i do that

Any help will be appreciated

Thank you

View Replies !    View Related
Load External Txt File?
Hi

I need the procedure to load the content of "text.txt" file which located in the same directory of the SWF file.

I know the method in flash 5 but I nedd it in flash MX.

View Replies !    View Related
Load External .txt File
Hello,

Today I'm trying to load an external .txt file into a flash movie. This code

stop ();
loadVariables ( "document.txt" + rand, this );

used to work fine in Flash 5 but now that I'm stepping into MX2004 it's not quite right. I keep getting strange spaces in the text. Any ideas? A better way to easily load external .txt files?

Thanks for any help.

View Replies !    View Related
Load External .txt File (((Please Help)))
No one could help last time I tried to post this, so I'm going to re-word it. I'm running out of time on this project. Help!

At the release of a button I need my Flash file to check a .txt file (named dictionary.txt) that has been loaded with:
code: loadVariables("dictionary.txt", "");
I need it to check for a dynamic text field named "answer" to be matched with the words that were loaded in the .txt file. Her is what I tried to do:
code: onClipEvent (enterFrame) {
this.onRelease = function() {
if (_root.answer == dictionary.txt) {
_root.info = "Good Job!!";
} else {
_root.info = "Not in Dictionary";
}
};
}
Here is part of the dictionary.txt file that was loaded.
aardvark
abaci
aback
abacus
abaft
abalone
abandon
...

To sum it up, I want the button to check to see if the "answer text field matches any word on the dictionary.txt file. And it they do, then the "info" text field will say "good job" or "word isn't in dictionary".

I know "dictionary.txt" doesen't belong in the actionscript I wrot above, I jsut want to show the kind of action I want to do.

Thanks!

View Replies !    View Related
Load An External .php File
how can I make a .php file load into a window inside my movie?

View Replies !    View Related
How To Load External .rtf Or .txt File?
hi every1, how to load external .rtf or .txt file into my flash??? i've look into the movies section but i don't really understand what some files mean... will anyone create a more simpler .fla file with another .txt or .rtf file with it? and show the instructions in the .fla file please........
i'm using Flash MX

thanks alot!!!

View Replies !    View Related
How To Load An External .mov File
Hi guys a silly question i know, but i am doing a portfolio for CD rather than web, and I need to load an external .mov file I understand i can import it, but this mov is interactive. It is originally was a flash file exported to an mov file. So the question is how do i just link a button to open it up in quicktime viewer.

Many thanks

View Replies !    View Related
External File Load
I am using Flash MX 2004

Just wondering if this is possible and if so how could it be accomplished.

I want to make my site entirely in Flash -- easily done

I want to create a text field in the flash movie in which I can load the text from an external source such as a .txt file. This way all that needs to be done when updating content is the altering of that external file.

Can this be done?

I have experimented with passing the text into a variable in the HTML page with JavaScript and then sending it to flash with a JavaScript command but could not get it to work.

Any help offered would be greatly appreciated.

View Replies !    View Related
How Do I Load External Swf File?
Hi can anyone guilde me on how to load external swf file to a exsisting one?

View Replies !    View Related
How Do I Load An External File?
Hello everyone.
I’m trying to build my own online portfolio. A friend told me that the best way to keep the size at a minimum is to have everything(files) like jpg, sounds etc in a separate external directory folder rather than in the library and supposedly load the files using codes. I’m not too familiar with this method and I would like to know if there is a tutorial on this or anyone who could help a brother out

Cheers

View Replies !    View Related
Load XML URL From External File
Code:
xmlData = new XML();
xmlData.ignoreWhite = true;
xmlData.onLoad = loadXML;
xmlData.load(http://www.someothersite.com/rss.xml);
in this code- is there anyway i can load the URL from an external file?
Here: xmlData.load(myURL);can "myURL" be loaded from an external source.. may be from another XML file which i can keep locally and change the URL when needed.

View Replies !    View Related
[F8] Load External Swf File
Hi,
I am brand new here
I have most likely a silly newbie question. How can I import a external swf into a flash movie? Basically I have a contact form, that I want to add to a new project. Even easier, if I have a new blank fla how can I import a swf to the stage, or the library?

Thanks so much,
Johnny

View Replies !    View Related
Copyright © 2005-08 www.BigResource.com, All rights reserved