actionscript 3 - Dynamic Text Boxes disappearing in AS3 -


i've got small interactive flash animation, there's button allows user gain points clicked, go "shop" when clicked. problem dynamic text box doesn't show value on second frame. actionscript on 1 layer, throughout entire file.

var money = 100; var shopbtn; cash_txt.text = money;  stop();  button.addeventlistener(mouseevent.click, moneyget); function moneyget (evt: mouseevent){ money += 50; cash_txt.text = money; }  shopbtn.addeventlistener(mouseevent.click, shop); function shop (evt: mouseevent){ cash_txt.text = money; gotoandstop(2); } 

i've checked if embedded fonts working, , it's fine. thanks. i'm using professional cc.


Comments

Popular posts from this blog

c# - Validate object ID from GET to POST -

node.js - Custom Model Validator SailsJS -

php - Find a regex to take part of Email -