| Welcome to Brackenwood. We hope you enjoy your visit. You're currently viewing our forum as a guest. This means you are limited to certain areas of the board and there are some features you can't use. If you join our community, you'll be able to access member-only sections, and use many member-only features such as customizing your profile, sending personal messages, and voting in polls. Registration is simple, fast, and completely free. Join our community! If you're already a member please log in to your account to access all of our features: |
| Java Script | |
|---|---|
| Tweet Topic Started: Nov 13 2004, 09:53 PM (204 Views) | |
| ASH 321 | Nov 13 2004, 09:53 PM Post #1 |
|
Animator
|
How do I add Java Script to my flash doc? |
![]() |
|
| ASH 321 | Nov 14 2004, 02:56 AM Post #2 |
|
Animator
|
Well if no-one know how to do this, then does anyone know how to make a button open a pop-up window? |
![]() |
|
| alexsmolik | Nov 14 2004, 03:03 AM Post #3 |
![]()
The Prince of Troy
|
Now THAT, I know. Actually depends what you mean by "pop-up" window. If by that you mean an Internet Explorer (or Mozilla, Firefox, Netscape whatever) window, I guess I could help. So you've got a button, and to this button, you add this action : This will open the link in a new window, a pop-up if you will.
|
![]() |
|
| ASH 321 | Nov 14 2004, 03:17 AM Post #4 |
|
Animator
|
I mean pop-up where I can set the size e.g. 550 x 400. Just I know HOW to do it with JS but I dunno how to add it
|
![]() |
|
| BonzaiRob | Nov 14 2004, 06:15 AM Post #5 |
|
The Demon Plasterer
|
Isn't it something like:
And then you have the code in the page the swf's in. |
![]() |
|
| ASH 321 | Nov 14 2004, 06:42 AM Post #6 |
|
Animator
|
Yes, BUT there is more than 1 I want on a page.... |
![]() |
|
| FhqwhgadsE2TL | Nov 15 2004, 03:45 PM Post #7 |
![]()
Flash Anim8r
|
:ahem: I was recently trying to do this myself and it wasn't working. I found out it was because my WIN XP was recently upgraded to SP2. Now it has that pop-up blocker crap. Well, the pop-up blocker is useful, but I even had it turned off.. and the javascript in flash still wasn't working. Basically, if you set up a button these are all of the options for a pop-up window:
But.. most people will probably have popups blocked.. although you can set it to allow popups at specific sites. Read more here: http://www.quasimondo.com/archives/000379.php |
![]() |
|
| 1 user reading this topic (1 Guest and 0 Anonymous) | |
| « Previous Topic · Web Development · Next Topic » |








6:18 PM Jul 11