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 Newbies

Reply
 
Thread Tools Search this Thread Display Modes
Old 07-17-2003, 08:12 AM   #1
kelfke
Master of all chickens
 
kelfke's Avatar
 
Join Date: May 2003
Location: Belgium
Posts: 114
Why, why, why?

I have a balloon. When I press on it it has to be removed. So I use this code.
Code:
 
on (press) {
	_root.removeMovieClip("balloon1");
}
Now I wonna know why it doesn't work. Can anybody tell me that?
kelfke is offline   Reply With Quote
Old 07-17-2003, 08:41 AM   #2
Lyra
Senior Member
 
Lyra's Avatar
 
Join Date: Oct 2001
Location: South Africa
Posts: 241
as far as I can see, you can only "removeMovieClip" that you have loaded dynamically with script (attachMovie("blue", "blue1", 1); (frame action)
then you need to put script (on a button) like this


on(press){
removeMovieClip("_root.blue1");
}


Is this true?

When I test it,

_root.removeMovieClip("blue1"); does not work, but removeMovieClip("_root.blue1"); does.
Lyra is offline   Reply With Quote
Reply

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

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 08:27 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.