[flexcoders] Page curl effect? - anyone have one?

2007-11-03 Thread steve
Hi, does anyone have a Page curl effect? or suggestions on how to create one? thanks, steve

Re: [flexcoders] mx:Text - how to get number of lines of text?

2007-11-03 Thread Paul Booth
Thanks Alex. Have created bug report SDK-13316 in Jira. Cheers, Paul. On 02/11/2007, Alex Harui [EMAIL PROTECTED] wrote: That's not an exposed API. Probably worth filing a bug as your not the first to ask for it. For now, subclass Text and get to the underlying TextField

Re: [flexcoders] Issue with SOAPDecoder

2007-11-03 Thread Sebastien ARBOGAST
When I set resultFormat to e4x instead of object, I get the following value in event.result: res:getAllUsersResponse xmlns:res=http://soapenc/; xmlns:soapenv=http://schemas.xmlsoap.org/soap/envelope/; xmlns:wsa=http://schemas.xmlsoap.org/ws/2004/08/addressing; arg0 fullName

[flexcoders] Re: Why is mouseOut being called?

2007-11-03 Thread dbronk
Is there a way to catch the MouseEvents coming from the VBox and HBox and cancel the bubble before it gets to my parent Canvas? I have checked the currentTarget and the Target and my Canvas object is in the event when I mouse into the V/HBox, but I can't seem to see the V/HBox in the event

[flexcoders] Image source bug??? No Event.COMPLETE with bitmap

2007-11-03 Thread Kevin
I seems to have encountered a bug while using the source property of the Image container. Before I file a bug report I want to see if I am possibly doing something wrong. I tried two different tests: 1) create an image component with id=myImage source=some/url/ string.jpg and then listen

Re: [flexcoders] Page curl effect? - anyone have one?

2007-11-03 Thread Daniel Freiman
You might be able to take something from: http://www.quietlyscheming.com/blog/components/flexbook/ - Dan Freiman On 11/3/07, steve [EMAIL PROTECTED] wrote: Hi, does anyone have a Page curl effect? or suggestions on how to create one? thanks, steve

[flexcoders] PureMVC experts -- need assistance on mx.remoting.remoteObject calls

2007-11-03 Thread tomeuchre
I have a Flex app that interacts perfectly with my java app, when using the mx:remoteOject definition and the getters and setters are in mxml components. However, I want to migrate to pureMVC and use ActionScript instead. I started with the Arch101Demo example, and made a class in my java app

[flexcoders] Re: Repeaters and ListCollectionViews

2007-11-03 Thread simonjpalmer
Yup, got it working, however it seemed to need me to explicitly bind a property of the Repeater to the control being repeated before it started working. mx:Repeater dataProvider={filtered_planpoints} id=pp_repeater crm:ctrl_PlanPointDropTarget width=100%

