Quantcast
Channel: Adobe Community : All Content - Edge Animate
Viewing all articles
Browse latest Browse all 9897

Uncaught TypeError: Cannot read property 'getSymbolElement' of undefined

$
0
0

Hi community,

 

I am tryign to build a new project and I've got an error in console log Uncaught TypeError: Cannot read property 'getSymbolElement' of undefined .

 

Does any one why is that?

 

The code is at stage->creationComplete

 

$.getJSON("content.json",

          function(data){

                    for(var a=0; a<2; a++){

                    var b = sym.getSymbol('menu').createChildSymbol("thumbnail", "doorscontet");

                        b.getSymbolElement().css({"background-size":"contain",

                                           "float": "left",

  });

                    b.$("titleholder").html(data[a].title);

                    b.$("imageholder").css({"background-image":"url('"+data[a]. image+"')",

                                                           "background-size":"cover"

                                            });

                    b.$("imageholder").data('myIndex', a);

                    }

                    });

 

 

Thanks in advanced.


Viewing all articles
Browse latest Browse all 9897

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>