Home Tutorials Forums Articles Blogs Movies Library Employment Press

Go Back   ActionScript.org Forums > ActionScript Forums Group > Simple Stuff (Newbies)

Reply
 
Thread Tools Rate Thread Display Modes
Old 03-07-2003, 06:18 PM   #1
Xansi
Observer
 
Xansi's Avatar
 
Join Date: Oct 2002
Location: México DF
Posts: 284
Default ::relative centered pop up::

Hi everyone.

It is a simple question: how can a pop up be centered in 800x600 and in 1024x768 (or any other) resolution? This is the script of the flash button:


ActionScript Code:
on (release) {     getURL("javascript: openNewWindow('Main.htm','thewin','height=420,width=720,left=60,top=110,toolbar=no,scrollbars=yes')"); }

With the (left=60,top=110) the pop up appears centered in a 800x600 resolution, but not in 1024. There must be a way to center the pop up relatively to any resolution.

Do you know how?

Any help will be really appreciated.

Thanks in advanced.

-Xansi
Xansi is offline   Reply With Quote
Old 03-07-2003, 07:19 PM   #2
CyanBlue
Super Moderator
 
CyanBlue's Avatar
 
Join Date: Jan 2002
Location: Centreville, VA
Posts: 26,666
Default

[search] center popup
__________________
CyanBlue / Jason Je / Macromedia Certified Flash Developer & Designer
http://CyanBlue.FlashVacuum.com
http://www.FlashVacuum.com
http://tutorials.FlashVacuum.com

Do NOT PM, Email or Call me... Your question belongs right in this forum...
CyanBlue is offline   Reply With Quote
Old 03-07-2003, 07:38 PM   #3
boyzdynasty
Senior Member
 
boyzdynasty's Avatar
 
Join Date: Aug 2002
Location: Philly
Posts: 2,583
Default

*ah*
is this really an automated message?

Have I gone that long.... what new features did as.org added
__________________
I need a new signature!
boyzdynasty is offline   Reply With Quote
Old 03-07-2003, 07:46 PM   #4
CyanBlue
Super Moderator
 
CyanBlue's Avatar
 
Join Date: Jan 2002
Location: Centreville, VA
Posts: 26,666
Default

I am not telling you since you missed too much classes...

Nothing much really...
[ search ] center popup
is what I did... No closing tag, and multiple arguments, of course without the spaces around 'search'...
__________________
CyanBlue / Jason Je / Macromedia Certified Flash Developer & Designer
http://CyanBlue.FlashVacuum.com
http://www.FlashVacuum.com
http://tutorials.FlashVacuum.com

Do NOT PM, Email or Call me... Your question belongs right in this forum...
CyanBlue is offline   Reply With Quote
Old 03-07-2003, 07:52 PM   #5
boyzdynasty
Senior Member
 
boyzdynasty's Avatar
 
Join Date: Aug 2002
Location: Philly
Posts: 2,583
Default

*lol*
that is cool!!!

o...we need to trade notes...uh...i need to borrow notes
__________________
I need a new signature!
boyzdynasty is offline   Reply With Quote
Old 03-07-2003, 08:10 PM   #6
CyanBlue
Super Moderator
 
CyanBlue's Avatar
 
Join Date: Jan 2002
Location: Centreville, VA
Posts: 26,666
Default

Nah... I hate taking notes... Poke my brain instead...
__________________
CyanBlue / Jason Je / Macromedia Certified Flash Developer & Designer
http://CyanBlue.FlashVacuum.com
http://www.FlashVacuum.com
http://tutorials.FlashVacuum.com

Do NOT PM, Email or Call me... Your question belongs right in this forum...
CyanBlue is offline   Reply With Quote
Old 03-07-2003, 10:55 PM   #7
boyzdynasty
Senior Member
 
boyzdynasty's Avatar
 
Join Date: Aug 2002
Location: Philly
Posts: 2,583
Default

ok. i'll do
__________________
I need a new signature!
boyzdynasty is offline   Reply With Quote
Old 03-10-2003, 02:27 PM   #8
Xansi
Observer
 
Xansi's Avatar
 
Join Date: Oct 2002
Location: México DF
Posts: 284
Default

OK, thanks, wakarimashita.

-Xansi
Xansi is offline   Reply With Quote
Old 03-10-2003, 11:54 PM   #9
CyanBlue
Super Moderator
 
CyanBlue's Avatar
 
Join Date: Jan 2002
Location: Centreville, VA
Posts: 26,666
Default

You're welcome and I don't speak Japanese...
__________________
CyanBlue / Jason Je / Macromedia Certified Flash Developer & Designer
http://CyanBlue.FlashVacuum.com
http://www.FlashVacuum.com
http://tutorials.FlashVacuum.com

Do NOT PM, Email or Call me... Your question belongs right in this forum...
CyanBlue is offline   Reply With Quote
Old 03-11-2003, 02:34 PM   #10
Xansi
Observer
 
Xansi's Avatar
 
Join Date: Oct 2002
Location: México DF
Posts: 284
Default

Quote:
Originally posted by CyanBlue
You're welcome and I don't speak Japanese...
What's the problem with japanese?
Xansi is offline   Reply With Quote
Reply


Thread Tools
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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump


All times are GMT. The time now is 03:41 PM.

///
Follow actionscriptorg on Twitter

 


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Ad Management plugin by RedTyger
Copyright 2000-2013 ActionScript.org. All Rights Reserved.
Your use of this site is subject to our Privacy Policy and Terms of Use.