Re: [flexcoders] flex-iframe (resize panel container based on html doc height)

2010-01-15 Thread Julien Nicoulaud
Those examples don't work ? http://flex-iframe.googlecode.com/svn/trunk/examples/build/SimpleHtml/SimpleHtml.html http://flex-iframe.googlecode.com/svn/trunk/examples/build/Dashboard/dashboardsample.html http://flex-iframe.googlecode.com/svn/trunk/examples/build/IFrameDemo/IFrameDemo.html

Re: [flexcoders] Flex4: getChildById or getElementById

2010-01-15 Thread Ondina F
So obvious and simple! Thank you!! [Shame on me: my first posting in here looks like spam. Once again, I'm sorry.] Ondina From: Gordon Smith gosm...@adobe.com To: flexcoders@yahoogroups.com flexcoders@yahoogroups.com Sent: Fri, January 15, 2010 8:00:33 AM

[flexcoders] IGraphicElement and LayoutBase

2010-01-15 Thread Florian
Why is it not possible to draw an IGraphicElement into a Group which has a LayoutBase instance applied to it? ?xml version=1.0 encoding=utf-8? s:Application xmlns:fx=http://ns.adobe.com/mxml/2009; xmlns:s=library://ns.adobe.com/flex/spark xmlns:mx=library://ns.adobe.com/flex/halo

[flexcoders] Iframe issue

2010-01-15 Thread praveeen kg
Hi, I'm using an iframe in my flex application to load a pdf file. Now the problem that i'm facing with this is that when i try to save the file using the save button available in the pdf viewer the file name of the downloaded file will be the entire link to the loaded pdf file. How can i get rid

[flexcoders] Re: apply style in newly created component

2010-01-15 Thread valdhor
I don't understand. Once you use the new operator, the button is instantiated. You can apply all sorts of styles to it before adding it to the displayList. For example, this works for me... var button:Button = new Button; button.label = My Fancy New Button;

[flexcoders] Selected item is not a visual component = FlexBuilder3

2010-01-15 Thread Davis Ford
Hi, if I create my own custom MXML component, e.g. ?xml version=1.0 encoding=utf-8? mx:Canvas xmlns:mx=http://www.adobe.com/2006/mxml width=100% height=100% /mx:Canvas ...and I try to drop it in FB design view inside some other component, I can't seem to visualize it in design view. When I

[flexcoders] Java Question

2010-01-15 Thread Dan Pride
I am thinking of making the jump to Java Seems like its the platform of choice for Flex Data Two quick questions 1) Whats the best exam to certifiy for 2) Whats the cheapest 3) How long to get by the cert for a normal bright level (not genius but bright) programmer? 4) Will the Cert do me any

[flexcoders] How to set minWidth/minHeight property?

2010-01-15 Thread markflex2007
Hi, I am very confuse how to use the properties? Do you have a demo to explain to give me a idea? Thanks Mark

Re: [flexcoders] How to set minWidth/minHeight property?

2010-01-15 Thread Fotis Chatzinikos
What exactly is the problem? They do what they say: They keep the component from getting smaller than what you set: mx:VBOX width=100% minWidth =100/ This box can now be any width larger than 100. if you stick it inside a container that is lets say 500 pixels then it becomes 500 hundrend if

Re: [flexcoders] Re: apply style in newly created component

2010-01-15 Thread Erik de Bruin
Hi, I think he's trying to set a named CSS style (myStyle) on the Button using setStyle(). I don't think that's possible? EdB On Fri, Jan 15, 2010 at 3:02 PM, valdhor valdhorli...@embarqmail.comwrote: I don't understand. Once you use the new operator, the button is instantiated. You can

[flexcoders] Re: Displaying additional child nodes in Datatip

2010-01-15 Thread Monette
Below is my DataTipFunction. The commented part on top works fine. However, there is additional information that I need to include from the XML file into the data tip. When I mouse over the datapoint I would like to retrieve from the XML file the additional child nodes that correspond with that

Re: [flexcoders] Java Question

