00:00
00:00
Newgrounds Background Image Theme

Create a free account to unlock the full magic and wonder of Newgrounds!

I need Web Button Help

907 Views | 8 Replies
New Topic Respond to this Topic

I need Web Button Help 2004-08-01 00:18:16


im making a website and i want to make a button where you click it and it opens a .SWF movie in a new window.

So what i need help is i cant figure out the action script. so if you guys could give me some help it would be great. if you know the action script i need please post it. thanks

~rabbid

Response to I need Web Button Help 2004-08-01 00:38:34


You should ask some one smart not like me.... lol


Mr.Pinky

BBS Signature

Response to I need Web Button Help 2004-08-01 00:44:34


At 8/1/04 12:38 AM, OD-shadow wrote: You should ask some one smart not like me.... lol

well if so y did you post here, if you dont have the answer

Response to I need Web Button Help 2004-08-01 00:52:42


Do you mean a new window as in browser window? or just a popup? I believe actionscript.org has a very nice tutorial on a popup and it works fine :)

Response to I need Web Button Help 2004-08-01 01:07:39


Put this on the button. But make sure the the .swf has a url (i.e. you've uploaded it to a site).

on(release){
getURL(".SWF URL", _blank);
//_blank opens a new window
//_self opens it in the same window
}

Response to I need Web Button Help 2004-08-01 01:11:59


ok thanks

Response to I need Web Button Help 2004-08-01 01:18:15


At 8/1/04 01:07 AM, Deathcon7 wrote: Put this on the button. But make sure the the .swf has a url (i.e. you've uploaded it to a site).

on(release){
getURL(".SWF URL", _blank);
//_blank opens a new window
//_self opens it in the same window
}

wait where do i put the url? where it says blank?

Response to I need Web Button Help 2004-08-01 01:20:04


At 8/1/04 01:18 AM, Rabbid_Squirrel wrote:

wait where do i put the url? where it says blank?

.....no you put it where it says swf url :P

Response to I need Web Button Help 2004-08-01 01:20:53


k thanks