ad_bel
09-21-2006, 09:52 AM
I am dynamically creating subviews in a view which works fine except when there is an image attached to the view. I use the setSource method and wait for the onLoad method to display but the problem is even on small files (1k) it takes about 30 seconds to a minute to load (appears to timeout). If I step through it the onLoad method takes forever to fire.
What is weird is that it will perfectly if I call the same code from the oninit event of the canvas but not from a click event from a button for example???
This used to work in previous 3.x versions but now does not work in 3.3.3. Has anyone experienced this before? Could it have something to do with the initiation of the views. I have played with the initstage but still couldn't fix it.
Thanks!
What is weird is that it will perfectly if I call the same code from the oninit event of the canvas but not from a click event from a button for example???
This used to work in previous 3.x versions but now does not work in 3.3.3. Has anyone experienced this before? Could it have something to do with the initiation of the views. I have played with the initstage but still couldn't fix it.
Thanks!