RE: [flexcoders] SOLVED: How do I tell what I clicked on?

2007-04-10 Thread Gordon Smith
In general, the Flex framework expects to own the 'name' attribute and we don't recommend that developers use it for their own purposes. It's trivial to subclass Sprite and add an id: public class SpriteWithID extends Sprite { public SpriteWithID() { super(); } public

RE: [flexcoders] Dynamically rendered UI

2007-04-10 Thread Gordon Smith
import mx.core.UIComponent; private function createInstance(classString:String, properties:Object):UIComponent { var c:Class = Class(getDefinitionByName(classString)); var instance:UIComponent = new c(); for (var p:String in properties) { instance[p] = properties[p];

Re: [flexcoders] SCROLL for MENU

2007-04-10 Thread Doug McCune
I made some scrollable menu components. They're in FlexLib. You can get the source by checking out the project at http://www.flexlib.net. Here's a link to the scrollable menu example: http://flexlib.googlecode.com/svn/trunk/examples/ScrollableMenus/ScrollableMenu_Sample.swf Doug On 09 Apr 2007

RE: [flexcoders] Combine Applications

2007-04-10 Thread Gordon Smith
Your reference to combining applications makes me think that you're being overwhelmed by the complexity of complex multi-featured apps like FlexStore. My own counter-recommendation would be to first gain a good understanding of each feature that you want to use, in isolation, in the context of the

RE: [flexcoders] Dynamically retrieving the input data of a UIComponent.

2007-04-10 Thread Alex Harui
If that's the total set, I'd just write the if statement. If you want extensibility, then I'd subclass each one and add a property that tells you which property to pull and what its type is. You could even do that as an interface so other components can be added later.

[flexcoders] Re: dynamically created access and event elements problem and

2007-04-10 Thread alex steel
Thanks again :) I understand referencing by array, but isn't it possible to reference by dynamiclly created name like in flash you can use name to create movieclip _root.createEmptyMovieClip(name, 1000) and then name or _root[name] can be use as reference another question is how I can pass

[flexcoders] XML structure for Tree

2007-04-10 Thread Mrinmoyee Sanyal
When creating an XML file which will eventually be displayed as an mx:Tree, do I have to have the following structure: root label=parent1_value child1 label=child1_value/ child2 label=child2_value/ /root OR can I have this structure as well: root parentparent1_value child

RE: [flexcoders] Dynamically retrieving the input data of a UIComponent.

2007-04-10 Thread Dirk Eismann
Most (if not all) of the UI controls you mention implement the mx.core.IDataRenderer interface, so you could just do var currentData:Object = IDataRenderer(uiControl).data; Dirk. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf

[flexcoders] loading image with AS and Loader

2007-04-10 Thread ronnlixx
I'm trying this example from the documentation: var pictLdr:Loader = new Loader(); var pictURL:String = banana.jpg var pictURLReq:URLRequest = new URLRequest(pictURL); pictLdr.load(pictURLReq); this.addChild(pictLdr); I'm trying it in my creationComplete callback and get this error: cannot

[flexcoders] Main application class doesn't receive mouse events?

2007-04-10 Thread Ronnie Liew
Hi, Just want to understand if the main application class receives mouse event at all? Would like to understand why doesn't the mouse event get bubble up to the main class cheers, Ronnie

Re: [flexcoders] SOLVED: How do I tell what I clicked on?

2007-04-10 Thread Yiðit Boyar
actually i use name property to check dynamically created components' types when i need to handle them. so can you briefly explain why do you recommend developers not to use name property ? thanks. - Original Message From: Gordon Smith [EMAIL PROTECTED] To: flexcoders@yahoogroups.com

Re: [flexcoders] Flex remoting, using a factory for beans

2007-04-10 Thread Tom Chiverton
On Thursday 05 Apr 2007, Adrian wrote: is possible to configure flex/CF to use a factory when translating* the .as instances to .cfc instances, instead of a plain createobject() call. Ah ha, right, with you now :-) You could do this in the endpoint CFC easily enough, no ? -- Tom Chiverton

Re: [flexcoders] transferring data from ...

2007-04-10 Thread Tom Chiverton
On Thursday 05 Apr 2007, Rick Schmitty wrote: What trigger(?) does the browser look for to change the status bar in the browser from transferring data from to just Done. I *belive* this is the Flash player keeping the connection alive to make subsequent requests faster. The connection may of

Re: [flexcoders] Problems using SSL

2007-04-10 Thread Tom Chiverton
On Sunday 08 Apr 2007, iko_knyphausen wrote: in relative URL calls. And I think it does, because the web site accepts both SSL and non-SSL, and the errors I am receiving don't happen when I load the same app from the same location without https. Are you using IE ? Does Firefox work fine on the

Re: [flexcoders] to use object or array -- 'Adobe Flex 2 Training from the Source' book

2007-04-10 Thread Tom Chiverton
On Thursday 05 Apr 2007, Gordon Smith wrote: Use a Array when you look up a value by a numeric index. Use an Object when you look up a value by a string key like name or property. I must admit to using Object myself - how does the newer Dictionary class compare to that, anyone ? -- Tom

Re: [flexcoders] Re: MXML Schema

2007-04-10 Thread Tom Chiverton
On Monday 09 Apr 2007, neilac wrote: Only one attribute 'includeInLayout' is allowed within the attribute 'mx:_A_mx.containers.HBox' group I'll look into this shortly. -- Tom Chiverton Helping to autoschediastically envisioneer proactive bandwidth on: http://thefalken.livejournal.com

[flexcoders] Re: HyperLink on Label in PieChart

2007-04-10 Thread sanjaypmg
Hi Ely, Thanks for your suggestions I want one more favour from your side... Can you pls guide me how to do the same? actually i didnt get much information in flex help... So It would be better if you give some hint to get it done... Thanks in Advance, SS --- In

[flexcoders] Re: Problems using SSL

2007-04-10 Thread iko_knyphausen
It works ok in FF but not in IE. Peter Farland kindly had a long exchange with me offline, and it seems in my case that the offending HTTP response is in the header pragma CacheControl = No-cache. Problem is, without the pragma I am not getting up-to-date data from my HTTPService requests. So

[flexcoders] Re: datagrid image itemRenderers don't maintainAspectRatio

2007-04-10 Thread bhaq1972
Alex. Thats fantastic!! it works. My earlier efforts using containers is a great way to start but your way takes it to another level. btw thanks to carlos and carsten for contributing cheers bod --- In flexcoders@yahoogroups.com, Alex Harui [EMAIL PROTECTED] wrote: FWIW, I put an example on

Re: [flexcoders] Re: AS3 encryption

2007-04-10 Thread Alias™
MD5 is a one-way encryption algorithm, so it won't be any use for encrypting data in the way you want - it's only for hashing and passwords, really. If you need additional encryption to https, you could try encrypting the data with TEA http://www.simonshepherd.supanet.com/tea.htm There's an

Re: [flexcoders] Re: Problems using SSL

2007-04-10 Thread Tom Chiverton
On Tuesday 10 Apr 2007, iko_knyphausen wrote: It works ok in FF but not in IE. Peter Farland kindly had a long exchange with me offline, and it seems in my case that the offending HTTP response is in the header pragma CacheControl = No-cache. Problem is, without the pragma I am not getting

[flexcoders] HorizontalList ItemRenderer DragDrop

2007-04-10 Thread raju_bb
Hello friends, I am having one problem with HorizontalList(HList) drag-drop. 1) Can the items in a horizontal list can have a drag-drop property.I mean like we have in the Super Tab-Navigator where you can change the indexing property or we can change the sequence of the items in the list.. 2)How

