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




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 componentmyWkMessage.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 csskungFuStyle1 = new TextField.StyleSheet();kungFuStyle1.load("/flashRaw/kungfu.css");myWkMessage.styleSheet = kungFuStyle1; /******************************///load in XMLkungFuContent1 = 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 componentmyEvents.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 csskungFuStyle = new TextField.StyleSheet();kungFuStyle.load("/flashRaw/kungfu.css");myEvents.styleSheet = kungFuStyle;/******************************///load in XMLkungFuContent = 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?



Ultrashock Forums > Flash > ActionScript
Posted on: 2004-02-27


View Complete Forum Thread with Replies

See Related Forum Messages: Follow the Links Below to View Complete Thread

Arrow Up Button (in TextArea) Doesnt Work
It just simply doesnt work. The arrow down button works but there is a little sliding.

I really appreciate if anyone can tell me how to solve this problem

Here is the url of my website: http://www.dongsondrums.com/

You can find some text areas with scroll bar. Try Origins section

Vertical Scroll For A TextArea
Hi guys,

I have a Textarea on the stage that gets the text from an external file by using the LoadVars.

My plan is to make a textarea that scroll without buttons and without stopping (for example, like the end credits of a movie).

in order to do so, i use the following script:

Code:
//the "flag" variable sets false on RollOut, true on RollIn, for reading purposes.
//"cred" is the external file variable, containing the text for the TextArea
this.onEnterFrame = function() {
if (flag!=true){
if (cred.scroll<cred.maxscroll){
cred.scroll+=1;
}
else {
//when the scroll property is set to 0 the text starts again from line 1
cred.scroll=0;
}}}
ok now here's the problem: even if the scroll property is set to +1 (the lowest positive valor) the scroll is far too fast.
Since i avoid using methods like moving the _y (because in my experience it overloads the cpu, slowing all movie animations), i don't know what to do here.

Did any of you have a suggestion for me in order to slow the scroll, or even a better idea for making this vertical scroll works?

Thx for reading this,
Mith84

TextArea Scroll Issue
Hello,

I'm having this irritating problem and i hope someone can help me. I have this text area in which i'm dynamically adding sprites into (a list of users), but it won't scroll, the sprites just go down out of border o.o i'm using the txtArea.addChild(sprite) code line, it is wrong?
if i add text into the text area it scrolls just fine.

Please help.
thanks ^^

Hide TextArea Scroll Bar
Has anyone found a way to hide, edit, alpha the scroll bar with the TextArea component (flash CS3 - AS2)?
I can hide the border, alpha the background, but no way to hide the scrollbar... arggg.

my example... when you click one of the buttons (bottom) you will notice the scroll bar (right) flickers then disappears and the text also shifts. I hid the border and alpha the background but need to get rid of the scrollbar.

http://dev.webadmin.ufl.edu/~akirby/dynamicFlash2/index2.html

thanx in advance

Textarea Scroll Bars
So, i've been having this problem for a while. I'm trying to get how many pixels a scroll bar has taken me in either direction. On the live docs, they say the ScrollEvent.SCROLL event has a property called "position" which gives me the pixels of where I went.

http://livedocs.adobe.com/flash/9.0/...rollEvent.html

