To register for an Internet.com membership to receive newsletters and white papers, use the Register button ABOVE.
To participate in the message forums BELOW, click here


A Flash Developer Resource Site

Go Back   Flash Kit Community Forums > Flash Help > Flash ActionScript

Reply
 
Thread Tools Search this Thread Display Modes
Old 03-22-2006, 07:02 AM   #1
maroon5
Junior Member
 
Join Date: Aug 2005
Posts: 10
flash popup window which popsup when the page loads and then resizes itself and fit..

Hi !

u are the only source of flash for me and i know this is a piece of cake for u guyz cos now adays every website is having this

flash popup window which popsup when the page loads amd then resizs itself and fit at a specified location on the webpage.

some site using this popups:

http://flipcorp.com/creatives/meBANK...ter/index.html

www.ctc-bahrain.com

www.rediff.com this one has the flsh popup resizing on the top left side (if u cant see please keep refreshing as it is random)



please help me out or i will never learn this

thanks

bye
maroon5 is offline   Reply With Quote
Old 03-22-2006, 07:26 AM   #2
madzigian
Can't Re-Member
 
madzigian's Avatar
 
Join Date: Apr 2004
Location: Boston MA
Posts: 2,662
this will let you create any size pop-up, in any location on the screen, with/without scrollbars, address bar etc..

http://www.flash-db.com/PopUp/
__________________
Please DO NOT PM me simply for individual help. Post in the public forums...that's what they are for, and they allow others to benefit as well. - Thx
OS X 10.3.9 || Flash MX04 Pro
| del.icio.us || furl || Helpful Source Files || Free Pixel Fonts |
madzigian is offline   Reply With Quote
Old 03-22-2006, 07:14 PM   #3
maroon5
Junior Member
 
Join Date: Aug 2005
Posts: 10
hi madzigian, i tried your website www.flash-db.com/popup/

i gor the generated code below on the website

the problem is i dont know where to put the generated code.

i dont know much about the code but it said place in any flash 5 button

Let me make it clear that i want flash poup for my html index page (what is flash 5 button and all...???)


the flash pop up shud popup when the webpage is loaded

please help me as i see a ligh of hope from you

thanks

bye
waiting for your reply
maroon5 is offline   Reply With Quote
Old 03-22-2006, 08:08 PM   #4
madzigian
Can't Re-Member
 
madzigian's Avatar
 
Join Date: Apr 2004
Location: Boston MA
Posts: 2,662
Well.. it sounds like what you actually would want to do is use regular javascript to open your pop-up window. That code generator works well if, for example, your sire opens up to a splash page, where the user has to click "enter" to enter the site. The generated code does need a little updating for AS2. Instead of using object code and placing it on your button/mc, you just place the code on the frame where your button/mc appears and you need to make sure you give your button/mc an instance name. With that said, you could use something like
Code:
// where "enterBtn" is the instance name of your mc/button 
// and index.html is the html page you want to open in the popup

enterBtn.onRelease = function(){
getURL ("javascript:NewWindow=window.open('index.html','.: | WELCOME | :.','width=600,height=400,left=0,top=0,toolbar=No,location=No,scrollbars=No,status=No,resizable=Yes,fullscreen=No'); NewWindow.focus(); screen_height = window.screen.availHeight; screen_width = window.screen.availWidth; left_point = parseInt(screen_width/2)-(600/2); top_point = parseInt(screen_height/2)-(400/2); setTimeout('NewWindow.moveTo(left_point,top_point)',100); void(0);");
};
if you just want your site to automatically sprout a pop-up window on load... do a google search for javascript and you'll find a thousand sites with free scripts. Look around, and you'll find one that works for you, as not all are cross-browser, some won't work in IE, some ONLY work in IE (i fricking hate IE)... I am certainly not the person to consult on javascript (all the scripts i use i get for free online) You could also search the forums here (which you actually should have done before posting) and you'll find a thousand different threads with solutions to the same/similar problems... here are a few: http://www.flashkit.com/board/search...earchid=282000

hope that helps

---- BTW those links you posted as examples, DO NOT launch pop-ups when opened... at least not in Safari for Mac..
__________________
Please DO NOT PM me simply for individual help. Post in the public forums...that's what they are for, and they allow others to benefit as well. - Thx
OS X 10.3.9 || Flash MX04 Pro
| del.icio.us || furl || Helpful Source Files || Free Pixel Fonts |

Last edited by madzigian; 03-22-2006 at 08:10 PM.
madzigian is offline   Reply With Quote
Old 03-23-2006, 05:05 PM   #5
maroon5
Junior Member
 
Join Date: Aug 2005
Posts: 10
those popup works for internet explorer on windows

i have searched a lot and couldnt find what i asked for

but thanks for your help

Please tell me if you can help me in th future

Do try the website i told u ealier on windows os and with internet explorer i bet u will like it too

and later tell me u liked it or not and if u can find me solution i wil be grateful

thank bye
maroon5 is offline   Reply With Quote
Old 03-24-2006, 02:20 PM   #6
madzigian
Can't Re-Member
 
madzigian's Avatar
 
Join Date: Apr 2004
Location: Boston MA
Posts: 2,662
i can't try it on a windows machine.... don't own one, and will never own one. And i avoid internet explorer at all costs... Sorry....
__________________
Please DO NOT PM me simply for individual help. Post in the public forums...that's what they are for, and they allow others to benefit as well. - Thx
OS X 10.3.9 || Flash MX04 Pro
| del.icio.us || furl || Helpful Source Files || Free Pixel Fonts |
madzigian is offline   Reply With Quote
Old 03-24-2006, 02:44 PM   #7
knottyDJ
Senior Member
 
Join Date: Feb 2006
Location: Portland OR
Posts: 133
well there are tons of resources out there for flash, this one is great but not the only hope. Reading books and the flash help are great tools also.

but pop ups are just so dang annoying - and those little flash things that float in layers over the page are even more so... you can never find the dang close button if theyve got one and your powerless to watch the stupid ad,,, er I mean close the web page and never return
knottyDJ is offline   Reply With Quote
Reply

Go Back   Flash Kit Community Forums > Flash Help > Flash ActionScript

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 06:09 PM.


internet.commerce
Be a Commerce Partner
 »  »  »  »  »  »  »
 »  »  »  »  »  »
 

    

Acceptable Use Policy


The Network for Technology Professionals

Search:

About Internet.com

Legal Notices, Licensing, Permissions, Privacy Policy.
Advertise | Newsletters | E-mail Offers


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.