[flexcoders] Re: storing login data from a cfquery for use throught flex app

2009-03-13 Thread stinasius
hi, may be i will try to put the question this way, in my cfc i have to return a Boolean value true or false because in my result handler on the login page i test to see if the result returned is true or false then make a decision to accept login or not. this is my result handler on the login

RE: [flexcoders] Re: storing login data from a cfquery for use throught flex app

2009-03-13 Thread Tracy Spratt
What I do is to use xml. I wrap all of my return server data in a status node, like this successful login: callstatus status=success statusDescription=User authenticated userInfo first=John last=Smith email...@gmail.com ./ /callstatus If the login fails, I return: callstatus

RE: [flexcoders] Ribbon in FLEX

2009-03-13 Thread Tracy Spratt
I am not familiar with that control, can you describe it? Tracy Spratt, Lariat Services, development services available _ From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Claudio M. E. Bastos Iorio Sent: Friday, March 13, 2009 2:13 AM To:

Re: [flexcoders] Ribbon in FLEX

2009-03-13 Thread Sam Lai
http://office.microsoft.com/en-us/products/HA101679411033.aspx?pid=CL100796341033#2 Kind of like the toolbar for picking controls in Adobe Dreamweaver (unless they've changed it in recent versions). Unfortunately I haven't heard of any Flash implementations, only Silverlight implementations. You

[flexcoders] Easing Effect when scrolled

2009-03-13 Thread chandruflex
Hi, Is it possible to apply an easing effect when an arrow button in the ScrollBar of a container is clicked?

RE: [flexcoders] Ribbon in FLEX

2009-03-13 Thread Claudio M. E. Bastos Iorio
Thanks for your answer and links. The silverlight version looks really great. Check this online demo (silverlight required): http://silverlight.services.live.com/invoke/60108/SilverlightRibbon/iframe.h tml I'm not trying to copy exactly the ribbon. Just the concept. I know I could do it

Re: [flexcoders] Ribbon in FLEX

2009-03-13 Thread Thibaud Van Vreckem
I know I could do it using tabs and panels, but an existing FLEX version could save me a lot of time. that ribbon design is a perfect example of what flex shines for. it's nothing more than tabs and canvas/Hbox panels. that's probably about 5 sec setup. I'm not sure I understand what you would

[flexcoders] Array of objects

2009-03-13 Thread christophe_jacquelin
Hello, How to declare an array of n Objects of the class myClass ? How did we indicates the type of the object to the array ? Thank you, Christophe,

Re: [flexcoders] Array of objects

2009-03-13 Thread claudiu ursica
[ArrayElementType(com.blah.blah.YourClassName)] publica var ar:Array = new Array(); C From: christophe_jacquelin christophe_jacque...@yahoo.fr To: flexcoders@yahoogroups.com Sent: Friday, March 13, 2009 10:46:55 AM Subject: [flexcoders] Array of objects

Re: [flexcoders] Array of objects

2009-03-13 Thread Paul Andrews
- Original Message - From: christophe_jacquelin christophe_jacque...@yahoo.fr To: flexcoders@yahoogroups.com Sent: Friday, March 13, 2009 8:46 AM Subject: [flexcoders] Array of objects Hello, How to declare an array of n Objects of the class myClass ? How did we indicates the type

[flexcoders] Re: storing login data from a cfquery for use throught flex app

2009-03-13 Thread johndoematrix
i have also had the same problem with login authentication in flex and coldfusion. this is not well addressed especially for beginners like me.i wish someone could come up with a tutorial that does login authentication through database and cfc remote object calls and then shows how to store

[flexcoders] Re: storing login data from a cfquery for use throught flex app

2009-03-13 Thread alinmircea_s
give this a try , the problem may be the return type, struct for successful and boolean for unsuccessful cffunction name=loginUser access=remote returntype=struct //do your stuff cfset returnValue = structnew() cfset returnValue.success = false cfset returnValue.lastResult = cfif

Re: [flexcoders] Array of objects

2009-03-13 Thread Paul Andrews
LOL, I should be doing the tutorials! http://livedocs.adobe.com/flex/201/html/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Book_Partsfile=metadata_141_05.html Paul - Original Message - From: Paul Andrews p...@ipauland.com To: flexcoders@yahoogroups.com Sent: Friday, March 13,

[flexcoders] Hiding Swf on a website

