This content has been marked as final. Show 5 replies
if you could provide us with the code you've tried to do it, maybe we can fix it, but your description of the problem is a bit general.
(As always posting sources fla and as would help helping you)
Thanks for your highly concern !
I will attache one sample fla over here containing all the things ! please let me know if you need anything more !
at the current stage I am able to show one record coming from the database.
I used 3 dynamic text name,address,email which I assigned from the php file coming from the database.
but I want to show say 10 name,address,email one by one using movie clip how I can do that one that I want...
I attached my sample fla include all the code here please go through it and let me know !
Thanks in Advance
to give you a brief idea;
your PHP code should have a loop with output in the form
print "&wishtext" . i . "=".$r; . "&"
so your output is
&wishtext0 = abc&
&wishtext1 = mnop&
&wishtext2 = xyz&
now using loadVar class; you can load the data in flash. It will come in flash as
var wishtext0 = abc
var wishtext1 = mnop
var wishtext2 = xyz
Now simply apply for..in loop you can access all the variables
Hello Deepak !
Thanks for your help but now I am having parse error and that is :-
parse error, unexpected '.'
so please let me know syntaxtically if I am mistaken this code I am following currently :-
thanks for your reply please let me know regarding this problem
like your surname joshi as mazya mom chya maheracha surname ahe...
Hello Deepak !
I some how manage to work the code in php now I am getting the array of wishtext but please let me know how I can display that text as a list on dynamic text ?
The code which works is this :-
this code works in php file but I am not able to print the recordes say wishtext0="abc" wishtext1="xyz" these value I am getting but I want these values in flash movie on dynamic text
so please tell me how can I do that one........
And Thanks for the gr8 help you increased my moral working on it ;-)
waiting for your reply...