[flexcoders] Tilelist in Flex 2 - what to use instead of getItemAt()?

2007-04-10 Thread erinwyher
In Flex 1.5, you use getItemAt() to call functions from the children of the TileList, but that method no longer exists in F2. Any suggestions to do this? Here is some sample code: test.mxml: ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml;

[flexcoders] Re: dynamically created access and event elements problem and

2007-04-10 Thread alex steel
Little trickery and I resolved the problem anyway basically I used name to keep checkbox number at creation var k1 : uint = k*2; cbJ_L.name = k1.toString(); var k2 : uint = k*2+1; cbJ_R.name = k2.toString(); and in function called upon change event public function

[flexcoders] Problems with data in a DataGrid control

2007-04-10 Thread kkinaru
Hello all. I'm making 2 buttons, both act with a Datagrid. The first button implements the search task, and the second one makes that all columns change their size to fit the longest text of each column. I've some questions about these themes. How can I select the first column that contains the

[flexcoders] Re: Tilelist in Flex 2 - what to use instead of getItemAt()?

2007-04-10 Thread bhaq1972
the getItemAt() function is available but not like the flex 1.5 way. you can do the following import mx.collections.IList; public function clickedList():void { //myTiles.getItemAt(1).testFunction(); IList(myTiles.dataProvider).getItemAt(1).testFunction(); etc --- In

Re: [flexcoders] Re: Video is playing double

2007-04-10 Thread Jeffry Houser
I've had significant problems with this. I actually had to re-work the video display component because the Flash Media Server was making a callback to the non-existent method streamInfo. I can tell you that every time I hear double audio, that streamInfo method is called multiple times.

[flexcoders] Re: Compile CSS to SWF problem

2007-04-10 Thread e_baggg
The images are accessible to the compiler. I have another css in the same directory that has these exact same styles declared and it compiles fine. The only difference being the style sheet that does not compile has 'Compile CSS to SWF' selected. --- In flexcoders@yahoogroups.com, Tim Walling

RE: [flexcoders] 360Flex vs. Adobe MAX - which would you attend?

2007-04-10 Thread David Mendels
Hi, MAX will go deep in the details on Flex (and Apollo!) too. MAX is big enough and there are enough sessions that you can spend the entire three days going deep on Flex, and/or spend time in a mix of sessions that also cover other core Adobe technologies. I think both events will be great.

[flexcoders] Scotch on the Rocks 2007 - CF/Flex Developer Conference

2007-04-10 Thread Stephen Moretti
Folks, please excuse the spam... I just dropped in to let you know about a conference that is happening in Edinburgh in Scotland at the end of May, Thursday 31st May and Friday 1st June, organised by the Scottish ColdFusion Usergroup. Scotch on the Rocks 2007, Scotch '007, is primarily an Adobe

[flexcoders] Cairngorm 2 + Modules: A Proposal

2007-04-10 Thread digitalchckn
Evening all, Since Flex 2.0.1, one question I've seen buzzing this list and other blogs is how the Flex 2.0.1 modules API can be made to work with the Cairngorm 2 micro-architecture. This has been a burning question for myself as well and while I've read several short messages about how it might

[flexcoders] preloader

2007-04-10 Thread Gautam
Hi, I would like to change simple attributes (color, font, layout, size etc) of an Application Preloader. Can i do this by changing the System Preloader itself, rather than creating a Custom Preloader Class? I have gone through the below url, but is there a simple way of changing the

Re: [flexcoders] Root sprite not responding to MouseEvent ?

2007-04-10 Thread Ronnie Liew
Hi Alex, Thanks, I think i got it. Basically it should be the stage that is listening to the mouseevent not the root sprite (which is the default main class app). Like you said, because there are no visible pixels or child display object that will propagate the mouseevent, the root sprite will

[flexcoders] Capture screenshot of a Flex chart surrounded by data

2007-04-10 Thread Vinit Carpenter
Hi there. I have a Java based application that is generating a chart using Flex Charts and so the page is laid out by a JSP that embeds the chart with a HTML table on the right side with the data. I guess I could use a datagrid for that table, but it's currently using HTML. This application

RE: [flexcoders] Main application class doesn't receive mouse events?

2007-04-10 Thread Swaroop C H
Hi Ronnie, AFAIK, if any of the event handlers calls event.stopPropagation() or event.stopImmediatePropagation(), it does not bubble up further. Other Flexcoders can correct me if I'm wrong :-) Regards, Swaroop _ Just want to understand if the main application class

RE: [flexcoders] 360Flex vs. Adobe MAX - which would you attend?

2007-04-10 Thread Alex Harui
Word of caution. 360Flex in San Jose was a one hour drive from our offices so lots of Flex engineers showed up. There will be fewer of us in Seattle I suspect unless Ted loads a bunch of us in the Winnebago. Personally, I'd much rather be in Seattle in August than Chicago in September. However,

[flexcoders] XML Text editor with syntax coloring

2007-04-10 Thread atwheelil
Hello there, I am looking for a flex based text editor component that should support syntax coloring for xml. I am thinking more like an extension of TextArea which changes color as you type very similar to many other code editors. Can anyone please point me if the above is already implemented

RE: [flexcoders] 360Flex vs. Adobe MAX - which would you attend?

2007-04-10 Thread Jeffry Houser
At 08:39 AM 4/10/2007, David Mendels wrote: Hi, MAX will go deep in the details on Flex (and Apollo!) too. MAX is big enough and there are enough sessions that you can spend the entire three days going deep on Flex, and/or spend time in a mix of sessions that also cover other core Adobe

[flexcoders] FDS Messaging error

2007-04-10 Thread Robs
Hi all, I'm trying out a sample chat app using fds messaging. As per the instructions, I made a new destination in the messaging-config.xml as follows: destination id=MyTransientTopic properties server durablefalse/durable /server

[flexcoders] creationPolicy does not work on popups?

2007-04-10 Thread Carlos Rovira
Hi, I'm facing a weird behaviour with creationPolicy in containers. I use the default creationPolicy to auto and have a component with a TabNavigator with this creation policy. If the instance of this component is created as usual all works fine. The problem shows as I turn this component into a

Re: [flexcoders] loading image with AS and Loader

2007-04-10 Thread Daniel Freiman
Only UIComponents (or IUIComponents) can be added as a child to Containers. Loader is not a UIComponent and I assume this is the Application and thus a Container. You're either going to need to add the Loader to a UIComponent and add that component to the application, or you can use

[flexcoders] Re: WebORB or AMFPHP for big Application

2007-04-10 Thread nxzone
It's a OpenSource project and it's better to use OpenSource solutions... You think WebORB will be only commercial in few years? The free PHP version is not usable for a big project? http://sourceforge.net/projects/timeline/ http://www.ideeclic.com/clients/133-cspi/v6/ --- In

Re: [flexcoders] 360Flex vs. Adobe MAX - which would you attend?

2007-04-10 Thread Michael Schmalle
And for those who live in BFE New Hampshire(grew up in Seattle though), I will kiss the granite and look for after thoughts. :) Peace, Mike On 10 Apr 2007 06:12:11 -0700, Jeffry Houser [EMAIL PROTECTED] wrote: At 08:39 AM 4/10/2007, David Mendels wrote: Hi, MAX will go deep in the