2009-03-13 Thread christophe_jacquelin
Hello, How to hide swf files on a website, preventing their copy by a software like httptrack? Thank you, Christophe,

[flexcoders] char Type

2009-03-13 Thread christophe_jacquelin
Hello, Did the char type exist in Flex ? And how to make it if not ? Thank you, Christophe,

[flexcoders] Sorting on Datagrid

2009-03-13 Thread kotha poornima
Hi All, I have one datagrid whose values populated from the httpserver response, but here the problem is when i click on the datagrid header iam getting the rows sorted but some of the rows are missing. Why is this happening?? Can anyone faced this issue before. Please suggest me how to solve

RE: [flexcoders] Re: Framework Caching Affecting Security Settings?

2009-03-13 Thread Yves Riel
Don't know if I'm the only one but I cannot access that page!? From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Alex Harui Sent: Friday, March 13, 2009 1:03 AM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Re: Framework

[flexcoders] Re: storing login data from a cfquery for use throught flex app

2009-03-13 Thread stinasius
when i try that i get the following error ReferenceError: Error #1069: Property message not found on mx.messaging.messages.ErrorMessage and there is no default value. at components::Login/serverFault() at components::Login/___Operation1_fault() at

[flexcoders] Drag move or copy depending on SOURCE's container

2009-03-13 Thread Christoph Pingel
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 What is the best way to tell a drag-and-drop operation to move OR copy, depending on where the drag starts? I have an area whith 'source' images that are dragged (copied) to other containers from where these images rest until the are _moved_. I

[flexcoders] Re: Ribbon in FLEX

2009-03-13 Thread Marius-Remus Mate
Check this out http://mindomo.com/demo.htm You should contact the nice guys at Mindomo, maybe you can work something out. --- In flexcoders@yahoogroups.com, Claudio M. E. Bastos Iorio selecter...@... wrote: Hi, Is there any component (free or paid) similar to the office 2007 ribbon

[flexcoders] Convert arraycollection to XML

2009-03-13 Thread venkat eswar
How to Convert arraycollection to XML

[flexcoders] Re: storing login data from a cfquery for use throught flex app

2009-03-13 Thread valdhor
If I were you I would go through the tutorials at... http://flexcf.com/tutorials http://blogs.adobe.com/flexdoc/2007/02/hello_world_application_for_fl_1.html http://www.adobe.com/devnet/coldfusion/articles/adobetv_cfpwrdflex.html

[flexcoders] Re: Convert arraycollection to XML

2009-03-13 Thread oneworld95
http://nsdevaraj.wordpress.com/2008/08/20/arraycollection-xml/ - Alex C --- In flexcoders@yahoogroups.com, venkat eswar cooler...@... wrote: How to Convert arraycollection to XML

[flexcoders] Re: Framework Caching Affecting Security Settings?

2009-03-13 Thread valdhor
Works for me. Have you signed up for an account? Oh, one other thing. Check the URL in the address bar. Does it have a period (.) at the end? If so, remove it. --- In flexcoders@yahoogroups.com, Yves Riel r...@... wrote: Don't know if I'm the only one but I cannot access that page!?

Re: [flexcoders] Re: flex + mysql unicode support

2009-03-13 Thread Alan K
Yes. Guy and Gordon are correct - going with system default is probably the safest. Using custom fonts with international apps will require further testing. There is Arial Unicode which is a Microsoft font, and is included with the default installation of Windows. OS X is different, somehow,

Re: [flexcoders] Hiding Swf on a website

2009-03-13 Thread Guy Morton
What is your actual objective, and why? There's no way to stop users doing whatever they like with your files once they have them on their pc, so your only solution is to prevent them getting the file in the first place. Are you going to allow access to the public? Your only hope is to

[flexcoders] Re: storing login data from a cfquery for use throught flex app

2009-03-13 Thread johndoematrix
Valdhor, i think what stinasius is asking abt has nothing to do with the links you provided. bruce phillip's example is about login in flex with coldfusion backend. the problem is not the login, the problem is how to store the result of the login query in the static class for use throughout the

Re: [flexcoders] Re: offline flex3 app - security error

2009-03-13 Thread Tom Chiverton
On Thursday 12 Mar 2009, banshee...@ymail.com wrote: Now i tried the app on 3 windows laptops, IE and FF, and ... no problem ! Only on the macs here there is the network access warning (?) I'll have to try on other windows pc's... And what Player versions were those ? -- Tom Chiverton

