Need Flash Button help. Open new page

This is a discussion on "Need Flash Button help. Open new page" within the Flash & Multimedia Forum section. This forum, and the thread "Need Flash Button help. Open new page are both part of the Design Your Website category.



Go Back   Webforumz.com > Main Forums > Design Your Website > Flash & Multimedia Forum

Notices


Reply
 
LinkBack Thread Tools
  #1 (permalink)  
Old Sep 22nd, 2007, 05:37
New Member
Join Date: Sep 2007
Location: ga
Age: 24
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Need Flash Button help. Open new page

Hi I'm new to flash.

If i have a flash navigation bar. What actionscript code would i use (2.0) to tell a flash button to open up another page of my site inside the same window?

Currently I'm using

on(release) {
getURL("URL will be here/the page i want", "_blank");
}

Now I know _blank tells it to open up in a new window.
But i tried _self and it wont work

Is there a better code that I can use because i do not want it to open up in a new window.

Anybody who replies I deeply Thank

Robert Ufford
Reply With Quote

  #2 (permalink)  
Old Sep 22nd, 2007, 16:04
Multimedia Specialist
Join Date: Apr 2007
Location: Arizona
Age: 25
Posts: 666
Blog Entries: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to Sgaspar11
Re: Need Flash Button help. Open new page

Code: Select all
on(release) {
getURL("URL will be here/the page i want", "_blank");
}
Change it back to _self, just leave the "" off of it. When I do this it opens in the same window.

Are you using an absolute or relative path to the webpage you want to display?

Cheers,

Scott
Last Blog Entry: Yay!? (Oct 8th, 2007)
Reply With Quote
  #3 (permalink)  
Old Sep 22nd, 2007, 18:04
New Member
Join Date: Sep 2007
Location: ga
Age: 24
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Need Flash Button help. Open new page

I'm currently using an Absolute Path I guess... It's not hosted yet so its current testing path is

on(release) {
getURL("file:///C:/Documents%20and%20Settings/Master%20Robbie/Desktop/The%20Bill%20Wheel/characters2.html", _self);
}

Just running it off my desktop for now

I tried your _self without the "" and it opened in a new window again.

Should I be using a relative path?

Also, what would be the correct way to code a relative path to a site page?

Last edited by ClemsonTigerACC; Sep 22nd, 2007 at 18:14.
Reply With Quote
  #4 (permalink)  
Old Sep 23rd, 2007, 00:16
New Member
Join Date: Sep 2007
Location: ga
Age: 24
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Need Flash Button help. Open new page

solved it

Thankyou
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I make Button Open new window in flash? bunnyface Flash & Multimedia Forum 4 Feb 27th, 2008 21:41
Page that will only open if it comes from a redirect (Looking for a way to do this) vandiermen JavaScript Forum 1 Jan 31st, 2007 21:19
Scroll button to scroll flash page helpmhost Flash & Multimedia Forum 3 Apr 26th, 2006 11:30
When a button refuses to behave like a button in Flash autumn_whispers2me Flash & Multimedia Forum 2 May 24th, 2005 22:08
Open page in new window autumn_whispers2me Web Page Design 20 Feb 15th, 2005 02:04


All times are GMT. The time now is 20:06.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43