Re: [Flashcoders] Screen rendering problem
I've already tried that. All coordinates already are damn round. Anyhow this has to to do something with animation since bug is not present if that sparkle thing is removed. 2011/1/28 Matt Folkard m...@plasticmartians.co.uk Yeah, I agree with Roger, sounds like something to do with cacheasbitmap and moving/placing things in fractions of a pixel rather than whole pixels. Possibly try rounding the clips pixel positions? Cheers Matt Roger Persson ro...@radiergum.com wrote: Hello, Could it have something to do with filters? Some filters turn on Cache as bitmap, and that always gets me into trouble :) Best regards /roger On 2011-01-26 17:46, chiek...@gmail.com wrote: Hello people! I got somehow strangle problem in here. And hope someone can enlight me on solutions or at least causes of this behavior. Layout is as follows: app is tile based game, there is a terrain cell, which is a show graphic with added sprite which in order to imitate show sparkles change its position and flickers. Above all that is tile marker layer which is of exactly same shape as background and got black fill with low alpha value. If I add that anim, the thing gets screwed - highlight layer looks overlaped with neighbouring elements so dark lines appear on joins and that line is flickering. If remove that sparkle it's all well. Interesting thing is that i couldn't record this with screen activity recorder, no bug is visible in video. Have anyone seen this and knows a solution? Looks like something which is connected with flash player screen rendering or smthn like that. (and dont tell me about precise coordinates, tied that) Thanks in advacnce etc. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Screen rendering problem
Have you tried smoothing on the sparkle thing? Is it a bitmap? Might help.. Sounds like the alpha on the sparkle isn't staying alpha and reverting to black, basically showing the edge of the sparkle that should be transparent? But I am somewhat guessing.. :) Can you post a page for us to see? Best, Karl On Jan 28, 2011, at 5:17 AM, chiek...@gmail.com wrote: I've already tried that. All coordinates already are damn round. Anyhow this has to to do something with animation since bug is not present if that sparkle thing is removed. 2011/1/28 Matt Folkard m...@plasticmartians.co.uk Yeah, I agree with Roger, sounds like something to do with cacheasbitmap and moving/placing things in fractions of a pixel rather than whole pixels. Possibly try rounding the clips pixel positions? Cheers Matt Roger Persson ro...@radiergum.com wrote: Hello, Could it have something to do with filters? Some filters turn on Cache as bitmap, and that always gets me into trouble :) Best regards /roger On 2011-01-26 17:46, chiek...@gmail.com wrote: Hello people! I got somehow strangle problem in here. And hope someone can enlight me on solutions or at least causes of this behavior. Layout is as follows: app is tile based game, there is a terrain cell, which is a show graphic with added sprite which in order to imitate show sparkles change its position and flickers. Above all that is tile marker layer which is of exactly same shape as background and got black fill with low alpha value. If I add that anim, the thing gets screwed - highlight layer looks overlaped with neighbouring elements so dark lines appear on joins and that line is flickering. If remove that sparkle it's all well. Interesting thing is that i couldn't record this with screen activity recorder, no bug is visible in video. Have anyone seen this and knows a solution? Looks like something which is connected with flash player screen rendering or smthn like that. (and dont tell me about precise coordinates, tied that) Thanks in advacnce etc. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Karl DeSaulniers Design Drumm http://designdrumm.com ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Screen rendering problem
That was THE idea. I played with sparkle and found out that it had blur filter attached to it. Bug is gone as that filter is removed. Obviously all object received cacheAsBitmap=true as that clip appeared on stage and now it's gone. Thank you very much; muchos gracias; etc. You really helped me! 2011/1/28 Karl DeSaulniers k...@designdrumm.com Have you tried smoothing on the sparkle thing? Is it a bitmap? Might help.. Sounds like the alpha on the sparkle isn't staying alpha and reverting to black, basically showing the edge of the sparkle that should be transparent? But I am somewhat guessing.. :) Can you post a page for us to see? Best, Karl On Jan 28, 2011, at 5:17 AM, chiek...@gmail.com wrote: I've already tried that. All coordinates already are damn round. Anyhow this has to to do something with animation since bug is not present if that sparkle thing is removed. 2011/1/28 Matt Folkard m...@plasticmartians.co.uk Yeah, I agree with Roger, sounds like something to do with cacheasbitmap and moving/placing things in fractions of a pixel rather than whole pixels. Possibly try rounding the clips pixel positions? Cheers Matt Roger Persson ro...@radiergum.com wrote: Hello, Could it have something to do with filters? Some filters turn on Cache as bitmap, and that always gets me into trouble :) Best regards /roger On 2011-01-26 17:46, chiek...@gmail.com wrote: Hello people! I got somehow strangle problem in here. And hope someone can enlight me on solutions or at least causes of this behavior. Layout is as follows: app is tile based game, there is a terrain cell, which is a show graphic with added sprite which in order to imitate show sparkles change its position and flickers. Above all that is tile marker layer which is of exactly same shape as background and got black fill with low alpha value. If I add that anim, the thing gets screwed - highlight layer looks overlaped with neighbouring elements so dark lines appear on joins and that line is flickering. If remove that sparkle it's all well. Interesting thing is that i couldn't record this with screen activity recorder, no bug is visible in video. Have anyone seen this and knows a solution? Looks like something which is connected with flash player screen rendering or smthn like that. (and dont tell me about precise coordinates, tied that) Thanks in advacnce etc. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Karl DeSaulniers Design Drumm http://designdrumm.com ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Screen rendering problem
Also, if I am not mistaken, you should never cacheAsBitmap on any moving objects. I believe this is a no no on the processing end of flash as it has to cache it every time it moves. Unless it is a very small graphic.. but then why would you need to cache it. :) Best, Karl On Jan 28, 2011, at 6:55 AM, chiek...@gmail.com wrote: That was THE idea. I played with sparkle and found out that it had blur filter attached to it. Bug is gone as that filter is removed. Obviously all object received cacheAsBitmap=true as that clip appeared on stage and now it's gone. Thank you very much; muchos gracias; etc. You really helped me! 2011/1/28 Karl DeSaulniers k...@designdrumm.com Have you tried smoothing on the sparkle thing? Is it a bitmap? Might help.. Sounds like the alpha on the sparkle isn't staying alpha and reverting to black, basically showing the edge of the sparkle that should be transparent? But I am somewhat guessing.. :) Can you post a page for us to see? Best, Karl On Jan 28, 2011, at 5:17 AM, chiek...@gmail.com wrote: I've already tried that. All coordinates already are damn round. Anyhow this has to to do something with animation since bug is not present if that sparkle thing is removed. 2011/1/28 Matt Folkard m...@plasticmartians.co.uk Yeah, I agree with Roger, sounds like something to do with cacheasbitmap and moving/placing things in fractions of a pixel rather than whole pixels. Possibly try rounding the clips pixel positions? Cheers Matt Roger Persson ro...@radiergum.com wrote: Hello, Could it have something to do with filters? Some filters turn on Cache as bitmap, and that always gets me into trouble :) Best regards /roger On 2011-01-26 17:46, chiek...@gmail.com wrote: Hello people! I got somehow strangle problem in here. And hope someone can enlight me on solutions or at least causes of this behavior. Layout is as follows: app is tile based game, there is a terrain cell, which is a show graphic with added sprite which in order to imitate show sparkles change its position and flickers. Above all that is tile marker layer which is of exactly same shape as background and got black fill with low alpha value. If I add that anim, the thing gets screwed - highlight layer looks overlaped with neighbouring elements so dark lines appear on joins and that line is flickering. If remove that sparkle it's all well. Interesting thing is that i couldn't record this with screen activity recorder, no bug is visible in video. Have anyone seen this and knows a solution? Looks like something which is connected with flash player screen rendering or smthn like that. (and dont tell me about precise coordinates, tied that) Thanks in advacnce etc. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Karl DeSaulniers Design Drumm http://designdrumm.com ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Karl DeSaulniers Design Drumm http://designdrumm.com ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Screen rendering problem
Karl DeSaulniers skriver: Also, if I am not mistaken, you should never cacheAsBitmap on any moving objects. I believe this is a no no on the processing end of flash as it has to cache it every time it moves. Unless it is a very small graphic.. but then why would you need to cache it. :) Best, Karl The idea is to draw the object once and reuse the already drawn copy. It is ideal for when the object remains unchanged but has moved to a new position. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] interesting discovery: full screen flash + IM
Hi list... I just thought I'd share this tidbit: A colleague was testing a Flash piece I did that goes FULL_SCREEN_INTERACTIVE. We were discussing it over IM (Microsoft Office Communicator). We noticed that when he was in full screen mode of the flash presentation, his status dot on IM went from green to do not disturb. Pretty interesting. - Michael M. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] E4X question: a dependency?
Hi list... clickedOne returns an xmlList for me. I can't figure out why, but when I comment out the var c assignment, clickedOne returns null. I don't use var c anywhere except to prevent clickedOne from being null. How can this be possible? Thanks for any replies, - Michael M. var c:XMLList = topicData[0].descendants(*).(hasOwnProperty(@title) @title == String(u[info][text])); // WHY IS THIS LINE DEPENDENT ON VAR C? var clickedOne:XMLList = topicData[0].asset.(hasOwnProperty(@title) (@title == String(u[info][text]))); ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] interesting discovery: full screen flash + IM
That's because playing with Flash is more important than nattering to people ;) On 28/01/2011 13:54, Mendelsohn, Michael wrote: Hi list... I just thought I'd share this tidbit: A colleague was testing a Flash piece I did that goes FULL_SCREEN_INTERACTIVE. We were discussing it over IM (Microsoft Office Communicator). We noticed that when he was in full screen mode of the flash presentation, his status dot on IM went from green to do not disturb. Pretty interesting. - Michael M. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders