this is strange:
animationMask = controlClip.createEmptyMovieClip(".......
animationMask = animationMask.attachMovie("mask", "animationMask"...)
try naming your variables a different way ...
like
animationMask0 = controlClip.createEmptyMovieClip(".....
animationMask1 = animationMask0.attachMovie("mask",
"animationMask", ...)
I don't know if this will change something, but try ... as it could
explain the messing up when onResize is called ....
hth,
Cedric
I am, in fact Im tracing it to be say 900px, then im pushing all
the clips
into an array which loops and traces on resize, and the width
somehow jumps
to 1300px.
var animClipTop :MovieClip;
var animClip :MovieClip;
var animationMask :MovieClip;
animClip = controlClip.animHoldClip.createEmptyMovieClip
("anim_"+counter,
depth++);
animationMask = controlClip.createEmptyMovieClip
("animationMaskClip"+counter,
depth++);
animationMask = animationMask.attachMovie("mask", "animationMask",
depth++,
{_x:-15.5, _y:-19});
then once its loaded...
animClip.setMask(animationMask);
it also has a mask in the swf masking everything. I smell a bug.
This only
happens onResize.
MaTT
On 2/10/06, Éric Thibault <[EMAIL PROTECTED]> wrote:
Assign a mask from the main SWF on the receiving movieclip
mc_clip_loader.setMask(mc_Mask);//Everything outside the stage's
demensions of an external SWF is visible inside the receiver SWF...
Matt Muller wrote:
Im building a microsite, that is aligned to the center of the
stage. I am
loading in animations that are swfs that are meant to run in the
viewable
area in the microsite.
The animation fla's are exported as swfs with a mask, and I am also
trying
to setMask in the shell, the animators tweens and shapes that are
outside
of
the mask
are affecting the size of my shell and when onResize() is called
the site
jumps all over the show.
Does anyone have any ideas, bar going into the animations and
cleaning up
everything that is outside the mask to get a perfect rectangle
bounding
box,
surely
there must be a way to do this, I have draw regions on and can see
everything going on outide the mask.
Quick fixes?
Thanks
MaTT
_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com
--
===============================================================
Éric Thibault
Programmeur analyste
Réseau de valorisation de l'enseignement
Université Laval, pavillon Félix-Antoine Savard
Québec, Canada
Tel.: 656-2131 poste 18015
Courriel : [EMAIL PROTECTED]
===============================================================
Avis relatif à la confidentialité / Notice of Confidentiality /
Advertencia de confidencialidad <
http://www.rec.ulaval.ca/lce/securite/confidentialite.htm>
_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com
_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com
_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com