deleteChildSymbols
I am trying to delete childSymbols but I do not know how...
I have this code:
sym.setVariable ('cat', CAT);
{$.getJSON (cat, function (incoming)}
for (var f = 0; f < entrantes.length; f ++)
{
s = sym.createChildSymbol ("slide_platos_sym", sym.getComposition () .getStage ().getSymbol("platos_sym").$("scroll"));
s.$("Categoria").html (incoming [f] .str_nombre);
s. $("descripcion") .html (incoming [f] .dbl_precio + "€");
s. $("imagen") .css ({'background-image': "url('images/uploads/"+entrantes[f].str_imagen+"'})"}); "
s.getSymbolElement () .css ({"location": "absolute",})
"the left": 350 * f + "px",
({'top': '20px'})
}
});
and inside the "platos_sym" symbol have a button called "volver_txt". With the click of the event I come back and I would like to delete the childSymbols created in the element symbol "scroll."
Sorry for my English...
Solved!
I wirte the code in the "volver_txt" button and it works!
SYM.$("scroll"). Empty();
Tags: Edge Animate
Similar Questions
Maybe you are looking for
-
No Bluetooth on Satellite A300-1R2
OK, there is no blue sticker on the bottom of my laptop... now what? I can't believe you buy a laptop "State-of-the-art" these days and Bluetooth is not included. Is it possible to add a Bluetooth for my laptop?
-
I have two choices of loading XP on reboot. I want to eliminate a. How to do that.
-
HP Probook s 4540 DVD burn problem!
My DVD drive does not burn DVD-R discs. It starts to burn, but after awhile, it is said that the burning process is not completed successfully. My laptop is HP Probook 4540 s and almost new. I bought it a few months ago. The DVD player plays DVD disc
-
Where could I buy a product key?
I was looking at the site and I am looking to download a product key for my sWindow 7 64-bit professional? Are there any available on this site? I was sent on the circles on this site which is the North America I hope.
-
Two fingers to scroll has stopped working in Windows 8
Earlier today, I started having a problem with some of my touchpad - two fingers scrolling gestures and the flick of three fingers do not work anymore, even if they worked perfectly well this morning. I tried to update the drivers, reinstall, and rol