ActiveDen

Pro Inner Popup Advanced

  • Bought between 50 and 99 items
  • Has been a member for 5-6 years
  • Netherlands

Hi Potenzzza,

I’m trying to close popups that are allready open with in my main SWF when another is clicked to be opened… here is my code:

bt_tell.onPress = function(){
    if(_root.pop01 == undefined){
        openInPop("pop01", 550, 300, "include/tellAFriend.swf", "Tell a Friend", "");
    }
}

bt_sub.onPress = function(){
    if(_root.pop02 == undefined){
        openInPop("pop02", 550, 300, "include/subscribe.swf", "Abonneren", "");
    }
}

I tried something like:

bt_tell.onRelease = function(){removeMovieClip("pop02");}

Can you point me out in the right direction?

Thanks!

potenzzza

Hi and thanks for your purchase ;)

You need to try this :

closeInPop(“pop02”);

Good luck !

losbanditos

Thanks for your reply!

Still doesn’t work though, I have the following code:

function closeInPop(ip_name){
    removeMovieClip(ip_name);
}

bt_tell.onPress = function(){
    if(_root.pop01 == undefined){
        openInPop("pop01", 550, 300, "include/tellAFriend.swf", "Tell a Friend", "");
        closeInPop("pop02");
    }
}

bt_sub.onPress = function(){
    if(_root.pop02 == undefined){
        openInPop("pop02", 550, 250, "include/subscribe.swf", "Abonneren", "");
        closeInPop("pop01");
    }
}

Opening works like a charm but putting a close on buttons won’t work. Am i missing something..?

Thanks in advance!

  • Bought between 50 and 99 items
  • Has been a member for 3-4 years

how can i get this to load html?

  • Bought between 10 and 49 items
  • Has been a member for 3-4 years

Hi Potenzzza,

I purchased the file and it looks/works great for me albeit one little snag. I loaded the popup into a flash movie and the close and minimize function worked fine. HOWEVER , when that movie was loaded as a movieclip into another flash movie the close button doesn’t seem to work. The minimize button does work but the close button does not. I cant seem to figure out why this would be the case…Any help would be greatly appreciated as I am on a deadline.

Thanks!!!

by
by
by
by
by