Flash website.with a bit of dreamweaver help please

  • van_doodle
  • Newbie
  • Newbie
  • van_doodle
  • Posts: 9

Post 3+ Months Ago

Hello

I've created a website in flash, transfered it into dreamweaver,

http://www.vanishamistry.co.uk

i want the links in portfolio>interactive menu to open in new browser windows, and even better in the correct sized window.

I know i need to play around with the code in flash, and probably even dreamweaver.... but does anyone have any ideas of how i should do this? I'm tried so many things but it leaves me as confussed as ever.

Thank you for reading and hopefuly helping

Designer is distress
  • Anonymous
  • Bot
  • No Avatar
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post 3+ Months Ago

  • graphixboy
  • Control + Z
  • Mastermind
  • User avatar
  • Posts: 1828
  • Loc: In the Great White North

Post 3+ Months Ago

You need to use a javascript to do that.

Place this code inside the header tags of your html page
Code: [ Select ]
<script language="JavaScript">
function newWin(url,winName,w,h)
{
window.open(url , winName ,'width='+w+',height='+h+',left=150,top=150,menubar=0,toolbar=0,status=0,resizable=1');
}
</script>
  1. <script language="JavaScript">
  2. function newWin(url,winName,w,h)
  3. {
  4. window.open(url , winName ,'width='+w+',height='+h+',left=150,top=150,menubar=0,toolbar=0,status=0,resizable=1');
  5. }
  6. </script>


This is a javascript function to open a new window with a url, name and height/width that you specify. It will open 150px from the top left of your monitor without a menu bar, tool bar or status bar, but can be resized.

Then in flash you need to call this function

Code: [ Select ]
getURL("javascript:newWin('http://www.somedomain.com','myWindowName', 600,300);");
  • darsh999
  • Newbie
  • Newbie
  • darsh999
  • Posts: 8

Post 3+ Months Ago

You have to use java script or vb script to open a window with specific Url
this will help you a lot getURL("javascript:newWin('http://www.somedomain.com','myWindowName', 600,300);");
  • van_doodle
  • Newbie
  • Newbie
  • van_doodle
  • Posts: 9

Post 3+ Months Ago

Thank you for your help,

The getURL code isn't working though, do you have any odeas what might be the problem?
  • graphixboy
  • Control + Z
  • Mastermind
  • User avatar
  • Posts: 1828
  • Loc: In the Great White North

Post 3+ Months Ago

probably the way your calling it. Can you post your code please?

Post Information

  • Total Posts in this topic: 5 posts
  • Users browsing this forum: No registered users and 14 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
cron
 

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.