Re: [flexcoders] Data binding warning

2007-02-22 Thread julien castelain
Thanks for the reply Igor, I made the appropriate changes and the warning disappeared :) On 2/23/07, Igor Costa <[EMAIL PROTECTED]> wrote: In fact Julien You have to care about it, the basic steps to using kind solution you it a must to not using like this. For example here's a property way

[flexcoders] Re: Cairngorm's Anaemic Domain Model

2007-02-22 Thread John Menke
--- In flexcoders@yahoogroups.com, "Peter Martin" <[EMAIL PROTECTED]> wrote: > > I thought at this point it is worth jumping in to talk a bit about > Cairngorm Enterprise, which we are currently working on. > Peter, is there a public cairngorm repository where we can get a look at the Cairngorm

[flexcoders] Google Map API & Flex2.0 Integration??

2007-02-22 Thread sanjaypmg
Hi All, How can I integrate google map API with Flex? Has anybody done it? Please send your Comments\Ideas to get it done. Thanks in Advance, Sanjay

[flexcoders] Drag & Drop Question

2007-02-22 Thread jmfillman
See code below. After you drag an item from the list and drop it into the Canvas, how you do then drag the item you just dropped, have it run the dragDropHandler function, and then move the original item? http://www.adobe.com/2006/mxml"; layout="absolute" width="500" height="620" borderStyle="

Re: A Solution Found [flexcoders] How I can get the benefit of both startDrag() and DragManager.doDrag()?

2007-02-22 Thread Jae Pak
Igor, Thanks for your input. I personally like rviewer example. It demonstrates well the use of DragManager, but it misses one important feature that I was after, naming permanent location change of the drag initiator. Luckily, I made a break through in my implementation roadblock. I had

[flexcoders] XML not loading.. can't see what i have wrong.

2007-02-22 Thread Jayson
After trying some things on my own, I went to the help docs... I have the function exactly like it is in the docs and it doesn't work. I don't know if I'm missing something and I just dont see it.. or if what i have is wrong.. heres what I have... [Bindable] public var articleXML:XML; public va

[flexcoders] Re: Source formatting

2007-02-22 Thread iilsley
This is a feature I'd really like to see .. --- In flexcoders@yahoogroups.com, slangeberg <[EMAIL PROTECTED]> wrote: > > I know Eclipse has Java code formatting, so I'm sure a plug-in would be > feasible. The question is whether you could somehow adapt the Java one(s) > for ActionScript. Any ecl

[flexcoders] Using a downloaded theme in an application

2007-02-22 Thread André Rodrigues Pena
Hi all, the site http://www.scalenine.com/ has great themes I'd like to use. But the "how to install" link doesn't explain how to actually add it to your application. Can anyone explain me or indicate a site that explains? thanks in advance -- André Rodrigues Pena LOCUS www.locus.com.br Blog

[flexcoders] Re: FDS and licensing issues

2007-02-22 Thread Jayson
This is copied right from the Adobe download page for Flex and FDS Flex Data Services 2 Express A powerful solution for creating data-intensive rich applications. The Express edition is a free, non-expiring commercial-use product for applications deployed on a single machine with no more than on

[flexcoders] A simple, Cairngorm-based application available for download

2007-02-22 Thread indy_nagpal
Hi! I've posted a simple Flex-based contact manager application on my blog today. It uses Cairngorm 2.0. I wrote the application a few months back to get my head around the basic concepts of Cairngorm. If you are interested, you can get it at:  http://nagpals.com/blog/default.cfm/2007/2/23/A-sim

RE: [flexcoders] FDS and licensing issues

2007-02-22 Thread Matt Chotin
Hi Chaitnaya, We certainly offer OEM opportunities for Flex Data Services that may end up being quite economical for you depending on what you need to accomplish and how long it would take to build with other tools. Feel free to mail me offlist with some of your contact info and I can have som

Re: [flexcoders] Runtime CSS and embeded fonts not working

2007-02-22 Thread Hilary Bridel
Hi Bjorn, No. All I am doing is swapping a compile time css to a runtime css. Hilary -- On 2/23/07, Bjorn Schultheiss <[EMAIL PROTECTED]> wrote: Hi Hilary, Does your app make use of Modules? regards, Bjorn On 23/02/2007, at 1:28 PM, Hilary Bridel wrote: Hi All, I have a css fi

[flexcoders] Re: Flex 2 and the Browser

2007-02-22 Thread Jason Hanson
I am still trying to find a way to do this without using javaScript. The site that my SWF sets script access to 'never'. So I cannot use document.location.href Any other ways to get the URL of of the page the SWF is on? I know the the Flash player knows the URL, because it checks against when r

RE: [flexcoders] dataProvider question

2007-02-22 Thread Karl Johnson
Unless you have something that is preventing you from actually binding in mxml, you should just add dataProvider="{mycomponent.MyDataList}" as a property in the mx:List component. If you want to setup the bind in actionscript, you can use BindingUtils.bindProperty. http://livedocs.adobe.com/flex/

Re: [flexcoders] dataProvider question

2007-02-22 Thread shaun
Hi, Andrey wrote: > Sure! > > my list is defined as follows: > > labelField="@name" > > > In my component (well, class) i have the following variable: > >[Bindable] >public var MyDataList:XMLList = new XMLList(); > > then when the application loads and i get th

Re: [flexcoders] Re: Problems with EventDispatching

2007-02-22 Thread Paul J DeCoursey
Well apparently not, and kind of as expected. Paul DeCoursey wrote: > Will it work if the Object implements IMXMLObject? I don't know for > sure if those get added to the Display list or not when declared in mxml. > > Thanks, > > Paul > > --- In flexcoders@yahoogroups.com >

Re: [flexcoders] Help needed: Dynamic update XML for Tree

2007-02-22 Thread shaun
Hi, Mike Crowe wrote: > Hi folks, > > I'm trying to update my tree data with a user's login name. Here's my > latest try: > > [Bindable] > private var treeXML:XML = > > > > > > > > > > > > >; > > [

Re: [flexcoders] Runtime CSS and embeded fonts not working

2007-02-22 Thread Bjorn Schultheiss
Hi Hilary, Does your app make use of Modules? regards, Bjorn On 23/02/2007, at 1:28 PM, Hilary Bridel wrote: Hi All, I have a css file with embeded fonts that when loaded at compile time works ok, but when compiled into a .swf runtime css file (with no errors), does not render the emb

[flexcoders] Re: Problems with EventDispatching

2007-02-22 Thread Paul DeCoursey
Will it work if the Object implements IMXMLObject? I don't know for sure if those get added to the Display list or not when declared in mxml. Thanks, Paul --- In flexcoders@yahoogroups.com, "Ralf Bokelberg" <[EMAIL PROTECTED]> wrote: > > Bubbling only works for items on the display list. It uses

[flexcoders] Runtime CSS and embeded fonts not working

2007-02-22 Thread Hilary Bridel
Hi All, I have a css file with embeded fonts that when loaded at compile time works ok, but when compiled into a .swf runtime css file (with no errors), does not render the embeded fonts. Is there a trick to runtime css and embeded fonts, or possibly a bug? -- Hilary --

RE: [flexcoders] Set XML attribute?

2007-02-22 Thread Gordon Smith
[EMAIL PROTECTED] = "Gordon"; - Gordon From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of zzwi89 Sent: Thursday, February 22, 2007 1:34 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Set XML attribute? I'm hoping someout out ther

Re: [flexcoders] dataProvider question

2007-02-22 Thread Andrey
Sure! my list is defined as follows: In my component (well, class) i have the following variable: [Bindable] public var MyDataList:XMLList = new XMLList(); then when the application loads and i get the instance of the component, i call the following: lstDa

[flexcoders] SWFLoader Rewind Problem

2007-02-22 Thread wwwpl
I am having a problem with an swf file that I load. It is a help video. If I go to the help and watch the video half way through and close the window, I try to go back to help and it flashes a lot and goes back to the beginning of the video. It is like it is rewinding the video while showing

[flexcoders] FDS and licensing issues

2007-02-22 Thread chaitanya raja
Hmm.. I guess you could classify this as a rant. Anyways, here it goes. Could someone please suggest what i could do. Consider, I am a small software firm and I create a product which i sell to different companies. I think Flex and FDS provides me a really good implementation of part of my produc

Re: [flexcoders] Re: swf control

2007-02-22 Thread Hilary Bridel
Hi, This might help a little: http://www.bridel.org/?p=9 Hilary www.bridel.org On 2/23/07, wwwpl <[EMAIL PROTECTED]> wrote: Do you mind adding a small code snippet here as an example. I searched help for Embed metadata. I found some help there, but I have been unsuccessful rewinding a mov