[flexcoders] Debugging bindings

2007-04-10 Thread nwebb
Hi, I'm modifying a Flex2 project and would like to find everything that binds to a particular property in the Model. A simple search through the project isn't that helpful, as the property is called 'entity' - a word used in just about every class in the Project. I wondered if people have

[flexcoders] download free open-source Flex2 Projects

2007-04-10 Thread Igor Costa
Hi there All list. I've been keep very busy for a while and I couldn't participate as I would like in the list for the past of couples 2 months. But besides on that, I did a little research on TOP 40 questions most asked here in the list and I did a huge collection of examples that maybe help

RE: [flexcoders] FDS Messaging error

2007-04-10 Thread Dirk Eismann
Make sure to restart FDS after you modify any of the config files. Also, if you're using Flex Builder 2 then it's always a good idea to do a Project -- Clean after modifying the FDS config files. Dirk. -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On

Re: [flexcoders] Debugging bindings

2007-04-10 Thread Igor Costa
You can bind them using even [Metadata] tags or better using the id of model. passing it. Regards. On 10 Apr 2007 07:02:53 -0700, nwebb [EMAIL PROTECTED] wrote: Hi, I'm modifying a Flex2 project and would like to find everything that binds to a particular property in the Model. A simple

Re: [flexcoders] preloader

2007-04-10 Thread Igor Costa
Gautam using the barColor, or extending the preloaderClass you can do that. Only extending your component. here's has a example of that http://www.igorcosta.org/?p=40 regards. On 10 Apr 2007 05:41:57 -0700, Gautam [EMAIL PROTECTED] wrote: Hi, I would like to change simple attributes

Re: [flexcoders] Compile CSS to SWF problem

2007-04-10 Thread Igor Costa
You're missing the upSkin:Embed('../images/buttonup.png'); due to the scope location of an image. Are you using this as external CSS file or embedded into an MXML? here's a collection of example on how to use it http://www.igorcosta.org/?p=40 regards. On 06 Apr 2007 09:51:37 -0700,

Re: [flexcoders] Problems with data in a DataGrid control

2007-04-10 Thread Igor Costa
Kinaru here's a lot of example using kind asks. http://www.igorcosta.org/?p=40 Regards. On 10 Apr 2007 04:25:39 -0700, kkinaru [EMAIL PROTECTED] wrote: Hello all. I'm making 2 buttons, both act with a Datagrid. The first button implements the search task, and the second one makes that

Re: [flexcoders] creationPolicy does not work on popups?

2007-04-10 Thread Igor Costa
Hi there Carlos R. Did you used to popUp this new titlewindow using as IFlexDisplayObject data type? I'm not sure but this will works even if you have using it as on the fly for example import myComps.comCarlosTitleWin; var popMeUp:IFlexDisplayObject =

