# Dynamic loading stuff help

**URL:** <https://forum.kirupa.com/t/dynamic-loading-stuff-help/6408>\
**Category:** Uncategorized\
**Created:** [October 6, 2002, 9:44pm UTC](https://forum.kirupa.com/t/dynamic-loading-stuff-help/6408 "2002-10-06T21:44:29Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![dbzfan33](https://avatars.discourse-cdn.com/v4/letter/d/9de0a6/32.png) [@dbzfan33](https://forum.kirupa.com/u/dbzfan33)\
**Post date:** [October 6, 2002, 9:44pm UTC](https://forum.kirupa.com/t/dynamic-loading-stuff-help/6408/1 "2002-10-06T21:44:29Z")

</div>

I couldn’t find a tutorial on this on the site, so i’m asking herre. At my site on my media section i’m gonna put links to load different movies, and i’m gonna have alot and add more often, so it needs a scrollbar. I read the tutorial on dynamicly loading text, but i need to dynamicly load links now. and i also wanted to put images by the links to show if it has sound or not and what media player it uses. Please don’t tell me this is impossible and it can only be done in HTML. i’m begging someone to help me with this. Thank you.

And you can view what my media section looks like from my site:

[www.geocities.com/dbzmajinvl](http://www.geocities.com/dbzmajinvl)

(please give me feedback on what i have so far for my site, and tell me if my preloaders work right also.)

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [October 6, 2002, 9:50pm UTC](https://forum.kirupa.com/t/dynamic-loading-stuff-help/6408/2 "2002-10-06T21:50:45Z")

</div>

Actually you can load HTML too in a text. All you have to do is enable it first: myTextHTML.html=true;  
And then fill it: myTextHTML.htmltext="\< a href=‘[http://www.kirupa.com](http://www.kirupa.com)’ \>ahahaha\< /a \>";

Well, something like that.

pom :asian:

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [October 6, 2002, 9:55pm UTC](https://forum.kirupa.com/t/dynamic-loading-stuff-help/6408/3 "2002-10-06T21:55:14Z")

</div>

THANK YOU!!!

But what about images? or little icons?

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [October 6, 2002, 9:55pm UTC](https://forum.kirupa.com/t/dynamic-loading-stuff-help/6408/4 "2002-10-06T21:55:15Z")

</div>

And of course suppress the spaces after \< and before \>…

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [October 6, 2002, 9:56pm UTC](https://forum.kirupa.com/t/dynamic-loading-stuff-help/6408/5 "2002-10-06T21:56:37Z")

</div>

I don’t think that the \< img src=blabla \> is supported. But you can load dynamically jpegs… 😏

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [October 6, 2002, 10:09pm UTC](https://forum.kirupa.com/t/dynamic-loading-stuff-help/6408/6 "2002-10-06T22:09:22Z")

</div>

ok, for some reason i’m having alitte trouble.

Do i attach

myTextHTML.html = true;

to the actionscript with the script for loading the text to the scroller, and put

myTextHTML.htmltext = “\< a href=‘[http://www.kirupa.com](http://www.kirupa.com)’\>Kirupa.com\< /a \>”;

in the text file?

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [October 6, 2002, 10:17pm UTC](https://forum.kirupa.com/t/dynamic-loading-stuff-help/6408/7 "2002-10-06T22:17:44Z")

</div>

That was just an example. If you want to use a text file, do like this:

Put a dynamic textbox, with the variable name scroller.  
Then put this code in the first frame of your animation:

```auto
loadText = new loadVars();
loadText.load("htmltexte.txt");
//creating the loadVarsText function
loadText.onLoad = function() {
	scroller.html=true;
	scroller.htmlText = this.kirupatext;
};

```

You text file should contain something like

> kirupatext=HELLO WORLD!!!\< br \>\< a href=“[http://www.kirupa.com](http://www.kirupa.com)” \>This is a link\< /a \>HELLO WORLD  
> pom :elderly:

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [October 6, 2002, 10:20pm UTC](https://forum.kirupa.com/t/dynamic-loading-stuff-help/6408/8 "2002-10-06T22:20:37Z")

</div>

ohhhhh,

so now i can put any kind of html in my text other than images.  
cool

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [October 6, 2002, 10:41pm UTC](https://forum.kirupa.com/t/dynamic-loading-stuff-help/6408/9 "2002-10-06T22:41:05Z")

</div>

ok, another thing on this.  
on one of my links in my text file, i need it to link to a frame on my macromedia thing. Or i need it to dynamicly load a movie clip to a certain spot in my macromedia project.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [October 6, 2002, 10:48pm UTC](https://forum.kirupa.com/t/dynamic-loading-stuff-help/6408/10 "2002-10-06T22:48:14Z")

</div>

and is there other stuff i could addto my dynamic text so i could also view stuff like \< hr \>'s and stuff?

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [October 6, 2002, 10:53pm UTC](https://forum.kirupa.com/t/dynamic-loading-stuff-help/6408/11 "2002-10-06T22:53:51Z")

</div>

If you speak French… [http://www.flashxpress.net/wiki/index.php?FormatageHtmlDeTxt](http://www.flashxpress.net/wiki/index.php?FormatageHtmlDeTxt)

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [October 6, 2002, 11:03pm UTC](https://forum.kirupa.com/t/dynamic-loading-stuff-help/6408/12 "2002-10-06T23:03:12Z")

</div>

I know HTML!!!  
Never mind…

my site: [majinvl.8k.com](http://majinvl.8k.com)
