Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

using one MC for multiple text fields

Status
Not open for further replies.

jefargrafx

Instructor
May 24, 2001
273
US
hey guys,

question?

I've been toying with the idea of using one movieclip to control content on a site.

You know how to loadvarilabes from a text file, html or not, by using

varilabename = text (from in the file)

I'd like to place a text field in a movieclip;


myclipMC.contentMC:textfield

and then change the text field name with a button click or
some other event.

set variable (textfield, newfieldname)


anyone every do this???

let me know

jef
 
Doubt you could dynamicly change the name of a text field
What's the goal here? Rather than just reading another text file?

Regards,
mywink2.gif
ldnewbie
 
Pretty easy. put your mc in another mc.

First frame label: state1
and second frame label: state2

copy and paste in place your text field...call your label that's it...

Sharky99 >:):O>

p.s. OldNewbie please corect me if i'm wrong :)I
 
Might be wrong... But think you're wrong Sharky!
Think Jeffrey wants to change the name of the variable within the options panel of a dynamic textfield!

BTW, did you solve your drag problem?

Regards,

;)
mywink2.gif
ldnewbie
 
Ok but it could work the same using different txt fields but again what's the use??

No i couldn't find a way, it must be a bug within flash

even my teachers couldn't find a cure....

Thanks OldNewbie ;)

Sharky99 >:):O>
 
Got it to work to some point:

Got stuck on button presses. Changed them to rollovers for displaying the text, which works better, but still some problems. Notice the cursor when moving over the buttons.

With a little work... I'm sure I could make it work!
There's allways (well almost!) a workaround!

Regards,
mywink2.gif
ldnewbie
 
You cheat...you used more than one button hehehe LOL


Why is it flickering??


Sharky99 >:):O>
 
Think it's from overlapping buttons... But I worked on something like that for virt2001, a while back, will check that out to see what I did!

Turning in... Early start tomorrow!

Regards,
mywink2.gif
ldnewbie
 
Thanks tomorrow i have to work on an ASP code that sets up a calendar(ouch..) X-) that will be added in flash....

Sharky99 >:):O>
 
Thanks OldNewbie, they finally gave the drag part to another guy who will do it in director.

I'm in ASP now. Trying to find a way to do my new task...


Sharky99 >:):O>
 
Nope! Although it could probably be adapted, this doesn't envolve a frameset, and all of it is done in one movie, using java in the html.
I can send you a zipped package if you want to have a look at all the files envolved. Is your e-mail still j...@ureach.com?

Regards,
mywink2.gif
ldnewbie
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top