Re: [flexcoders] Flex Module issue with Panel

2008-10-26 Thread Simon Bailey
Cheers Alex, Two points to note: 1) This error does not get thrown if I do *not* set the width and height params for the panel *but* the panel does not display? 2) If I have a Panel instantiated in the shell i.e. use a Panel to load the modules into *all* works absolutely fine? :S On

[flexcoders] Re: Help: filterFunction and Dates

2008-10-26 Thread Cato Paus
http://www.devshed.com/c/a/PHP/The-Basics-of-Serializing-Objects-in-PHP/ --- In flexcoders@yahoogroups.com, Tim Hoff [EMAIL PROTECTED] wrote: See how messy this gets; when dates are represented as strings. Look into AMFPHP serialization/deserialization. If you get back a date, instead of

[flexcoders] Equivalent to Java's Class.isInstance(Object) instance method?

2008-10-26 Thread Mark Carter
I've got an array of objects which I want to filter according to the object's class. The class itself is referenced by a variable so I cannot use the is operator. I'd like to be able to do something like: filterClass.isInstance(obj) Do I need to use isPrototypeOf()? - I don't really understand

[flexcoders] Re: Help: filterFunction and Dates

2008-10-26 Thread Cato Paus
Hi I'm not sure where you want to go with this sample code, but here is the flex builder code ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; layout=absolute mx:Script ![CDATA[ import mx.utils.ObjectUtil;

[flexcoders] Re: Equivalent to Java's Class.isInstance(Object) instance method?

2008-10-26 Thread florian.salihovic
You are searching for the is-operator: var displayObject:DisplayObject = new Sprite(); trace(displayObject is DisplayObject); trace(displayObject is Sprite); trace(displayObject is UIComponent); Best regards --- In flexcoders@yahoogroups.com, Mark Carter [EMAIL PROTECTED] wrote: I've got an

Re: [flexcoders] Equivalent to Java's Class.isInstance(Object) instance method?

2008-10-26 Thread Mark Carter
I don't think that works when I have a variable of Class type. public static function isObjectInstanceOfClass(obj:Object, cls:Class):Boolean { return obj is cls; // compile error } florian.salihovic wrote: You are searching for the is-operator: var displayObject:DisplayObject = new

[flexcoders] Re: Equivalent to Java's Class.isInstance(Object) instance method?

2008-10-26 Thread florian.salihovic
Then i might have misread/misunderstood ur problem. Perhaps this is something to work with: ?xml version=1.0 encoding=utf-8? mx:Application initialize=eventListener(event) layout=absolute xmlns:mx=http://www.adobe.com/2006/mxml; mx:Script ![CDATA[

[flexcoders] Need Guidance for Integrating Flex and ASP.NET

2008-10-26 Thread Craig
My project loads stock tickers from SQL into asp.net datatables and when a chart is needed, the SWF file for Flex runs as a separate program. The datatables and charts are duplicated and run separately so you select the ticker from the table in flex to load the flex chart. What I would really

[flexcoders] Re: Flex stage size

2008-10-26 Thread Amy
--- In flexcoders@yahoogroups.com, lagos_tout [EMAIL PROTECTED] wrote: Hi, all. I'd like to have my flex application load an xml configuration file that tells it what the size of the total flash area will be. Then I'd like the application to resize. I say total flash area because

[flexcoders] want to show an image in header of a datagrid,based on some data value when headerRelease event occurs

2008-10-26 Thread venkateswarlu naidu
Hi, I want to show an image in the datagrid's header based on some data value, when the user clicks on the header . Can anybody send some sample for this. Thanks, Venkat. Add more friends to your messenger and enjoy! Go to http://messenger.yahoo.com/invite/

[flexcoders] FB: Extracting a folder contents into output folder while compiling

2008-10-26 Thread m_koks
Hi All, I have few additional html files in my project that I want them to be get copied into the output folder while compiling the application using Flex builder. Presently, I have following options to achieve this. 1. Put those additional files into src folder and in flex builder, check the

Re: [flexcoders] Flex Module issue with Panel

2008-10-26 Thread Simon Bailey
H, I can get this to work now fine so long as the Shell.mxml component contains a Panel instance??? Alex, I bet there is a logical explanation here, is it something in line with your presentation @360? On 26 Oct 2008, at 04:21, Alex Harui wrote: Not sure I understand your delay

[flexcoders] Re: mouse wheel behaviour mxml and actionscript based components

2008-10-26 Thread fotis.chatzinikos
Jim, you are right! In IE 7 the trees scroll without any extra codes-automagically :-) (no need to attach a mouse wheel event and handle scrolling- the tree does it already...) The problems are on Firefox 3.0.3 - windows - XP... This is strange. Firefox used to be my favorite, but lately i have

