Titanium Community Questions & Answer Archive

We felt that 6+ years of knowledge should not die so this is the Titanium Community Questions & Answer Archive

More control over loading view?

I'm hoping to have more control over when to hide Default.png in my application. I have an animation I use when loading the app (customer request) but right now I essentially need to load Default.png right after it closes, I use transparent pngs on top of it.

The most efficient I've found is to set it as the backgroundimage in the first line of app.js but it still blinks long enough to upset the visual flow of the animation. Is there a short cut by which I can grab a handle to the view for default.png or set a flag so it doesn't close until I make a call?

— asked May 9th 2010 by Brian Raymond
  • app.js
  • default.png
  • iphone
0 Comments

1 Answer

  • Set the opacity to 0 and then fade it in over a short period of time to remove the blink or use zindex to something lower than the rest and then pop it above using a timer.

    — answered May 9th 2010 by David Ashwood
    permalink
    0 Comments
The ownership of individual contributions to this community generated content is retained by the authors of their contributions.
All trademarks remain the property of the respective owner.