0
php vars to flash
Participant
,
/t5/animate-discussions/php-vars-to-flash/td-p/1009060
Sep 18, 2006
Sep 18, 2006
Copy link to clipboard
Copied
I'm useing the following scripts to pass a variable from php
to a flash combo box....problem is I get undefined in the combo box
when i test my movie using cntrl + enter and if i try to view the
swf on the webserver.
Will somebody please tell me what i'm doing wrong?
Will somebody please tell me what i'm doing wrong?
TOPICS
ActionScript
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
Engaged
,
/t5/animate-discussions/php-vars-to-flash/m-p/1009061#M314424
Sep 18, 2006
Sep 18, 2006
Copy link to clipboard
Copied
Just a couple of notes.
1) don't use a '$' in front of the variables you are sending to Flash.
"$comboData1" should be "comboData1"
2) Not sure about using multipl "echo" statements. I never have but that doesn't mean you can't.
3) Try something straightforward first, like:
echo 'comboData1=this is data 1';
If that works then move up to trying the variables.
4) The last thing to note is that your PHP variables are surrounded by quotes.
"$dataForCombobox_1" should be $dataForCombobox_1
Hope these help.
Tim
1) don't use a '$' in front of the variables you are sending to Flash.
"$comboData1" should be "comboData1"
2) Not sure about using multipl "echo" statements. I never have but that doesn't mean you can't.
3) Try something straightforward first, like:
echo 'comboData1=this is data 1';
If that works then move up to trying the variables.
4) The last thing to note is that your PHP variables are surrounded by quotes.
"$dataForCombobox_1" should be $dataForCombobox_1
Hope these help.
Tim
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
Engaged
,
/t5/animate-discussions/php-vars-to-flash/m-p/1009062#M314426
Sep 18, 2006
Sep 18, 2006
Copy link to clipboard
Copied
Just a couple of notes.
1) don't use a '$' in front of the variables you are sending to Flash.
"$comboData1" should be "comboData1"
2) Not sure about using multipl "echo" statements. I never have but that doesn't mean you can't.
3) Try something straightforward first, like:
echo 'comboData1=this is data 1';
If that works then move up to trying the variables.
4) The last thing to note is that your PHP variables are surrounded by quotes.
"$dataForCombobox_1" should be $dataForCombobox_1
Hope these help.
Tim
1) don't use a '$' in front of the variables you are sending to Flash.
"$comboData1" should be "comboData1"
2) Not sure about using multipl "echo" statements. I never have but that doesn't mean you can't.
3) Try something straightforward first, like:
echo 'comboData1=this is data 1';
If that works then move up to trying the variables.
4) The last thing to note is that your PHP variables are surrounded by quotes.
"$dataForCombobox_1" should be $dataForCombobox_1
Hope these help.
Tim
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
Explorer
,
/t5/animate-discussions/php-vars-to-flash/m-p/1009063#M314427
Sep 18, 2006
Sep 18, 2006
Copy link to clipboard
Copied
Just a couple of notes.
1) don't use a '$' in front of the variables you are sending to Flash.
"$comboData1" should be "comboData1"
2) Not sure about using multipl "echo" statements. I never have but that doesn't mean you can't.
3) Try something straightforward first, like:
echo 'comboData1=this is data 1';
If that works then move up to trying the variables.
4) The last thing to note is that your PHP variables are surrounded by quotes.
"$dataForCombobox_1" should be $dataForCombobox_1
Hope these help.
Tim
1) don't use a '$' in front of the variables you are sending to Flash.
"$comboData1" should be "comboData1"
2) Not sure about using multipl "echo" statements. I never have but that doesn't mean you can't.
3) Try something straightforward first, like:
echo 'comboData1=this is data 1';
If that works then move up to trying the variables.
4) The last thing to note is that your PHP variables are surrounded by quotes.
"$dataForCombobox_1" should be $dataForCombobox_1
Hope these help.
Tim
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
calmchess333
AUTHOR
Participant
,
LATEST
/t5/animate-discussions/php-vars-to-flash/m-p/1009064#M314429
Sep 18, 2006
Sep 18, 2006
Copy link to clipboard
Copied
I still get undefined in the combo box.
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more

