Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Timer Not Working

Community Beginner ,
Feb 10, 2015 Feb 10, 2015

Hi,

     The flash timer is not working, when the close, minimize, maximize button is clicked. i.e when we press that button the timer stops working, actually only on mouse-up the flash will terminate, so the user can press that button and pause the game or say a quiz slide in flash for long time. How to avoid this, Thanks in advance

TOPICS
ActionScript
387
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Feb 10, 2015 Feb 10, 2015

What code are you suing that doesn't work?  What portion of it is not working as hoped?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Feb 18, 2015 Feb 18, 2015

btnimg.pngHi, I need some logic to overcome the problem, I have explained above. To state it clearly, If we write a timer for a quiz or game and display it on screen just ctrl+enter will give you the o/u..in that screen got to top button close,minimize or maximize press on any one of that, do not release your mouse, now you can see the time is paused, later after 2 to three minutes, move the cursor inside the flash area(swf area) and release the mouse, the timer will start working, so the user can cheat this way to attain more time...to counter this is there any way in flash using as3..we can use windowStyle prop in html to take out that button, but like to know if flash has any way to control those button functionality using as3...I want to hide the buttons marked in black circle...can we do it in flash environment

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Enthusiast ,
Feb 19, 2015 Feb 19, 2015

If you publish to AIR you can choose the window style in publish settings. Default is system chrome which you see above - use the opaque or transparent type and you can then make your own buttons...

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Feb 20, 2015 Feb 20, 2015
LATEST

Hi, thank you...so there is no fs commands are any such..to vanish or hide those buttons..

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines