[flexcoders] How to call an mxml from ActionScript----create tab

2010-03-17 Thread Nini7016 Nini7016
Hello :) I created a file MXML which 'creat many tab'. Then i created an ActionScript to call this file MXML (the tab), how can i call a file MXML ?? Or do you have an other methode which enables to create a tab in actionScript directly without creating a file MXML ?? AnyIdea please

RE: [flexcoders] How to call an mxml from ActionScript----create tab

2010-03-17 Thread Nini7016 Nini7016
I found a solution it 's ok :) To: flexcoders@yahoogroups.com From: nahloulaha...@hotmail.com Date: Wed, 17 Mar 2010 09:46:11 +0100 Subject: [flexcoders] How to call an mxml from ActionScriptcreate tab Hello :) I created a file

RE: [flexcoders] How to call an mxml from ActionScript----create tab

2010-03-17 Thread gopi shankar
you can call an mxml from action script like this way, in the actionscript var mxmlObj:mxml_Class = new mxml_Class(); addchild(mxmlObj) or else create a container like panel or canvas and add the mxmlObj to it. var panelObj:Panel = new Panel(); panelObj.addchild(mxmlObj); I hope this i have

[flexcoders] Flex Builder 3 and livecycle

2010-03-17 Thread ramos.work
Hello, I'm new at flex and livecycle developing. I'm Having a problem because when i create a new flex project on flex builder 3 and select livecycle data services and try to put the server location to my server, not locally i'm getting the same error: Invalid root. The WEB-INF/flex folder

[flexcoders] using custom components

2010-03-17 Thread hgnowhg
newbie here, using flex 4. I've seen many posts about creating custom components but none really explain how to use them in a text box or datagrid. How do I use my custom scrollbar in a datagrid? In my mxml application I have in the opening application tag the following:

Re: [flexcoders] Flash Buidler and Flash

2010-03-17 Thread Nick Collins
Flash Builder is a development tool. I would suggest using Flash CS4, as it is the successor of Flash 8, not Flash Builder. Even still, any fancy transitions, will still be custom work, either using a tweening library or the timeline. Also, I would suggest checking out the Gaia Flash Framework,

[flexcoders] daylight savings time and charts

2010-03-17 Thread netdeep
I have an app which displays any type of chart based on actionscript class definitions. It can't be done in mxml because the charts get drawn at runtime. It has worked fine until recently. The daylight savings time change has made it go all out of whack. I rebuilt a sample version in mxml

RE: [flexcoders] How to call an mxml from ActionScript----create tab

2010-03-17 Thread Nini7016 Nini7016
thank you Gopi Shankar :) To: flexcoders@yahoogroups.com From: sshankar0...@yahoo.co.in Date: Wed, 17 Mar 2010 16:07:37 +0530 Subject: RE: [flexcoders] How to call an mxml from ActionScriptcreate tab you can call an mxml from action

[flexcoders] Re: using custom components

2010-03-17 Thread valdhor
Check these two sites out for good examples of custom scrollbars for datagrids... http://www.switchonthecode.com/tutorials/flex-fun-advanced-datagrid-topics http://www.pixelbox.net/2008/06/02/skinning-scrollbars-in-flex-3/ --- In flexcoders@yahoogroups.com, hgnowhg hgno...@... wrote:

Re: [flexcoders] Flash Buidler and Flash

2010-03-17 Thread Dan Pride
It seem odd that there is no way to combine the two since they are both producing Flash flies with AS3?? --- On Wed, 3/17/10, Nick Collins ndcoll...@gmail.com wrote: From: Nick Collins ndcoll...@gmail.com Subject: Re: [flexcoders] Flash Buidler and Flash To: flexcoders@yahoogroups.com Date:

[flexcoders] fontSize

2010-03-17 Thread criptopus
Is it possible to indicate a fontSize relative to the current size of the font, i.e. text.setStyle(fontSize,x-large); dosn't seem to work for me?

[flexcoders] Download directory

2010-03-17 Thread Christophe
Hello, Is it possible to change the browser download directory from the Flex application ? Thank you, Christophe,

[flexcoders] Re: Flash Buidler and Flash

2010-03-17 Thread valdhor
You could also look into some of the tweening libraries for Flex... http://blog.greensock.com/tweenmaxas3/ http://blog.greensock.com/tweenliteas3/ http://code.google.com/p/tweener/ http://www.gskinner.com/libraries/gtween/ http://code.google.com/p/tweensy/ Actually, these are better...

