I have a movie that consists of one frame with a button and two MC’s (objectA and container). In that frame, I have objectA scripted to move to postitionX when the button is released. What I want to do (and can’t figure out) is load an external swf into container once objectA reaches positionX. How do I do that? Any help would be appreciated. Thanx.
Thanx for the reply kax. That’s what I tried initially and I figured it should have worked, but it didn’t. I thought maybe it was because when the button is release, objectA is not yet at positionX, so the movie doesn’t load.
With that in mind, I tried it with onEnterFrame and onLoad, but those all had the same result and left me thinking the same thing- objectA is not at positionX when the script is executed so it doesn’t load the movie (I could be missing something here, though).
Again, thanx for your reply, and if you have any other ideas on what’s giving me this trouble, please post 'em.
Since this problem is a small part of a bigger fla I’m working with, I made a sample with the exact code I’m using to make the movement occur. I’m familiar with what you noted above about easing and the object never really reaching positionX (without extra help of course :)), and so, I don’t think that’s it. But, take a look and tell me what you think. I’m no expert with AS and I could be missing something.