| Author |
Message |
guitarman fourth grade
Joined: 04 Nov 2005 Posts: 726
|
Posted: Sat Dec 03, 2005 12:08 am Post subject: Flash tips for proper using of TEXT BUTTONs |
|
|
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
|
Posted: Wed May 03, 2006 6:39 pm Post subject: |
|
|
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: 726
|
Posted: Thu May 04, 2006 12:46 pm Post subject: |
|
|
| 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 
|
|
| Back to top |
|
 |
indogo fourth grade
Joined: 03 May 2006 Posts: 223
|
Posted: Fri May 05, 2006 5:32 am Post subject: |
|
|
| 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.
he is the cleaning bug 
|
|
| Back to top |
|
 |
angivodka first grade
Joined: 16 May 2006 Posts: 19
|
Posted: Thu May 18, 2006 2:31 pm Post subject: |
|
|
thanks for the tip. I have had this problem at times. I will try what you suggested. 
|
|
| Back to top |
|
 |
indogo fourth grade
Joined: 03 May 2006 Posts: 223
|
Posted: Thu May 18, 2006 7:17 pm Post subject: |
|
|
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
|
Posted: Fri May 19, 2006 3:19 am Post subject: |
|
|
thanks for all the tips guys. i should finally be able to get it all to work now!
|
|
| Back to top |
|
 |
|