PDA

View Full Version : set MC log and size based on percent of parent movie


rs7272
05-05-2008, 07:35 PM
set MC LOC and size based on percent of parent movie

I'm trying to make a framed effect on a movie that will have 3 movie clips playing. I need the movie to be full screen, so I need to set the size of each movie and the position by percent rather than by pixels since not everyone has the same screen resolution.

Is this possible? If so, anyone want to share?

Thanks

rs7272
05-05-2008, 07:47 PM
for clarification(confused myself when rereading...), I'm trying to make the child clips a percentage of the parent movie, not a percentage of the child's original size.

dr_zeus
05-05-2008, 07:50 PM
stage.stageWidth and stage.stageHeight will give you the dimensions of the stage. You can use these values to calculate the size of your child clips. Listen for Event.RESIZE from the stage if you want to catch when these values change.