pop up windows...need help

  • Jpellizzi
  • Novice
  • Novice
  • User avatar
  • Posts: 27

Post 3+ Months Ago

I have buttons in my swf, that are scripted to open pop up windows in an html site - the pop ups work...but how do I restrict the size? I have tried javascripting it, but its not working.

The pic pops up, but is fullscreen and not conforming to the javascript i wrote in the html. I have also tried to write the javascript into the actionscripting, but to no avail -

If someone could tell me the code, or what i need to do -i would appreciate it - thanks!
  • Anonymous
  • Bot
  • No Avatar
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post 3+ Months Ago

  • R.L.D.
  • Student
  • Student
  • User avatar
  • Posts: 83
  • Loc: Astoria,Queens

Post 3+ Months Ago

what action are you using on your button?

this code works:

Code: [ Select ]
on (release) {

getURL("javascript:open

('URL','FullView','width=420,height=540,scrollbars=no'); void('');");

}
  1. on (release) {
  2. getURL("javascript:open
  3. ('URL','FullView','width=420,height=540,scrollbars=no'); void('');");
  4. }


but for some reason IE blocks it.
  • Tchuki
  • Mastermind
  • Mastermind
  • Tchuki
  • Posts: 1774
  • Loc: Edinburgh

Post 3+ Months Ago

http://www.flash-db.com/PopUp/PopUp.html
  • graphixboy
  • Control + Z
  • Mastermind
  • User avatar
  • Posts: 1828
  • Loc: In the Great White North

Post 3+ Months Ago

Make sure you are putting the picture you want to open into an html document and resizing the image to be the exact size it should be in the html. If you just open a window with an image targeted most modern browsers will attempt to resize the image itself based on your window size. If it does that then you have to rather dymanic numbers attempting to look at each other to figure out what size the image should be.
  • Jpellizzi
  • Novice
  • Novice
  • User avatar
  • Posts: 27

Post 3+ Months Ago

All images are 500x500 px -
  • Jpellizzi
  • Novice
  • Novice
  • User avatar
  • Posts: 27

Post 3+ Months Ago

thanks eigmatic - that page is golden

Post Information

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

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