Flash Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsWeb DesignFlash Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old November 4th, 2003, 11:17 PM
dolver dolver is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Nov 2003
Posts: 6 dolver User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Specifications For new window

I want to make a link in flash that opens a new window. I can do this fine. however, i also want to get rid of the address field, home, back, forward buttons, etc....and I want to make it a specific size and not be able to scroll, etc. How can I do this? Thanks

Dave

Also, thanks to jmichels for taking care of my last question

Reply With Quote
  #2  
Old November 5th, 2003, 12:37 AM
jmichels's Avatar
jmichels jmichels is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2003
Location: Orlando, FL
Posts: 177 jmichels User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 5 h 18 m 12 sec
Reputation Power: 6
Greetings,

In the button's actions panel, type this:

on (release) {
getURL("javascript:openNewWindow('http://www.your_url.com/your_file.htm','file','height=400,width=600,toolbar=no,scrollbars=no,left=95,top=96') ");
}

and then in the head of your html document type this:

<script language="JavaScript">
<!--
function openNewWindow(URLtoOpen, windowName, windowFeatures) {
newWindow=window.open(URLtoOpen, windowName, windowFeatures);
}
//-->
</script>

Sincerely,
Jamie Michels www.thedarkcontent.com

Last edited by jmichels : November 5th, 2003 at 12:40 AM.

Reply With Quote
  #3  
Old November 5th, 2003, 12:43 AM
jmichels's Avatar
jmichels jmichels is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2003
Location: Orlando, FL
Posts: 177 jmichels User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 5 h 18 m 12 sec
Reputation Power: 6
For some reason in my last post it changed a bit of code. There should be no space between the words java and script by the get URL tag. Just make sure that you change that when you're in Flash.

Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb DesignFlash Help > Specifications For new window


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 3 hosted by Hostway