potenzzza
- Item was Featured
- Exclusive Author
- Has been a member for 5-6 years
- Bought between 1 and 9 items
- Referred between 50 and 99 users
- Sold between 10 000 and 50 000 dollars
- France
122
Purchases
Buyer Rating:
4.67 stars
4.67 average based on 33 ratings.
-
5 Star
2781%
-
4 Star
412%
-
3 Star
00%
-
2 Star
13%
-
1 Star
13%
| Created | 27 October 08 |
| ActionScript Version | AS2 |
| Documentation | Well Documented |
| Opens With | Flash 8 (8+) |
| Published Size | 10kb |
© All Rights Reserved potenzzza -
Contact Envato Support


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!
Hi and thanks for your purchase
You need to try this :
closeInPop(“pop02”);
Good luck !
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!
how can i get this to load html?
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!!!