GKFC
September 3rd, 2003, 09:58 PM
Hi all,
Currently I have a stage.swf (the parent) which loads child movies "inside itself" into an area called external.
Currently, for each of these movies I have to set properties in stage such as:
Movie Name,
Movie Title,
Length (how many frames)
Now, the annoying part of this is the length. If at any point I decide I want to add or remove a scene from a child, I have to reset the relevant "length" variable on stage.
what I really want to know is, is there a way that when each of the child movies load, stage can find out dynamically how many frames they have?
I can create a Movie Class to have all these variable declarations in one place, but that doesn't really solve the problem I have. I'd still have to manually go through and change variables ad hoc....
Still, the way I have got it at the moment works, but I just want to make it sexier if possible
;)
Thanks for your time,
G.
Currently I have a stage.swf (the parent) which loads child movies "inside itself" into an area called external.
Currently, for each of these movies I have to set properties in stage such as:
Movie Name,
Movie Title,
Length (how many frames)
Now, the annoying part of this is the length. If at any point I decide I want to add or remove a scene from a child, I have to reset the relevant "length" variable on stage.
what I really want to know is, is there a way that when each of the child movies load, stage can find out dynamically how many frames they have?
I can create a Movie Class to have all these variable declarations in one place, but that doesn't really solve the problem I have. I'd still have to manually go through and change variables ad hoc....
Still, the way I have got it at the moment works, but I just want to make it sexier if possible
;)
Thanks for your time,
G.