Go Back   CodingForums.com > :: Client side development > Flash & ActionScript

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Old 11-07-2009, 02:50 AM   PM User | #1
danl linehan
New Coder

 
Join Date: Mar 2004
Posts: 49
Thanks: 0
Thanked 0 Times in 0 Posts
danl linehan is an unknown quantity at this point
auto-launch centered popup

i hate auto launching anything. i hate popups. my client wants both. ugh.

i know how to launch a centered popup with the click of a button, but i don't know how to launch a centered popup once a movie gets to a certain frame on a timeline... probably really easy, but i need help with this one...

thanks...
danl linehan is offline   Reply With Quote
Old 11-19-2009, 11:32 AM   PM User | #2
[Paul Ferrie ]
New Coder

 
Join Date: Nov 2009
Location: Scotland / Glasgow
Posts: 17
Thanks: 0
Thanked 0 Times in 0 Posts
[Paul Ferrie ] is an unknown quantity at this point
I dont understand your question. getURL() will work with the within the timeline as well as on an event. Can you show what you have so far?
[Paul Ferrie ] is offline   Reply With Quote
Old 11-19-2009, 06:41 PM   PM User | #3
danl linehan
New Coder

 
Join Date: Mar 2004
Posts: 49
Thanks: 0
Thanked 0 Times in 0 Posts
danl linehan is an unknown quantity at this point
i actually got it working... i used the following solution:

placed this (which i got from a pop-up generator) in the HEAD of my page:

Code:
function popUp(URL) {
day = new Date();
id = day.getTime();
eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=1,location=0,statusbar=0,menubar=0,resizable=0,width=400,height=300,left = 440,top = 362');");
}
then placed this on the keyframe in my movie:

Code:
getURL("javascript:popUp('popuppage.html')");
worked fine!
danl linehan is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


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

Forum Jump


All times are GMT +1. The time now is 04:48 AM.

Home - Contact Us - Archives - Link to CF - Resources - Top 

Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.