[flexcoders] Re: storing login data from a cfquery for use throught flex app

2009-03-13 Thread valdhor
Which is just an extension of the examples at the links I provided. By using Bruce Phillips example; The CRUD example at http://flexcf.com/tutorials; and the Ben Forta Adobe TV presentation at http://www.adobe.com/devnet/coldfusion/articles/adobetv_cfpwrdflex.html, anyone should have a good

Fw: [flexcoders] Sorting on Datagrid

2009-03-13 Thread kotha poornima
Hi, I used the pagableArrayCollection as input arraycollection to the datagrid. Because of this only sorting is not working good. If we change it to arraycollection its working fine. But i want pagableArraycollection for doing pagination. PagableArrayCollection.mxml:(This file i got it from

[flexcoders] Error 'Send Failed' while loading swf file

2009-03-13 Thread gnv_vishwanath
Facing the issue in loading the swf file, but the same is working fine in local machine. When trying to execute in other machine its not working, gives the message as below: faultCode:Client.Error.MessageSend faultString:'Send failed' faultDetail:'Channel.Connect.Failed error

Re: [flexcoders] Automation updates with 3.3 SDK?

2009-03-13 Thread Beau Scott
K, I'm updating from 3.1, and I'm not sure exactly where to find the 3.2 updates now that 3.3 has been posted to http://www.adobe.com/products/flex/flexdownloads/ and all the files are the same. Anyone have a link I can get the 3.2 stuff from? Beau On Wed, Mar 11, 2009 at 3:31 PM, Matt Chotin

[flexcoders] Re: Sorting on Datagrid

2009-03-13 Thread ross_w_henderson
Poornima, Can you give a little more information? Are you using any item renderers? Ross

Re: [flexcoders] char Type

2009-03-13 Thread Maciek Sakrejda
It does not--you would typically use Strings instead. E.g., String.charAt(index) returns a String. -- Maciek Sakrejda Truviso, Inc. http://www.truviso.com -Original Message- From: christophe_jacquelin christophe_jacque...@yahoo.fr Reply-to: flexcoders@yahoogroups.com To:

Re: [flexcoders] Array of objects

2009-03-13 Thread Maciek Sakrejda
Note that the annotation is only for compile-time checking (and only for MXML, it looks like?), so you were still mostly correct, Paul. If he wants to get really fancy and can require FlashPlayer 10, there's always Vector: http://livedocs.adobe.com/flex/3/langref/Vector.html -- Maciek Sakrejda

[flexcoders] stage mouseUp not firing outside app window

2009-03-13 Thread graham.t...@rocketmail.com
In the following example, I've got a stage-level mouseUp listener. In the application window, I can click-drag off-window and, when I release, the mouseUp event will fire. However, if I start my click-drag on the label and release off-screen, I do _not_ get the mouseUp event. (I think

Re: [flexcoders] Automation updates with 3.3 SDK?

2009-03-13 Thread Beau Scott
Nevermind, I just pulled it from what came with Flex Builder 3.0.2 because I couldn't find the dataviz package anywhere for 3.2. Even tried modifying the url that is on the current dataviz link. FYI, the links from the opensource sdk site,

Re: [flexcoders] stage mouseUp not firing outside app window

2009-03-13 Thread Fotis Chatzinikos
I think this is a known problem... What about adding a stage rollout event, and then there dispatch a mouse up if needed? Give it a go (have not tested myself) On Fri, Mar 13, 2009 at 5:45 PM, graham.t...@rocketmail.com graham.t...@rocketmail.com wrote: In the following example, I've got a

Re: [flexcoders] Array of objects

2009-03-13 Thread Johannes Nel
the annotation is not only for mxml. Vector is really fast, so if possible use that. On Fri, Mar 13, 2009 at 5:25 PM, Maciek Sakrejda msakre...@truviso.comwrote: Note that the annotation is only for compile-time checking (and only for MXML, it looks like?), so you were still mostly correct,

RE: [flexcoders] Re: Ribbon in FLEX

2009-03-13 Thread Allan Pichler
Hi all.. Let me dig up the files sometime today ( should be around here somewhere although I made it back in December 07 ) and I will send it to all interested parties as well as add them to my experimental site http://www.unzipmenow.com for anyone interested at a later stage. Thanks for

Re: [flexcoders] Re: Ribbon in FLEX

2009-03-13 Thread Paul Kukiel
I believe Jeffery Houser is in the process of building a Ribon like the Office one for Flex and in 20 mins he has a live Demo and QA of his latest Flex creations: Flextras: Flextras Friday Meetup in 1 hour. Today: Mind Mapping an API http://is.gd/iDhV Random QA to follow Meeting URL:

Re: [flexcoders] Ribbon in FLEX

2009-03-13 Thread Jeffry Houser
This is one of the components were were considering for Flextras; however I'm unclear how a Ribbon is different than a TabNavigator, though. I'd love to hear more thoughts on it, either on-list or off. Sam Lai wrote:

[flexcoders] Re: stage mouseUp not firing outside app window

2009-03-13 Thread graham.t...@rocketmail.com
Many thanks for your response! I was hoping for the mouseUp, but I did try the rollOut, as you suggested. I couldn't even get it to work on Stage. SystemManager worked fine on a normal rollOut, but it worked only intermittently (I know that sounds strange, but it's what it is) on a