Re: [flexcoders] Re: WebORB or AMFPHP for big Application

2007-04-10 Thread Brian Dunphy
Keep in mind that AMFPHP may go under the radar (or drop off it completely) as the lead developer has decided to pursue another career and I have not seen any announcement of anybody else taking over for him. Brian On 10 Apr 2007 06:57:44 -0700, nxzone [EMAIL PROTECTED] wrote: It's a

[flexcoders] unable to bind to property on class....

2007-04-10 Thread scott_flex
I'm not the first person to run into this and after searching some previous threads i don't see any good explanations. Any help is appreciated. When i build my app, i get these warning messages and not sure how to fix them. I don't get any errors when i bind a label's text property like

[flexcoders] Re: unable to bind to property on class....

2007-04-10 Thread Paul DeCoursey
Binding depends on the object being able to dispatch events to notify the bind target that the property changed. To get around this you simply extend EventDispatcher. ie. public class session extends EventDispatcher { that will fix the warnings and bind your properties. Paul --- In

[flexcoders] adding additional data to file upload via grid.

2007-04-10 Thread mthielman11
Hello all, We are really stuck with something here. We need to be able to upload files along with some additional data (file description, is document private, document catagory) to our server. The file itslef with reside on a file store and the other data will be stored in the DB. We are

Re: [flexcoders] creationPolicy does not work on popups?

2007-04-10 Thread Carlos Rovira
Thanks Igor, I tried this, but creationComplete executes as well...really weird :? But if I instantiated the component directly the creationComplete does not exectute, so I think this is due to the component beign a popup... Thanks for the response :) 10 Apr 2007 07:15:24 -0700, Igor Costa

[flexcoders] VideoDisplay over RTMP w/ autoRewind

2007-04-10 Thread kelpmike
Hi everyone, I'm having the following problem and thought I would throw this out there to see if someone has also had it and maybe found a solution. Even a confirmation that someone else has had it would let me know I haven't done anything too crazy. Anyway, I'm trying to play an FLV video over

[flexcoders] Re: unable to bind to property on class....

2007-04-10 Thread scott_flex
Actully, and i should have noted that in first post, i did try that, but same warnings and same effect, no errors, but my property did not bind to my label's text. Would it or could it have anything to do with the fact it's a singleton object??... I wouldn't think so. Not shown in the

[flexcoders] how to substitute the old attachmovie()?

2007-04-10 Thread herklano
i am migrating a project from AS2 to AS3 and had a dynamically built menu and submenus like: item1 | item2 | item3 subitem1-1 | subitem1-2 | subitem1-3 and i used the attachmovie to generate it and to get the main movieclip from the library... for (var i:Number=0; i menuRecordSet.length; i++)

[flexcoders] Re: WebORB or AMFPHP for big Application

2007-04-10 Thread Mark Piller
WebORB for PHP is available as an open source and commercial product today and it will stay that way. There are no plans to stop the open source offering. On the contrary, we have grand plans for it later this year. Cheers, Mark --- In flexcoders@yahoogroups.com, nxzone [EMAIL PROTECTED] wrote:

RE: [flexcoders] to use object or array -- 'Adobe Flex 2 Training from the Source' book

2007-04-10 Thread Alex Harui
Dictionary lets you index by object instead of string. We use one to keep track of loaded modules. We don't want to have worry about whether the modules have a unique string identification, so we can just use the module object instead. Dictionary also supports weak references so you don't have

[flexcoders] Flex Config File DTDs or Schemas

