Flash Combobox setStyle works in Test (debug) and not in Publish (swf)

by filip 25. August 2011 12:15

I tried to customize the combobox ( AS3 ), and everything was working fine by using cbo.setStyle( "embedFonts" ) and cbo.setStyle( "textFormat" ) while testing the movie.  However, when I published the SWF, the styles were no longer working.

It seems like setStyle doesn't really work properly for comboboxes for some reason.  The solution was to apply the setStyle to the textField inside the combobox, and not to the combobox itself.

For example, this doesn't work: 

 

cbo.setStyle( "embedFonts", true );
cbo.setStyle( "textFormat", tf );

 

but this works:

cbo.textField.setStyle( "embedFonts", true );
cbo.textField.setStyle( "textFormat", tf );

 

Tags: , ,

Web Development

New option for fantasy football draft software

by filip 19. August 2011 16:28

There's some pretty cool new software for fantasy football this year.  It is designed for fantasy football draft parties (for up to 20 teams) to select their players via either a snake draft, or an auction draft.

The draft software is called Prime Time Draft, and it was developed by folks at where I work. It is designed for Windows, and it really shines when you hook it up to a big TV. 

You can find it by clicking the link below:

Fantasy Football Draft Software for 2011

Tags:

About Filip Stanek

Death Note Pic I'm a developer at ACG in Cincinnati, OH. I like ASP.NET, Flash, and other web technologies, & enjoy playing chess, video games, etc.

Currently playing:

Disqus

Month List