flash actionscript:
[quoted text, click to view] Lotjeneedshelp wrote:
> Can anyone please help me with this?
>
> I'm new to actionscripting, so please don't use terms..:)
>
> I know that I have to start with this:
>
> on (release) {
> }
>
> but what, in these 2 cases, to type between the brackets?
>
> Sorry it this is a dumb question... and thanks heaps in advance...
>
> ;)
>
Can anyone please help me with this?
I'm new to actionscripting, so please don't use terms..:)
I know that I have to start with this:
on (release) {
}
but what, in these 2 cases, to type between the brackets?
Sorry it this is a dumb question... and thanks heaps in advance...
;)
for the email case, what you do for code is this for the actionscript on the
button:
on(release) {
(preferable tab)getURL("url of website","_self");
}
for more information on the target (_self), use the little reference book icon
in the actions panel. Hope his helps for the first case.
Originally posted by: Newsgroup User
What 2 cases?
What are you trying to do?
Sorry, I only typed my actual questions in the subtitle/summary part of my
post..:)
What I want to do is:
1. Make a button an email link
2. Make a button open a .pdf format file in a new window (with a fitted size
if possible)
I know how to make a button and that the actionscripting has to start with
on (release) {
}
But I don't know what to type between the 2 brackets... can you help me out?
Thanks..:)
Originally posted by: html in flash
for the email case, what you do for code is this for the actionscript on the
button:
on(release) {
(preferable tab)getURL("url of website","_self");
}
for more information on the target (_self), use the little reference book icon
in the actions panel. Hope his helps for the first case.
Thanks so much for your reply! However, I don't underdtand how "getUR("url of
website","_self") can be an email link..? I just want to do the flash
equivalent of the "mailto:blablah@hotmail.com" thing.. isn't that possible?
Maybe you meant what you wrote is usable for my other problem, the pdf. file?
And what did you mean by 'preferable tab'?
Sorry...:(
Thanks everyone! kglad, the emaillink was a piece of cake after your help:)
What do you mean by 'projector file'? It must be the language barrier... ;)
anyway, I think javascript would be to complicated for me so I;m interested in
the simle way. Of it is so much more simple to just have the pic load as a
bitmap in a new window, maybe that's a better idea?
Anyway, thanks heaps everyone.
Lotte
To open a pdf file, you can use the getURL command again. on (release){ getURL
('myPDF.pdf','blank') } I've found that it doesn't work if you just test the
movie in flash, but if you run it from a browser, the pdf should open fine.
Owen