The SitePoint Forums have moved.

You can now find them here.
This forum is now closed to new posts, but you can browse existing content.
You can find out more information about the move and how to open a new account (if necessary) here.
If you get stuck you can get support by emailing forums@sitepoint.com

If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

how to pass a variable value to a member

Hi.
I have a doubt on doing something on Director.

I have a TextField, named 'fielcategories', that is filled with data from a Database: 20 categories like: Actions, Food, Nature, Emotions.
set sqlString ="Select namecategory from category where IDidioma = 'PT'"

This is OK.

What I want to do is:

01.To detect which category do you have selected from the TextField. 02. Independently of the one selected the playback-head always go to the same marker, named 'category'. On this marker there is another TextField, named 'titlecategory', on which should be the name of the category choosen by the user at the point 01.

Example:

You have choose 'Animals'. You go to a frame where you have a field with ANIMALS write. If you choose 'Emotions'... This is the code on the TextField 'fielcategories':

well, just pointing out that it would have been nice if you had at least made passing mention of "i'm using director to do this, and here's my problem". i was just about to ask an advisor to move this thread to the database forum...that's all

well, just pointing out that it would have been nice if you had at least made passing mention of "i'm using director to do this, and here's my problem". i was just about to ask an advisor to move this thread to the database forum...that's all [img]images/smilies/wink.gif[/img]

OK. I forgot. [img]images/smilies/blush.gif[/img]
But I have written that now.