I have a MC that i use pretty much like a frame. I load the contents of the site into this MC everytime. Well my problem here is i have a bunch of text and a few pictures that i would like to display in this MC. I would LIKE to just use the MC to display an HTML page. Is this possible? if not, how would i go about using a scroll bar or at least up/down arrows to scroll the info?
thanks.
you cant load html into flash, but you can ‘simulate it’ by scrolling the MC that contains pics and text:
create a button and paste this actions to it:
on(press){
startDrag("",false,l,t,r,b);}
on(release, releaseOutside){
stopDrag();
}
now converti this button into a movieClip and paste this actions to it:
onClipEvent(load){
l=_x;
r=l;
t=_y-50;
b=_y+50;
_y-=50;
_parent.ycontrol_diff=_y;
}
select this movieClip and assign the ‘ycontrol’ instance name, now in the actions for the frame were all is located:
pixeles_a_mover=600;
this.onEnterFrame=function(){
ryc=ycontrol._y-ycontrol_diff;
mp=pixeles_a_mover/100;
elclip._y=mp*ryc;
}
now give the instance name ‘clip’ to the movieClip you want the scroll to be applied
Thanks. this will work great. I do have a request tho… can you explain your vars? I get the jist of it, but i would also like to add buttons at either end so you could click scroll…