I’m doing a menu right now, and I’d like to keep all the scripts in one frame, just to see if it works.
Check out the menu here (yes it’s swedish but it doesn’t matter)
I haven’t done much to the linking. When you mouseover the titles I’ve used attachMovie() to attach movieclips to an empty mc called val.
If I want the subtitles to be linked, how should the script look like? Thought it would be _root.val.vad.onPress() but that doesn’t work. _root.vad.onPress() doesn’t work either. How’s it supposed to be?
And one more thing. I can’t get the embed font thing to work, I think… I’m using static text and Use Device font is checked. Isn’t that all you have to do?
But if I use dynamic text and embed the fonts I get the buggy thing that the area in an A is filled. It’s a non font for flash font… If I use dynamic text and don’t embed the fonts it looks fine but nobody else can see it like it should be.
Checking “use device fonts” disables any fonts you are using and only includes the device fonts (i.e. _sans, and _serif) in the flash file. Uncheck that and your fonts will automatically be embedded if you are using static text. You may still have the problem with the "a"s getting filled in, however. There are a few things you can try to do to fix this: make sure the text fields are on whole pixels (i.e. don’t put them at x=1.4, y=2.7…put them at x=1, y=3); make sure the text size is a multiple of 6, and if that doesn’t work, try a multiple of 8; use another font :); use the “Break Apart” tool in Flash to turn the text into vector images.
Ah ok… Well to set the position to whole pixels doesn’t help with this font, and when I break them apart they are filled in. So I guess I’ll just have to change font… Any tips for a good pixelfont for flash?
Ok, I’ll try to change the font instead. Hmm But i’ve written so many text-fields… Is there anyway to change all the texts automatically to another font? Some way with actionscript?
Creating engaging and entertaining content for designers and developers since 1998.