-
button script
From the main swf, it loads an external "links" page. My links have rollover effects. I've found the location... so...
in the following code, where would I place this string?
_level0.holder
Code:
on (release) {
getURL("http://www.vampireline.com", "_blank");
}
on (rollOver) {
tellTarget ("/rollover") {
gotoAndPlay ("vampf2");
}
}
on (rollOut) {
tellTarget ("/rollover") {
gotoAndPlay ("vampf19");
}
}
-
OOP is one letter from OOPS
What player version are you publishing for? This is AS 1.0 syntax.
-
i got flashmx2004 flash player whichever the most recent is i guess. I just got that script from a website that shows how to do rollover buttons. seems to work fine, all till i have this external movie (with the buttons) loaded into the main movie. says it can't find the /rollover
-
OOP is one letter from OOPS
Try this:
on (release) {
getURL("http://www.vampireline.com", "_blank");
}
on (rollOver) {
_root.rollover.gotoAndPlay ("vampf2");
}
on (rollOut) {
_root.rollover.gotoAndPlay ("vampf19");
}
-
edit: good gravy.... :S all I had to do was delete the / in front of the rollover... i don't know why the original script has that, but seems to work without it, and adds the function i was wanting thanks for your replies!
Last edited by Izlude; 06-19-2006 at 03:29 PM.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|