this.holder.loadMovie("some.jpg"); this.onEnterFrame = function() { if (this.holder._width > 4) { resizeHolder(); delete this.onEnterFrame; } }; function resizeHolder() { holder._width = w; holder._height = h; } _______________________________________________ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com