dynamic text and animated masking problem?
hi
can suggest me might happening here. try , explain step step... using flash mx
i have dynamically created movieclip want mask -
_root.createemptymovieclip("mymovie", 1);
i dynamically add movieclip load jpg -
_root.mymovie.createemptymovieclip("image1", 0);
_root.mymovie.image1.createemptymovieclip("newfile", 0);
_root.mymovie.image1.newfile.loadmovie("http:...");
i dynamically create movieclip called mynormaltext1 insde first movie -
_root.mymovie.createemptymovieclip("mynormaltext1", 2);
this holds dynamically created text box called mytext -
_root.mymovie.mynormaltext1.createtextfield("mytext",1,0,0,0,10);
// text box formating dynamic, uses devise fonts, arial , red ect.
i have attach movieclip , use mask create transition effect on _root.mymovie (which holds image , text)
_root.attachmovie("mask","mask",5);
_root.mymovie.setmask("mask");
the mask movieclip causing me problem!!!
method 1
when mask movieclip contains -
phisically drawn box fills whole page
use shape tween make box transform thin rectangle down left hand side of screen
i transition effect makes _root.mymovie disapear left want!
the image , text masked correctly!
*** please note aware dynamic text boxes using devise fonts not displayed correctly under mask layor when not embeded, in flash mx. able view movie in browser window uses flash player 8 allows dynamic devise fonts masked!
method 2
i wanted create different transition effect venitian blinds,
so, in mask movieclip created several rectangles fill page
again used shape tween thinner,
when tested movie same way in browser,
the mask did not work correctly on text in _root.mymovie???
yet image in _root.mymovie masked correctly???
the differance between 2 methods shape tween in method 1 uses 1 box shape, , shape tween in method 2 uses several rectangler box shapes.
i wondering if knows why text correctly masked in case 1 , not correctly masked in case 2
i want other transition effects using masks in way , having no luck :-(
thanks advice
claire wall![](/webforums/forum/images/i/expressions/face-icon-small-confused.gif)
can suggest me might happening here. try , explain step step... using flash mx
i have dynamically created movieclip want mask -
_root.createemptymovieclip("mymovie", 1);
i dynamically add movieclip load jpg -
_root.mymovie.createemptymovieclip("image1", 0);
_root.mymovie.image1.createemptymovieclip("newfile", 0);
_root.mymovie.image1.newfile.loadmovie("http:...");
i dynamically create movieclip called mynormaltext1 insde first movie -
_root.mymovie.createemptymovieclip("mynormaltext1", 2);
this holds dynamically created text box called mytext -
_root.mymovie.mynormaltext1.createtextfield("mytext",1,0,0,0,10);
// text box formating dynamic, uses devise fonts, arial , red ect.
i have attach movieclip , use mask create transition effect on _root.mymovie (which holds image , text)
_root.attachmovie("mask","mask",5);
_root.mymovie.setmask("mask");
the mask movieclip causing me problem!!!
method 1
when mask movieclip contains -
phisically drawn box fills whole page
use shape tween make box transform thin rectangle down left hand side of screen
i transition effect makes _root.mymovie disapear left want!
the image , text masked correctly!
*** please note aware dynamic text boxes using devise fonts not displayed correctly under mask layor when not embeded, in flash mx. able view movie in browser window uses flash player 8 allows dynamic devise fonts masked!
method 2
i wanted create different transition effect venitian blinds,
so, in mask movieclip created several rectangles fill page
again used shape tween thinner,
when tested movie same way in browser,
the mask did not work correctly on text in _root.mymovie???
yet image in _root.mymovie masked correctly???
the differance between 2 methods shape tween in method 1 uses 1 box shape, , shape tween in method 2 uses several rectangler box shapes.
i wondering if knows why text correctly masked in case 1 , not correctly masked in case 2
i want other transition effects using masks in way , having no luck :-(
thanks advice
claire wall
![](/webforums/forum/images/i/expressions/face-icon-small-confused.gif)
hi
i have been researching alot , found info tells me when use setmask() on dynamic device fonts, mask uses bounding box (the rectangular outside edge of whole mask movieclip) mask.
in case 1 mask moviclips bounding box shrinks when shape tween plays because there 1 rectangular box being tweened. appears mask text correctly.
in case 2 have variouse different shape tweens going on inside mask movieclip bounding box stays same size across whole screen , wont appear mask text correctly.
i think have answered own question, still leaves me stuck! want create venitian blind effect using masks on devise fonts.
i came idea of using example 4 different masks on 1 movieclip again flash doesnt , guess can use 1 setmask() per movieclip?
can suggest way can use multiple dynamically created masks on 1 movieclip or cant done?
thanks
claire x
i have been researching alot , found info tells me when use setmask() on dynamic device fonts, mask uses bounding box (the rectangular outside edge of whole mask movieclip) mask.
in case 1 mask moviclips bounding box shrinks when shape tween plays because there 1 rectangular box being tweened. appears mask text correctly.
in case 2 have variouse different shape tweens going on inside mask movieclip bounding box stays same size across whole screen , wont appear mask text correctly.
i think have answered own question, still leaves me stuck! want create venitian blind effect using masks on devise fonts.
i came idea of using example 4 different masks on 1 movieclip again flash doesnt , guess can use 1 setmask() per movieclip?
can suggest way can use multiple dynamically created masks on 1 movieclip or cant done?
thanks
claire x
More discussions in Adobe Animate CC - General
adobe
Comments
Post a Comment