[flexcoders] i cant get my edited data our of my grid :(

2007-11-03 Thread Michael Azar
this.mygrid.data[0].FirstName (DOESNT WORK--can you fix it for me.) i assume its something like that. I have a simple question. All I want to do is loop through I data grid to get the data out. not the data from the data provider but the actual data (once edited) directly from the DG. I

Re: [flexcoders] Aha... did someone say C/C++ to AS3???

2007-11-03 Thread dorkie dork from dorktown
Hi Aldo, I have been writing components for Flash and Flex for the last 5 years, created a JavaScript to VBScript converter, etc and although you can port things like C++ to AS3 there still can be a lot of additional work to do. For a demo like Quake, they are converting mostly graphics. As

Re: [flexcoders] i cant get my edited data our of my grid :(

2007-11-03 Thread Scott Melby
Michael - The edited data is passed to you via the itemEditEnd event do something like itemEditEnd=handleItemEditEnd on your data grid definition. By default the editors will put the edited data back into the datafield (from the column definition) of the objects in your data provider.

[flexcoders] Re: i cant get my edited data our of my grid :(

2007-11-03 Thread candysmate
--- In flexcoders@yahoogroups.com, Michael Azar [EMAIL PROTECTED] wrote: this.mygrid.data[0].FirstName (DOESNT WORK--can you fix it for me.) i assume its something like that. I have a simple question. All I want to do is loop through I data grid to get the data out. not the data from

Re: [flexcoders] Image source bug??? No Event.COMPLETE with bitmap

2007-11-03 Thread Kevin
so it seems I may have been listening for the wrong event... Things seem to work when I listen for Event.UPDATE_COMPLETE rather than just Event.COMPLETE. I guess that makes sense... It always seems the minute I hit send, I answer my own questions... - Kevin On Nov 3, 2007, at 10:50 AM,

Re: [flexcoders] Aha... did someone say C/C++ to AS3???

2007-11-03 Thread Jeffry Houser
I don't perceive the use of this would be converting full applications, but rather individual libraries that you can reuse without having to re-write. I recently took some .NET code that will load an XML file and parse specific data out of it into an AS3 library. While not a hard task, a

RE: [flexcoders] Re: Why is mouseOut being called?

2007-11-03 Thread Alex Harui
stopImmedProp should work, but could have side effects. I would: Use rollout/rollover, or Test if rawChildren.contains(event.relatedObject) From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of dbronk Sent: Saturday, November 03, 2007

RE: [flexcoders] Issue with SOAPDecoder

2007-11-03 Thread Alex Harui
Ok, so xml is valid, now you have to figure out why the decoding fails. That is not my area of expertise, but I thought if you used RegisterClass properly, the decoding would get done for you From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On

RE: [flexcoders] Page curl effect? - anyone have one?

2007-11-03 Thread Alex Harui
Quietlyscheming.com From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of steve Sent: Saturday, November 03, 2007 12:38 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Page curl effect? - anyone have one? Hi, does anyone have a

[flexcoders] Re: Q: Issues generating AS proxy classes from WSDL

2007-11-03 Thread Adam Bradley
--- In flexcoders@yahoogroups.com, Peter Farland [EMAIL PROTECTED] wrote: Forgetting about Flex for a moment, I first tried loading your WSDL using Eclipse WTP 1.5.5 (based on Eclipse 3.2.2)'s Web Service Explorer and it reported 100s of errors and warnings. I'd independently try to use

[flexcoders] Re: i cant get my edited data our of my grid :(

2007-11-03 Thread Michael Azar
but i am going to edit the data in the grid so accessing the data from the array would defeat the purpose of getting the data from the array. --- In flexcoders@yahoogroups.com, candysmate [EMAIL PROTECTED] wrote: --- In flexcoders@yahoogroups.com, Michael Azar mazarflex@ wrote:

Re: [flexcoders] Charting: adjust y-axis range automatically when changing x-axis range

2007-11-03 Thread Stephen Allison
I've not done exactly what you need before, but something similar by creating a subclass of LinearAxis and overriding the dataChanged method (IIRC, may possibly be update) and using this class as the vertical axis. In the override you can get hold of the DataDescription object of your

[flexcoders] Datagrid ArrayCollection XML Data - unwanted text,

2007-11-03 Thread kalpkat9
Hi, I am parsing data from an xml file(sheet11.xml) into an ArrayCollection, and some of the fields in the xml files has no data, such as field2: sheet11.xml row field1data1/field1 field2/field2 field3data1/field3 /row when i populate the data into my datagrid and execute the mxml, i have

[flexcoders] Re: Q: Issues generating AS proxy classes from WSDL

2007-11-03 Thread Adam Bradley
--- In flexcoders@yahoogroups.com, Peter Farland [EMAIL PROTECTED] wrote: Forgetting about Flex for a moment, I first tried loading your WSDL using Eclipse WTP 1.5.5 (based on Eclipse 3.2.2)'s Web Service Explorer and it reported 100s of errors and warnings. I'd independently try to use

[flexcoders] remove a item in ArrayCollection

2007-11-03 Thread flexawesome
Hey there, I have a problem to remove the first *object* in myData, any suggestion? Thank you === [Bindable] private var myData:ArrayCollection; myData.removeItemAt(myData.getItemAt(0));

[flexcoders] Re: remove a item in ArrayCollection

2007-11-03 Thread simonjpalmer
how about myData.removeItemAt(0)? --- In flexcoders@yahoogroups.com, flexawesome [EMAIL PROTECTED] wrote: Hey there, I have a problem to remove the first *object* in myData, any suggestion? Thank you === [Bindable] private var

[flexcoders] Re: remove a item in ArrayCollection

2007-11-03 Thread flexawesome
hummm I got this error msg: === Severity and DescriptionPathResourceLocation Creation Time Id 1118: Implicit coercion of a value with static type Object to a possibly unrelated type mx.collections:ArrayCollection. test.mxml line 69

[flexcoders] Re: remove a item in ArrayCollection

2007-11-03 Thread simonjpalmer
I think you need to show a bit more of your code. ArrayCollection is an index based array, so as long as you are using 0(zero) as the index and not o (the letter o) then removeItemAt() should work. If the error you get is a compiler error, then you aren't strongly typing the object being

Re: [flexcoders] Re: remove a item in ArrayCollection

2007-11-03 Thread Paul Andrews
There shouldn't be a problem with Simons suggestion. Post your code. The message seems to suggest you didn't declare myData as an ArrayCollection, but your original code did. Hmm.. Paul - Original Message - From: flexawesome [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent:

Re: [flexcoders] Aha... did someone say C/C++ to AS3???

2007-11-03 Thread Doug McCune
Yes, the player is fantastic. But how will adobe make money out of it if... their business model ( with regards to the flash platform ) now revolves around development tools and data/media infrastructure, not the player itself which, licensed as you say it is, didn't cost me or anyone I know

[flexcoders] Re: remove a item in ArrayCollection

2007-11-03 Thread flexawesome
here is my completed code... I am going to remove the first site of *adobe* in xml this seems doesn't in this case, any suggestion? Thanks myData.removeItemAt(myData.getItemAt(0)); == need to remove this part out from ArrayCollection == site labelADOBE/label totals500/totals

[flexcoders] Re: remove a item in ArrayCollection

2007-11-03 Thread simonjpalmer
you are assigning event.result.sites.site to myData which you have declared as an ArrayCollection. What makes you think event.result.sites.site is an ArrayCollection? Have you inspected event.result.sites.site in the debugger? --- In flexcoders@yahoogroups.com, flexawesome [EMAIL PROTECTED]

Re: [flexcoders] Re: remove a item in ArrayCollection

2007-11-03 Thread Paul Andrews
I added: private function resultHandler(event:ResultEvent):void { myData = event.result.sites.site; trace(myData.length: +myData.length); myData.removeItemAt(0); trace(myData.length: +myData.length); } and corrected your xml by closing the sites markup. and saw: myData.length: 2

[flexcoders] Re: remove a item in ArrayCollection

2007-11-03 Thread flexawesome
ya, it shows [object] [object] in deugger window. it looks I can use removeItemAt to remove the object, but it doesn;t work -_- Cheers --- In flexcoders@yahoogroups.com, simonjpalmer [EMAIL PROTECTED] wrote: you are assigning event.result.sites.site to myData which you have declared as an

Re: [flexcoders] Re: remove a item in ArrayCollection

2007-11-03 Thread Paul Andrews
Oh yes it does.. Paul - Original Message - From: flexawesome [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Sunday, November 04, 2007 2:37 AM Subject: [flexcoders] Re: remove a item in ArrayCollection ya, it shows [object] [object] in deugger window. it looks I can use

Re: [flexcoders] Re: remove a item in ArrayCollection

2007-11-03 Thread AJ Seelund
change the result format in your http service to e4x flexawesome wrote: ya, it shows [object] [object] in deugger window. it looks I can use removeItemAt to remove the object, but it doesn;t work -_- Cheers --- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com,

[flexcoders] Loading a legacy swf - SecurityDomain issue

2007-11-03 Thread reflexactions
I have a legacy AS2 swf, it usually runs in a web page and it is passed a couple of params via flashvars and then loads a few things like jpg/swf as children of _root etc. I am trying to see if its possible to have it loaded into a flex/air app. In this root would mean root of the loading swf

[flexcoders] Gets arrange items in ArrayCollection?

2007-11-03 Thread flexawesome
Hey there, Is there a way to get arrange items in ArrayCollection? ( like substr ) for example: var myData:ArryCollection it contents 10 *items* I can get entire list of myData, but I only need index 2 - 7, kick out 0,1,8,9,10. Cheers

RE: [flexcoders] Gets arrange items in ArrayCollection?

2007-11-03 Thread Alex Harui
source.slice(). See array.slice() for documentation. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of flexawesome Sent: Saturday, November 03, 2007 10:22 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Gets arrange items in

RE: [flexcoders] Loading a legacy swf - SecurityDomain issue

2007-11-03 Thread Alex Harui
There is a quirk in Flash Player where the first swf it runs dictates the relative paths of all other swfs that are loaded. SWFLoader works around that, but in local mode you have make sure your trust files encompass the places it is loading from. Most folks replace flashvars with url params.

RE: [flexcoders] Datagrid ArrayCollection XML Data - unwanted text,

2007-11-03 Thread Alex Harui
toArray() is not nearly as smart as you think it is. You might be able to use XMLDecoder, or write your own converter, or just us XMLListCollection From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of kalpkat9 Sent: Saturday, November 03,

[flexcoders] Re: Gets arrange items in ArrayCollection?

2007-11-03 Thread flexawesome
Thanks for your reply Alex, slice is only in Array, but couldn't be used in ArrayCollection class. Would you please show me how to use it in ArrayCollection? ===the code doesn't work in this case var myData:ArrayCollection myData.slice() Cheers --- In flexcoders@yahoogroups.com,

RE: [flexcoders] Re: i cant get my edited data our of my grid :(

2007-11-03 Thread Alex Harui
If you pass an Array or ArrayCollection to a DataGrid that has editable=true and click on or tab to cells and change their values, the Array or ArrayCollection has been modified. The DG does not keep its own private copy of modified values. You can read it out via