im wondering if any of u guys know how u target a certain framelabel on “loadmovie”. i got these buttons that loads an .swf, and i want to go to different frames on the different buttons…
ex: button 1 loads the .swf and goes to frame1,
button 2 loads the same .swf and goes to frame20
button 3 loads the same .swf and goes to frame30
etc etc
_level0 refers to the movie in level 0. it’s important to use the compete path to variables or flash can’t find them.
“frametarg” was arbitrarily chosen, you could have called it “howard” and it work just as well.
perhaps in the button put the variable in to _level0 explicitly:
_level0.howard = 20;
if you button was in a movie, that would explain why it’s not working. if you added the path to the movie when you reference it from the loaded clip, it would also solve this problem ie:
gotoAndStop(_level0.moviewithbutton.howard);
don’t do both though! ; )
i think perhaps i don’t quite understand what you’re trying to do. which movie do you want to go to frame “howard”?
hey suprabeener,
I too have found that problem, and it is quite annoying. I type the code in NotePad, and then I paste the code into ezboard. Notepad does a great job of adding spaces instead of indent marks so the code is indented properly. Luckily for us, Flash doesn’t really care about the spaces and indents the code accordingly in the Actions window!