Re: [flexcoders] How I can get the benefit of both startDrag() and DragManager.doDrag()?

2007-02-22 Thread Igor Costa
Jae http://weblogs.macromedia.com/khoyt/files/rviewer.zip the source also is avaible you could change. There's other component on the Exchange that do the same not as Kevin Yot but similar. Regards. On 2/22/07, jwp2k_uva <[EMAIL PROTECTED]> wrote: Hey guys, I'm looking to create objects,

Re: [flexcoders] dataProvider question

2007-02-22 Thread Igor Costa
It would be nice to see your part of you code to see what you are doing wrong. Regards. On 2/22/07, darvon4u <[EMAIL PROTECTED]> wrote: Here is an interesting one, not sure if i'm missing something or what. I have a list to show some data. I also have a component with an xmllist property

Re: [flexcoders] background image

2007-02-22 Thread Igor Costa
So basicly you have to add a new BitmapData with some extends of your UIComponent you can create in line for example import mx.core.UIComponent; public var myBG:Class [Embed(source='myimage.png')]; public var myRaw:Shape; public var myComp:UIComponent; public var writeBG:BitmapData ; private

Re: [flexcoders] Set XML attribute?

2007-02-22 Thread Igor Costa
I suggest you to use this reference here http://livedocs.adobe.com/labs/as3preview/langref/XML.html Regards. On 2/22/07, zzwi89 <[EMAIL PROTECTED]> wrote: I'm hoping someout out there can help me with this! So, I know how to get an attribute from an XML element: xml.attribute("name") Bu

RE: [flexcoders] Flex2 for mobile?

2007-02-22 Thread Shannon Hicks
Last year, I heard musings that they’d love to make Apollo 2 run on mobile phones. Of course, Apollo 1.0 still isn’t even in public beta, so who knows if it’ll happen. Shan From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Igor Costa Sent: Thursday, February 22, 200

[flexcoders] htmlText css Span tag

2007-02-22 Thread klejnieks
Is there a way in 2.0.1 to use the inside a text field or text area component using htmltext. I know the availability of doing this through AS using the styleSheet functions but i want to access a style defined in an external css document such as .header { color: #ff3300; fontSize: 25; } and then

[flexcoders] Custom Event handling from cellRender (1.5)

2007-02-22 Thread digital_eyezed
Hi, I can dispatch an event (custom) from a cellrenderer dispatchEvent({type:"enableCommit",bb2:siteSelected.selected}); how can I add an event listener to the dataGridColumn or DataGrid to capture that event then trigger a function call? I thought this would work (the datagrid id is statusGrid):

Re: [flexcoders] Flex2LocalDebugger?

2007-02-22 Thread Igor Costa
What's wrong with your uses? Maybe you could describe them. Regards. Igor Costa On 2/22/07, blc187 <[EMAIL PROTECTED]> wrote: Does anybody have any experience with using the Flex2LocalDebugger? Have been trying to use it with no luck. Wondering if anyone else had used it before since i

[flexcoders] Re: swf control

2007-02-22 Thread wwwpl
Do you mind adding a small code snippet here as an example. I searched help for Embed metadata. I found some help there, but I have been unsuccessful rewinding a movie clip in an swf file that I loaded with SWFLoader. Thanks --- In flexcoders@yahoogroups.com, "Brian Deitte" <[EMAIL PROTECTE

Re: [flexcoders] is it a Flex compiler bug?

2007-02-22 Thread Igor Costa
Mark the getAccount isn't a getter method, try this get Account():String { return "bla"}; Regards Igor Costa On 2/22/07, Mark Piller <[EMAIL PROTECTED]> wrote: We ran into something that looks like a compiler bug. Please take a look at the code below and correct me if I am wrong. The obje

Re: [flexcoders] Skin - Event Listener

2007-02-22 Thread Igor Costa
The UIComponent Flex Arquitecture it's fully exensible, how are you doing that? Have any code snippet to help to undrestand how are you doing it? Regards. Igor Costa On 2/22/07, nabirami <[EMAIL PROTECTED]> wrote: Is it possible to add an event listener (for example click) to a skin. I h

Re: [flexcoders] Label component - problem with truncateToFit

2007-02-22 Thread Igor Costa
Hi there Daniel the truncateToFit doesn't work with percentage of a container, only if the size of that container are setted as fixed. for kind solution as I do at my work daly I use the container size to fit minus the size of my textField. for example Regards. Igor Costa On 2/22/07, Dani

[flexcoders] Debugger Player Error Message in Consumer Player

2007-02-22 Thread Jason Hanson
Hi Flash Player generates an error that I need to parse though. It works great in the Debugger Player, but it does not work in the Consumer Player. The Error object does not have a .message in it in the consumer version of the player. How can I catch the 'body' of an error in the non - debugger

Re: [flexcoders] Data binding warning

2007-02-22 Thread Igor Costa
In fact Julien You have to care about it, the basic steps to using kind solution you it a must to not using like this. For example here's a property way to that. public class myModel extends Model { [bindable] public var connected:Boolean; } You could exte

[flexcoders] Re: DataGridColumn showDataTips problem

2007-02-22 Thread Doug Lowder
Are you also setting the dataTipFunction property? That would cause the bahavior you're seeing. --- In flexcoders@yahoogroups.com, "Robert Chyko" <[EMAIL PROTECTED]> wrote: > > I am trying to use the showDataTips property of the DataGridColumn. The > documentation states: > > "Datatips are

Re: [flexcoders] DataGridColumn showDataTips problem

2007-02-22 Thread Igor Costa
Bob isn't true, the showDataTips are similar with Charts tips. You can use them if they are wider then width or the same size, but you can add more things for example to a description for that item in the DataGrid. Regards. Igor Costa On 2/22/07, Robert Chyko <[EMAIL PROTECTED]> wrote:

Re: [flexcoders] Flex2 for mobile?

2007-02-22 Thread Igor Costa
MS Definitly at this moment now Flex 2 App can't be converted into Flash Lite 2.x app. Why? Fash Lite 2.x only supports Actionscript 2.0 and Flex it's entirely written in Actionscript 3.0 Maybe in the future. - Igor Costa On 2/22/07, Mrinmoyee Sanyal <[EMAIL PROTECTED]> wrote: Can a fl

Re: [flexcoders] Re: Weird WS Error

2007-02-22 Thread Igor Costa
John Check out the new bind way to do that, maybe could get you ahead of that work arround you found into that link. On 2/22/07, John Wilker <[EMAIL PROTECTED]> wrote: dude, thanks! Been banging my head on my desk for a while on this. Much obliged. On 2/20/07, ashifsayani < [EMAIL PRO

[flexcoders] Re: Chart Series - formatDataTip inconsistent visibility

2007-02-22 Thread parkerwhirlow
--- In flexcoders@yahoogroups.com, "Ely Greenfield" <[EMAIL PROTECTED]> wrote: > In this scenario, I would suggest subclassing the Stacked series > (ColumnSet, or whichever you need), and exposing the percent values. OK, this seems workable to me. > i.e., if the behavior is defined, accessible, o

RE: [flexcoders] Re: Chart Series - formatDataTip inconsistent visibility

2007-02-22 Thread Ely Greenfield
In this scenario, I would suggest subclassing the Stacked series (ColumnSet, or whichever you need), and exposing the percent values. i.e., add a get function that looks something like: public function getTotalsValuesBecauseElyWasStupidAndMadeThemProtected():Array { return stackTotals; }

Re: [flexcoders] Re: Weird WS Error

2007-02-22 Thread John Wilker
dude, thanks! Been banging my head on my desk for a while on this. Much obliged. On 2/20/07, ashifsayani <[EMAIL PROTECTED]> wrote: I've got the same problem. I don't get the error though when I bypass Cairngorm and just call the WS directly. Did you get this resolved? thanks, Ashif ---

[flexcoders] DataGridColumn showDataTips problem

2007-02-22 Thread Robert Chyko
I am trying to use the showDataTips property of the DataGridColumn. The documentation states: "Datatips are tooltips designed to show the text that is too long for the row. " I swear that in Flash, the similar functionality (whatever it was called - not showDataTips) would only show the toolTi

[flexcoders] Data binding warning

2007-02-22 Thread julien castelain
Hi list, I have a model object in my flex application that has a public "connected" (Boolean) property like this: public class Model { [Bindable] public var connected:Boolean = false; ... } In my mxml file i have an instance of that model: [Bindable] private var _model:Model = Model.ge

[flexcoders] Re: Chart Series - formatDataTip inconsistent visibility

2007-02-22 Thread parkerwhirlow
Ely, Thanks for the info. The reason I was going with subclasses, is because the Stacked type series stacking information (stackTotals) is protected, so I needed a subclass. This whole thing started with the Stacked type series, the simple series could possibly be handled in a single case statem

[flexcoders] Label component - problem with truncateToFit

2007-02-22 Thread Daniel Wabyick
Ah, found an answer. truncateToFit doesn't work with percentWidth, or when not specifying a width. The following works: http://www.adobe.com/2006/mxml";>

[flexcoders] Label component - problem with truncateToFit

2007-02-22 Thread Daniel Wabyick
Hi, While I have managed to get "..." to work in a number of situations, for some reason the text in the label is not truncating as expected. Does anyone know how to get the textfields to truncate properly? http://www.adobe.com/2006/mxml";>

Re: [flexcoders] Java to Flex shifting ! Major Hurdles!!! (Shud I say Roadblocks! )

2007-02-22 Thread Ralf Bokelberg
Hi Ravi It sounds, like you have a rather good understanding of what is going on. When we talk about the VM, we have to talk about Flash. Flash is framebased like a movie. In every frame all the scripts of all movieclips are executed, then all the system events are handled, be it load, timer, key

Re: [flexcoders] Problems with EventDispatching

2007-02-22 Thread Ralf Bokelberg
Bubbling only works for items on the display list. It uses the parent/child relation ship of the UI Components. Cheers Ralf On 2/22/07, Paul J DeCoursey <[EMAIL PROTECTED]> wrote: I have some classes that are EventDispatcher but not DisplayObjects. I have maybe 10 or 15 of these classes and

[flexcoders] Re: Webservice null values?

2007-02-22 Thread wayne_badu_johnson
Anyone? --- In flexcoders@yahoogroups.com, "wayne_badu_johnson" <[EMAIL PROTECTED]> wrote: > > > Hi > > How can I send through a null value via a WS call , given the > following wsdl settings: > type="string"/> > > 'expiry' is an optional field where a null value indicates that no > specif

RE: [flexcoders] Chart Series - formatDataTip inconsistent visibility

2007-02-22 Thread Ely Greenfield
In general, they're prive because we provide an alternate method for changing the datatip that doesn't require subclassing (setting the dataTipFunction on the chart). Depending on the scenario, it feels a little bit like overkill. If I were writing this myself, I would write my own dataTipFun

[flexcoders] Set XML attribute?

2007-02-22 Thread zzwi89
I'm hoping someout out there can help me with this! So, I know how to get an attribute from an XML element: xml.attribute("name") But how do I saet the value of this attribute?

[flexcoders] Re: Flex2 for mobile?

2007-02-22 Thread Jayson
I don't believe so, at least not yet. Some phones support Flash Lite, which is a stripped down mobile version of Flash I believe, there is more info on the adobe webstie. >From what I've heard and read (I have a friend that has an SMS relay business) not many phones have/support Flash Lite, I t

[flexcoders] XMLsocket example?

2007-02-22 Thread Impudent1
I have been trying to get FABridge to connect Adobe After Effects to a flex app. Unfortunately unlike the browser, there is no direct connection between the AE and flex process'. A quick reading on the flex xmlsocket class makes me think should be able to do this by creating a socket connection

RE: [flexcoders] Problems with EventDispatching

2007-02-22 Thread Grant Davies
I used the cairngorm event dispatcher and you don't need to use all of cairngorm to use it.. Its like a central dispatcher... so your component out there that wants to dispatch a "user selected a date" event.. var dateSelectedEvent = new DateSelectedEvent(); dateSelectedEvent.startdate = some

Re: [flexcoders] Re: Problems with EventDispatching

2007-02-22 Thread Bhuvan Gupta
Its just a singleton class which takes care of all the event handling. If you are not using Cairngorm, then you can possibly do the following: To dispatch Application.application.dispatchEvent(new Event("abc")); To Receive: Application.application.addEventListener("abc",listenerFunction); T

[flexcoders] Re: Global Filter Functions

2007-02-22 Thread ben.clinkinbeard
I have a LabelFunctions class and a SortFunctions class in my current app that are both just collections of static methods. I simply import them as needed throughout my app. I would recommend the same approach if you will have more than a couple filterFunctions. If its just one or two I'd say keep

[flexcoders] dataProvider question

2007-02-22 Thread darvon4u
Here is an interesting one, not sure if i'm missing something or what. I have a list to show some data. I also have a component with an xmllist property which is marked as [Bindable] in actionscript, i instantiate that component and bind this data property to the list. When i receive data from

[flexcoders] Re: Problems with EventDispatching

2007-02-22 Thread Paul DeCoursey
I'm not using Cairngorm and I'm not sure I want to include it. Our project is already quite large. What is different about the Cairngorm eventDispatching? --- In flexcoders@yahoogroups.com, Bhuvan Gupta <[EMAIL PROTECTED]> wrote: > > I had the same scenario. > Since I am using Cairngorm, so I us

Re: [flexcoders] Problems with EventDispatching

2007-02-22 Thread Bhuvan Gupta
I had the same scenario. Since I am using Cairngorm, so I used its event dispatching mechanism which worked fine. - To dispatch event: CairngormEventDispatcher.getInstance().dispatchEvent(new CairngormEvent("abc")); - To listen for the event: CairngormEventDispatcher.getInstance().addEventL

[flexcoders] Chart Series - formatDataTip inconsistent visibility

2007-02-22 Thread parkerwhirlow
I started making some application specific tweaks to the chart series dataTips, and it worked beautifully for ColumnSet (override the protected function formatDataTip), but then I soon realized that only the SET series (subclasses of StackedSeries) have that function as protected. It's actually pr

Re: [flexcoders] Multiple Instances of CF / FDS and messaging broken?

2007-02-22 Thread Niklas Richardson
Hi Joao, Okay, I'll give it a whirl tomorrow. One thought I had was that how does the ColdFusion FlexMessaging Event Gateway know which FDS instance to communicate with? There doesn't seem to be any configuration anywhere for that. Could that be the problem as well? Thanks for the help. Chee

[flexcoders] Problems with EventDispatching

2007-02-22 Thread Paul J DeCoursey
I have some classes that are EventDispatcher but not DisplayObjects. I have maybe 10 or 15 of these classes and a few of them will not bubble events to the SystemManager. I have created the Events to bubble but they will not. If I listen on the object I receive them. My problem is the Objec

[flexcoders] Re: alternating row color in bar chart

2007-02-22 Thread Mark
Yep, that did the trick thanks for your help Ely Mark --- In flexcoders@yahoogroups.com, "Ely Greenfield" <[EMAIL PROTECTED]> wrote: > > > > Mark -- the gridlines class, which defines the background gridlines for > the chart, supports alternating row colors. Look at the documentation >

RE: [flexcoders] custom icons to tree nodes

2007-02-22 Thread Robert Chyko
Yiðit is just creating his XML on the server to include an icon attribute, which the Tree can then automatically pick up. Mrinmoyee, setting an iconFunction doesn't necessarily set the same icon for all of the branch or leaf nodes, it can set individual icons as well. Either way will work, ju

Re: [flexcoders] custom icons to tree nodes

2007-02-22 Thread Mrinmoyee Sanyal
The solution that Yiðit Boyar provided is what I need. My question now is the PHP code that is given above, can I do it in ActionScript? Robert, The functions for the Tree that you have provided below are for specifying the same icons for all branch nodes and again the same icon for all leaf

Re: [flexcoders] How to add a component in the field with AS3

2007-02-22 Thread Troy Gilbert
I've tripped on all of those at one time or another, so I'm happy to oblige with an answer as best I can: 1. It threw me a bit at first, but it makes sense once you look at the types returned by XML class. If an element of the XML has "complex" content (i.e. its not just straight text, but rather

[flexcoders] Flex2 for mobile?

2007-02-22 Thread Mrinmoyee Sanyal
Can a flex2 app be transformed to be used in a mobile? -MS

[flexcoders] Re: How to get the real X & Y of a repeater item

2007-02-22 Thread jer_ela
The following code gets the x and y positions of an image that has been clicked on that was generated by a repeater. Getting the coords for a button should be pretty much the same. stageX and Y are the x and y coords of the mouse position relative to the application stage. mainCanvas is a direc

[flexcoders] FlexBuilder vs Flex SDK for a modular approach with several swf's for one Flex application

2007-02-22 Thread - FI / Jonas Eliasson +
Hi, I started to use FlexBuilder as a plugin for Eclipse recently. I find that FlexBuilder is really hard and not very intuitive to set up a customized project with several applications/modules within one project. To me a Flex project seems to be most functional when handling one output file o

[flexcoders] Keyboard issues on VISTA

2007-02-22 Thread iko_knyphausen
I have a small Flex/Flash app which runs fine on several machines/platforms such as Mac OSX on a Powerbook, Vista Ultimate on an AMD chip, but on one machine (brand new HP Pavillion with Intel Duo and Vista Home Premium) keyboard input is flawed. Characters typed into TEXTINPUT controls and the RT

[flexcoders] Global Filter Functions

2007-02-22 Thread Kevin
I am using Cairngorm and would like to be able to call a filter function from multiple commands & views. What is the best way to handle this? Should I put the function somewhere in the ModelLocator and then reference it that way?? Not sure how best to handle global functions like this.

RE: [flexcoders] custom icons to tree nodes

2007-02-22 Thread Robert Chyko
http://livedocs.macromedia.com/flex/201/html/dpcontrols_062_22.html Hard to say exactly what you need, but an iconFunction might be what you are looking for. Specifying Tree control icons The Tree control provides four techniques for specifying node icons: * The folderOpenIcon, folder

Re: [flexcoders] Java to Flex shifting ! Major Hurdles!!! (Shud I say Roadblocks! )

2007-02-22 Thread slangeberg
Ok, here it is. Right on my desktop, wouldn't you know!: (not it, but worth looking) http://www.adobe.com/devnet/actionscript/articles/actionscript3_overview.html (this is it!) http://www.onflex.org/ACDS/AS3TuningInsideAVM2JIT.pdf =Scott On 2/22/07, slangeberg <[EMAIL PROTECTED]> wrote: Hey

Re: [flexcoders] custom icons to tree nodes

2007-02-22 Thread Yiðit Boyar
i did the same thing to discrete file types; so here is my solution; every files extension is found in the server and embed into the xml result as the "icon" field with the matching variable names in the actionScript. here is the php code : after you send the xml in the above format; you just nee

Re: [flexcoders] Java to Flex shifting ! Major Hurdles!!! (Shud I say Roadblocks! )

2007-02-22 Thread slangeberg
Hey everyone, I know there exists an article/whitepaper from Adobe outlining the new AS3 VM2(?), but I can't find it. Anyone know where that is? I think it would be helpful for this gentleman's situation. Thanks, -Scott On 2/22/07, ravi kumar gummadi <[EMAIL PROTECTED]> wrote: Hi, I am bas

Re: [flexcoders] Multiple Instances of CF / FDS and messaging broken?

2007-02-22 Thread João Fernandes
It's something that I already spoke with Tom J. Can you try to create different names for the EG instance and if it doesn't work, try to use different destinationNames? João Fernandes

Re: [flexcoders] Negative plane in Column Chart

2007-02-22 Thread Mikhail Shevchuk
Thanks guys for your fast replies. I have no that code right now, but the problem was that: I use ColumnSet as the only element in ColumnChart and it has no yField property of course(but there are yFields in ColumnSeries in ColumnSet). I don't understand very much how this component(ColumnChart) w

[flexcoders] RemoteObject - request timeout

2007-02-22 Thread alanmorehead79
Does anyone have an example of how to handle a request timeout for a remote data service? I have a RemoteObject in my app and it has a requestTimeout property. Does this dispatch an event when the timeout occurs? http://localhost"; destination="TestService" fault="onFault(event);" showBusyCursor=

[flexcoders] Re: Expand All tree nodes

2007-02-22 Thread munkydung
a couple of points which may help you in your endeavor... yourTree.selectedItem is a reference to data provider element which is currently selected. So, if your tree is backed by an XML data structure, this would point to the XML node which is currently selected with the tree control... yourTree.

RE: [flexcoders] Java to Flex shifting ! Major Hurdles!!! (Shud I say Roadblocks! )

2007-02-22 Thread Samuel R. Neff
Threading is one of the major missing features in Flex/Flash Player. Basically, the player is multi-threaded and some operations will happen asynchronously but ActionScript code always executes on the same thread. For example, when you make a HTTPService call the network code itself will run on a

[flexcoders] Re: .NET Web Services w/Soap Headers

2007-02-22 Thread Mark
Try this: http://www.adobe.com/2006/mxml"; layout="vertical" minWidth="850" xmlns:v="customComp.*" creationComplete="onCreationComplete()">

[flexcoders] custom icons to tree nodes

2007-02-22 Thread Mrinmoyee Sanyal
How do I insert my custom icons to the individual tree nodes? I am able to insert it on the root node and on the leaf nodes but not on any of the branch nodes. So the problem scenario here is not replacing all the existing folder icons with my icons, but able to insert different icons at differen

[flexcoders] How to add a component in the field with AS3

2007-02-22 Thread Daniel Fernandes Credidio
Hi, I'm quite new to Flex and I need help with Three things. I have an file thats sending me an XML based on data i got from the DB, I have to loop trough the XML and i saw in another thread that we can do it by using the code: //the XML 0 Computador: 11 0 Mo

Re: [flexcoders] Multiple Instances of CF / FDS and messaging broken?

2007-02-22 Thread Niklas Richardson
Hi Joao, Yes they do. However, surely if they're on different instances that doesn't matter? Cheers Niklas On 2/22/07, João Fernandes <[EMAIL PROTECTED]> wrote: Niklas, do the event gateways in cfusion and cfusion-testing have the same name? João Fernandes -- Niklas Richardson

[flexcoders] Java to Flex shifting ! Major Hurdles!!! (Shud I say Roadblocks! )

2007-02-22 Thread ravi kumar gummadi
Hi, I am basically a Java guy, recently into Flex. It may be due to the sudden paradigm shift from serial programming ( incl Threads) to Event Based Programming, that I find many features totally new and surprising. I read in a article that Flash/Flex is based on AMPED (Asymmetric-Multi Proce

Re: [flexcoders] Multiple Instances of CF / FDS and messaging broken?

2007-02-22 Thread João Fernandes
Niklas, do the event gateways in cfusion and cfusion-testing have the same name? João Fernandes

Re: [flexcoders] falshvars SDK Actionscript 3.0 non-flex app - SOLVED

2007-02-22 Thread Troy Gilbert
Yeah, in AS3 your main class should extend Sprite (or a child of Sprite) in order to (a) get on the DisplayList of the stage and (b) receive keyboard/mouse focus. You could also inherit from MovieClip (like AS2). The root is not defined right away because you're checking for it in the constructor

[flexcoders] Re: Problem transferring DTO containing ArrayCollection to the web service

2007-02-22 Thread Danko Kozar
I solved it - the solution was in using an Array - not the ArrayCollection - when sending from Flex to web service. So, it's convenient to have two types of collections - one for getting stuff from the web service, the other for putting stuff to the web service: [Bindable] public class MyDtoCo

RE: [flexcoders] Are other developers hesitant to extend existing classes in Flex?

2007-02-22 Thread Brian Holmes
I've had a somewhat different experience extending the framework than the people pushing on to this thread, I haven't gotten any headaches, and actually use extending the framework to learn the framework, perhaphs What I've been doing is much simpler than what you guys have been doing, but I do hav

RE: [flexcoders] alternating row color in bar chart

2007-02-22 Thread Ely Greenfield
Mark -- the gridlines class, which defines the background gridlines for the chart, supports alternating row colors. Look at the documentation for GridLines for more information. off the top of my head, it would look something like: Ely.

[flexcoders] Multiple Instances of CF / FDS and messaging broken?

2007-02-22 Thread Niklas Richardson
Hi everyone, I've run into a problem which I think has to do with clashing RTMP ports. I'm totally stumped and need urgent assistance! :-S This is the setup: - JRun with two instances: cfusion and cfusion-testing - Both instances contain an instance of FDS - Updated the services-config.xml in b

RE: [flexcoders] Expand All tree nodes

2007-02-22 Thread Brian Holmes
Check out the Flex QuickStarts "Working with Trees" http://www.adobe.com/devnet/flex/quickstart/working_with_tree/ B. -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Ramanamurthy Medarametla Sent: Wednesday, February 21, 2007 5:45 PM To: flex

RE: [flexcoders] How to get the real X & Y of a repeater item

2007-02-22 Thread Brian Holmes
1. Cast the current item as DisplayObject Var myCurrentItem : DisplayObject = ( currentItem as DisplayObject ); 2. Create a point out of the current item x's and y's var point : Point() = new Point(); point.x = myCurrentItem .x; point.y = myCurrentItem.y;

Re: [flexcoders] Re: Creating Thumbnails from large images on the fly. Possible?

2007-02-22 Thread Paul J DeCoursey
Best way to do it is to have some sort of server process that scales the image and store that scaled version for future requests. I had built a system quite a while ago for doing Image Management and it would scale multiple sizes of each image on upload and then you can download the appropriat

RE: [flexcoders] Negative plane in Column Chart

2007-02-22 Thread Ely Greenfield
Hi Mikhail. Can you be more specific about what you're looking for? In general, the charts support negative values with no problems, so maybe I'm not understanding your question. Ely. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of

  1   2   >