|
-
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
-
Can't Re-Member
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/
-
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
-
Can't Re-Member
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..
Last edited by madzigian; 03-22-2006 at 08:10 PM.
-
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
-
Can't Re-Member
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....
-
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
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|