[flexcoders] Background radial gradient?
Hello. Is it possible to assign a radial gradient to the application? Thanks.
[flexcoders] Re: ViewStack init images problem
Thanks but no dice. I tried to explicitly set the dimensions on the mx:Image but still had the same flicker result on the transition. For that matter I tried to explicitly set the same image dimensions on it's containing mx:Box and the ViewStack as well... but the same thing happens. The best short-term workaround I could muster was to set the initial selectedIndex to the second image which loads it, then set the ViewStack to it's proper position via a actionscript call later. The flicker behavior is still there, but I think it's slightly less noticeable on the first image when the application loads then on the second (but still a bit ugly). Here's my ViewStack if anyone can see anything wrong with it: mx:ViewStack id=bgImageStack width=100% height=100% creationPolicy=all selectedIndex=1 creationCompleteEffect={blurIn} mx:Box width=1024 height=768 horizontalScrollPolicy=off verticalScrollPolicy=off hideEffect={blurOut} showEffect={blurIn} mx:Image source=@Embed('assets/images/background/myBig01.jpg') width=1024 height=768 scaleContent=false horizontalAlign=left verticalAlign=top/ /mx:Box mx:Box width=1024 height=768 horizontalScrollPolicy=off verticalScrollPolicy=off hideEffect={blurOut} showEffect={blurIn} mx:Image source=@Embed('assets/images/background/myBig02.jpg') width=1024 height=768 scaleContent=false horizontalAlign=left verticalAlign=top/ /mx:Box /mx:ViewStack Alex Harui [EMAIL PROTECTED] wrote: The problem usually has to do with the fact that images are loaded asynch so they don't get measured properly the first time. If you know the size of the image, set the mx:Image to that size so it will hold space for it when it comes in.
[flexcoders] ViewStack init images problem
Hello, I'm having a problem with initializing my ViewStack that contains 2 image files on application startup; I'll try my best to explain: I'm using a ViewStack to hold 2 boxes that each contain a large image that I'm using for a background. I switch between these images using 2 blur transitions, ideally: bgImage1-blurOut, blurIn-bgImage2 However, this doesn't work properly the very first time the application switches between images: bgImage1-blurOut, [bgImage2-full], blurIn-bgImage2 Though after the first time it works as intended. I'm trying to get rid of the 'background image #2' flash I'm getting in between by blur transition. I've set the ViewStacks creationPolicy to all, but that has had no effect. Any help would be appreciated, thanks! Billy