[flexcoders] previously selected indices in List?

2009-03-13 Thread gwangdesign
Hi, This might be a simple one but I am having a hard time figuring it out: How do I get the previous selectedIndices when a ListEvent.CHANGE event occurs on a List control, within the Flex component framework? Basically I'd like to change all the selected item renderers states on a List

[flexcoders] Weired Focus Change behaviour on tab pressing

2009-03-13 Thread anuj181
Hi Guys I am trying to make the focus changed consistently to different components in my app but it is showing different behavior when user presses tab. Few things are happening here if one of the radio button from the first radio group has been selected then pressing tab button will keep on

Re: [flexcoders] Re: Framework Caching Affecting Security Settings?

2009-03-13 Thread Jamie S
I can't see it either. Because it's related to security I think you need some sort of higher level account to see it. When I filed the bug I got a notice that it would be obscured for this reason. Jamie On Fri, Mar 13, 2009 at 6:08 AM, valdhor valdhorli...@embarqmail.com wrote: Works for me.

Re: [flexcoders] Re: stage mouseUp not firing outside app window

2009-03-13 Thread Fotis Chatzinikos
did you try on the Application.application (might be the same as stage but you never know...) On Fri, Mar 13, 2009 at 6:53 PM, graham.t...@rocketmail.com graham.t...@rocketmail.com wrote: Many thanks for your response! I was hoping for the mouseUp, but I did try the rollOut, as you

Re: [flexcoders] Re: Framework Caching Affecting Security Settings?

2009-03-13 Thread Matt Chotin
I made the bug public, setting severity of Security will immediately make the bug only visible to Adobe folks as a just-in-case measure. The dot on the end of the link can screw things up, just make sure the dot is gone and now you can see the bug and vote for it. On 3/13/09 10:27 AM, Jamie

RE: [flexcoders] previously selected indices in List?

2009-03-13 Thread Tracy Spratt
You are misunderstanding the invalidation process. invalidateProperties() does not call commitProperties, it just tells the framework that commitProperties needs to be called. The line after invalidateProperties will be called immediately, commitproperties will be called at some later time.

[flexcoders] canvas backgroundimage loadercontext

2009-03-13 Thread rdibona
Hi there, I have an application where I take a snapshot of a Canvas with various other images on it using the bitmapdata.draw method. I had to change my code to use a LoaderContext for each image load to avoid security errors, i.e.: var lc : LoaderContext; var img : Image; img = new Image();

Re: [flexcoders] Re: binding not updating for ArrayCollection when item changes?

2009-03-13 Thread John Robinson
Thanks Josh! I haven't tried to implement this yet but so far it makes sense. Thanks again, John On Mar 12, 2009, at 9:01 PM, Josh McDonald wrote: In your custom control, change this: public function set dataProvider(dp:ArrayCollection):void { _dp = dp; trace(this fires when

[flexcoders] Re: storing login data from a cfquery for use throught flex app

2009-03-13 Thread Jeremy Rottman
Here is a good example that you can use. Here is a link to the source code. Right click to view. http://view.myhomesmart.com/singleton/singleton.html Here is the cfc code. cffunction name=Do_Login access=remote output=false returntype=struct cfargument name=username

Re: [flexcoders] Re: Ribbon in FLEX

2009-03-13 Thread Jeffry Houser
Thanks for the plug Paul; but just to clarify.. It's not something we're working on yet. It's just one idea of many.we're considering. ( But, yeah everyone check out Flextras.com ) Paul Kukiel wrote: I believe Jeffery Houser is in the process of building a Ribon like the Office one for

[flexcoders] how to detect that flash is visible

2009-03-13 Thread v.cekvenich
Some of the flash ads detect when ad is seen. Like when I scroll down bellow the fold, it start animation once it's shown. How? What is the event generated? tia, .V

[flexcoders] Re: Framework Caching Affecting Security Settings?

2009-03-13 Thread reflexactions
Yeah I can see it now (couldn't before). I voted for it as I think this is needed to go along with the other RSL caching fixes that are coming up in 3.4 in order to make modules and Framework RSLs a viable option. Actually I think maybe it would be good if all the Framework RSL caching bugs

[flexcoders] datagrid.selectedItem to vo?

2009-03-13 Thread Greg Morphis
I have a vo headlineVO that has the following variables headline_id:Number headline:String effdate:Date endeffdate:Date actionuser:String actiondate:Date I have a cfc that returns an ArrayCollection of beans, each bean has the above variables too. I can populate a datagrid with this data and it

[flexcoders] Re: datagrid.selectedItem to vo?

2009-03-13 Thread valdhor
You should be using events... mx:DataGrid id=headlinesDG dataProvider={MyModel.getInstance().adminARCHeadlines} itemClick=selectedHeadline(event) ... ... /mx:DataGrid private function selectedHeadline(event:ListEvent):void { currentVO = event.target.selectedItem as headlineVO; } --- In

[flexcoders] Re: datagrid.selectedItem to vo?

2009-03-13 Thread Tim Hoff
Hey Greg, Have you tried using change instead of click. Everything else looks fine; assuming that currentVO is a HeadlineVO. -TH --- In flexcoders@yahoogroups.com, Greg Morphis gmorp...@... wrote: I have a vo headlineVO that has the following variables headline_id:Number headline:String

[flexcoders] Re: datagrid.selectedItem to vo?

2009-03-13 Thread ppongtong
Please try mx:DataGrid itemClick=selectedHeadline()... --- In flexcoders@yahoogroups.com, Greg Morphis gmorp...@... wrote: I have a vo headlineVO that has the following variables headline_id:Number headline:String effdate:Date endeffdate:Date actionuser:String actiondate:Date I have a

[flexcoders] Re: datagrid.selectedItem to vo?

2009-03-13 Thread ppongtong
Actually, when u get the data from cfc, did u map it to your headlineVO? --- In flexcoders@yahoogroups.com, Greg Morphis gmorp...@... wrote: I have a vo headlineVO that has the following variables headline_id:Number headline:String effdate:Date endeffdate:Date actionuser:String

[flexcoders] Re: Developing Rich Clients with Macromedia Flex - source code?

2009-03-13 Thread Libby
They help! I love you man! --- In flexcoders@yahoogroups.com, Jeffry Houser j...@... wrote: Although completely unrelate to the book, would these screencasts help, on item Renderers, the DataGrid, and item Editors.

Re: [flexcoders] Re: datagrid.selectedItem to vo?

2009-03-13 Thread Greg Morphis
event.target.selectedItem says it's Object (@b3063a9) but lists all of the variables: actiondate, actionuser, effdate, endeffdate, headline, headline_id of my VO it also has a mx_internal_id but I check 'this.currentVO' and it shows null after the assignment: currentVO = event.target.selectedItem

[flexcoders] Re: stage mouseUp not firing outside app window

2009-03-13 Thread graham.t...@rocketmail.com
I gave it a shot, but the behavior was the same: click-drag from a label to somewhere off the application screen won't report a rollOut or subsequent mouseUp. So I begin to think I simply can't track click-drag's off screen (or that they even went off-screen). I'm working on a particular

Re: [flexcoders] Re: Developing Rich Clients with Macromedia Flex - source code?

2009-03-13 Thread Jeffry Houser
Glad to hear it! Libby wrote: They help! I love you man! --- In flexcoders@yahoogroups.com, Jeffry Houser j...@... wrote: Although completely unrelate to the book, would these screencasts help, on item Renderers, the DataGrid, and item Editors.

[flexcoders] Re: datagrid.selectedItem to vo?

2009-03-13 Thread valdhor
If everything is working right, event.target.selectedItem should be typed as a headlineVO. Check with Charles as to what type of object is actually being returned. --- In flexcoders@yahoogroups.com, Greg Morphis gmorp...@... wrote: event.target.selectedItem says it's Object (@b3063a9) but

Re: [flexcoders] Re: datagrid.selectedItem to vo?

2009-03-13 Thread Greg Morphis
In the command result I have public function result(event:Object) : void { MyModel.getInstance().adminARCHeadlines = new ArrayCollection (event.result); } adminARCHeadlines is an ArrayCollection in MyModel.as How do I tell it that it's an ArrayCollection of VOs? On Fri, Mar 13, 2009 at 3:21 PM,

RE: [flexcoders] Re: stage mouseUp not firing outside app window

2009-03-13 Thread Alex Harui
A mouseup off-stage is usually sent as EVENT.as:MOUSE_LEAVE Alex Harui Flex SDK Developer Adobe Systems Inc.http://www.adobe.com/ Blog: http://blogs.adobe.com/aharui From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of graham.t...@rocketmail.com Sent: Friday, March

RE: [flexcoders] canvas backgroundimage loadercontext

2009-03-13 Thread Alex Harui
I'd avoid loading foreign content as the backgroundImage. If that server goes down, your app will look very different. If you really want to, then it might be easier to put an Image behind all of the other children and not use backgroundImage Alex Harui Flex SDK Developer Adobe Systems

RE: [flexcoders] Error 'Send Failed' while loading swf file

2009-03-13 Thread Alex Harui
NetConnection is not used to load SWFs. Looks like a problem with your server connectivity Alex Harui Flex SDK Developer Adobe Systems Inc.http://www.adobe.com/ Blog: http://blogs.adobe.com/aharui From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of gnv_vishwanath

RE: [flexcoders] Drag move or copy depending on SOURCE's container

2009-03-13 Thread Alex Harui
Set the allowMOve parameter to doDrag? Alex Harui Flex SDK Developer Adobe Systems Inc.http://www.adobe.com/ Blog: http://blogs.adobe.com/aharui From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Christoph Pingel Sent: Friday, March 13, 2009 3:10 AM To:

[flexcoders] Re: datagrid.selectedItem to vo?

2009-03-13 Thread ppongtong
Are you using RemoteObject to call cfc? If you do, check this one out... http://sherifabdou.com/2008/06/understanding-the-remoteclass-metadata-and-its-use-in-flex-and-coldfusion/ --- In flexcoders@yahoogroups.com, Greg Morphis gmorp...@... wrote: In the command result I have public function

[flexcoders] Re: stage mouseUp not firing outside app window

2009-03-13 Thread graham.t...@rocketmail.com
Many thanks for the response! For me, this is behaving just like mouseUp. I do get a mouseLeave when I mouse out of the application, and I _can_ get one when I click-drag out of the application. However, I do _not_ get a mouseLeave when I click on the label and drag out of the application

[flexcoders] null parent for ChartLabel

2009-03-13 Thread Maciek Sakrejda
I'm getting the following stack trace when changing the layout of some charts: TypeError: Error #1009: Cannot access a property or method of a null object reference. at mx.charts.chartClasses::ChartLabel/updateDisplayList()[C:\Work\flex

RE: [flexcoders] Array of objects

2009-03-13 Thread Gordon Smith
Array elements are untyped, but Vector supports strongly-typed elements. var v:Vector.String = new Vector.String(); v[0] = Hello; v[1] = World; Note that there is no literal syntax for Vector similar to [ foo, bar ] for Array. However, you can convert an Array to a Vector: var v:Vector.String

RE: [flexcoders] char Type

2009-03-13 Thread Gordon Smith
It's probably more efficient to use character codes. The charCodeAt() method of String returns a Number which will actually be an integer between 0 and 65535. BTW, Unicode experts will recognize that this means that sometime it takes two chars (a surrogate pair) in an AS String to represent a

RE: [flexcoders] Re: stage mouseUp not firing outside app window

2009-03-13 Thread Alex Harui
We use MOUSE_LEAVE successfully in Flex. Maybe post a simple test case. Alex Harui Flex SDK Developer Adobe Systems Inc.http://www.adobe.com/ Blog: http://blogs.adobe.com/aharui From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of graham.t...@rocketmail.com Sent:

[flexcoders] changes on item renderers on a List

2009-03-13 Thread gwangdesign
Hi, I am re-sending this question since this seemingly simple question has been taking me a bit much longer than I expected;) I have a whole bunch of item renderers inside a List (or it lays out and scrolls the renderers the way a List does). Here is what I am trying to do: I'd like to