[flexcoders] Re: problem with TextInput.setFocus, PopupManager, and Mac

2010-03-17 Thread mitchgrrt
I knew it was a problem on startup, when the JavaScript code has trouble giving focus to a TextInput (typically on a login form) on the first Flex screen that displays. This is a Mac problem I've read about elsewhere. What I'm asking about is inside a Flex app, using PopupManager. Flex is

[flexcoders] Validator Question

2010-03-17 Thread rojoe615
This is kind of a data hygiene issue, but wondered if there was a way to use Flex validation for this. Let's say there is a data grid and a form that shows the detail for the item selected in the data grid. A user will add records to the data grid from different sources and these sources have

[flexcoders] how to know in which tab we have done the mouseClick ??? any idea please

2010-03-17 Thread Nini7016 Nini7016
hello :) I created a tab, there is my code : var tab1: Canvas= new Canvas(); canvasBPMN.percentHeight=100; canvasBPMN.percentHeight = 100; canvasBPMN.percentWidth = 100; canvasBPMN.label = BPMN; var tab2: Canvas= new

[flexcoders] How to automatically accept a certificat via a ChannelSet or a RemoteObject?

2010-03-17 Thread pfogg18
Hi, Basically, I'm using a remote object that access to a secure EndPoint. This EndPoint is located into my server. It means that my channel is a SecureAMFChannel. If I accept the certificat by going directly to this URL with my browser, then I'm able to run my flex application and to exchange

Re: [flexcoders] daylight savings time and charts

2010-03-17 Thread Richard Rodseth
I posted about this recently, but it hasn't shown up. Turns out there's a bug in DateTimeAxis, fixed in 3.4 http://bugs.adobe.com/jira/browse/FLEXDMV-2043 On Wed, Mar 17, 2010 at 5:53 AM, netdeep deep...@chartertn.net wrote: I have an app which displays any type of chart based on

Re: [flexcoders] daylight savings time and charts

2010-03-17 Thread Richard Rodseth
Sorry, I missed that you'd tried 3.5a. It did fix my problem. On Wed, Mar 17, 2010 at 8:47 AM, Richard Rodseth rrods...@gmail.com wrote: I posted about this recently, but it hasn't shown up. Turns out there's a bug in DateTimeAxis, fixed in 3.4 http://bugs.adobe.com/jira/browse/FLEXDMV-2043

Re: [flexcoders] Re: canvas backgroundImage changed event?

2010-03-17 Thread Tino Dai
Maybe look into a timer and ans external function On Thu, Mar 11, 2010 at 5:47 PM, chuckjr itsmechuc...@yahoo.com wrote: I'm giving up on this one and trying a different approach. I'm loading the image as a child of the canvas instead of loading it into the backgroundImage. --- In

[flexcoders] Error 2123: Thrown locally?!

2010-03-17 Thread s_hernandez01
I usually am used to this error on the server side, but not locally. I have all these images that I'm trying to load from a CDN. When I run the Flex project locally, it freaks out giving me this error: But when I test online everything is fine: SecurityError: Error #2123: Security sandbox

[flexcoders] Re: flexlib | CanvasButtonAccordionHeader | Identify Child

2010-03-17 Thread ilikeflex
Hi valdhor I do not know why it did not come to my mind. Thanks for simple and best solution. ilikeflex --- In flexcoders@yahoogroups.com, valdhor valdhorli...@... wrote: In HeaderRenderer.mxml change the Checkbox to: mx:CheckBox click=checkBoxHandler(event)

[flexcoders] How to identify which child of tabNavigatoris clicked?