2007-04-10 Thread neilac3333
I am writing a basic application to test Flex integration with Java objects, and after solving a bunch of deployment errors, I am happy to say I am finding no errors on deployment anymore. The application, however, still doesn't work because of what must be some undescribed configuration error.

RE: [flexcoders] SOLVED: How do I tell what I clicked on?

2007-04-10 Thread Alex Harui
We recommend that you don't set it in Flex components (anything derived from UIComponent). The name is used to track things so our code will get confused if a name changes. You're ok using it for bare Sprites and such. -Alex From:

[flexcoders] passing variables to Timer handler routine

2007-04-10 Thread dougco2000
Hi all, If I have an action (like putting up an alert popup, adding a child to the canvas, etc) that needs to be delayed, it would be great to have a good old sleep or something prior to the command, but I guess one has to use Timers. But since Timer calls a new function, how to best pass along

RE: [flexcoders] X/Y Limit for DisplayObjects?

2007-04-10 Thread Alex Harui
+/-8191 according to the player engineers. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Troy Gilbert Sent: Monday, April 09, 2007 8:37 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] X/Y Limit for DisplayObjects? Yeah,

[flexcoders] XML structure for Tree

2007-04-10 Thread Mrinmoyee Sanyal
When creating an XML file which will eventually be displayed as an mx:Tree, do I have to have the following structure: root label=parent1_value child1 label=child1_value/ child2 label=child2_value/ /root OR can I have this structure as well: root parentparent1_value child

[flexcoders] XML to Number from an HTTPservice

2007-04-10 Thread lcujino
I've created an HTTPservice to put some information from an XML on my application. Of course it works nicely as Strings, but anybody knows how to convert the Strings to numbers? (I need to use the XML feed for calculations on the application)

[flexcoders] Re: WebORB or AMFPHP for big Application

2007-04-10 Thread nxzone
Sodo you suggest me to use WebORB for a big web application? WebORB is stable, fast, secure... ? --- In flexcoders@yahoogroups.com, Mark Piller [EMAIL PROTECTED] wrote: WebORB for PHP is available as an open source and commercial product today and it will stay that way. There are no plans to

Re: [flexcoders] Re: WebORB or AMFPHP for big Application

2007-04-10 Thread guillermo Pared
WebORB, is really cool and easy, I love it, but I have to say too, that with the last releaseof AMFPHP, the performance is really good or better than WebORB. I changed the engine for AMFPHP beacuse hat better performance, I look forward for new enhanced that Mark and his team made in WebORB for

Re: [flexcoders] passing variables to Timer handler routine

2007-04-10 Thread Erik Price
On 4/10/07, dougco2000 [EMAIL PROTECTED] wrote: But since Timer calls a new function, how to best pass along any objects or strings that it will need, other than have these as global vars? Excellent question. It's answered here: http://flexblog.faratasystems.com/?p=125 e

[flexcoders] Re: AS3 encryption

2007-04-10 Thread Doug Lowder
True about that. I assumed the poster was talking about usernames/passwords alone, but maybe that isn't the case. I guess I'm wondering why anyone would want to essentially re- implement portions of SSL. As a user, I certainly wouldn't trust any site that was loaded over HTTP instead of

RE: [flexcoders] creationPolicy does not work on popups?

2007-04-10 Thread Alex Harui
Looks like a bug. Please file it at www.adobe.com/go/wish From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Carlos Rovira Sent: Tuesday, April 10, 2007 8:33 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] creationPolicy does not

RE: [flexcoders] passing variables to Timer handler routine

2007-04-10 Thread Alex Harui
You might prefer to use setTimeout which takes arguments. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Erik Price Sent: Tuesday, April 10, 2007 10:53 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] passing variables to Timer

[flexcoders] Tile Extra Space

2007-04-10 Thread joshua gatcke
I am trying to use a mx:Tile container to layout a set of application icons. I have set the tile container to a width of 100% and would like the icons to wrap to the line below if the browser is smaller or resized. The problem I am having is that the icons in my tile container are 60px

[flexcoders] Re: unable to bind to property on class....

2007-04-10 Thread Paul DeCoursey
do you have a setter on the property? I don't see one in the code you posted. You need a setter for it to bind. Or at least you must fire a PropertyChangeEvent when the property changes. Paul --- In flexcoders@yahoogroups.com, scott_flex [EMAIL PROTECTED] wrote: Actully, and i should have

[flexcoders] TreeItemRenderer display smal text below items

2007-04-10 Thread astronaute75
Hello, I would like to display some text (which is in dataProvider as the rest, XML attribute) when user click on any item. Actually it will work as some kind of comments. Visual exemple : http://www.astronaute.net/_temp/flex/tree.jpg So what i want is to display a small text that can adjust

RE: [flexcoders] Re: WebORB or AMFPHP for big Application

2007-04-10 Thread Agent RR-007
Do you have any examples of your integration with amfphp and flex 2. thanks -Original Message- From: guillermo Pared [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: 4/10/07 1:44 PM Subject: Re: [flexcoders] Re: WebORB or AMFPHP for big Application WebORB, is really cool and easy,

[flexcoders] Re: preloader

2007-04-10 Thread Shannon
There is a pretty great sample in Flex Help or here: http://livedocs.adobe.com/flex/201/html/app_container_064_17.html (livedocs)

[flexcoders] Re: unable to bind to property on class....

2007-04-10 Thread scott_flex
Thanks, that did it, I initialized the value of userDisplayName via my setter (which I didn't have before), instead of just through the private _userDisplayName variable, bindings worked! I still get this message though: warning: unable to bind to property 'current' on class 'com::session'

[flexcoders] Grid columns of fixed and equal width

2007-04-10 Thread cooper_martin
What is the right way to create a Grid that has a fixed number of columns of equal width? What I need is a fixed 3-column layout to which I can dynamically add cells. Regardless of the content of the cells, the column widths should remain the same. Also, the columns would need to resize when the

[flexcoders] Re: WebORB or AMFPHP for big Application

2007-04-10 Thread nxzone
You can have some sample here: http://code.google.com/p/adobe-php-sdk/ # Adobe Spry Framework # WebORB for PHP # AMFPHP # SabreAMF --- In flexcoders@yahoogroups.com, Agent RR-007 [EMAIL PROTECTED] wrote: Do you have any examples of your integration with amfphp and flex 2. thanks

[flexcoders] Re: Issues with Datagrid non repeatinh HTTPService XML Result.

2007-04-10 Thread toddad538
Tracy, In your sample code there is the following line: var xlMyListData:XMLList = xmlResult.myListData; What does myListData reference? Is that a node/element in the xml data? Thanks, Todd Adelgren --- In flexcoders@yahoogroups.com, Tracy Spratt [EMAIL PROTECTED] wrote: Sample code using

[flexcoders] Re: Filtered data in Plot Series

2007-04-10 Thread paultwright
--- In flexcoders@yahoogroups.com, Ely Greenfield [EMAIL PROTECTED] wrote: Hi Paul. Off the top of my head, I don't see any reason why that should be happening. Can you share a simple test case? Ely. I've tried to simplify this test case a bit. It involves scrolling of the data. I'm

[flexcoders] XMLList converted to XML

2007-04-10 Thread khair
What is an efficient way to convert XMLList object into children of an XML object? I'm using the XMLList methods to rearrange my XML children to specified order, but I need to convert the reordered XMLList back into datatyped XML objects into the original XML object. var obj:XML= OBJECT POINT

Re: [flexcoders] Re: AS3 encryption

2007-04-10 Thread Jeffry Houser
I can't imagine why anyone would want to re-implement SSL inside the flash player. But, that said, there may be other perfectly valid reasons for wanting to encrypt data you're sending back and forth. At 02:03 PM 4/10/2007, Doug Lowder wrote: True about that. I assumed the poster was

RE: [flexcoders] passing variables to Timer handler routine

2007-04-10 Thread Gordon Smith
You could also subclass Timer and store any additional data you want on MyTimer. - Gordon From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Erik Price Sent: Tuesday, April 10, 2007 10:53 AM To: flexcoders@yahoogroups.com Subject: Re:

RE: [flexcoders] loading image with AS and Loader

2007-04-10 Thread Gordon Smith
What doc was this in? It won't work if 'this' is a Flex Container, because a Container expects that its children are IUIComponents. If you're putting an image into a Flex Container, you should be using a Flex Image control, not a low-level Flash Loader. - Gordon

RE: [flexcoders] SOLVED: How do I tell what I clicked on?

2007-04-10 Thread Gordon Smith
can you briefly explain why do you recommend developers not to use name property ? The Flex framework sets the name property for you, according to its own rules. For example, skins are given names such as upSkin. Also, the name assignment guarantees that each DisplayObject's toString() will

RE: [flexcoders] XML to Number from an HTTPservice

2007-04-10 Thread Gordon Smith
anybody knows how to convert the Strings to numbers Just cast them: Number(1.23) int(1) - Gordon From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of lcujino Sent: Tuesday, April 10, 2007 10:36 AM To: flexcoders@yahoogroups.com Subject:

Re: [flexcoders] Re: WebORB or AMFPHP for big Application

2007-04-10 Thread Impudent1
I recently changed over from weborb back to amfphp. amfphp1.9 with the server running the php amf plugin is definitely faster in my tests here. ymmv Impudent1 LeapFrog Productions

RE: [flexcoders] Re: Filtered data in Plot Series

2007-04-10 Thread Ely Greenfield
Paul - Item renderers, in the chart (as elsewhere in the framework), get recycled. Which means that the same item renderer may get assigned different data items at different times. My bet as to what's happening here is: in your custom item renderer.data property, you're not

RE: [flexcoders] Re: dynamically created access and event elements problem and

2007-04-10 Thread Gordon Smith
You can use an Object to store name/value pairs for your created components, rather than an Array. For example, if you do // Any other method in this class can access the radio buttons using this Object. private var radioButtons:Object = {}; private function createRadioButtons():void { for

[flexcoders] DataGrid doesn't always show new columns when dataprovider is updated

2007-04-10 Thread eughuang
I ran into some difficulty using DataGrid, but it's a bit tricky to describe. Steps to reproduce: 1. create a DataGrid using a dataprovider (databinding to an ArrayCollection). 2. obtain the DataGrid.columns, modify, and set it back again. 3. update my dataprovider's data, by adding more

[flexcoders] Control of SWF in SWFLoader

2007-04-10 Thread nowak_petr
Hi, I have a flash SWF (9 or older version) and I play it with SWFLoader. I'm able to play, stop. But how to know the number of frames ? Control the speed of play ? And others .. Is it possible ? The flash SWF file is not my own, it's external, so no under control (version, local connection,

[flexcoders] Help !!! How to decode URL encoding

2007-04-10 Thread mgrayfmr
Hi Guys: I am trying to parse a string that is URL encoded, and I want to remove, or decode it. I was surprised that there wasn't something available in a utility class already in AS3. Anyone ever run into this ? I saw a post that had a link to some code that sounds like it would solve my

RE: [flexcoders] Re: Issues with Datagrid non repeatinh HTTPService XML Result.

2007-04-10 Thread Tracy Spratt
It is the e4x path expression that returns the xmllist that contains the data you want to display in the list. Its exact form depends on the fomat of the xml. Maybe myListItemNodes would be a more explanatory name? Tracy From:

RE: [flexcoders] XMLList converted to XML

2007-04-10 Thread Tracy Spratt
One way: var points:XMLList=obj.POINT; var obj:XML = obj/; obj.setChildren(points); Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: Tuesday, April 10, 2007 11:23 AM To: flexcoders@yahoogroups.com

[flexcoders] Re: Help !!! How to decode URL encoding

2007-04-10 Thread Doug Lowder
There's a top-level decodeURI() function: http://livedocs.adobe.com/flex/201/langref/package.html#decodeURI() --- In flexcoders@yahoogroups.com, mgrayfmr [EMAIL PROTECTED] wrote: Hi Guys: I am trying to parse a string that is URL encoded, and I want to remove, or decode it. I was

RE: [flexcoders] DataGrid doesn't always show new columns when dataprovider is updated

2007-04-10 Thread Tracy Spratt
Are you re-assigning the columns array to the columns property? Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of eughuang Sent: Tuesday, April 10, 2007 3:35 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] DataGrid doesn't

[flexcoders] Re: Help !!! How to decode URL encoding

2007-04-10 Thread mgrayfmr
Perfect - thanks !!! I knew I must be looking in the wrong place. It seemed like a use for this wouldn't be too uncommon. --- In flexcoders@yahoogroups.com, Doug Lowder [EMAIL PROTECTED] wrote: There's a top-level decodeURI() function:

  1   2   >