RE: [flexcoders] Help to create an object instance dynamically
Title: Help to create an object instance dynamically Hi Michel, Are you referencing this class elsewhere? If not, you need to in order for flex to compile it. A simple reference like: com.datasul.framework.custom.view.LoanForm; Might do the trick. Not sure about the rest of the code. You might want to try using eval() to get a reference to the class. Jim From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Michel Bertrand Sent: Thursday, September 15, 2005 4:26 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Help to create an object instance dynamically Hi all ! I'm trying to get a component instance using the following: var workspace:Workspace = Workspace.getInstance(); var name:String = "com.datasul.framework.custom.view.LoanForm"; var type:Function = ClassUtil.findClass(name); wkt = Workspace.getInstance(); wkt.createChild(type,name); Where: - Workspace: is an object extending mx.containers.Canvas; I suppose that retriving an Object using ClassUtil I would get an object instance. But it doesn't work in this fashion. So, I still tried to use wkt.createChild(type.call(),name), however no success. Did anybody has an idea to create my object dynamically and add it to a container ? Regards, Michel. -- 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 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] Submit Using Enter Key.
You can also use defaultPushButton getFocusManager().defaultPushButton = btnMyButton; From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Joe Sent: Thursday, October 06, 2005 7:55 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Submit Using Enter Key. Is possible to submit using the enter key within flex? -- 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 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] Cyclical reference error
Hello, We’ve been getting a strange error recently When compiling for the first time after starting JRUN / Flex, we get an error similar to: Cyclical reference to class…. Two MXML Files cannot reference each other as child tags. As far as I can tell, no MXML files are referencing each other. The really strange thing is that we are able to correct the issue by commenting out the MXML for the “offending” class, compiling, and then uncommenting and compiling again. Flex doesn’t complain at all and compiles fine until the next time we restart the server. Has anyone experienced this? Is there anything that could be causing this or that can be done about it? Best. Jim -- 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.
[flexcoders] Licensing and dev server compilation
Hello all, We have a client who has a Flex license for their server. We only wish for the compiled SWF to be deployed on their server, so they don’t have access to the MXML / AS source files. My question is: is there a way to compile our application on either a) our unlicensed development server or b) a development server using their license code (so there would at some times be multiple servers running the same license)? We are trying to avoid uploading source to their server for compilation. Any advice is appreciated, Jim -- 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 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] Case insensitive sorting on DataGrid
Hi, I’m sure that this must have come up a million times before, but I couldn’t find anything on the issue so I thought I’d ask here. Has anyone come up with a good way to do case insensitive sorting in a DataGrid? Is creating a hidden column for each sortable value the way to go? Perhaps a custom sort method? I understand there are some performance issues with the Flash Player’s string sorting, so I’d like to learn the most efficient way of handling this. Thanks, Jim -- 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 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] Using the ColorPicker component in Flex 1.5 extras
Hi all, I’d like to use the ColorPicker component that ships in the extras folder of Flex 1.5. Although the readme states: “The colorpicker folder contains: The ActionScript source, the .PNG and .AS files, along with the compiled component swc.” I don’t have the SWC file. I decided to do the logical thing, and compile it using Flash MX 2004. I created a component, associated the class, set the classpath to flex classes, and exported the swc. Then, I ran swcrepair : ColorPicker.swf: OK ColorPicker.png: OK catalog.xml: OK ColorPicker.asi: needs repair... looking in Accordion.swc looking in Application.swc looking in Binding.swc looking in Box.swc looking in Button.swc looking in CheckBox.swc looking in ComboBox.swc looking in ControlBar.swc looking in DataGrid.swc looking in DataGridColumn.swc looking in DateChooser.swc looking in DateField.swc looking in DividedBox.swc looking in DownloadProgressBar.swc looking in FlashRemoting.swc looking in Formatter.swc looking in FormItem.swc looking in HBox.swc looking in HScrollBar.swc looking in Image.swc looking in Label.swc looking in Link.swc looking in LinkBar.swc looking in List.swc looking in Loader.swc looking in MediaController.swc looking in MediaDisplay.swc looking in MediaPlayback.swc looking in MenuBar.swc looking in Move.swc looking in NumericStepper.swc looking in Panel.swc looking in Preloader.swc looking in ProgressBar.swc looking in RadioButton.swc looking in RadioButtonGroup.swc looking in Repeater.swc looking in SimpleButton.swc looking in TabBar.swc looking in TabNavigator.swc looking in TextArea.swc looking in TextInput.swc looking in TitleWindow.swc looking in Tree.swc looking in TreeDataProvider.swc looking in Validator.swc looking in VBox.swc looking in ViewStack.swc looking in VScrollBar.swc looking in Zoom.swc SWCRepair completed I then put this SWC in the appropriate Flex directory (other custom components work fine in this directory.) Upon running the ColorPickerSample.mxml (that also comes in the extras directory) I get this error (first compile only) C:\Program Files\Macromedia\Flex\jrun4\servers\default\streamline\s57\components\ColorPicker.swc does not define a sprite for ColorPicker class ColorPicker It’s probably something simple. Ideas, anyone? Jim -- 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] Using the ColorPicker component in Flex 1.5 extras
Well I gave up with trying to compile it in Flash, as there were too many compiler errors. Works fine with Flex. Can anyone tell me how to compile components in Flash when required classes are missing? In this case, mx.styles.CSSStyleSheet doesn’t come with Flex Classes (flexforflash.zip) and the compiler throws a bunch of other nasty messages about the UIObject methods createClassObjectWithStyles, getNonInheritingStyle, etc. SWCRepair didn’t fix it in this case. ?? Thanks. Jim From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Jim Phelan Sent: Saturday, November 12, 2005 5:03 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Using the ColorPicker component in Flex 1.5 extras Hi all, I’d like to use the ColorPicker component that ships in the extras folder of Flex 1.5. Although the readme states: “The colorpicker folder contains: The ActionScript source, the .PNG and .AS files, along with the compiled component swc.” I don’t have the SWC file. I decided to do the logical thing, and compile it using Flash MX 2004. I created a component, associated the class, set the classpath to flex classes, and exported the swc. Then, I ran swcrepair : ColorPicker.swf: OK ColorPicker.png: OK catalog.xml: OK ColorPicker.asi: needs repair... looking in Accordion.swc looking in Application.swc looking in Binding.swc looking in Box.swc looking in Button.swc looking in CheckBox.swc looking in ComboBox.swc looking in ControlBar.swc looking in DataGrid.swc looking in DataGridColumn.swc looking in DateChooser.swc looking in DateField.swc looking in DividedBox.swc looking in DownloadProgressBar.swc looking in FlashRemoting.swc looking in Formatter.swc looking in FormItem.swc looking in HBox.swc looking in HScrollBar.swc looking in Image.swc looking in Label.swc looking in Link.swc looking in LinkBar.swc looking in List.swc looking in Loader.swc looking in MediaController.swc looking in MediaDisplay.swc looking in MediaPlayback.swc looking in MenuBar.swc looking in Move.swc looking in NumericStepper.swc looking in Panel.swc looking in Preloader.swc looking in ProgressBar.swc looking in RadioButton.swc looking in RadioButtonGroup.swc looking in Repeater.swc looking in SimpleButton.swc looking in TabBar.swc looking in TabNavigator.swc looking in TextArea.swc looking in TextInput.swc looking in TitleWindow.swc looking in Tree.swc looking in TreeDataProvider.swc looking in Validator.swc looking in VBox.swc looking in ViewStack.swc looking in VScrollBar.swc looking in Zoom.swc SWCRepair completed I then put this SWC in the appropriate Flex directory (other custom components work fine in this directory.) Upon running the ColorPickerSample.mxml (that also comes in the extras directory) I get this error (first compile only) C:\Program Files\Macromedia\Flex\jrun4\servers\default\streamline\s57\components\ColorPicker.swc does not define a sprite for ColorPicker class ColorPicker It’s probably something simple. Ideas, anyone? Jim -- 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 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] Using the ColorPicker component in Flex 1.5 extras
Thanks Matt, I was just trying to compile it in Flash, as outlined in http://download.macromedia.com/pub/documentation/en/flex/15/flex_components_themes.pdf For use in Flex. But I guess I don’t need to in this case. From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Matt Chotin Sent: Saturday, November 12, 2005 6:17 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Using the ColorPicker component in Flex 1.5 extras SWCs for Flex 1.5 aren’t really intended to work in MX 2004, just Flex. From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Jim Phelan Sent: Saturday, November 12, 2005 3:14 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Using the ColorPicker component in Flex 1.5 extras Well I gave up with trying to compile it in Flash, as there were too many compiler errors. Works fine with Flex. Can anyone tell me how to compile components in Flash when required classes are missing? In this case, mx.styles.CSSStyleSheet doesn’t come with Flex Classes (flexforflash.zip) and the compiler throws a bunch of other nasty messages about the UIObject methods createClassObjectWithStyles, getNonInheritingStyle, etc. SWCRepair didn’t fix it in this case. ?? Thanks. Jim From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Jim Phelan Sent: Saturday, November 12, 2005 5:03 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Using the ColorPicker component in Flex 1.5 extras Hi all, I’d like to use the ColorPicker component that ships in the extras folder of Flex 1.5. Although the readme states: “The colorpicker folder contains: The ActionScript source, the .PNG and .AS files, along with the compiled component swc.” I don’t have the SWC file. I decided to do the logical thing, and compile it using Flash MX 2004. I created a component, associated the class, set the classpath to flex classes, and exported the swc. Then, I ran swcrepair : ColorPicker.swf: OK ColorPicker.png: OK catalog.xml: OK ColorPicker.asi: needs repair... looking in Accordion.swc looking in Application.swc looking in Binding.swc looking in Box.swc looking in Button.swc looking in CheckBox.swc looking in ComboBox.swc looking in ControlBar.swc looking in DataGrid.swc looking in DataGridColumn.swc looking in DateChooser.swc looking in DateField.swc looking in DividedBox.swc looking in DownloadProgressBar.swc looking in FlashRemoting.swc looking in Formatter.swc looking in FormItem.swc looking in HBox.swc looking in HScrollBar.swc looking in Image.swc looking in Label.swc looking in Link.swc looking in LinkBar.swc looking in List.swc looking in Loader.swc looking in MediaController.swc looking in MediaDisplay.swc looking in MediaPlayback.swc looking in MenuBar.swc looking in Move.swc looking in NumericStepper.swc looking in Panel.swc looking in Preloader.swc looking in ProgressBar.swc looking in RadioButton.swc looking in RadioButtonGroup.swc looking in Repeater.swc looking in SimpleButton.swc looking in TabBar.swc looking in TabNavigator.swc looking in TextArea.swc looking in TextInput.swc looking in TitleWindow.swc looking in Tree.swc looking in TreeDataProvider.swc looking in Validator.swc looking in VBox.swc looking in ViewStack.swc looking in VScrollBar.swc looking in Zoom.swc SWCRepair completed I then put this SWC in the appropriate Flex directory (other custom components work fine in this directory.) Upon running the ColorPickerSample.mxml (that also comes in the extras directory) I get this error (first compile only) C:\Program Files\Macromedia\Flex\jrun4\servers\default\streamline\s57\components\ColorPicker.swc does not define a sprite for ColorPicker class ColorPicker It’s probably something simple. Ideas, anyone? Jim -- 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 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] Accordion Header Icons - Changing during runtime
Hey Niklas, I’ve done this before. I’m accomplishing it with a custom class for the header, but if all you need is the icon you should be able to use something like accd.getHeaderAt(0).icon = “iconLinkage” Since AccordianHeader is a subclass of Button, it should work just fine. Jim From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Niklas Richardson Sent: Thursday, November 17, 2005 11:24 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Accordion Header Icons - Changing during runtime Crapola! So you'd need some custom header class huh? Thanks. Niklas On 17/11/05, Sreejith Unnikrishnan <[EMAIL PROTECTED]> wrote: > The icon is embedded at compile time and may not be changed dynamically. > But then I could be wrong! > > Sree > > > Niklas Richardson wrote: > Hi all, > > I have hunted high and low for an answer to this and I've played > around with accordion.getHeaderAt(), getChildAt(), but to no avail. > > Basically, I want to change the icon for a specific accordion header > depending on a certain state of that child. > > There doesn't seem to be a way at runtime to change the icon. > > Does anyone know a solution to this? > > Thanks. Your help is much appreciated. > > Cheers > > Niklas > > > > -- > 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 > > > 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. > > > -- Niklas Richardson Prismix Ltd Flex and ColdFusion Experts! -- 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 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] Accordion Header Icons - Changing during runtime
The custom class might not benefit you (it has some other features like a close button), but try this: Button(accd.getHeaderAt(0)).icon From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Niklas Richardson Sent: Thursday, November 17, 2005 11:51 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Accordion Header Icons - Changing during runtime Unfortunately I tried: accd.getHeaderAt(0).icon and it doesn't work. It says "icon" does not exist. I think that's because getHeaderAt() returns a UIComponent object. Would you be willing to share your custom header class? Thanks Niklas On 17/11/05, Jim Phelan <[EMAIL PROTECTED]> wrote: > > > > Hey Niklas, > > > > I've done this before. I'm accomplishing it with a custom class for the > header, but if all you need is the icon you should be able to use something > like accd.getHeaderAt(0).icon = "iconLinkage" Since AccordianHeader is a > subclass of Button, it should work just fine. > > > > Jim > > > > > > > From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On > Behalf Of Niklas Richardson > Sent: Thursday, November 17, 2005 11:24 AM > To: flexcoders@yahoogroups.com > Subject: Re: [flexcoders] Accordion Header Icons - Changing during runtime > > > > Crapola! So you'd need some custom header class huh? > > Thanks. > > Niklas > > On 17/11/05, Sreejith Unnikrishnan <[EMAIL PROTECTED]> wrote: > > The icon is embedded at compile time and may not be changed dynamically. > > But then I could be wrong! > > > > Sree > > > > > > Niklas Richardson wrote: > > Hi all, > > > > I have hunted high and low for an answer to this and I've played > > around with accordion.getHeaderAt(), getChildAt(), but to no avail. > > > > Basically, I want to change the icon for a specific accordion header > > depending on a certain state of that child. > > > > There doesn't seem to be a way at runtime to change the icon. > > > > Does anyone know a solution to this? > > > > Thanks. Your help is much appreciated. > > > > Cheers > > > > Niklas > > > > > > > > -- > > 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 > > > > > > 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. > > > > > > > > > -- > Niklas Richardson > Prismix Ltd > > Flex and ColdFusion Experts! > > > > -- > 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 > > > 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. > > > > > -- Niklas Richardson Prismix Ltd Flex and ColdFusion Experts! -- 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 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] ComboBox and Icons
Hey Andre, I just had to address this earlier this week, and I had to write two custom subclasses to make it work. If you’re interested I might be able to clean them up and share it, but it might take a day or two to get around to it. Jim From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Andre Ehlert Sent: Thursday, November 17, 2005 10:53 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] ComboBox and Icons Hi all, does anybody know, if there is a possibility to add an icon to each item of a combobox - (I know it works with a mx:List via attribute iconField... :) thanxs andré ehlert -- 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 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] Accordion Header Icons - Changing during runtime
Hey Niklas, Here’s a quick and dirty example: Naturally you’d need files named plus.png and minus.png to make it work. Let me know if this helps. Jim From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Niklas Richardson Sent: Friday, November 18, 2005 6:33 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Accordion Header Icons - Changing during runtime Hi Jim, I gave that a shot and still to no avail. Still get the error: "There is no property with the name 'icon'." Oh well. Perhaps I need to figure out these custom header classes! Thanks for the help. Cheers Niklas On 17/11/05, Jim Phelan <[EMAIL PROTECTED]> wrote: > > > > The custom class might not benefit you (it has some other features like a > close button), but try this: > > > > Button(accd.getHeaderAt(0)).icon > > > > > > > From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On > Behalf Of Niklas Richardson > Sent: Thursday, November 17, 2005 11:51 AM > > To: flexcoders@yahoogroups.com > Subject: Re: [flexcoders] Accordion Header Icons - Changing during runtime > > > > Unfortunately I tried: > > accd.getHeaderAt(0).icon > > and it doesn't work. It says "icon" does not exist. I think that's > because getHeaderAt() returns a UIComponent object. > > Would you be willing to share your custom header class? > > Thanks > > Niklas > > On 17/11/05, Jim Phelan <[EMAIL PROTECTED]> wrote: > > > > > > > > Hey Niklas, > > > > > > > > I've done this before. I'm accomplishing it with a custom class for the > > header, but if all you need is the icon you should be able to use > something > > like accd.getHeaderAt(0).icon = "iconLinkage" Since AccordianHeader is a > > subclass of Button, it should work just fine. > > > > > > > > Jim > > > > > > > > > > > > > > From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On > > Behalf Of Niklas Richardson > > Sent: Thursday, November 17, 2005 11:24 AM > > To: flexcoders@yahoogroups.com > > Subject: Re: [flexcoders] Accordion Header Icons - Changing during > runtime > > > > > > > > Crapola! So you'd need some custom header class huh? > > > > Thanks. > > > > Niklas > > > > On 17/11/05, Sreejith Unnikrishnan <[EMAIL PROTECTED]> wrote: > > > The icon is embedded at compile time and may not be changed > dynamically. > > > But then I could be wrong! > > > > > > Sree > > > > > > > > > Niklas Richardson wrote: > > > Hi all, > > > > > > I have hunted high and low for an answer to this and I've played > > > around with accordion.getHeaderAt(), getChildAt(), but to no avail. > > > > > > Basically, I want to change the icon for a specific accordion header > > > depending on a certain state of that child. > > > > > > There doesn't seem to be a way at runtime to change the icon. > > > > > > Does anyone know a solution to this? > > > > > > Thanks. Your help is much appreciated. > > > > > > Cheers > > > > > > Niklas > > > > > > > > > > > > -- > > > 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 > > > > > > > > > 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. > > > > > > > > > > > > > > > -- > > Niklas Richardson > > Prismix Ltd > > > > Flex and ColdFusion Experts! > > > > > > > > -- > > Flexcoders Mailing List > > FAQ: > > > http://gr
RE: [flexcoders] Combining graphic and programmatic themes - a better way?
Brian, thanks for the response. I found that in “About theme limitations” at http://livedocs.macromedia.com/flex/15/flex_docs_en/wwhelp/wwhimpl/common/html/wwhelp.htm?context=Flex_Documentation&file=0577.htm I tried adding the skin through Flash authoring by attaching the class to a symbol in the usual way, but it did not work out. I got some compiler errors (since I was referencing some container classes that aren’t included in the flexforflash library) and ran SWCRepair, but the theme didn’t take effect. Flash also generated a ton of ASI’s for every dependent class of the class I subclassed, increasing the swc file size pretty dramatically. I’m not sure if exclude.xml will work when exporting a component, or if there might be a better way of accomplishing this. I later realized that simply referencing the class name anywhere in AS makes the theme work just fine, so this is a satisfactory solution for now. I assume I could add it to a RSL as well. How would one add the swf skin using compc? I didn’t spend much time on it, but I couldn’t find a way to add swf’s to swc’s using compc. Perhaps there is a way to add classes to an already created swc? Best, Jim From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Brian Deitte Sent: Monday, September 05, 2005 10:34 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Combining graphic and programmatic themes - a better way? Hi Jim, that's a pretty interesting solution that technically should work, but the catalog.xml has many exceptions, caveats, and magical properties. I would suggest staying away from it if you can. Did you try just adding both the programmatic and graphical skins to the SWC (through compc or Flash Authoring)? I don't see any real reason why you cannot add both of these to a SWC file. Can you tell me where this is in the documentation? Thanks, Brian From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Jim Phelan Sent: Sunday, September 04, 2005 1:17 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Combining graphic and programmatic themes - a better way? Hi all, I’m new to the list and somewhat new to Flex development. I found this in the Macromedia documentation: You cannot combine both programmatic skins and graphical skins in a single SWC file. After toying with it for a while, I found that by manually editing the catalog.xml file in the swc and adding my swf of graphical elements manually, I was able to accomplish what I wanted. Is there a more streamlined solution to this? Has anyone created a utility to automate this? If not, is there an interest in such a utility? Best, -- Jim Phelan VP of Development Stream57, LLC 462 7th Ave Suite 401 New York, NY 10018 -- -- 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 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] Remote objects and ASP
I don’t think there is a solution for classic ASP other than web services. You should use Macromedia’s Flash Remoting MX for .NET. You can tie a remote object into this by setting the endpoint attribute to the uri of the flash gateway. Jim From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of James Sent: Wednesday, September 07, 2005 7:48 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Remote objects and ASP I'm looking for help I'm trying to get remote objects from an ASP page or even an XML template from a MS SQL Server. Can it be done? Have you accomplished it? Is there an example that I can look at? -- 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 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.