RE: [flexcoders] Weired Focus Change behaviour on tab pressing

2009-03-13 Thread Alex Harui
You have to set groupName, not group. mx:FormItem id=networkSettingsForm mx:RadioButtonGroup id=networkSettingsGroup/ mx:HBox mx:RadioButton id=radioButtonDHCP label=DHCP groupName=networkSettingsGroup styleName=textMedium/ mx:RadioButton label=Static groupName=networkSettingsGroup

[flexcoders] Re: stage mouseUp not firing outside app window

2009-03-13 Thread graham.t...@rocketmail.com
You bet. Here's my current version (modified from my first post). Many thanks! ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; layout=absolute applicationComplete=onApplicationComplete(event) viewSourceURL=srcview/index.html

[flexcoders] ColumnCharts - problem adding a LineSeries to ColumnChart w/o SecondSeries

2009-03-13 Thread EddieBerman
I'm trying to add a LineSeries to a ColumnChart. The problem is that for each LineSeries added, a ghost series of columns is also added. This doesn't happen if I add a LineSeries via the SecondSeries tag, but I'm trying to avoid that since it's been deprecated. Is there a way to avoid the

[flexcoders] Re: FocusManager fun... Tab Loops redux

2009-03-13 Thread jim.abbott45
Feeling less than ecstatic? Then please VOTE for fixing of bug #16897. See: https://bugs.adobe.com/jira/browse/SDK-16897 https://bugs.adobe.com/jira/browse/SDK-16897 --Jim --- In flexcoders@yahoogroups.com, aceoohay pa...@... wrote: Alex: Neither of these options are practical in the

