I have two buttons in a flash and on release it plays 3 rings going around them. I have a getUrl action at the end of the ring movie. I want them to be in a side frame in a frameset.
I also want them to open the pages in the main frame. How would I do that? I tried “, _mainframe” after the URL and i tried “, mainFrame” but nothing worked.
Help please.
system
July 30, 2004, 4:21am
2
Click here
And welcome to the forums. :thumb:
system
July 30, 2004, 5:37pm
5
Ok. i got the trageting right but I want the getUrl to happen on (release).
Heres the error:
Error Scene=Scene 1, layer=Button-3, frame=1:Line 3: Statement must appear within on handler
{getUrl (“Home.htm”, “mainFrame”); }
Total ActionScript Errors: 1 Reported Errors: 1
Heres my code:
on (release)
{gotoAndPlay (47); }
{getUrl (“Home.htm”, “mainFrame”); }
Thanks
system
July 30, 2004, 5:43pm
6
This should work: copy and paste[AS]on (release) {
getURL(“Home.htm”,“mainFrame”);
}[/AS]
system
July 30, 2004, 5:46pm
7
But I also want it to go to that frame.
system
July 30, 2004, 5:47pm
8
Did you follow the tutorial correctly?
For example: the HTML code?
system
July 30, 2004, 5:47pm
9
[AS]on (release) {
getURL(“Home.htm”,“mainFrame”);
gotoAndPlay (47); }[/AS]
system
July 30, 2004, 5:49pm
10
Oh I didn’t realize he/she was talking about Flash frames. :puzzle:
system
July 30, 2004, 5:50pm
11
and I was sure you’d beat me to tell him
system
July 30, 2004, 6:13pm
12
Thanks. And btw I’m a guy.