TwelvestoneFlash

text jumping and filter nuttiness


Sign in

  • Waiting for Godot ( 720 k posts )
    Just conversation.
  • Thunder Dome ( 23 k posts )
    Photoshop Tennis and Collabs.
  • Photography ( 4.8 k posts )
    For all you shutterbugs, sh...
  • Flash ( 18 k posts )
    ActionScripting to tweens, ...
  • Front End ( 5.8 k posts )
    general front end design an...
  • Back End ( 9.6 k posts )
    serverside scripting, progr...
  • Projects and Theory ( 12 k posts )
    This forum is for discussio...
  • FAQ ( 269 posts )
    All those nagging questions...
  • Design ( 17 k posts )
    graphics & all aspects of g...
  • Purgatory ( 3.6 k posts )
    12stone Jail, feel free to ...
baron ruhstoff
 
2008-07-24

Two weird things are going on with this. I'm stumped as to why.

You can see the first happen on the homepage. Roll over the headings for the newsitems in the lower right and the text appears to jump down a pixel. Roll out and it stays there; same for a return rollover. The field has fonts embedded, with the fonts supplied by an external swf (fontlibrary.swf, fyi). It happens a few other places as well - the pagination at the top of the landing page for the work section, for example. Ideas?

The second happens when a dropshadow filter is applied to the primary nav bar (it does not have one currently). There are two main parts to the clip: two pngs which slide over each other as the width of the bar expands and contracts on stage resize. If a dropshadow is applied, the entire clip disappears when the width reaches a certain (unknown) minimum, returning when the clip expands again. (note: nothing is being scaled - it's simply a matter of setting a handful of x vals.) It happens regardless of whether the filter is set through the IDE or at runtime. Methinks it may have something to do with the fact that the clip (actually a swf) overlaps three layered bitmaps, two of which have a relatively low alpha. Suggestions?

Storm
 
2008-07-24
  1. Try firstly ensuring your text fields are on even pixel _x and _y placements and not decimal positions such as 18.2. Move it to 18. When it draws the font at runtime it sometimes 'snaps' into place.

  2. [edit] oh god...I'm out of my element here. Is this an AS applied filter or a Properties applied filter?

baron ruhstoff
 
2008-07-24

Originally posted by: Storm 1. Try firstly ensuring your text fields are on even pixel _x and _y placements and not decimal positions such as 18.2. Move it to 18. When it draws the font at runtime it sometimes 'snaps' into place.

Hmm. I thought of that, but then for some reason thought that wasn't an issue with AS3. I'll give it a go anyways. Weird thing is, in some situations it happens when a mouse event happens on an (assumed) entirely unrelated clip loaded from an entirely different swf.

  1. [edit]Is this an AS applied filter or a Properties applied filter? I've tried both. It happens either way. :shrug:
Storm
 
2008-07-24
  1. I thought the problem was solved too but suggested it because I didn't know what your project target was.

  2. still no answer for you...but I'm on the site again.

baron ruhstoff
 
2008-07-24

Right on. Thanks!

JLM
 
2008-07-25

did u set up an onEnterFrame to trace the y? Take the swf as a copy and strip out as much as possible till u only have the prob.

baron ruhstoff
 
2008-07-25

Originally posted by: JLM did u set up an onEnterFrame to trace the y? Take the swf as a copy and strip out as much as possible till u only have the prob.

I hear you. Thing is, there are circumstances where it happens to one line of a multiline textfield. Look at one of the items in the portfolio, for example. "Recognition" is a single textfield, yet at times a mousevent on the pagination for the screenshots will cause one... single... line of text... to jump a pixel.

// edit: of course, I had to pick an example where it doesn't happen. k

dave_boo
 
2008-07-25

seriously doubt this is it, but it's worth checking - are all your text fields set to 'anti-alias for animation'?

That weird 'text-shift' can happen when transitioning between identical keyframes set to 'anti-alias for readability'

baron ruhstoff
 
2008-07-25

Originally posted by: dave_boo seriously doubt this is it, but it's worth checking - are all your text fields set to 'anti-alias for animation'?

Definitely worth checking into. Thanks!

baron ruhstoff
 
2008-07-25

Slight correction... the fonts are embedded, but they are embedded at runtime, not at compile. Since alias settings for non-embedded fonts are not available in the IDE, they're set via AntiAliasType.ADVANCED.

X-DUD!!!11~~
 
2008-07-27

ubernuggets!

Sorry, you must be a member to post to a conversation. Either log in or sign up to get involved.
TwelvestoneFlash

text jumping and filter nuttiness