how to Determine the window is larger than 1024px and sotp(2000)


can use code on stage timeline(1000) like:

 

if windows width > 1024px { getstage().stop(2000);}

 

 

and timeline(2000) add code :

 

if windows width < 1024px { getstage().stop(1000);}

 

 

 

pls make right.thanks. new this...

 

 

 

 

 


hi, peter-

 

you can use javascript determine window width.  here's simple explanation found:

 

http://www.javascripter.net/faq/browserw.htm

 

hope helps,

 

-elaine



More discussions in Edge Animate CC


adobe

Comments

Popular posts from this blog

How to set the order of FAQs instead of alphabetical

Thread: Get UK Keyboard working

how do I change the e-mail address for my merchant account