FORUM

Stylish Digital Flip Timer

Home / Forum / Components Discussions / Stylish Digital Flip Timer

  • Hi,


    Thanks for a great component.


    Just one thing… the graphics are not correctly aligned.


    It is fine when it’s small, but when you make it bigger (say 1024 × 768 or 1280 × 720) the digits are at different “Y” coordinates.


    Also the “AM / PM” graphic looks like it’s skewed so it looks out of line when zoomed.


    Please will you align the graphics and re-post? I can’t imagine this would take very long as it’s not code just some alignment?


    Many thanks,


    John


    #  /  posted on Apr 28, 2010
  • Hi,


    Its easy to change the resoultion.
    Please click on timer in stage , open propert window and make width as 1024 (which you want) , but the height should be proportion to your width. for example if width is 1024 means the height shooult be 229

    I think this info will be usefull for you.


    Thanks and Regards
    Flashbox



    #  /  posted on Apr 28, 2010
  • Hi,


    Sorry, you misunderstood me.


    If you open the FLA and the “Timer” movieclip you will see:


    1) Each of the numbers is not aligned on the same “Y”.
    (for example on the “seconds” graphics the first graphic is at: “-19.9” and the second graphic is at: “-18.8”.


    2) The top of “AM / PM” graphic is skewed. When the movie is at a higher resolution your eye can see it easily and it’s distracting.


    Also I’ve just noticed that the “seconds” go to “60” after “59” instead of “00”.


    Could you please go through and make sure all the graphics are aligned and fix the “60” / “00” error.


    Many thanks,


    John



    #  /  posted on Apr 28, 2010
  • Hi,


    I had a play with your code.
    The following seems to fix the issue, although I’ve only tested briefly.
    With this code the clock should roll over to “0” instead of “24” for hours, “60” for minutes and “60” for seconds. A small thing but it should now be AS3 compatible too.


    Please will you have a look at the graphic alignment still.


    Thanks, John


    function setTimer ()
    { var s1 = Math.floor(sec/10); var s2 = sec%10; if (s1 6) { s1 = 10; } if (s2 0) { s2 = 10; } if (s1 0) { s1 = 10; } mc_sec1.gotoAndStop(s1); mc_sec2.gotoAndStop(s2); var m1 = Math.floor(min/10); var m2 = min%10; if (Math.floor(sec/10) 6) { m2 += 1; if (m2 >= 10) { m2 = 0; m1 += 1; if (m1 >= 6) { m1 = 0; } } } if (m2 0) { m2 = 10; } if (m1 0) { m1 = 10; } mc_min1.gotoAndStop(m1); mc_min2.gotoAndStop(m2); var h1 = Math.floor(hours/10); var h2 = hours%10; if (Math.floor(min/10) 5 && Math.floor(sec/10) 6) { h2 += 1; if (h1 2 && h2 4) { h1 = 0; h2 = 0; } else { if (h2 >= 10) { h2 = 0; h1 += 1; } } } if (h2 0) { h2 = 10; } if (h1 0) { h1 = 10; } mc_hour1.gotoAndStop(h1); mc_hour2.gotoAndStop(h2);
    }


    //trace(m1);


    #  /  posted on Apr 28, 2010
  • Hi, Sorry… code again this time in Javascript format.


    function setTimer ()  
    { 
    	var s1 = Math.floor(sec/10); 
    	var s2 = sec%10; 
    	if (s1  6) 
    	{ 
    		s1 = 10; 
    	} 
    	 
    	if (s2  0) { 
    		s2 = 10; 
    	} 
    	if (s1  0) { 
    		s1 = 10; 
    	} 
    	 
    	mc_sec1.gotoAndStop(s1); 
    	mc_sec2.gotoAndStop(s2); 
    	var m1 = Math.floor(min/10); 
    	var m2 = min%10; 
    	if (Math.floor(sec/10)  6) 
    	{ 
    		m2 += 1; 
    		if (m2 >= 10) 
    		{ 
    			m2 = 0; 
    			m1 += 1; 
    			if (m1 >= 6) 
    			{ 
    				m1 = 0; 
    			} 
    		}			 
    	}	 
    	 
    	if (m2  0) { 
    		m2 = 10; 
    	} 
    	if (m1  0) { 
    		m1 = 10; 
    	} 
    	mc_min1.gotoAndStop(m1); 
    	mc_min2.gotoAndStop(m2); 
    	var h1 = Math.floor(hours/10); 
    	var h2 = hours%10;	 
    	 
    	if (Math.floor(min/10)  5 && Math.floor(sec/10)  6) 
    	{ 
    		h2 += 1; 
    		if (h1  2 && h2  4) 
    		{ 
    			h1 = 0; 
    			h2 = 0; 
    		} 
    		else 
    		{ 
    			if (h2 >= 10) 
    			{ 
    				h2 = 0; 
    				h1 += 1; 
    			} 
    		}		 
    	}	 
    		 
    	 
    	if (h2  0) { 
    		h2 = 10; 
    	} 
    	if (h1  0) { 
    		h1 = 10; 
    	} 
    	mc_hour1.gotoAndStop(h1); 
    	mc_hour2.gotoAndStop(h2); 
    } 
    //trace(m1); 
    


    #  /  posted on Apr 28, 2010
  • Hi,


    I’m still waiting for a reply from you on this.


    Please let me know if you’re going to update the files or not?


    If not I think it’s only fair to have the component removed from the site as it has fundamental bugs and people should not have to pay for it.


    Please respond.


    #  /  posted on May 09, 2010
  • Hi ghoppermaster ,


    Please contact me through mail (developer4web@yahoo.co.in).


    I am also available in yahoo im too.


    because I couldn’t understand your issue properly , and also I am not getting your comments regurarly ( in mail).


    Please try to undertand , and contact me through mail. I am willing to help you


    Thanks and Regards,
    FlashBox


    #  /  posted on May 09, 2010

Please login to post replies.