How can I retrive Checkbox Values from a Text File..?

hahahaha i know i know

lol maybe to get an opion since iam fresh to flash and all

i dont want to screw up someting and then come here and ask dumb questions and eheheh i know i am dumb in flash i have no clue how to do that… :frowning:
maybe it would be a good idea to seperate i dunno i am so lost right now i am gonna fail ths project lol

as for the radio buttons
trace(radioGroup1.getValue()); ?
that is what i found in act5ion scrip;t help

Hey, man… That’s how you learn… You’re supposed to screw things up and learn while you are fixing it… :wink:

Tup… That’s the one in the manual… Use that with the if statement…

the only thing i dind’t and dont understand is how the example has on.Load ? do i take that one and put it witih the new myLRs? or somehting? i got no clue lol i should of dropped this course when i could of lol…

since it’s a Yes or No questions in the radio buttons?
do i have to make if it’s true the load TRUE and if it’s False load False?
?

trace(radioGroup1.getValue());

does it matter what the component name is
for the radio buttons??
see this is where i am having the Problems
my asp page is returning for radioGroup1 a TRUE value,
but noting loads up dam it lol that is why i am confused

radioGroup1.getValue() returns the radio button’s label name, I think… So, if you have, for example, YES or NO for the radio button, you are actually having three options, YES or NO or null…

Now, you are looking for a way to check if the user has selected an option within the radio button, right??? Check if the value is null or not… If it is null, it means that the user has not selected, and if it is YES or NO, then user has selected one option…

my asp page is returning for radioGroup1 a TRUE value
As I have said, your option is YES or NO, and your ASP code returns TRUE??? Why not make it return YES or NO??? I think that will make your life easier… :wink:

PS> I don’t know where you are from, but I am having hard time understanding what you are writting… Please write with proper words… If it helps I can say that you write something in the forum as you write a paper, not as you speak to someone… That worked out for me when I first started to write in English… Remember I am not from English speaking country too??? :wink: Don’t take it personally… I just can’t understand what you are trying to do… :frowning:

Ok, I will try to make this more clearer.

Basically it is not ASP that is returning the True value,
In microsoft access, a check mark means True and no check mark means No, so it passes the variable to the asp page.

the only reason i asked if it’s possible to make If statements for the radio buttons, is , if no file is present such as , lrm.asp, or lrm.txt, some of the radio buttons still show up. So by configuring, a if statement i figured that would control that from happening.

As for the retrieve button do you assume that it might be possible, that the reason the Number disappears after it’s enter might be of the reason that it is trying to load up a new number?

possibility right?

Well… I was expecting more replies while I was gone for the day… How far did you go??? =)

If the database is set up like that, then, yes, you will need if statement to initially check if it is null or not to sort out the not-selected input… And when there is one selected, you will have to use if statement within your ASP script that will write TRUE if it is YES, and FALSE if it is NO… To save some additional code, I’d just set it as YES/NO into the database if I can… :wink:

As for the number disappearing… I think that has to do with the ASP script again, which does not return anything back to Flash, and that’s why you see blank there… That’s the only thing I can think of… Make sure you are returning all the necessary variables back to Flash from the ASP script… :wink:

hey ,
i got a question about these restrictions
oh how to make my store field only
for 0-9
i read up on restrictions
my_text.restrict = “0-9”;

so i put store.restrict = “0-9”;

but that did nothing, is there another way that i have to do this?..

EHHE OK i got it
what i did was made a new layer and put store.restrict = "0-9 ";

that should do it e?

hey,

suprised not as many questions e?
:slight_smile:

ok now i have a question

when i click tab to skip to another point in the page

it goes all over

is there way to control that?
i saw some actoin script

tabindex?
and if so, how can i set it up?

Also, If i want to compile this movie to work with Mac computers, do i change the publishing mode to mac?

John

You might want to do some searching before posting your questions… That could usually save you big time… and I don’t come here that often thesedays since I got something to take care of… :wink:

For the tabIndex… Go to FlashStuff’s Interactivity section and select tabIndex… You can get the FLA file from there too…

Once you compile your FLA file, Flash creates SWF file, right??? Your user’s web browser loads that SWF file in it so that they can see the Flash movie on there computer… It doesn’t matter what OS they use… As long as your user has right Flash plugin, they should be able to see it… (That publishing option goes with the projector…)

G’day…

finally i got everything working!

thanks for the help :slight_smile:

i got the tab working too.

thanks man!

i hope what ur doing nothing serious :slight_smile:

thanks!

Glad you got it working… =)

Nothing serious… Just something that can pay my bill… :wink:

hey man,

question for you…

Lates say after a java alert pops up.
in flash

can u have the Selection.setFocus(store);
to make the cursor go back to the store number?

or no?

Yes… Just put the Selection command right below the place where you call your JavaScript… That should do it… :wink: