Here's a quick and dirty example:

this.createEmptyMovieClip("img", 10);
img.loadMovie("some.jpg");
this.onEnterFrame = function() {
        if (img._width > 2) {
                this.assignActions();
                delete this.onEnterFrame;
        }
};
function assignActions()
{
        img.onRollOver = function() {
                // do something
        };
        img.onRollOut = function() {
                // do something
        };
        img.onRelease = function() {
                // DO SOMETHING!
        };
}
_______________________________________________
[email protected]
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

Reply via email to