Hi, I am rather new to flash, but not new to programming. I am going to type everything I want to do, so it might be long, but please stick with me. I have two questions. Oh, and sorry if this is posted in the wrong forum, i do consider myself a flash-newb.
I have a folder with a bunch of .flv files that I want to import as soon as my flash program is opened. I want to space them out using purely actionscript so that no clicking and adding of movies is necessary. I have been through all the movie related tutorials that came with flash 8 and I have been unable to find a good way to import using strictly actionscript. I would for instance want to make a loop in actionscript that would just start at frame 1 and then not display any of the videos until they are all loaded up in a gird with 1 or 2 pixels betwen each one. I know how to write the code if I could just figure out how to import and play using actionscript. All the examples have you create a movie clip using the window->library window.
The optimal way for me to do this would be to read from a text file that had only the names of the .flv files contained within the directory. I woudl just parse the file and then open the .flv file and place it correctly in the scene in my grid fashion. There don't seem to be any tutorials on how to do this... can someone lead me in the right direction?
Secondly, and more importantly, once I get these stupid videos on the stage I only want to do only one thing. The videos will sit all sit at frame one in the beginning. Then when the user moves the mouse over the video it will play from frame one to however long he/she hovers.
I have tried this method:
on(rollOver){
//
}
on(rollOut){
//
}
But it says to only use those for buttons. So should I make videos that are buttons? Or buttons that are videos? Does anyone know a good tutorial for that. And yes, I have been googling and I am googling right now too. Thanks in advance. Sorry for the long post, just trying to be thorough.
I have a folder with a bunch of .flv files that I want to import as soon as my flash program is opened. I want to space them out using purely actionscript so that no clicking and adding of movies is necessary. I have been through all the movie related tutorials that came with flash 8 and I have been unable to find a good way to import using strictly actionscript. I would for instance want to make a loop in actionscript that would just start at frame 1 and then not display any of the videos until they are all loaded up in a gird with 1 or 2 pixels betwen each one. I know how to write the code if I could just figure out how to import and play using actionscript. All the examples have you create a movie clip using the window->library window.
The optimal way for me to do this would be to read from a text file that had only the names of the .flv files contained within the directory. I woudl just parse the file and then open the .flv file and place it correctly in the scene in my grid fashion. There don't seem to be any tutorials on how to do this... can someone lead me in the right direction?
Secondly, and more importantly, once I get these stupid videos on the stage I only want to do only one thing. The videos will sit all sit at frame one in the beginning. Then when the user moves the mouse over the video it will play from frame one to however long he/she hovers.
I have tried this method:
on(rollOver){
//
}
on(rollOut){
//
}
But it says to only use those for buttons. So should I make videos that are buttons? Or buttons that are videos? Does anyone know a good tutorial for that. And yes, I have been googling and I am googling right now too. Thanks in advance. Sorry for the long post, just trying to be thorough.