Forum Moderators: open
Two things I have to ask
1) can flash import text and such the way I'm planning to use it.
2) can I use flash to dynamically create a movie the way I'm looking to do it.
It can be done via XML but that relies on the site owner being able to edit XML files and upload directly via FTP,
Now for the second part of my question. I want to dynamically create buttons with actionscript. I would ideally like to make each word that I load in a link to its definition/pictures associated with the word. I was wondering if anyone knows how or of any tutorials about dynamically creating buttons/writing images/text to the flash movie.
We are not allowed to post links but google multi dimensional arrays in actionscript, should bring up what you want.
I also just found a tutorial about making a movie clip a button with a dynamic text box.
I'm having one last problem that's probably simple to fix.
for(i=0;i<numWords;i++){
instanceName = "instance" + i;
duplicateMovieClip(movieName,instanceName,depth);
instanceName._y = i*20;
etc. etc...
}
my problem is that the instanceName can't be the same every time because I need to do different things with each one. I can't say instanceName._y because it doesn't recognize instanceName as a variable it recognizes it as an instance. I can't seem to figure out how to get flash to recognize that as a variable of an instanceName.