Re: [Flashcoders] Bizarre Issue
It's hard to say... A few questions: - do you see all contents when you remove fading completely, i.e. when you set 100% alpha at the beginning ? - did you try starting fade with alpha 50% ? - what kind of event do you use for fading, enter frame or a timer/interval ? - are images loaded into the movie or are they library items or are they bitmapdata (copied loaded images) ? - if images are loaded, they are they completely initialized before showing ? From my experience disappearing mcs may be a problem with setting their depth (that can be already occupied by other mcs or a subsequently attached/created movie clip gets into their depth ). Also, if alpha property of the images gets NaN, they may be invisible. Images can be wrongly resized (width of height is NaN or 0 and the image disappears)... g Tuesday, December 15, 2009 (2:55:13 PM) Lehr, Theodore wrote: I have a weird issue that I will attempt to explain - if no one gets it and does not reply - I understand So I have the same MC that is used say 50 times - each on their own layer These MC have dynamic text boxes and images... they ALL start out with alpha = 0... Some have their alpha changed to 100%... none the less... when the alpha is changed ONLY the first 23 layers show everything - layers 24 and above only show the dynamic text - they do not show the images... Any reason why?? Sounds like a bug... but it very well could be me ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
RE: [Flashcoders] Bizarre Issue
See below From: flashcoders-boun...@chattyfig.figleaf.com [flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Greg Ligierko [gre...@l-d5.com] Sent: Tuesday, December 15, 2009 9:47 AM To: Flash Coders List Subject: Re: [Flashcoders] Bizarre Issue It's hard to say... A few questions: - do you see all contents when you remove fading completely, i.e. when you set 100% alpha at the beginning ? NO - I can start it at 100% and they are still not there - did you try starting fade with alpha 50% ? - what kind of event do you use for fading, enter frame or a timer/interval ? they are turned to 0% alpha in the IDE - after that they are changed vias onRollOver or onRollOut - are images loaded into the movie or are they library items or are they bitmapdata (copied loaded images) ? They are hard coded in the MC - just sitting on a layer - if images are loaded, they are they completely initialized before showing ? n/a From my experience disappearing mcs may be a problem with setting their depth (that can be already occupied by other mcs or a subsequently attached/created movie clip gets into their depth ). Also, if alpha property of the images gets NaN, they may be invisible. Images can be wrongly resized (width of height is NaN or 0 and the image disappears)... the bizarre thing to me is that it is the same MC - just different instances... g Tuesday, December 15, 2009 (2:55:13 PM) Lehr, Theodore wrote: I have a weird issue that I will attempt to explain - if no one gets it and does not reply - I understand So I have the same MC that is used say 50 times - each on their own layer These MC have dynamic text boxes and images... they ALL start out with alpha = 0... Some have their alpha changed to 100%... none the less... when the alpha is changed ONLY the first 23 layers show everything - layers 24 and above only show the dynamic text - they do not show the images... Any reason why?? Sounds like a bug... but it very well could be me ___ 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] Bizarre Issue
From my experience, Flash has had issues composing many Bitmaps when they're overlapping each other. It'd just start hiding some of the images, roughly after 20 of them were present. Are your images overlapping? If that's what's going on, you may be able to solve it by 'grouping' the MCs in parent MCs in groups of 10 or so. Then set those parent MCs to precompose (BlendMode.LAYER, or adding an empty blur filter to force it), thus avoiding a direct composition of more than 20 layers at a time. Zeh On Tue, Dec 15, 2009 at 9:58 AM, Lehr, Theodore ted_l...@federal.dell.comwrote: See below From: flashcoders-boun...@chattyfig.figleaf.com [ flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Greg Ligierko [ gre...@l-d5.com] Sent: Tuesday, December 15, 2009 9:47 AM To: Flash Coders List Subject: Re: [Flashcoders] Bizarre Issue It's hard to say... A few questions: - do you see all contents when you remove fading completely, i.e. when you set 100% alpha at the beginning ? NO - I can start it at 100% and they are still not there - did you try starting fade with alpha 50% ? - what kind of event do you use for fading, enter frame or a timer/interval ? they are turned to 0% alpha in the IDE - after that they are changed vias onRollOver or onRollOut - are images loaded into the movie or are they library items or are they bitmapdata (copied loaded images) ? They are hard coded in the MC - just sitting on a layer - if images are loaded, they are they completely initialized before showing ? n/a From my experience disappearing mcs may be a problem with setting their depth (that can be already occupied by other mcs or a subsequently attached/created movie clip gets into their depth ). Also, if alpha property of the images gets NaN, they may be invisible. Images can be wrongly resized (width of height is NaN or 0 and the image disappears)... the bizarre thing to me is that it is the same MC - just different instances... g Tuesday, December 15, 2009 (2:55:13 PM) Lehr, Theodore wrote: I have a weird issue that I will attempt to explain - if no one gets it and does not reply - I understand So I have the same MC that is used say 50 times - each on their own layer These MC have dynamic text boxes and images... they ALL start out with alpha = 0... Some have their alpha changed to 100%... none the less... when the alpha is changed ONLY the first 23 layers show everything - layers 24 and above only show the dynamic text - they do not show the images... Any reason why?? Sounds like a bug... but it very well could be me ___ 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] Bizarre Issue
These MC have dynamic text boxes and images... they ALL start out with alpha = 0... dynamic images ? Do you mean that the images get loaded dynamically ? You are, maybe, starting to show the scene when it is not fully loaded ... :| hth, Cedric ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders