Posted on 2006-04-20
I have a movie with two frames. The first frame has a stop action, and a variable called image_url declared.
There is an empty movies clip called mc_image on both frames, into which I want to load an image.
I added a button which advances to frame 2.
Frame 2 has some actionscript which states simply:
This works fine. I can hardcode the image name into the variable:
And when I press the button, it works and loads the image. i.e. the action in the second frame kicks in and performs LoadMovie.
I can set the variable (i think), but when I use GotoFrame(2), the frame action doesnt seem to fire, and the image doesnt get loaded.
I tired using TCallFrame to call the code in the frame, but that didnt work either.