[flexcoders] Re: 9-Slice scaling problem with Skinning
This seems to happen only with bitmap images. If I draw something into symbols in flash they are scaled correctly but if I place bitmaps into symbols then scaling does not work. Wonder what is wrong with my setup.. On 9/6/06, [sami] [EMAIL PROTECTED] wrote: Hello,been struggling with 9-Slice scaling and Skinning. Downloaded Abobe's example from http://www.adobe.com/devnet/flex/articles/flex_skins.html . Then edited Skin template with Flash 8 (also tried 9 beta) and made sure 9-Slice is turned on. I replaced many of the symbols with gifs and pngs inside the flex_skins.swf. Button.skinned works fine but Button does not use 9-Slice scaling. So if I use images directly from files and add scale grid through code no problem. Anyone had the same behavior? Here's the code example:?xml version=1.0 encoding=utf-8?mx:Application xmlns:mx= http://www.adobe.com/2006/mxml layout=absolute mx:Style Button { disabledSkin: Embed(source=swc/Button_disabledSkin.png, scaleGridTop='6', scaleGridLeft='6', scaleGridBottom='14', scaleGridRight='56' ); downSkin: Embed(source=swc/Button_downSkin.gif, scaleGridTop='6', scaleGridLeft='6', scaleGridBottom='14', scaleGridRight='56' ); overSkin: Embed(source=swc/Button_overSkin.gif, scaleGridTop='6', scaleGridLeft='6', scaleGridBottom='14', scaleGridRight='56' ); upSkin: Embed(source=swc/Button_upSkin.gif, scaleGridTop='6', scaleGridLeft='6', scaleGridBottom='14', scaleGridRight='56' ); } Button.skinned { disabledSkin: Embed(source=swc/flex_skins.swf, symbol=Button_disabledSkin); downSkin: Embed(source=swc/flex_skins.swf, symbol=Button_downSkin); overSkin: Embed(source=swc/flex_skins.swf, symbol=Button_overSkin); upSkin: Embed(source=swc/flex_skins.swf, symbol=Button_upSkin); } /mx:Style mx:Button x=10 y=10 label=Small / mx:Button x=10 y=40 label=Bit Bigger / mx:Button x=10 y=70 label=Getting Near Large / mx:Button x=10 y=100 label=Friggin Huge Extravaganza Notification Button / mx:Button styleName=skinned x=10 y=150 label=Small / mx:Button styleName=skinned x=10 y=180 label=Bit Bigger / mx:Button styleName=skinned x=10 y=210 label=Getting Near Large / mx:Button styleName=skinned x=10 y=240 label=Friggin Huge Extravaganza Notification Button //mx:Application __._,_.___ -- 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 Your email settings: Individual Email|Traditional Change settings via the Web (Yahoo! ID required) Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe __,_._,___
[flexcoders] 9-Slice scaling problem with Skinning
Hello,been struggling with 9-Slice scaling and Skinning. Downloaded Abobe's example from http://www.adobe.com/devnet/flex/articles/flex_skins.html . Then edited Skin template with Flash 8 (also tried 9 beta) and made sure 9-Slice is turned on. I replaced many of the symbols with gifs and pngs inside the flex_skins.swf. Button.skinned works fine but Button does not use 9-Slice scaling. So if I use images directly from files and add scale grid through code no problem. Anyone had the same behavior? Here's the code example:?xml version=1.0 encoding=utf-8?mx:Application xmlns:mx=http://www.adobe.com/2006/mxml layout=absolute mx:Style Button { disabledSkin: Embed(source=swc/Button_disabledSkin.png, scaleGridTop='6', scaleGridLeft='6', scaleGridBottom='14', scaleGridRight='56' ); downSkin: Embed(source=swc/Button_downSkin.gif, scaleGridTop='6', scaleGridLeft='6', scaleGridBottom='14', scaleGridRight='56' ); overSkin: Embed(source=swc/Button_overSkin.gif, scaleGridTop='6', scaleGridLeft='6', scaleGridBottom='14', scaleGridRight='56' ); upSkin: Embed(source=swc/Button_upSkin.gif, scaleGridTop='6', scaleGridLeft='6', scaleGridBottom='14', scaleGridRight='56' ); } Button.skinned { disabledSkin: Embed(source=swc/flex_skins.swf, symbol=Button_disabledSkin); downSkin: Embed(source=swc/flex_skins.swf, symbol=Button_downSkin); overSkin: Embed(source=swc/flex_skins.swf, symbol=Button_overSkin); upSkin: Embed(source=swc/flex_skins.swf, symbol=Button_upSkin); } /mx:Style mx:Button x=10 y=10 label=Small / mx:Button x=10 y=40 label=Bit Bigger / mx:Button x=10 y=70 label=Getting Near Large / mx:Button x=10 y=100 label=Friggin Huge Extravaganza Notification Button / mx:Button styleName=skinned x=10 y=150 label=Small / mx:Button styleName=skinned x=10 y=180 label=Bit Bigger / mx:Button styleName=skinned x=10 y=210 label=Getting Near Large / mx:Button styleName=skinned x=10 y=240 label=Friggin Huge Extravaganza Notification Button //mx:Application __._,_.___ -- 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. __,_._,___
[flexcoders] Webservice Connector Component
Hello,anyone made / seen a webservice connector component like in Flash 8 for Flex?Writing queries against WSDL by hand and catching their replys is a pain, or maybe I understood something very wrong... __._,_.___ -- 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] FlexBuilder 2 error
Hello,I'm having problems with getting values from components with mouseX and mouseY. Going through the code with stepper sems to lead to missing mx.automation (mx.automation::Automation$/get mouseSimulator) class. Maybe these two problems have a same reason?-SamiOn 5/17/06, Kevin Roche [EMAIL PROTECTED] wrote:Hi,I just noticed that somthing that compiled fine earlier is giving an error message. unable to open 'C:\Program Files\Adobe\Flex Builder 2.0 Beta 3\Flex SDK 2.0\frameworks\automation.swc'This file is not there. Is the path wrong?I can't see this file anywhere.Kevin Yahoo! Groups Sponsor ~--Protect your PC from spy ware with award winning anti spy technology. It's free. http://us.click.yahoo.com/97bhrC/LGxNAA/yQLSAA/nhFolB/TM~---Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! 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/ -- 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.