All you neeed to do is add a function into the ketframe of the dynamic text that the html code is being loaded into.
html:
<a href="asfunction:loadf1"><u>F1 crash user poll</u></a>
Flash on a keyframe:
function loadf1() {
_root.win5stat = true;
_root.win5.loadMovie("someswf.swf");
_root.win5._x = (Math.ceil(150));
_root.win5._y = (Math.ceil(100));
_root.frontMe(_root.win5);
_root.menu1.nav.menpt1.nbut5.enabled = false;
_root.menu1.nav.menpt1.bt_id5.gotoAndStop(3);
_root.menu1.nav.menpt1.col_clip5._alpha = 40;
}
This is taking straight from my site so i know it does work
That looks okay? The text scrolls and changes acordingly, so that's okay... it even shows the little hand to show it's a link...
Here is the actionscript placed in the very same frame that the dynamic text box is on...
code:
// Sets up news functions for the 'news' txt to call :
function newsa() {
_root.mc_news.gotoAndstop("news1");
}
//--------------------------------------
function newsb() {
_root.mc_news.gotoAndstop("news2");
}
//--------------------------------------
function newsc() {
_root.mc_news.gotoAndstop("news3");
}
//--------------------------------------
function newsd() {
_root.mc_news.gotoAndstop("news4");
}
//--------------------------------------
function newse() {
_root.mc_news.gotoAndstop("news5");
}
//-----------------------------------END
I have an MC named mc_news on the main timeline with the correct frame labels etc. (as in... i'm not a total newbie).