Hello :)
dont forget the property embedFonts :
myComboBox.setStyleProperty("embedFonts", true);
myComboBox.setStyleProperty("textFont", "fontID");
myComboBox.setStyleProperty("textSize", 10);
with "fontID" the link of your font in the library of flash (right
button on the symbol to attach the font in the first frame of the
animation)
EKA+ :)
2006/12/23, natalia Vikhtinskaya <[EMAIL PROTECTED]>:
Nothing helps.
I embed Arial in to the library with name "my_font" (I did that in
movie.swf) then in that movie I write
myComboBox.setStyle("fontFamily", "my_font");
myComboBox.setStyle("fontSize", 12);
or
_global.style.setStyle("fontFamily", "my_font");
_global.style.setStyle("fontSize", 12);
There is nothing see in the combobox in my main movie where I load
movie.swfin clip "holder" . Holder clip is under mask.
I even embed Arial to the library in my main movie with the same name.
Nothing
2006/12/23, eka <[EMAIL PROTECTED]>:
>
> Hello :)
>
> 1 - use a movieclip to create your mask and the method MovieClip.setMask
()
> (not a layer)
>
> 2 - if the first solution don't work. embed the fonts in the library and
> use
> the style of the component to embed the fonts and change the default
font.
>
> EKA+ :)
>
> 2006/12/23, natalia Vikhtinskaya <[EMAIL PROTECTED]>:
> >
> > No my clip holder is under mask. Combobox works but don't show text in
> > opend
> > list.
> >
> > 2006/12/23, eka <[EMAIL PROTECTED]>:
> > >
> > > Hello :)
> > >
> > > the panel of the combobox is an movieclip hide in the _root by
> > macromedia
> > > in
> > > this component framework... you can't hide with a mask this panel
> > > beaucause
> > > the panel isn't in the same referencial :)
> > >
> > > If you want change this state... you must develop your component
with
> > > actionscript and localize the panel of the combobox in the good
> > > referencial.
> > > Or you can try to read and modify the Macromedia class in the
> classes/mx
> > > packages in the install folder of flash.
> > >
> > > EKA+ :)
> > >
> > > 2006/12/23, natalia Vikhtinskaya <[EMAIL PROTECTED]>:
> > > >
> > > > !!!!THANK YOU.
> > > > Maybe you can give me one more advice. When holder clip is under
> mask
> > I
> > > > don't see my list. I understand that I should embed font somehow
to
> > > > combobox
> > > > but could not find how. Is it possible that combobox works under
> mask?
> > > >
> > > >
> > > > 2006/12/23, eka <[EMAIL PROTECTED]>:
> > > > >
> > > > > Hello :)
> > > > >
> > > > > in flash8 with FP8 compilation you can use the property
_lockroot
> of
> > > the
> > > > > MovieClips.
> > > > >
> > > > > You wait the loading of your movie and you apply in the holder
> movie
> > > the
> > > > > value true on the _lockroot property.
> > > > >
> > > > > Example :
> > > > >
> > > > > var loader:MovieClipLoader = new MovieClipLoader() ;
> > > > > loader.addListener(this) ; // register the _root with the event
> > model
> > > of
> > > > > the
> > > > > instance
> > > > >
> > > > > /**
> > > > > * Invoqued when the swf or picture is loading
> > > > > */
> > > > > var onLoadInit:Function = function( target:MovieClip ):Void
> > > > > {
> > > > > target._lockroot = true ; // modify the _lockroot property
of
> > the
> > > > > container.
> > > > > }
> > > > >
> > > > > var mc:MovieClip = createEmptyMovieClip("holder_mc", 1) ;
> > > > >
> > > > > loader.loadClip("movie.swf", mc) ;
> > > > >
> > > > > PS : MovieClipLoader is better with this event model...
> > > > >
> > > > > EKA+ :)
> > > > >
> > > > > 2006/12/23, natalia Vikhtinskaya <[EMAIL PROTECTED]>:
> > > > > >
> > > > > > Hi to all
> > > > > > Can anybody help me with this problem?
> > > > > > I have combobox in swf file.
> > > > > > This loading works well
> > > > > > _root.loadMovie("movie.swf");
> > > > > >
> > > > > > but with this
> > > > > > _root.holder.loadMovie("movie.swf");
> > > > > > combobox does not work
> > > > > >
> > > > > > I need to load this swf in holder clip and don't know how to
> solve
> > > the
> > > > > > problem.
> > > > > > Thank you for help.
> > > > > > _______________________________________________
> > > > > > [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
> > > >
> > > _______________________________________________
> > > [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
>
_______________________________________________
[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