Re: [flexcoders] mx:Button but without the border

2006-08-23 Thread Impudent1
Just to note something that got me with skinning a button was that I was 
using a toggle button. When using one you have to define additional 
skins for the selected state ala:

.MuteButton {
upSkin: Embed(source=/skin_assets/AudioOn.png);
downSkin: Embed(source=/skin_assets/AudioOff.png);
selectedUpSkin: Embed(source=/skin_assets/AudioOff.png);
selectedDownSkin: Embed(source=/skin_assets/AudioOn.png);
overSkin: Embed(source=/skin_assets/AudioOnOver.png);
selectedOverSkin: Embed(source=/skin_assets/AudioOffOver.png);
}   


hth someone :)

Impudent1
LeapFrog Productions


--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 




Re: [flexcoders] mx:Button but without the border

2006-08-23 Thread Michael Schmalle



Just another note;You can kill the button skins by setting their style to nullPeace, MikeOn 8/23/06, Impudent1 
[EMAIL PROTECTED] wrote:












  



Just to note something that got me with skinning a button was that I was 
using a toggle button. When using one you have to define additional 
skins for the selected state ala:

.MuteButton {
	upSkin: Embed(source=/skin_assets/AudioOn.png);
	downSkin: Embed(source=/skin_assets/AudioOff.png);
selectedUpSkin: Embed(source=/skin_assets/AudioOff.png);
selectedDownSkin: Embed(source=/skin_assets/AudioOn.png);
	overSkin: Embed(source=/skin_assets/AudioOnOver.png);
selectedOverSkin: Embed(source=/skin_assets/AudioOffOver.png);
	}	

hth someone :)

Impudent1
LeapFrog Productions

  













-- What goes up, does come down.

__._,_.___





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  






__,_._,___



Re: [flexcoders] mx:Button but without the border

2006-08-22 Thread julien castelain



hi gunther,maybe you could subclass SimpleButton, and use a Loader to for your imagejust a thought ...On 8/22/06, Gunther 
[EMAIL PROTECTED] wrote:












  




How do you / what is the best way to make a button with an image or 
a .swf without having the button border ?

I want an image that is clickable (Button) without the button 
border ?

I use:

mx:Style
   .nextButtonStyle {
 borderStyle: none;
	 focusThickness: 0;
   }
/mx:Style

mx:Button x=484 y=295 styleName=nextButtonStyle icon=@Embed
(source='Images/GoldArrow.swf') /

But this does not hide the button border :-(


  















__._,_.___





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  






__,_._,___



RE: [flexcoders] mx:Button but without the border

2006-08-22 Thread Andrew Trice












Why not just use images and style
attributes to skin the button (or use css)? You will not see the default
button skin at all. You will only see the images. If you use
transparent-background png images, the button shape will be the shape the
non-transparent portions of the png image.



mx:Button 

click=myFunction()


id=myButton

upSkin=@Embed('/assets/button_default.png')


 overSkin=@Embed('/assets/
button _hover.png') 

 downSkin=@Embed('/assets/
button_down.png') /



-Andy





_

Andrew Trice

Cynergy Systems, Inc.

http://www.cynergysystems.com



Blog: http://www.cynergysystems.com/blogs/page/andrewtrice

Email: [EMAIL PROTECTED]

Office: 866-CYNERGY













From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of julien castelain
Sent: Tuesday, August 22, 2006
12:43 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders]
mx:Button but without the border











hi gunther,

maybe you could subclass SimpleButton, and use a Loader to for your image
just a thought ...





On 8/22/06, Gunther
 gunther.vincke@yahoo.com
wrote:












How do you / what is the best way to make a button with an image or 
a .swf without having the button border ?

I want an image that is clickable (Button) without the button 
border ?

I use:

mx:Style
.nextButtonStyle {
borderStyle: none;
focusThickness: 0;
}
/mx:Style

mx:Button x=484 y=295
styleName=nextButtonStyle icon=@Embed
(source='Images/GoldArrow.swf') /

But this does not hide the button border :-(






















__._,_.___





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  






__,_._,___