This is Interesting: Free Magazines for Graphics designers and webmasters  


Home > Archive > Flash General > March 2004 > Stupid question about on(press)





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Stupid question about on(press)
jpm

2004-03-21, 10:28 am

Hello.
I have make a banner with flash mx. It start on 1 to 80 photogram.
I want that for all time you can press mouse on it, and go to another web
page.
I understand i must make a event on first photogram with:
on(press) {
getURL(http://url, "_blank");
}

but i don't know why option "on" is disabled and i cannot make this script.

Any idea ?
Thanks.


jpm

2004-03-21, 12:28 pm

Ohh! I answer to myself.
I must be a button.




"jpm" <jperezme@jazzfree.com> escribió en el mensaje
news:c3k8iq$1vi$1@nsnmrro2-gest.nuria.telefonica-data.net...
> Hello.
> I have make a banner with flash mx. It start on 1 to 80 photogram.
> I want that for all time you can press mouse on it, and go to another web
> page.
> I understand i must make a event on first photogram with:
> on(press) {
> getURL(http://url, "_blank");
> }
>
> but i don't know why option "on" is disabled and i cannot make this

script.
>
> Any idea ?
> Thanks.
>
>



rlc5611

2004-03-22, 11:35 pm

quote:
Originally posted by jpm
Hello.
I have make a banner with flash mx. It start on 1 to 80 photogram.
I want that for all time you can press mouse on it, and go to another web
page.
I understand i must make a event on first photogram with:
on(press) {
getURL(http://url, "_blank");
}

but i don't know why option "on" is disabled and i cannot make this script.

Any idea ?
Thanks.



first of all, I would not be able to get that script to work without putting the http... inside quotation marks. Is the thing you are trying to apply this script to a button or a clip being treated as a button?
Sponsored Links


Copyright 2003 - 2009 forum4designers.com  Software forum  Computer Hardware reviews