[flexcoders] Re: changes on item renderers on a List

2009-03-13 Thread gwangdesign
I guess what I am trying to figure out is how to get the de-selected item or de-selected index in a List? I know there are public members selectedIndex/selectedItem...

[flexcoders] Re: ColumnCharts - problem adding a LineSeries to ColumnChart w/o SecondSeries

2009-03-13 Thread EddieBerman
Just noticed - it appears that this behavior has been logged as a bug: https://bugs.adobe.com/jira/browse/FLEXDMV-1957 Still looking for a workaround, in the event anyone's already dealt with this. Thanks, -Eddie --- In flexcoders@yahoogroups.com, EddieBerman eddieberman2...@... wrote: I'm

Re: [flexcoders] Hiding Swf on a website

2009-03-13 Thread Rick Winscot
Christophe ­ not sure if this helps... but I put together a sample of one approach that might work for you. http://www.quilix.com/node/31 Rick Winscot On 3/13/09 7:08 AM, christophe_jacquelin christophe_jacque...@yahoo.fr wrote: Hello, How to hide swf files on a website,

Re: [flexcoders] Hiding Swf on a website

2009-03-13 Thread Guy Morton
Rick, I'm surprised setting the content-type to application/octet- stream worked...does it work in all browsers/OSes? Do you have to set the content type in the wrapper if you use that approach? If you don't it'd surprise me if all browsers were smart enough to do the right thing with the

[flexcoders] Re: LCDS data management - original data on the client

2009-03-13 Thread Geoffrey
I'm interested in somehow showing that an item from a managed collection in a datagrid has pending changes, whatever they may be. Change the color of the row, bold the text, add another column with a status symbol, etc Something that let's the user know that this particular item has

RE: [flexcoders] changes on item renderers on a List

2009-03-13 Thread Tracy Spratt
I think I would approach this by having an isExpanded property on the dataProvider items, and toggle that property using logic in a change handler. The renderer would use that property to set its visual state. There won't be any clear relationship between selectedItems and the visual

RE: [flexcoders] Re: datagrid.selectedItem to vo?

2009-03-13 Thread Tracy Spratt
It looks ok to me too. One thing, your result handler should be typed ResultEvent. Also, assigning an object makes a reference to the original object. Could anything be nulling that original object. Tracy Spratt, Lariat Services, development services available _ From:

