[flexcoders] External CSS file in Flex 4

2010-09-03 Thread Ghost Hack
Hi people, i'm having some trouble while using the tag fx:Style source=assets/mycss.css /. When I generate a release of my project, Flex 4 embed my CSS file into compiled application, while i want to use PHP to generate dynamic CSS based on the user configuration in database. Is there any

Re: [flexcoders] External CSS file in Flex 4

2010-09-03 Thread claudiu ursica
Even when loaded run-time the css file comes compiled as a .swf. So what you are trying to achieve there is kind of impossible unless you can somehow compile the swf with PHP. Which I have not heard to be possible yet but maybe I'm mistaking. C From: Ghost

Re: [flexcoders] External CSS file in Flex 4

2010-09-03 Thread Alex Harui
Flash.text.StyleSheet can do some limited parsing of .CSS. You can then copy the values into a Flex CSSStyleDeclaration. On 9/3/10 6:19 AM, claudiu ursica the_bran...@yahoo.com wrote: Even when loaded run-time the css file comes compiled as a .swf. So what you are trying to achieve

RE: [flexcoders] Drop Target indicator visibility issue

2010-09-03 Thread Philip Smith
Still experiencing the drop indicator visibility issue. This method handles the 'dragOver event (and is executing): private function onDragOver(de:DragEvent):void { de.preventDefault(); var owner:List = this.owner as List;

Re: [flexcoders] Drop Target indicator visibility issue

2010-09-03 Thread Alex Harui
I think the dropIndicator gets its width/height in showDropIndicator. I think there is default drag/drop code in List. Compare your override against that code. On 9/3/10 9:33 AM, Philip Smith loudj...@hotmail.com wrote: Still experiencing the drop indicator visibility issue. This

Re: [flexcoders] Tree - itemClose and change

2010-09-03 Thread Richard Rodseth
I was able to work around this issue by accessing selectedItem and updating my presentation model during the itemClose operation. But to answer your question, it looks like I get two valueCommits when closing a node. On Thu, Sep 2, 2010 at 10:58 PM, Alex Harui aha...@adobe.com wrote: I

Re: [flexcoders] Calendar Component Needed

2010-09-03 Thread Tom McNeer
Actually ... On Fri, Sep 3, 2010 at 2:02 PM, Dan Pride danielpr...@yahoo.com wrote: Can respond off list if preferred to danielpr...@yahoo.comdanielpride%40yahoo.com There are probably others of us who'd be interested in hearing an on-list reply, even if it's a sales pitch. I'm evaluating

Re: [flexcoders] Calendar Component Needed

2010-09-03 Thread Jeffry Houser
Dan, Have you checked out our Flextras Calendar? Free developer editions are available so you can prove it'll work for your application. ( http://www.flextras.com/?event=ProductHomeproductID=15 ). The component has no ties to a backend, but you could easily populate it with data from a

Re: [flexcoders] Calendar Component Needed

2010-09-03 Thread Jeffry Houser
Tom, I can re-iterate my plug for the Flextras Calendar. ( http://www.flextras.com/?event=ProductHomeproductID=15 ). It is completely customizable. And I will respond to any requests. If it works for you, great tell us why! IF it doesn't; well I want to know that too! On 9/3/2010

Re: [flexcoders] Tree - itemClose and change

2010-09-03 Thread Alex Harui
ValueCommit is supposedly for “any changes to selection”, the change event is supposedly only for user-initiated changes to selection. The binding system listens to both. The change of selection on close is currently seen as programmatic since the user didn’t directly do it, but I think there

Re: [flexcoders] Tree - itemClose and change

2010-09-03 Thread Richard Rodseth
Thanks. I'll consider using valueCommit in this case. I'd only used it in the context of things like text fields before. On Fri, Sep 3, 2010 at 1:06 PM, Alex Harui aha...@adobe.com wrote: ValueCommit is supposedly for “any changes to selection”, the change event is supposedly only for

Re: [flexcoders] Calendar Component Needed

2010-09-03 Thread Tom McNeer
Hi Jeffry, On Fri, Sep 3, 2010 at 2:49 PM, Jeffry Houser jef...@dot-com-it.com wrote: I can re-iterate my plug for the Flextras Calendar. You certainly may. I'm evaluating it along with others. -- Thanks, Tom Tom McNeer MediumCool http://www.mediumcool.com 1735 Johnson Road NE

RE: [flexcoders] External CSS file in Flex 4

2010-09-03 Thread Pearl Fernandes
The alternative to compiling the swf would be to parse the css file at runtime and set each style. This link should help you. http://stackoverflow.com/questions/204924/how-do-you-dynamically-load-a- css-file-into-a-flex-application From:

RE: [flexcoders] External CSS file in Flex 4

2010-09-03 Thread Pearl Fernandes
Flex by default embeds css into your application. For Dynamic css, you need to use the styleManager class and load the compiled style swf (http://livedocs.adobe.com/flex/3/html/help.html?content=styles_10.html ) From: flexcoders@yahoogroups.com

Re: [flexcoders] External CSS file in Flex 4

2010-09-03 Thread Geckko
Hi Ghost: Have you tried to compile the CSS files and then use the StyleManager? I have something similar in my app and i use StyleManager to load the different CSS El 03/09/10 14:54, Ghost Hack escribió: Hi people, i'm having some trouble while using the tag fx:Style

[flexcoders] Issue with raw PDF in AIR

2010-09-03 Thread mads_mao
Hi guys, I am really hoping you can help me shed some light on this issue. I am trying to download a PDF-file from the web. The file is generated by OpenOffice.org through the excellent JODConverter web-service. I have some Ruby code that will allow me to download the file and save it to disk.

Re: [flexcoders] Calendar Component Needed

2010-09-03 Thread Dan Pride
Seems odd that a basic modifiable calendar isn't a standard adobe supplied component. Its probably almost as common as a datagrid in applications.Dan --- On Fri, 9/3/10, Tom McNeer tmcn...@gmail.com wrote: From: Tom McNeer tmcn...@gmail.com Subject: Re: [flexcoders] Calendar Component Needed

Re: [flexcoders] Calendar Component Needed

2010-09-03 Thread Jeffry Houser
Tom, I appreciate you taking a look at ours. I would welcome any feedback you have, the good and the bad. The Calendar can be a bit of a monolith at first glance, so I'm here to help as best I can. Feel free to stop by one of our Flextras Friday Lunch live QA sessions and put me on the