PDA

View Full Version : Can you stop screen draws in flex


wilbur99
08-12-2008, 10:55 AM
Hi is it possible to stop flex updating the screen

I need a particular file to hold off from drawing in its background color untill it gets some data

-- so is there a way to stop a screen update
like a paint() or something?

Thanks

dr_zeus
08-12-2008, 06:44 PM
There is no way to tell Flash Player not to draw.

In a Flex app, though, you might be able to use UIComponent.suspendBackgroundProcessing() and UIComponent.resumeBackgroundProcessing(). Personally, I think you could probably find a better way to design the functionality you need, but that might work for you.