Banner

Sponsor

Login


Welcome Back!
Guest
Guest

Register

Lost your password?

76 users online



My first flash buttton, Help?

My first flash buttton, Help?

Currently viewing this thread: 1 (0 members and 1 guests)


Dexxaboy

Dexxaboy

Neverside Newbie
Status: Offline!

My first flash buttton, Help? [SOLVED]

Hi, I've just made my first flash button, i have insert my actionscript but when wanna preview it i get a error Sad

**Error** Symbol=Action, layer=Layer 1, frame=1:Line 1: Mouse events are permitted only for button instances
on (press) {

Total ActionScript Errors: 1 Reported Errors: 1

Wink

___________________

| Lunar Poll | Dexxaboys Site |

Last edited by Dexxaboy, December 23rd, 2004 11:26 AM (Edited 1 times)

kamalohe

kamalohe

has crap-for-brains
Status: Offline!

hmm...in the botton, maybe you forgot the other ' } '
try:

Code:


on(release){
your script
}


you've got to remember to close any function you put in.

Dexxaboy

Dexxaboy

Neverside Newbie
Status: Offline!

Nopp, here is my script

on (press) {
GetURL("http://mysite.com", "_blank");
}

___________________

| Lunar Poll | Dexxaboys Site |

Dexxaboy

Dexxaboy

Neverside Newbie
Status: Offline!

got it working!

The code was placed at the wrong frame Wink

___________________

| Lunar Poll | Dexxaboys Site |

goofygarber

goofygarber

Pants are overrated
Status: Offline!

you place it on the button, not the frame
oh, and GetURL doesnt work, it has to be getURL (lowercase G, its important)
and you have to switch mysite with your site obvioulsy...

___________________

http://www.goofygarber.net

rosem

rosem

Neversidian
Status: Offline!

Yeah, when you get an error like that it means that the action you are trying to apply is not on the button. So it's in the wrong spot. Smile

Good job of getting it though Wink

Quick Jump:

Main Navigation


Site & Graphic Design by Aeon Tan
Developed by Jeremie Pelletier & Scott Roach


NeverAPI generated this page in 0.0071 seconds.