FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
Flash tips for proper using of TEXT BUTTONs

 
Post new topic   Reply to topic    Cambodia eXPlore Forum Index -> Flash Shockwave
Author Message
guitarman
fourth grade


Joined: 04 Nov 2005
Posts: 728

PostPosted: Sat Dec 03, 2005 12:08 am    Post subject: Flash tips for proper using of TEXT BUTTONs Reply with quote

Hello guys,

Sometimes when you convert a text into a button. It doesn't always work in a proper manner i.e. sometimes you can click the text button, sometimes you dont.

In order to avoid such problem, try to add a hidden rectangular in the Hit state of the button (remember that we have 4 button states? namely: Up, Over, Down and HIT)

Let me know if you can't replicate this situation.

Back to top
indogo
fourth grade


Joined: 03 May 2006
Posts: 223

PostPosted: Wed May 03, 2006 6:39 pm    Post subject: Reply with quote



That will be to define the actual clickable area for the button.

Another thing to note is that if you have a lot of buttons and use onPress then then flash may not play properly but onRelease will be ok.

Also using the 'wmode transparent' parameter can make your flash unresponsive when in a webpage even though it plays ok in the stand alone player...

mike

Back to top
guitarman
fourth grade


Joined: 04 Nov 2005
Posts: 728

PostPosted: Thu May 04, 2006 12:46 pm    Post subject: Reply with quote

Quote:
Another thing to note is that if you have a lot of buttons and use onPress then then flash may not play properly but onRelease will be ok.


I do not use onPress state at all. I can't imagine when people actually need to use onPress since onRelease will do most of the job.

Quote:
Also using the 'wmode transparent' parameter can make your flash unresponsive when in a webpage even though it plays ok in the stand alone player...


What actually is this wmode transparent does to your flash movie, indogo?

btw, nice avatar Wink

Back to top
indogo
fourth grade


Joined: 03 May 2006
Posts: 223

PostPosted: Fri May 05, 2006 5:32 am    Post subject: Reply with quote

Quote:
What actually is this wmode transparent does to your flash movie, indogo?


<param name="wmode" value="transparent">
basically has the effect you see here :-

http://hand.po.gs/hand.htm

the webpage background shows through.

The movie further down does not use this because the form did not work properly in this mode...as far as I know processor usage goes up considerably in transparent mode.


Quote:
btw, nice avatar


he is the cleaning bug Smile

Back to top
angivodka
first grade


Joined: 16 May 2006
Posts: 19

PostPosted: Thu May 18, 2006 2:31 pm    Post subject: Reply with quote

thanks for the tip. I have had this problem at times. I will try what you suggested. Very Happy

Back to top
indogo
fourth grade


Joined: 03 May 2006
Posts: 223

PostPosted: Thu May 18, 2006 7:17 pm    Post subject: Reply with quote

Oh and transparent doesnt work for all browsers/systems...eg linux so I try to avoid using it or at least set the flash backround to a matching color in just in case..

regards

mike

Back to top
angivodka
first grade


Joined: 16 May 2006
Posts: 19

PostPosted: Fri May 19, 2006 3:19 am    Post subject: Reply with quote

thanks for all the tips guys. i should finally be able to get it all to work now!

Back to top
Display posts from previous:   
Post new topic   Reply to topic    Cambodia eXPlore Forum Index -> Flash Shockwave All times are GMT + 8 Hours
Page 1 of 1



by phpBB