2010-03-17 Thread Nini7016 Nini7016
Hello I would like to know which child of tabNavigator is clicked : There is my code : public function TabOnglet() { super(); this.setStyle(borderStyle , solid); //this.percentHeight = 100; this.percentWidth = 100;

[flexcoders] Scroll Bars Headache

2010-03-17 Thread criptopus
I am creating a panel with a number of items in it that require the setting width=100% and height=100% but when it come to placing a panel within a window with scroll bars it don't like it. The window also defined as 100% width and height just re-sizes to fit the content of the panel rather

[flexcoders] Type coercion failed for the same class

2010-03-17 Thread cosmin
Hello all. This is a problem in Flash, actually, not Flex, but i think it might behave the same in Flex. Here's the scenario: I have 4 SWF files: main.swf, platform.swf, pluginLoader.swf and plugin.swf. pluginLoader.FLA and plugin.FLA are in the same folder, and share some of the classes. At this

Re: [flexcoders] Type coercion failed for the same class

2010-03-17 Thread Alex Harui
See the modules presentation on my blog. On 3/17/10 9:37 AM, cosmin flashcrow2...@yahoo.com wrote: Hello all. This is a problem in Flash, actually, not Flex, but i think it might behave the same in Flex. Here's the scenario: I have 4 SWF files: main.swf, platform.swf, pluginLoader.swf and

Re: [flexcoders] How to identify which child of tabNavigatoris clicked?

2010-03-17 Thread Alex Harui
Normally you listen for a CHANGE event and check the selectedIndex On 3/17/10 9:26 AM, Nini7016 Nini7016 nahloulaha...@hotmail.com wrote: Hello I would like to know which child of tabNavigator is clicked : There is my code : public function TabOnglet() { super();

Re: [flexcoders] Re: problem with TextInput.setFocus, PopupManager, and Mac

2010-03-17 Thread Alex Harui
Once the app is up and is “active” (focus is somewhere in the app), if you click on something and generate a popup, you may need to wait via callLater to set focus to a control in the popup. On 3/17/10 7:31 AM, mitchgrrt mitch_g...@hotmail.com wrote: I knew it was a problem on startup,

Re: [flexcoders] fontSize

2010-03-17 Thread Alex Harui
We only support pixel sizes On 3/17/10 6:20 AM, criptopus sd_br...@ntlworld.com wrote: Is it possible to indicate a fontSize relative to the current size of the font, i.e. text.setStyle(fontSize,x-large); dosn't seem to work for me? -- Alex Harui Flex SDK Team Adobe System, Inc.

[flexcoders] Re: How to create Flex 4 Library Project with custom namespace please ?

2010-03-17 Thread jer_ela
I have found that selecting Include all classes, doesn't actually include all classes. Selecting Select classes to include in library and then checking the checkbox next to the src directory seems to work get all the classes included. --- In flexcoders@yahoogroups.com, Adnan Doric

[flexcoders] Re: How to identify which child of tabNavigatoris clicked?

2010-03-17 Thread jamesfin
Here's a complete working example to start with... ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; layout=absolute applicationComplete=TabOnglet() mx:Script ![CDATA[ import

[flexcoders] Reuse a LabelFunction

2010-03-17 Thread Angelo Anolin
Hi FlexCoders, I have created a labelfunction which I use in my datagrid to format the display value. mx:DateFormatter id=df formatString=DD/MM/ / And this is the AS function private function labelFunctionTest(itm:Object, col:DataGridColumn) :String {     return

[flexcoders] Re: daylight savings time and charts

2010-03-17 Thread netdeep
Thanks for the reply. I was really hoping the new builds would fix the problem but they didn't. Even if they had, both 3.4 and 3.5a exhibit another bug which ruins my app. Whenever I refresh the data, the chart goes into some weird loop, redrawing its axis labels over and over again which

RE: [flexcoders] Re: How to identify which child of tabNavigatoris clicked?

2010-03-17 Thread Nini7016 Nini7016
Thanks for your help :) :) To: flexcoders@yahoogroups.com From: james.alan.finni...@gmail.com Date: Wed, 17 Mar 2010 16:55:14 + Subject: [flexcoders] Re: How to identify which child of tabNavigatoris clicked? Here's a complete working

[flexcoders] How to use blue plastic theme plz. Guide

2010-03-17 Thread raja_s_patil
Hello, I am developing my first flex project and I would like to use Blue Plastic theme to my project. I have downloaded the zip file but I could not make out how to apply to my application. Can Somebody guide me in form of a short how to, URL to related material, a example application etc.

RE: [flexcoders] Re: How to identify which child of tabNavigatoris clicked?

2010-03-17 Thread Nini7016 Nini7016
it is me again :) I don't understand evt.oldIndex how we can identify which child is cliked ??? Because depending the tab clicked i will do action :( Thank you very much :) :) it is very helpful To: flexcoders@yahoogroups.com From: james.alan.finni...@gmail.com Date: Wed, 17 Mar 2010

