Hm... Very interesting thing has happened while I was offline...
subquark... You are a college professor who teaches multimedia at the school and you also a geologist as well??? Wow... What a combination... I'd love to have that sort of vast knowledge of the world, but I am somewhat limited in that yet...
So... I guess everybody are in favor of the tutorial... I have downloaded texbala's file and did some update on that... I did as much as I could to standardize the file so that it could be used for the proper tutorial if any of you guys are interested in writing... I also got rid of several routines in that file to optimize the ActionScript for dynamic arrangement... This includes reducing the data text file to one, and dynamically generating and updating the content according to the number of the questions... Now, it is not limited to just nine questions, but it totally depends on the number of question and answer pairs... See it for yourselves...
Component... I am not that knowledgable in this field yet... I will need to read some more materials and do some research... But I hope it won't be too much of trouble...
Templates... I am abit more for the creating an application that dynamically generate the text file, which holds the questions and answers, and the SWF file so that the user can just type the questions and answers to prepare the Flash movie, when done, I can just call PHP script to generate the text file and have the user download TXT file, HTML file and SWF file at the same time so that he/she could use it on his/her situation... What do you think??? I think this is better than the templates because all the non-Flash users need are to type in the values and call the proper HTML file to open a popup window...
texbala... Your visa is expiring??? What is your status??? Are you on F-1 visa for the school??? Are you graduating soon or already graduated??? Did you apply for the working permit or OPT to maintain the valid status??? I hope things turn out well...
That removing movieclip... That wasn't working right because removeMovieClip() function can only remove the movieclip that has been laid on the stage with attachMovie() or duplicateMovieclip function... It can't do the job for the movieclips that are laid on the stage manually... Simple, eh???
The new text file format...
Code:
theTitle=Title comes here...&
&theQ1=The head of the question... It used to be some other word, but I have changed it to be 'theQ1' and 'theA1' to shorten the typing...&
&theQ2=Also added '&' at the end of each lines to get away with the carriage return code when imported into Flash...&
&theA1=static text0#dynamic text0#input text1&
&theA2=each answers are divided with '#' and the last character of the answer contains the validity of that answer... 0 for false and 1 for true...&
&theA3=This comboBox component will not give you an opportunity to have multiple answers since you don't get to get the multiple values back from the component... You should use ListBox component to do that...&
&theA4=And make sure that the last number for this variable, theA4, and the one for the questions, theQ4, matches...&
I guess that's about it for now... Let me know if there is anything I have missed... Oh... Yes... The comboBox... It is set to 100 pixel wide for now... It doesn't change the size when the text is longer than that size... I gotta think some more to do that...