[flexcoders] Re: Best practices for dynamically styling components in FlashBuilder 4.5
So as it turns out, the reason that I was getting errors on my custom styles was that I was trying to use a pre-existing stylename (fillColor was already taken). It seems to be working somewhat well now and I might have my solution; however, I'd really like to hear any suggestions anyone still may have! =]
[flexcoders] Re: Best practices for dynamically styling components in FlashBuilder 4.5
Note: As a potential solution, I have been trying to add some custom style properties to my various components (ie. fillColor, fillAlpha, etc.), then setting these properties via CSS. The thought was that I could then simply update those properties using the styleManager.getStyleDeclaration() method, and in my components, set the colors using getStyle(). The issue is that the compiler throws errors when I try to implement the custom styles in my stylesheet using a custom style. Example: .myStyle { fillColor: 0x00; fillAlpha: .5; } The previous code would throw an error that the compiler did not recognize the style properties for fillColor or fillAlpha. If I can figure out a way to get past this, then I might have a solution... Thanks again!! --- In flexcoders@yahoogroups.com, "c0mpl3xxx" wrote: > > Hi all, > I'm trying to create a set of components for a video player app that require > the ability to be styled via user supplied color options. Basically I have a > set of buttons and text objects that will receive custom color properties > from the user. This would be easy enough to accomplish using custom style > properties on the components and a little CSS; however, I can't figure out > how to make this work since the color data is dynamic and served up by the > server (i.e. I can't hard-code or create any css style sheets during the > build process). > > I am looking for any ideas / best practices on how to accomplish the > following: > > 1) Styling components using data supplied at run-time > 2) Updating specific stylesheet properties at run-time (i.e. I want to change > the fontSize value for a custom style called ".h1"). > > Ideally I'd be able to link the various components to some stored properties > (like css) and then just update those properties and have the components > automatically respond. Any suggestions would be greatly appreciated! > > Thanks! >
[flexcoders] Re: Best practices for dynamically styling components in FlashBuilder 4.5
Thanks TH, That will help with updating the font sizes! If anyone else has any other thoughts or suggestions on how to best manage updating the color styles of the buttons and other components, it would be greatly appreciated!
Re: [flexcoders] passing parameters to coldfusion
You need to look at using a RemoteObject, HTTPService, or WebService component in Flex. There are plenty examples of using CF with Flex... here's a tutorial to get started: http://www.adobe.com/devnet/flex/articles/fcf_getting_started_coldfusion_flex.html On Tue, Sep 13, 2011 at 8:12 AM, lincoln wrote: > ** > > > Hi , > I want to parameters to cfm file from flex.. the parameters contains arrays > and objects ... please help me how to do this > > >
[flexcoders] passing parameters to coldfusion
Hi , I want to parameters to cfm file from flex.. the parameters contains arrays and objects ... please help me how to do this
[flexcoders] Re: Best practices for dynamically styling components in FlashBuilder 4.5
styleManager.getStyleDeclaration(style_name).setStyle("property", value); -TH --- In flexcoders@yahoogroups.com, "c0mpl3xxx" wrote: > > Hi all, > I'm trying to create a set of components for a video player app that require > the ability to be styled via user supplied color options. Basically I have a > set of buttons and text objects that will receive custom color properties > from the user. This would be easy enough to accomplish using custom style > properties on the components and a little CSS; however, I can't figure out > how to make this work since the color data is dynamic and served up by the > server (i.e. I can't hard-code or create any css style sheets during the > build process). > > I am looking for any ideas / best practices on how to accomplish the > following: > > 1) Styling components using data supplied at run-time > 2) Updating specific stylesheet properties at run-time (i.e. I want to change > the fontSize value for a custom style called ".h1"). > > Ideally I'd be able to link the various components to some stored properties > (like css) and then just update those properties and have the components > automatically respond. Any suggestions would be greatly appreciated! > > Thanks! >
[flexcoders] Best practices for dynamically styling components in FlashBuilder 4.5
Hi all, I'm trying to create a set of components for a video player app that require the ability to be styled via user supplied color options. Basically I have a set of buttons and text objects that will receive custom color properties from the user. This would be easy enough to accomplish using custom style properties on the components and a little CSS; however, I can't figure out how to make this work since the color data is dynamic and served up by the server (i.e. I can't hard-code or create any css style sheets during the build process). I am looking for any ideas / best practices on how to accomplish the following: 1) Styling components using data supplied at run-time 2) Updating specific stylesheet properties at run-time (i.e. I want to change the fontSize value for a custom style called ".h1"). Ideally I'd be able to link the various components to some stored properties (like css) and then just update those properties and have the components automatically respond. Any suggestions would be greatly appreciated! Thanks!
RE: [flexcoders] navigateToUrl( ) - can I determine when completed?
If yo can capture when the HTML page is done doing it's thing with Javascript, the Javascript could call a method in the Flash file to trigger an event there. Jason Merrill Instructional Technology Architect II Bank of America Global Learning ___ From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of lanekelly5 Sent: Monday, September 12, 2011 2:58 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] navigateToUrl( ) - can I determine when completed? I have a function call in my app that calls the server and expects back a CSV file that I want the user to be able to save. Right now I make that call via navigateToURL() with a parameter of "_blank". Due to a change in requirements, I need to refresh a grid after that server call is completed so I need some sort of complete event. I see that URLLoader() has a complete event, but it doesn't seem to support opening in "_blank" so I get the save prompt. Anyone know a solution here? -- This message w/attachments (message) is intended solely for the use of the intended recipient(s) and may contain information that is privileged, confidential or proprietary. If you are not an intended recipient, please notify the sender, and then please delete and destroy all copies and attachments, and be advised that any review or dissemination of, or the taking of any action in reliance on, the information contained in or attached to this message is prohibited. Unless specifically indicated, this message is not an offer to sell or a solicitation of any investment products or other financial product or service, an official confirmation of any transaction, or an official statement of Sender. Subject to applicable law, Sender may intercept, monitor, review and retain e-communications (EC) traveling through its networks/systems and may produce any such EC to regulators, law enforcement, in litigation and as required by law. The laws of the country of each sender/recipient may impact the handling of EC, and EC may be archived, supervised and produced in countries other than the country in which you are located. This message cannot be guaranteed to be secure or free of errors or viruses. References to "Sender" are references to any subsidiary of Bank of America Corporation. Securities and Insurance Products: * Are Not FDIC Insured * Are Not Bank Guaranteed * May Lose Value * Are Not a Bank Deposit * Are Not a Condition to Any Banking Service or Activity * Are Not Insured by Any Federal Government Agency. Attachments that are part of this EC may have additional important disclosures and disclaimers, which you should read. This message is subject to terms available at the following link: http://www.bankofamerica.com/emaildisclaimer. By messaging with Sender you consent to the foregoing.
Re: [flexcoders] AIR Packaging for different handheld devices
Check this link http://www.adobe.com/products/flash-builder/faq.html No to #2, only the PlayBook so far. Douglas Knudsen http://www.cubicleman.com this is my signature, like it? On Tue, Sep 13, 2011 at 1:54 AM, mulchand12345 wrote: > ** > > > Hi All, > > I have following questions related to the packaging of AIR applications for > different devices. > > 1. Can I install iPhone applications on iPad? If yes, then, can the iOS > packager provided in flashBuilder 4.5.1 be used to package applications for > iPad? > > 2. Can I package the applications using blackberry tablet OS packager > provided in flashBuilder 4.5.1 and install them on Blackberry smart phones? > > Thanks in advance > > Regards, > MulC > > >
RE: [flexcoders] Flex line chart
Wesley What. no middle-ware? How is Flex connecting to MySQL. ColdFusion, PhP, Java? --Bill From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of chinwesley Sent: Monday, September 12, 2011 10:06 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Flex line chart I want to create a line chart in Flex. I know how to create a simple one but the one I need to create needs to have 6 series (lines). The problem is that when I get the data from MYSQL, there is 6 xFields (one for each line) that are the same. eg. Western Cape - January, Western Cape - February, Western Cape - March, etc (for 6 months). That means that instead of there being only 9 xfields (province (south african provinces)), there is now 54 of them because they are being populated with all the values and not the unique ones. The same thing will happen with the line series becuase the line series will have 6 of the January's, 6 of the February's and so on. I just want to have 9 xfields and not 54 and 6 months and not 9 of each. Is there a way to solve this please? Regards, Wesley
[flexcoders] Getting Snap Interval Problem in VSlider
Hi Friends I Have Canvas Which Contain The V slider, contain Snap interval Value 0.01;Snap Inter value increment Like In The 0.01,0.02,0.03,0.04; But It Increment The Values Likes in the order 0.03,0.06 Every time ; How To Solve This Problem; Please Check The Sample Code Here; Am Getting The Problem The http://www.adobe.com/2006/mxml"; layout="horizontal">
[flexcoders] AIR Packaging for different handheld devices
Hi All, I have following questions related to the packaging of AIR applications for different devices. 1. Can I install iPhone applications on iPad? If yes, then, can the iOS packager provided in flashBuilder 4.5.1 be used to package applications for iPad? 2. Can I package the applications using blackberry tablet OS packager provided in flashBuilder 4.5.1 and install them on Blackberry smart phones? Thanks in advance Regards, MulC
Re: [flexcoders] Flex line chart
Generally you have to reconstruct the data into an appropriate format for a Flex chart, you can do that server-side or client-side before giving it to the chart. John 2011/9/13 Brendan Meutzner > ** > > > I've re-read your post 3 times, and still can't make sense of how your data > is structured. > > Is there any way you can post an example of the structure? > > There's always a way to massage the data to fit into the charting... > > Brendan > > > On Mon, Sep 12, 2011 at 7:06 AM, chinwesley wrote: > >> ** >> >> >> I want to create a line chart in Flex. I know how to create a simple one >> but the one I need to create needs to have 6 series (lines). >> >> The problem is that when I get the data from MYSQL, there is 6 xFields >> (one for each line) that are the same. eg. Western Cape - January, Western >> Cape - February, Western Cape - March, etc (for 6 months). >> >> That means that instead of there being only 9 xfields (province (south >> african provinces)), there is now 54 of them because they are being >> populated with all the values and not the unique ones. The same thing will >> happen with the line series becuase the line series will have 6 of the >> January's, 6 of the February's and so on. >> >> I just want to have 9 xfields and not 54 and 6 months and not 9 of each. >> >> Is there a way to solve this please? >> >> Regards, >> Wesley >> >> > >