Re: [flexcoders] Hiding Swf on a website

2009-03-13 Thread Rick Winscot
Hmm I guess I could have used application/x-shockwave-flash as the content type. I'll change that - it looks sexier. An fyi though - Flash has supported progressive download via HTTP for some time. The browser is just the host/conduit - the wrapper is what hooks the stream up to the Flash

[flexcoders] Re: canvas backgroundimage loadercontext

2009-03-13 Thread rdibona
Thanks for the reply. Assuming that I am willing to take the risk of the server going down (the images are stored on Amazon S3 so they are pretty safe), how can I have a backgroundimage check the policy file, using LoaderContext or otherwise? This is an app that has been working great for over

[flexcoders] Re: datagrid.selectedItem to vo?

2009-03-13 Thread ppongtong
Please try public function result(evt:Event) :void { var dummy :headlineVO; // dummy MyModel.getInstance().adminARCHeadlines = new ArrayCollection (event.result); } --- In flexcoders@yahoogroups.com, Greg Morphis gmorp...@... wrote: In the command result I have public function

[flexcoders] Re: datagrid.selectedItem to vo?

2009-03-13 Thread ppongtong
Actually, I just saw u have RemoteClass metadata already. please try this... public function result(event:Object) :void { var temp :HeadLineVO; //just fake, that we import and use the class. MyModel.getInstance().adminARCHeadlines = new ArrayCollection (event.result); } --- In

[flexcoders] Re: datagrid.selectedItem to vo?

2009-03-13 Thread ppongtong
Please try public function result(event:Object) :void { var dummy :headlineVO; // add this line MyModel.getInstance().adminARCHeadlines = new ArrayCollection(event.result); } --- In flexcoders@yahoogroups.com, Greg Morphis gmorp...@... wrote: In the command result I have public

[flexcoders] Re: canvas backgroundimage loadercontext

2009-03-13 Thread rdibona
Thanks for the reply. Assuming that I am willing to take the risk of the server going down (the images are stored on Amazon S3 so they are pretty safe), how can I have a backgroundimage check the policy file, using LoaderContext or otherwise? This is an app that has been working great for over

[flexcoders] null parent for ChartLabel

2009-03-13 Thread maciek9billion
(apologies if this is a double post--I'm having e-mail problems) I'm getting the following stack trace when changing the layout of some charts: TypeError: Error #1009: Cannot access a property or method of a null object reference. at

Re: Fw: [flexcoders] Sorting on Datagrid

2009-03-13 Thread wubac1
Please see ICollectionView and ListCollectionView source code. You need to account for paging in your collection. Since your collection inherits from ArrayCollection, the sorting is currently done as dicated by ListCollectionView. Since ListCollectionView does not account for paging, your

[flexcoders] Question, I am having problems with my encrypted local store

2009-03-13 Thread djhatrick
I am saving some info, and when i save the int goes in correctly, but when I readInt() it comes out a lot bigger, I can't find the relationship Here's what i am dealing with: ##VirtualBounds (x=0, y=0, w=3200, h=1200) READING this.virtualBounds 0 0 819200 307200 It's really

RE: [flexcoders] Re: canvas backgroundimage loadercontext

2009-03-13 Thread Alex Harui
One possibility would be to subclass flash.display.Loader and supply that as the backgroundImage class then have it load the image with a custom URL Alex Harui Flex SDK Developer Adobe Systems Inc.http://www.adobe.com/ Blog: http://blogs.adobe.com/aharui From: flexcoders@yahoogroups.com

RE: [flexcoders] Re: stage mouseUp not firing outside app window

2009-03-13 Thread Alex Harui
MouseLeave for me on windows. What is your configuration? Alex Harui Flex SDK Developer Adobe Systems Inc.http://www.adobe.com/ Blog: http://blogs.adobe.com/aharui From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of graham.t...@rocketmail.com Sent: Friday, March

RE: [flexcoders] Re: FocusManager fun... Tab Loops redux

2009-03-13 Thread Alex Harui
Paul and I have discussed off line. He's got a bunch of module panels that we wants to overlap and drag around the screen and have tabbing stay within which ever panel was clicked in and moved on top of the others. Flex has all of this built-in. Once he gets his modules popped up, he should

  1   2   >