[flexcoders] Re: Reuse a LabelFunction

2010-03-17 Thread valdhor
Use an itemRenderer instead. If you need help creating one, let me know. --- In flexcoders@yahoogroups.com, Angelo Anolin angelo_ano...@... wrote: Hi FlexCoders, I have created a labelfunction which I use in my datagrid to format the display value. mx:DateFormatter id=df

[flexcoders] Re: How to use blue plastic theme plz. Guide

2010-03-17 Thread valdhor
Is this the one from fleksray? If so, there is a sample that you can download and check out the source to see how it's done. --- In flexcoders@yahoogroups.com, raja_s_patil kpr.rspa...@... wrote: Hello, I am developing my first flex project and I would like to use Blue Plastic theme to my

[flexcoders] Re: How to identify which child of tabNavigatoris clicked?

2010-03-17 Thread jamesfin
The oldIndex is the tab that was current before you click on another tab. So if you have two tabs (like in the demo) with the indices of 0 and 1 and you click on the second tab, the oldIndex will be zero (0) and the new tab will be one (1). If you then click on tab 1, oldIndex will be 1 and

Re: [flexcoders] Re: daylight savings time and charts

2010-03-17 Thread Richard Rodseth
Most of my charts are defined in MXML, but have dynamic portions (eg. the series list might be built dynamically). On Wed, Mar 17, 2010 at 1:19 PM, netdeep deep...@chartertn.net wrote: Thanks for the reply. I was really hoping the new builds would fix the problem but they didn't. Even if

RE: [flexcoders] Re: How to identify which child of tabNavigatoris clicked?

2010-03-17 Thread Nini7016 Nini7016
first of all, thank you very very much for your answers,, it is really very helpful ...I 'am hapyy so, here in the function changed i can do this : private function changed(evt:IndexChangedEvent):void{ trace(Tab changed from ( + evt.oldIndex + ) to ( + evt.newIndex +

[flexcoders] Pb with Amfphp

2010-03-17 Thread Christophe
Hello, In local, my application is working but with the server I have this error: Message: [MessagingError message='Destination 'amfphp' either does not exist or the destination has no channels defined (and the application does not define any default channels.)'] Detail: Couldn't establish

[flexcoders] air in action

2010-03-17 Thread cholid cholid
Hi all i've new question 1.i can't do launch my swf air app with adl in FB i just can do it from adl in Air sdk any one's know why it doesn't do? 2.and when i compile the app with adt it requesting to type some password (and i type it, but hasn't work to make air app) any one's know

Re: [flexcoders] Re: Reuse a LabelFunction

2010-03-17 Thread Alex Harui
Should be df.format(item[col.dataField]) On 3/17/10 1:41 PM, valdhor valdhorli...@embarqmail.com wrote: Use an itemRenderer instead. If you need help creating one, let me know. --- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com , Angelo Anolin angelo_ano...@... wrote:

Re: [flexcoders] Re: Reuse a LabelFunction

2010-03-17 Thread Angelo Anolin
Ho would I be able to specify other dataField based from your example? Say in my datagrid, col1's datafield is COL1 and col2 is COL2. Using the label function, I need to fully qualify the datafield name like: df.format(item[col.COL1]) which in turn I could only use for COL1. Since I have some

Re: [flexcoders] flexbuilder wierdness...

2010-03-17 Thread Tim Statler
You might look at mx:RadioButtonGroup as an example of a non-visual component that contains visual sub-components. http://livedocs.adobe.com/flex/3/langref/mx/controls/RadioButtonGroup.html Although after reading the API description it sounds like it might have a special relationship with the

Re: [flexcoders] Re: Reuse a LabelFunction

2010-03-17 Thread Angelo Anolin
I do know a bit of using itemrenderer.. Inline that is.. if you could post some example, I'd greatly appreciate it. would the itemrenderer be an as file or would it be inline as well? Thanks. Angelo From: valdhor valdhorli...@embarqmail.com To:

[flexcoders] FMS install issues....

2010-03-17 Thread grimmwerks
Not quite Flex but related... I'm having issues with installing my FMS setup on gnu linux -- I'm getting the old nspr libraries not found... the strange thing is that I *do* have them installed, and can find them via locate... ..but for some reason ldd fmscore does not find them at all