Pop- Up Window Problems

  • viewfromthesewalls
  • Born
  • Born
  • viewfromthesewalls
  • Posts: 2
  • Loc: Launceston, Tasmania

Post 3+ Months Ago

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!!!
  • plecks
  • Novice
  • Novice
  • plecks
  • Posts: 20

Post 3+ Months Ago

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
  • Posts: 1402
  • Loc: Philadelphia, PA

Post 3+ Months Ago

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
  • plecks
  • Posts: 20

Post 3+ Months Ago

what he said.

:oops:
  • viewfromthesewalls
  • Born
  • Born
  • viewfromthesewalls
  • Posts: 2
  • Loc: Launceston, Tasmania

Post 3+ Months Ago

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 5 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.