Jump to content
Search Community

How to add text at run time in blitmask

Dmonstor test
Moderator Tag

Recommended Posts

hello,

i am download a sample code from snorkl.tv slot machine

i am as per my trying i want to add another text or may replace one number at run time

for example at run time i want to change 3->11 so how i do in this sample i try but its not change at run time

so please help me in this blitmask animation

 

 

thanks

Link to comment
Share on other sites

HI, I saw your question on snorkl.tv. Sorry for the delay I usually take a break on weekends.

 

I am not understanding fully what you need help with. Do you want us to provide code that re-sorts the numbers for you? Or do you need to know how to update the BlitMask once that happens?

Link to comment
Share on other sites

i mean in your code has 1-10 numbers

i am call my web-service that return one number that number i want to update in number list

suppose web-service return 11 then i want to update any number in list

so how i do that

thanks

Link to comment
Share on other sites

If you use dynamic textfields for all the numbers you will be able to change each number in the list with code.

 

rough code:

strip1.num3_mc.label_txt.text = 11;
blitmask1.update(null, true);

 

my file doesn't use dynamic textfields so you would have to make some revisions

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...