2010-01-15 Thread Tom Chiverton
On Friday 15 Jan 2010, Dan Pride wrote: I am thinking of making the jump to Java I think around these parts you'll be given the impression that on the desktop, AIR is a better path :-) Seems like its the platform of choice for Flex Data Two quick questions Oh, you're talking about servers ?

[flexcoders] Re: apply style in newly created component

2010-01-15 Thread valdhor
In that case he should use the styleName property... .myStyle { cornerRadius: 9; fillAlphas: 1, 1, 1, 1; fillColors: #6699ff, #6699ff, #6699ff, #6699ff; themeColor: #00ff00; fontSize: 24; }

Re: [flexcoders] Re: apply style in newly created component

2010-01-15 Thread Vivian Richard
Actually I am trying to apply a very simple style to a chart. My chart is inside a canvas component and in a separate file. I want to add this chart containing canvas in dynamically. This component is like this: ?xml version=1.0 encoding=utf-8? mx:Canvas

Re: [flexcoders] Flash Player Standalone vs Browser performance

2010-01-15 Thread Tom Chiverton
On Tuesday 12 Jan 2010, Matt wrote: I am trying to figure out whether such a great disparity is expected. It doesn't surprise me. Outside the browser, Flash has to do a lot less work. 4. The Browser Flash Players are inferior implementations. There Well, 'different' certainly :-) As a

[flexcoders] Re: apply style in newly created component

2010-01-15 Thread invertedspear
use the styleName option if your applying a CSS to it: mychart.styleName = noGutterChart; --- In flexcoders@yahoogroups.com, Vivian Richard kanps...@... wrote: Actually I am trying to apply a very simple style to a chart. My chart is inside a canvas component and in a separate file. I want to

[flexcoders] Re: apply style in newly created component

2010-01-15 Thread valdhor
Hm I don't use charts. Maybe you could try... myComp.myChart.styleName = noGutterChart; Actaully, the myChart component may not have been instantiated at that point. I would add a creationComplete event handler to the myChart component that dispatches a custom event that will bubble up to

Re: [flexcoders] Re: apply style in newly created component

2010-01-15 Thread Vivian Richard
I just tried as suggested and still the same. May be it does not get instantiated until it is added in its parent. May be!!! On Fri, Jan 15, 2010 at 10:50 AM, valdhor valdhorli...@embarqmail.comwrote: Hm I don't use charts. Maybe you could try...

[flexcoders] Re: Displaying additional child nodes in Datatip

2010-01-15 Thread turbo_vb
Yeah, you're very close. Now it's just a matter of xml. I'd start by tracing o. If the children are still in o, then drill down. Otherwise, you'll have to go and find the nodes; like you're trying below. Some things that you can start with: trace( o.toXMLString() );

[flexcoders] Re: Issue with packages and folders - ui

2010-01-15 Thread jer_ela
A better workaround is to drag it into gauge and then use move to put it into controls which will get expanded and you will be able to drag stuff to it thereafter. I like the way they roll up the empty packages, as it saves a lot of clicks if you have a deep package structure. That does

[flexcoders] Re: flex 4 text styling

2010-01-15 Thread Ariel J
Thank you for that. --- In flexcoders@yahoogroups.com, Ariel J arielj...@... wrote: In the language reference, I see styles such as fontSharpness and fontAntiAliasType for Label, but I am not seeing them as styles for the spark Label or RichText. Are they no longer being used?

Re: [flexcoders] Java Question

2010-01-15 Thread Paul Hastings
On 1/16/2010 12:44 AM, Kelly wrote: I know CF and Java and I would never use CF for a Flex backend. Java is so much nicer to work with and so much more powerful. sorry but it doesn't sound like you know cf very well. whatever you think you can do in java, you can do in cf though with much

[flexcoders] Re: IGraphicElement and LayoutBase

2010-01-15 Thread Ariel J
You can. It's just that the constraint based sizing of the inner rect doesn't work when you use a vertical layout. Change them to height and width values of 100% and you'll see. --- In flexcoders@yahoogroups.com, Florian florian.saliho...@... wrote: Why is it not possible to draw an

Re: [flexcoders] Java Question

2010-01-15 Thread Dan Pride
just learning core Java, Servlets, Java Servers, BlazeDS, and Spring. Can you suggest a source for learning them that would be most applicable for Flex? Also,... Any idea of the time required for most for this? Like how would it compare to an Oracle Cert for example? Weeks, Months or Years?

Re: [flexcoders] Java Question

2010-01-15 Thread Fotis Chatzinikos
I would leave Spring for the end it has quite a learning curve even for experienced java developers plus you will not need it for most cases - except if you develop for sites that have millions of hits per day and you cannot do without caching and similar technologies... If you know a programming

Re: [flexcoders] Java Question

2010-01-15 Thread Paul Andrews
Kelly wrote: Most of the certs require you to learn tons of crap you will never use with Java/Flex development. I would suggest just learning core Java, Servlets, Java Servers, BlazeDS, and Spring. After that decide if you care about getting certified. Tom suggested learning CF

Re: [flexcoders] Java Question

2010-01-15 Thread Fotis Chatzinikos
And to clarify an earlier post Cold Fusion IS A Java backend with extra functionality geared towards easier application development (never used it thought so i might be wrong :-) On Fri, Jan 15, 2010 at 8:11 PM, Fotis Chatzinikos fotis.chatzini...@gmail.com wrote: I would leave Spring for the

Re: [flexcoders] Java Question

2010-01-15 Thread Paul Andrews
Fotis Chatzinikos wrote: And to clarify an earlier post Cold Fusion IS A Java backend with extra functionality geared towards easier application development (never used it thought so i might be wrong :-) ColdFusion is written in Java, but it is NOT a Java development system.

[flexcoders] Re: apply style in newly created component

2010-01-15 Thread valdhor
Try this... ?xml version=1.0? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; xmlns:local=* creationComplete=onCreationComplete() mx:Style .noGutterChart { gutterLeft:0; gutterBottom:0; gutterTop:0;

[flexcoders] Re: apply style in newly created component

2010-01-15 Thread Amy
--- In flexcoders@yahoogroups.com, valdhor valdhorli...@... wrote: Hm I don't use charts. Maybe you could try... myComp.myChart.styleName = noGutterChart; Actaully, the myChart component may not have been instantiated at that point. I would add a creationComplete event handler

Re: [flexcoders] Java Question

2010-01-15 Thread Dan Pride
Thanks. I have an Oracle Cert but is PLSQL, never did the j2ee unfortunately. Php is all going to object oriented which is fine but my past experience with C apps that try to become OOP tells me to avoid it like the plague. Procedural languages that try to morph to objects always seem to be one

Re: [flexcoders] Java Question

2010-01-15 Thread Dan Pride
Curious, how many of the 20 were cairngorm? Thanks Dan Pride --- On Fri, 1/15/10, Kelly dek...@gmail.com wrote: From: Kelly dek...@gmail.com Subject: Re: [flexcoders] Java Question To: flexcoders@yahoogroups.com Date: Friday, January 15, 2010, 1:31 PM  

[flexcoders] Re: Flash Player Standalone vs Browser performance

2010-01-15 Thread Matt
Tom- I was actually unaware of the GPU options. I will take a look at those options (direct and gpu) or perhaps just eliminate our use of wmode=transparent, which may be unnecessary for what we need to do. Thanks for the heads up. Matt --- In flexcoders@yahoogroups.com, Tom Chiverton

[flexcoders] Can a canvas be scrollable without the scrollbars?

2010-01-15 Thread flexaustin
Anyone know of a way to set the horizontalScrollPolicy and verticalScrollPolicy both to false so that the scrollbars don't show, but still have the canvas scroll? I have content that inside the canvas that will always be larger than the canvas so I want to be able to scroll without showing any

Re: [flexcoders] Can a canvas be scrollable without the scrollbars?

2010-01-15 Thread Fotis Chatzinikos
You can use horizontal and verticalScrollPosition with scrollpolicies set to false On Fri, Jan 15, 2010 at 10:11 PM, flexaustin flexaus...@yahoo.com wrote: Anyone know of a way to set the horizontalScrollPolicy and verticalScrollPolicy both to false so that the scrollbars don't show, but

Re: [flexcoders] Re: apply style in newly created component

2010-01-15 Thread Vivian Richard
Worked liked charm!!! I guess valdhor also suggested something like this in one of his initial mails. Thanks to all On Fri, Jan 15, 2010 at 12:45 PM, Amy amyblankens...@bellsouth.net wrote: --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, valdhor valdhorli...@...

[flexcoders] Re: Displaying additional child nodes in Datatip

2010-01-15 Thread Monette
Tim, Your recommendation sounds so simple and logical but I am not getting it to work. My problem is parsing the XML and returning the correct info for the datapoints. Following, is a sample of my XML file: items week name=1 session sessionnameBaseline/sessionname

[flexcoders] LocalConnection has me really confused

2010-01-15 Thread djhatrick
I can't get localConnection working with flashplayer and the air app. Is this going to be fixed in 10.1. I'm into about 5 hours of trying to make this to work and getting nowhere. I've read about connections staying open, but have yet to send anything successfully between flash and air.

[flexcoders] Re: Flex address/handle for toString() tracing

2010-01-15 Thread yaksaver
Thanks for the response, Alex. What's the bug/feature-request ID this is logged under, please? I'd love to vote for it. (I found it hard to find, probably since I wasn't sure what it was called! ... bit of a case of knowing a thing's name gives you power over it, huh!) Thanks, R. --- In

Re: [flexcoders] LocalConnection has me really confused

2010-01-15 Thread Alex Harui
Did you use “_” as described here? http://livedocs.adobe.com/flex/3/html/help.html?content=17_Networking_and_communications_4.html On 1/15/10 3:51 PM, djhatrick djhatr...@yahoo.com wrote: I can't get localConnection working with flashplayer and the air app. Is this going to be fixed in

[flexcoders] spark Form

2010-01-15 Thread Ariel J
Hi all. I need help debugging a port of the halo Form to spark. I can't get the FormItem to layout its children correctly. The TextInput in the example below sizes past the edge of the FormItem. Any help would be appreciated. ns:Form width=100% ns:FormItem label=URL:

[flexcoders] Unable Create a Flex project on the RDS enabled Coldfusion 8 Server Using FB 3

2010-01-15 Thread bharani
Hello I am trying to create a flex Project error :: Invalid root. The WEB-INF/flex folder must contain either flex-config.xml or services-config.xm,I am not sure where it is going wrong... My primary Task is to create a Flex project and run it from the server.. Please help

[flexcoders] Looking for change - Exp Flash/Flex 4 yrs

2010-01-15 Thread Pankaj Munjal
Hi all, Greeting for the day . i am looking for change. if some have requirment as Flash/Flex developer in your organization pls respond to me. will send you reusme Exp : 4 yrs. Skill Set - AS 3.0/2.0/1.0, Flex 3 , Blaze DS, FMS 3.5, Flash/flex Remoting, XML , HTML , JS , Java , PHP .

[flexcoders] Re: Displaying additional child nodes in Datatip

2010-01-15 Thread turbo_vb
Assuming that you have assigned an id to each series (baseline,2009-8), you could use something like this: private function dtFunction( o:HitData ):String { var index:int = ( LineSeries( o.element ).id == baseline ) ? 0 : 1; var s:String = bBook rate:/b + o.item.session[ index

Re: [flexcoders] Re: Flex address/handle for toString() tracing

2010-01-15 Thread Alex Harui
I doubt there is an existing bug. Log it against the Flash Player project, and don’t hold your breath. Most of us have our own trace output class like mx.log.Logger. On 1/15/10 4:00 PM, yaksaver yaksa...@yahoo.com wrote: Thanks for the response, Alex. What's the bug/feature-request