It turns out it only gives me the index of the thumbtool in the scrollbar(not pixels). I just want to know how far down I have been taken (in pixels within the textarea, or in # of lines) when i click the arrows in a scroll bar or drag that thing up and down. Is there a workaround? What i am trying to do is position an image and have a lot of control over it while it's in/over a text area.

Things I have tried:

htmlText with img tags (broken doesn't work buggy etc.)
addChilding a bitmap to the textArea to let it control the image automatically (doesn't work)
getCharBoundaries (doesn't take into account scrolling at all. The position in pixels remains the same no matter how much you scroll)

It appears that controlling an image in a textarea is pointless and Adobe won't do anything about it. Someone help me relieve the pain.

I am tired of RTFM/Google/Experiment for a 10 hours a day. Is it like trying to carve a marble sculptor with a toothpick (not possible to do/wrong tool)?

Scroll Textarea With Images?
Hello Forum!
I having problem with scrolling area in Flash MX, or should I say question!

I want to scroll a area (dynamic text field), that contains both text and images, is this possible?

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....??

How Do U Make A TextArea Component Scroll?
I have a textArea component that I add text to dynamically. The problem is the user has to scroll to the bottom in order to see the new text.

Does anybody know how to make it scroll with actionscript?

TextArea Component - Not Giving Scroll Bar
I'm using Flash CS3, exporting to Flash Player 7.0, using ActionScript 2.0.

I have a TextArea component in a movie clip that is not showing the vertical scroll bar when there is too much text to display in the defined area.

In fact the scroll bar doesn't even show if I set the vScrollPolicy to true....

Another programmer in my group is also using - in another movie clip in the same fla - the UIScrollBar component attached to a dynamic text field - that worked at one point then now is not working.

Is there some conflict in using these components?

Any ideas?

thanks in advance,
Lisa

TextArea Selects All Contents When You Scroll It ...
Has anyone experienced this happening? You're using the TextArea component ... and when you publish the file, you go to scroll your text ... and when you release the handler, it selects all your text!?!?!

Very annoying ... doesn't anyone know WHY or HOW to fix this?

Thanks!

TextArea Component Scroll Not Working
Hi everyone,

I'm trying to use a TextArea component, but for some reason the scrollbar is not responding. More precisely, when i run the movie the scrollbar appears, but i clicking on it does nothing. Strangely, if i select the text in the TextArea with the mouse, i can make it scroll, but whenever i try clicking on the scrollbar nothing happens.

Not sure if this helps, but i thought i'd mention that I dragged the TextArea from the component window, and i'm setting the text dynamically through AS. I tried setting the text through the parameters panel but the same problem persists.

Anyone has an idea why this is happening?

TextArea Selects All Contents When You Scroll It ...
Has anyone experienced this happening? You're using the TextArea component ... and when you publish the file, you go to scroll your text ... and when you release the handler, it selects all your text!?!?!

Very annoying ... doesn't anyone know WHY or HOW to fix this?

Thanks!

Reference To The Scroll Instance In A TextArea Component ?
I m trying to get a reference to the UIScrollBar instance that is used in a TextArea component. I tried these stuff :
* a for... in loop on the TextArea instance to find a reference of it
* Also used ASSetPropFlags to find a scroll instance from the loop
* Looked in TextArea class
* Tried ScrollView class

I m sure someone with a good understanding of AS2 classes can find something by looking in to the TextArea and ScrollView class. İ did find two references in the ScrollView class : vScroll, vScrollBar and vsb but it didnt work ...
Anyone has an idea ?

cheers ...

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

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.

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]

Trouble With The Scroll On The Textarea Component When Importing Html
I have an annoying problem. I'm importing an ASP-file into a textarea and the ASP collects data from a mySQL database.
It works great to display text and images but the textarea scroll doesnt want to reckognize the images.
When I put a picture on the bottom of the info I'm importing the textarea wont scroll down to show it all. If i out a lot of <p>& n b s p;</p> below the <img> tag it works, but I cant have it like that.

I would really appreaciate if somone could help me, thanks in advance!

Is There A Way To Fix A Scroll Point So When I Unload It, It Doesnt Jump To Thetop
Basically, i have a scroll clip, buit when i unload it, i play a label, than basically reverses the mask,
it works , but the scroll clip always jumps back to the start, so if someone scrolled some of the text it would suddenly jump,
how can this be stopped?

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

Help With TextArea Component Calling Javascript From Link In TextArea
Can anyone help me?
I have a TextArea Component that gets populated from a XML. I have the text with links and I want to be able to click on the link and call my javascript on my page. Can I do this? of what will I need to do to accomplish this. if you can provide an example that would be great.
Thanks in advanced

Button Works, Doesnt Work, Works, Doesnt Work With Each Click
I have this code on a button

on (release) {
gotoAndPlay("smokeleft");
}

that obviously takes the viewer to a frame labled "smokeleft". At that frame there is a stop action and a MC with an instance name of "smokeleftmc"

I've followed this procedure with two more buttons and MC's, smoke and smokeright.

If a button is clicked once, it works perfect. However, if the button is clicked a second time, BEFORE one of the other two buttons is clicked, the play head will not trigger the MC again, rather it will move forward one frame (I assume it would move forward more if there wasn't a stop action).

If the button is clicked once, then a second button is clicked, then the first button is clicked a second time, it works exactly as designed. The only time there is a problem is if one button is clicked twice in a row.

How do I solve this? Thanks

It Works It Doesnt Work It Works It Doesnt...why?
I wrote a script
it has some variables
I send them as sendAndLoad (url, vars, post) to an Acces DataBase and I get the result back through an ASPX page.
It works fine....on different plattforms, Win xp Win 2000 Mac OS X. on a local machine as well as on the server. And it works fine for the majority of the users I have interviewed.
But apparently it doesnt work on all users machines, despite they have the correct version of the plugin, ie: flash player 7.
Any idea???

Cheers
Shirley65

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

Scroll Text > Button > Load Txt File > Reset Scroll Bar...?
Hi i am looking for a tutorial or an explanation of how you can load an external text file into a text field and have...let's say 3 buttons that load the .txt files...when they are loaded...i want the scroll bar to be reset to the top of the text field/box....

any help...welcome...

ta...tiger...

Linking Text Buttons In Scroll To Image Outside Scroll Area
Hi,
I am desperately hitting my head against a brick wall - so please help me!

I have created a flash area that is divided up with an image on top and a scroll area under.

I am trying to get the text buttons in the scroll area to each change the image above and cant seem to get it to work because of the masking.

I have tried heaps and heaps of different ways and am going crazy!

PLEASE HELP ME!!!!


thanks,
kova

Make The Browser Scroll Bar Scroll A Flash Text Box?
Is there anyway that javascript can detect when and which scroll bar button is clicked? I want to use javascript to make the browser scrollbar scroll a flash textbox.

Change Vert Scroll Script To Horiz Scroll
I found this tutorial for a scrollbar. It works great for vertical scrolling (ex:http://www.matthewterry.net/safetyguide.html click any section), but I want to change it to scroll horizontally, for another project.

Can someone help me change it to affect horizontal scrolling?

On the content's movie:

onClipEvent(load){
goY = this._y;
myY = this._y;
ySpeed = 0;
clicked = false;
delay = 2;
barDis = 380;
barPercent = 0;
}
onClipEvent(enterFrame){
if(math.round(myY) != math.round(goY) || clicked == true){
barPercent = (_parent.scroller.scrolllever._y/barDis)*100;goY = 116.7 - ((340/100)*barPercent);
myY = this.setonescroll._y;
ySpeed = (myY-goY)/delay;
this.setonescroll._y -= ySpeed;
}
}

On the scroller:

on(press){
startDrag(this,0,0,0,0,_parent._parent.setone.barD is);
_parent._parent.setone.clicked = true;
}
on(release, releaseOutside){
stopDrag();
_parent._parent.setone.clicked = true;
}

Thanks,
Matt

Please Help Me Place The Arrows Of My ScrollPane Scroll Bar Together On One End Of The Scroll Track
I have a scrollpane component with a movie clip of some thumbnail images.

I just want to have its scrollbar arrows together on one end of the track (or together ANYwhere) instead of having them at opposite ends of the scroll track.

I have been able to customize the appearance of the scrollpane and its scrollbar using the HaloTheme library, but that approach has so far been of no use in getting the arrows together.

I cannot tell you how deeply any help will be appreciated. I will probably sob and mewl with gratitude, the way I imagine someone lost in a vast rain forest for many weeks mewls when rescued. I am desperate. I am going insane. Please, please help me.

Modifying Position Of Scroll Arrows In Scroll Pane
Does anyone out there know how to modify the code of the standard Flash component scroll pane to allow you to place the arrows anywhere you want on the page? I was able to go in and assign x and y coordinates for them, but they seem to be linked to the bounding box somehow and whenever I raise or lower them the box follows suit, which ends up cutting of the content inside the box...

I didn't post any code because there is so **** much of it and I can't figure out where it is that the position of the arrows is linked to the position of that ****ed box (this is what I suspect the problem is, but please tell me if you know different!)!!!

HELP!!!!

Modifying Position Of Scroll Arrows In Scroll Pane
Does anyone out there know how to modify the code of the standard Flash component scroll pane to allow you to place the arrows anywhere you want on the page? I was able to go in and assign x and y coordinates for them, but they seem to be linked to the bounding box somehow and whenever I raise or lower them the box follows suit, which ends up cutting of the content inside the box...

I didn't post any code because there is so **** much of it and I can't figure out where it is that the position of the arrows is linked to the position of that ****ed box (this is what I suspect the problem is, but please tell me if you know different!)!!!

HELP!!!!

BG Of TextArea In MX Pro
Hi,
does anyone know how to rip out the Back ground and borders of a text area...but still keep the scroller alive??

thanks,
morgan

TextArea
DOES ANYONE know ANYTHING about the new TextArea in MX Pro??

I love the scroller on it...but CAN'T turn the friggin background OFF!! Anyone??

Anyone??

Anyone??

Beuller??

Will Some One Please Help Me With The TextArea
What do i have to do to get my textarea box to load a MC named "hometext"

Can the text area load Movie clips. How else are you suposed to enter text? There has to be an easier way.

All i need is a text box that is scrollable to display on my homepage. no pics, just text.

And also how come my scroll pane when i try that just shows up as a box with no text when i have the right instance name loaded.

Please help i am pulling out hair over here.

John

TextArea
So I just got Flash MX 2004 Professional... I was starting to mess around with the added components. I wanted to use the TextArea box in one of my sites that I used the ScrollBar for... So when I open up a new document and just move over the TextArea and play the movie I can see the text box if I put something in the text I can also see that. So I get all excited and try to do the exact same thing in my customers site and nothing! You can even see the textarea. Argh! Has anyone ever come across this?

TextArea
This is driving me nuts, never really worked with components before so I was hoping someone could help me out. How do I target an external .txt file to be displayed in a TextArea component?

Any good tutorials on how to modify and use components?

Textarea And Xml
I'm using a text document saved as an XML file to import text into my textarea, but it's not reading HTML code too easily, sometimes it does, sometimes it doesn't...could I not use an HTML document and import it into the textarea?

Swf Into TextArea
Is it possible to load a swf into the textarea
and how

:-)

Textarea And Xml
i have a text area and the action script


Code:
myText.html = true;
myText.wordWrap = true;
myText.multiline = true;
myText.label.condenseWhite=true;

news = new XML();
news.ignoreWhite = true;
news.load("news.xml");
news.onLoad = function(success)
{
if(success)
{
myText.text = news;
}
}
but when i publish it and view it just with the flash player, or explorer, when i move the scroll bar it highlights everything in the text area and wont unhighlight

my xml file is

[HTML]<news>
<p>December 5th</p>
<p>*************************************</p>
<p>Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah and so on till it starts to scroll..</p>

</news>
[/HTML]

Add TextArea With AS
I want to add TextArea component with AS on the stage.
How can I do it?

Thanks

TextArea Help
I'm trying to control the background color of the TextArea - either a color which I set or make it transparent.
I could use some direction - here is what I'm experimenting with now:


Code:
package
{
import flash.display.*;
import flash.text.*;
import fl.controls.*;

public class OpaqueTest extends Sprite
{
public function OpaqueTest ()
{
var text_fp:TextArea;
text_fp = new TextArea ();
addChild (text_fp);

text_fp.htmlText = "<b>Hello World</b>";
text_fp.width = 100;
text_fp.height = 100;
text_fp.x = 100;
text_fp.y = 100;
//text_fp.visible = false;
text_fp.opaqueBackground = 0x00ff00;
//text_fp.textField.background = false;
}
}
}
Thanks

Using CSS With TextArea
Hi there,

I am wondering if I can use external CSS with TextArea Component.
I succeed to apply CSS with Textfield Object, but I can't use CSS with TextArea component. The reason I want to use TextArea component is, it can create scrollbar automatically.

If somebody know how to solve this proble, please let me know!

Thanks,

TextArea Help
Hi all i am doing a chat using flash AS3 (a rather simple one) inserting and reading from database . im using textArea to display the message read from the database . Problem is how can i display a new row for show instead of setting the text like (instancename.text = "xxxX")

so a simple one how to make sure that the newly read message can be displayed into a NEW row in a textArea...?

any help will be greatly appreciated . thank you xD


arhhh i solved it xD using :

var asd : String = chatOutPut_txt.text;
chatOutPut_txt.text = asd + "
" + e.data.toString();

CSS In A TextArea
has anyone been successful in getting font-size in css file to affect text in a textArea in MX 2004 pro??

I get the CSS in...and I can apply it to a textField....But I can't get it to apply to a textArea.

thoughts??

thanks

Xml And Textarea
Hi,
Im loading xml into a text area and then loading the .swf with the text area into the main .swf. I turned off the border and the background of the textarea and everything in the .swf where the text area actually exists is fine. But when I load the text area .swf into the main .swf and the xml text shows up, when i select it this funny green border appears around the text area. If i move my mouse off the text area and click, the border dissapears, but this does not happen in the .swf where the text area originally is created.

TextArea Help Please...
Hey guys,

I'm hoping someone can help me. I've been trying to figure this out for some time now and am finally giving up and begging for help! I've tried searching this all over the place, but with no luck. My problem is pretty simple, I just can't seem to make it work.

I have a textarea that loads into a movieclip. The textarea has a border I need to get rid of. Also, I need to know how to set the background color of the textarea or at least make it transparent. I've found several different ways to do this, but none of them will work. When I try to put the actionscript in myself, I get an error
saying an OnClipEvent handler is needed. I'm not sure what to do here. Can someone post the exact script I need to make this work? I've seen TextArea.border_mc._visible = "false";,
but I don't know what goes before this! The same with TextArea.setStyle("backgroundColor", "#ffffcc"); (I may have gotten these two wrong just now, I'm doing it off the top of my head, but I had cut and pasted the code directly into Flash from where I had found it!) I've tried substituting my instance name for textarea, but that didn't work either.

Please help, I'm lost!

Copyright © 2005-08 www.BigResource.com, All rights reserved