This content has been marked as final.
Show 4 replies
-
1. Re: How to remove a loaded image on the stage from a symbol containing a button?
Joe Bowden Jan 14, 2013 9:44 AM (in response to resdesign)Hi resdesign,
Just taking a shot in the dark here...instead of:
sym.getComposition().getStage().getElementById("region1").remove();
Will this work?
sym.getComposition().getStage().$("region1").remove();
hth,
Joe
-
2. Re: How to remove a loaded image on the stage from a symbol containing a button?
resdesign Jan 14, 2013 12:01 PM (in response to Joe Bowden)No, I tried that too. It seemed the most logical since the id is region1 but it does not remove the image.
-
3. Re: How to remove a loaded image on the stage from a symbol containing a button?
resdesign Jan 14, 2013 12:15 PM (in response to resdesign)Hi Joe,
Here is a simplified version. Can you look at the file?
-
4. Re: How to remove a loaded image on the stage from a symbol containing a button?
resdesign Jan 14, 2013 12:29 PM (in response to Joe Bowden)I got it. It should be:
$("#region1").remove();
// # was missing.
I actually added that to time 0 on the main timeline so when I got back there it removes the image.
It's not working from the symbol yet but I guess I should eventually get it working from there instead.
Thanks for your time.