[flexcoders] Re: Cairngorm and AyncToken Error

2008-10-26 Thread Jonnie Spratley
You could use this as well Public function saveData( data:DataVO ):void { Var token:AsyncToken = service.saveData( data ); Token.data = data { And then in your command result function add the result.token to your arraycollection so you don't need another round trip to the server to update

[flexcoders] Re: Cairngorm: should pure view state changes go through the ModelLocator?

2008-10-26 Thread Tim Hoff
I can't say expert, but I've used it enough to comment. Preferably, the view would take care of itself'; concerning the state of the view (buttons). With the collection in the model. bound to the DataGrid's dataProvider, dispatch a ChangeFilterEvent (type:String). Assuming that you already

RE: [flexcoders] Flex Module issue with Panel

2008-10-26 Thread Alex Harui
Like I said, not sure what your delay technique is doing, but the default style values for Panel will only be in the SWFs that have a Panel in it. By putting it in the main app, you make it available to all child modules. If you've got some other scheme going on, then you could be running

[flexcoders] Re: Refresh Screen Counter

2008-10-26 Thread Cato Paus
Hi mister look at this http://tech.groups.yahoo.com/group/flexcoders/message/124722 http://tech.groups.yahoo.com/group/flexcoders/message/124722 --- In flexcoders@yahoogroups.com, itdanny2002 [EMAIL PROTECTED] wrote: I have below sample code which display the result of counter. How can I

[flexcoders] Re: about MVC

2008-10-26 Thread valdhor
I would suggest looking at the following: http://www.davidtucker.net/2008/04/01/cairngorm-videos-available-as-flv-downloads/ http://www.nutrixinteractive.com/blog/?p=85 http://www.actionscriptdeveloper.co.uk/puremvc-tutorial-flex-puremvc-jabber-and-xiff-3-introduction/ --- In

[flexcoders] Re: Using Tree

2008-10-26 Thread jer_ela
try itemClick --- In flexcoders@yahoogroups.com, markgoldin_2000 [EMAIL PROTECTED] wrote: I am using Tree control for my navigation needs. I have implemented a change event handler that would show a form when a node is clicked. Now I am adding another Tree control that does the same: show

Re: Re[flexcoders] versing an ArrayCollection

2008-10-26 Thread jer_ela
I'm guessing that these aren't just random values that you want in the opposite order of how you got them, but are sorted, but in the wrong direction. If that is the case you can apply a sort to the array collection that puts them in the order you want them. --- In flexcoders@yahoogroups.com,

[flexcoders] Help: can't update image in datagrid row

2008-10-26 Thread oneworld95
Help! I've spent three days on this problem now with no luck! The Flex app sends an image to a servlet which then resizes it and writes it to the disk. It also updates the database with the image name for that record. I'm still trying to update the image in a datagrid row when the user uploads

[flexcoders] Re: Help: filterFunction and Dates

2008-10-26 Thread Tim Hoff
Great, I'm glad that you have a working solution. It's always messy when you work with dates that are represented as strings. With a Date() type the fomatter should work correctly. My suggestion would be to research AMFPHP serialization/deserialization. Like I said earlier, it's much easier

[flexcoders] clear the Flex Builder CASH memory

2008-10-26 Thread hworke
Hello, I was developing an application and faced memory leaking problem. I removed all my projects from the workspace and restarted the Flex builder. With no projects on wrokspace I tried to create an application but still getting the out of memory message. I guess Flex builder

[flexcoders] Re: Help: filterFunction and Dates

2008-10-26 Thread Cato Paus
Hi I'm not sure what you want to do with this sample you sent me, I have typed it into flex builder, here is the code, run debug on it ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; layout=absolute mx:Script ![CDATA[ import

Re: [flexcoders] Question about html embed (AC_FL_RunContent)

2008-10-26 Thread Aaron Miller
Didn't seem to work either. I guess for now I will just have to house all my html files in the same directory. On Wed, Oct 22, 2008 at 10:41 AM, Tracy Spratt [EMAIL PROTECTED]wrote: Looking through the javascript that this function calls, it appears that it appends the 'swf extension

Re: [flexcoders] Question about html embed (AC_FL_RunContent)

2008-10-26 Thread Guy Morton
what web server are you using? can you check the web server logs to see what url is being passed to the server? is it giving a 404 error? On 27/10/2008, at 11:50 AM, Aaron Miller wrote: Didn't seem to work either. I guess for now I will just have to house all my html files in the same

RE: [flexcoders] Question about html embed (AC_FL_RunContent)

2008-10-26 Thread Alex Harui
I would try ../../WebNavMenu or http://a.b.com/WebNavMenu From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Aaron Miller Sent: Sunday, October 26, 2008 5:50 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Question about html embed (AC_FL_RunContent) Didn't

Re: [flexcoders] about MVC

2008-10-26 Thread Richard Rodseth
I always feel compelled to point out that you don't *have* to use Cairngorm or PureMVC. Here's a recent article (which I haven't read): http://www.adobe.com/cfusion/communityengine/index.cfm?event=showdetailsproductId=2postId=11246 See also the writings of Joe Berkovitz and James Echmalian (and

Re: [flexcoders] Re: Accessing *other* browser plugins from Flash

2008-10-26 Thread Pan Troglodytes
You might find this informative: http://www.f-in-box.com/forum/viewtopic.php?t=509sid=43cc9bffc200ae813c56c988b3b777ad The examples are in Delphi for the f-in-box component, but the explanations of ExternalInterface invoke strings might be helpful. On Wed, Oct 15, 2008 at 4:16 PM, Eric Cooper

Re: [flexcoders] about MVC

2008-10-26 Thread shaun
Hi Richard, Richard Rodseth wrote: I always feel compelled to point out that you don't *have* to use Cairngorm or PureMVC. Here's a recent article (which I haven't read): http://www.adobe.com/cfusion/communityengine/index.cfm?event=showdetailsproductId=2postId=11246 See also the writings

[flexcoders] mouse wheel event listener trouble

2008-10-26 Thread kd7vn
I'm new to flex and having trouble with an event listener. I'm building a video player that zooms in/out based on mouse wheel events. Everything works well if I move the mouse wheel slowly. However, if I spin it real fast, all bets are off. It seem similar to a problem I have had with embedded

[flexcoders] Flex to html/javascript translator

2008-10-26 Thread BENABDALLAH Abdelaziz
hello everyone, I am a javascript/html programmer and recently I switched to flex, I found a lot of similarity in the structure of mxml with html, and actionscript with JS, so I thought of the possibility of making a translator to translate mxml source to html, I dont know if such thing exists and

[flexcoders] Modal without popup

2008-10-26 Thread jkasham
how can i make the app modal without a popup?

[flexcoders] Error : Flex integration With Jsp

2008-10-26 Thread madhu kumar
Hi Friends Am trying to integrate flex with jsp using Httpservices . just a login application . Here i want to connect to database through my jsp but it is not working properly show an error [RPC Fault faultString=HTTP request error faultCode=Server.Error.Request faultDetail=Error:

[flexcoders] Re: warning: multiple describeType entries for 'selectedItem'

2008-10-26 Thread dev_smgonzales
I'm also getting the same warning. The binding still works. Here is the code I use to do the binding. BindingUtils.bindSetter(dataProviderChanged, this, dataProvider); Does someone know if need to change anything to make the warning go away? Here is the warning: warning: multiple

[flexcoders] Re: about MVC

2008-10-26 Thread greg_lafrance
--- In flexcoders@yahoogroups.com, srikanthkpn [EMAIL PROTECTED] wrote: Pls any one can send MVC exampls? Here is a Flex Cookbook entry I wrote on MVC: http://www.adobe.com/cfusion/communityengine/index.cfm? event=showdetailspostId=11246productId=2loc=en_US Greg

[flexcoders] Re: Equivalent to Java's Class.isInstance(Object) instance method?

2008-10-26 Thread andrii_olefirenko
obj is cls - it works for me, no compile error (Flex SDK 3). --- In flexcoders@yahoogroups.com, Mark Carter [EMAIL PROTECTED] wrote: I don't think that works when I have a variable of Class type. public static function isObjectInstanceOfClass(obj:Object, cls:Class):Boolean { return

Re: [flexcoders] Re: Equivalent to Java's Class.isInstance(Object) instance method?

2008-10-26 Thread Josh McDonald
Yeah, I do things like that all the time in framework code, that's what you need. -Josh On Mon, Oct 27, 2008 at 3:50 PM, andrii_olefirenko [EMAIL PROTECTED]wrote: obj is cls - it works for me, no compile error (Flex SDK 3). --- In flexcoders@yahoogroups.com, Mark Carter [EMAIL PROTECTED]

Re: [flexcoders] Re: about MVC

2008-10-26 Thread Josh McDonald
selfPromotion level=shameless If you're after dependency injection without the weight of an entire application framework, check out Smartypants-IOC: http://code.google.com/p/smartypants-ioc/ /selfPromotion -Josh On Sat, Oct 25, 2008 at 2:20 AM, greg_lafrance [EMAIL PROTECTED]wrote: --- In