Pop- Up Window Problems

  • viewfromthesewalls
  • Born
  • Born
  • No Avatar
  • Joined: Jun 26, 2005
  • Posts: 2
  • Loc: Launceston, Tasmania
  • Status: Offline

Post June 26th, 2005, 9:12 am

I was just wondering if any body could help me in this area.

Everything works fine when my flash swf loads as a popup.

However i click an image in that flash document and it loads in the same window. Could someone please help, im sure it is not that difficult. :)

Here is the code i use to load my flash page;

on (release) {
getURL("javascript:window.open('./main.swf.,'Vox','toolbar=no,width=400,height=600'); void(0);", "_parent");
}


Here is the action for my image on the pop-up page;

on (release) {
getURL("javascript:window.open('./vocals.jpg','Vox','toolbar=no,width=400,height=600'); void(0);", "_parent");
}


THANKS!!!
  • Anonymous
  • Bot
  • No Avatar
  • Joined: 25 Feb 2008
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post June 26th, 2005, 9:12 am

  • plecks
  • Novice
  • Novice
  • No Avatar
  • Joined: Jun 26, 2005
  • Posts: 20
  • Status: Offline

Post June 27th, 2005, 7:48 am

just replace _parent with _blank for the window you would like to open in a seperate.., uhh.., window. :D

hope this helps

-db
  • lostinbeta
  • Guru
  • Guru
  • User avatar
  • Joined: Jun 26, 2003
  • Posts: 1402
  • Loc: Philadelphia, PA
  • Status: Offline

Post June 27th, 2005, 8:50 am

Actually you can just remove that argument altogether. Since your script is opening a new window anyway, there is no need to define what window the URL should open in. By removing the argument it will default to _self, but that is ok because of the javascript.
  • plecks
  • Novice
  • Novice
  • No Avatar
  • Joined: Jun 26, 2005
  • Posts: 20
  • Status: Offline

Post June 27th, 2005, 7:50 pm

what he said.

:oops:
  • viewfromthesewalls
  • Born
  • Born
  • No Avatar
  • Joined: Jun 26, 2005
  • Posts: 2
  • Loc: Launceston, Tasmania
  • Status: Offline

Post June 27th, 2005, 9:14 pm

i replaced _parent with _blank but still not result.

here is the link i will show you what i mean

http://www.badgeofhonour.com/index.htm

Get into the main page and click on the picture in the film strip.

Thanks

Also if you think anything looks dodgy thus far, please feel free to tell me haha :)

Post Information

  • Total Posts in this topic: 5 posts
  • Users browsing this forum: No registered users and 41 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
 
 

© 2011 Unmelted, LLC. Ozzu® is a registered trademark of Unmelted, LLC.