[flexcoders] Re: How to optimise SWC to its minimal size?

2009-08-17 Thread lytvynyuk
to exclude specific classes - as long as you're sure that your code _will_ have access to them at runtime. Documentation here: http://livedocs.adobe.com/flex/3/html/help.html?content=compilers_14.html HTH, Ian On Fri, May 22, 2009 at 4:13 PM, lytvynyuk lytvyn...@... wrote: Any

[flexcoders] Picasa Flex API - Build your own frontend for Google Picasa backend.

2009-08-06 Thread lytvynyuk
I want to show people what I beed dooing from time to time in moment when I had spare time. I think It can be useful for people who want to make galleries but not to be care about backend anf for anybody who want to intergrate their apps with Google Picasa

[flexcoders] Who can explain me this:

2009-07-27 Thread lytvynyuk
?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; layout=absolute creationComplete=init() mx:Script ![CDATA[ import mx.collections.ArrayCollection; private var a:Object

[flexcoders] Re: How to optimise SWC to its minimal size?

2009-05-22 Thread lytvynyuk
Any ideas? Hey, Flex gurus I know you are here! :)

[flexcoders] How to optimise SWC to its minimal size?

2009-05-19 Thread lytvynyuk
I've created SWC consisting from a single class but class contains a bunch of methods and when I built SWc i found that it is 87Kb. In same time report.xml stated that my class is only 3kb, everything else is garbage consisting from many Flex frameworks classes used directly or indirectly in

[flexcoders] E4x. Strange behavior when modifying XML. Help needed.

2009-05-07 Thread lytvynyuk
I have XML instance like that: var xml:XML = data summary type='text'test/summary title type='text'test/title /data I want to edit text in summary and title elements. I do: xml.summary = This is my summary; xml.title = This is new title; but in resulting XML is see something like

[flexcoders] Re: E4x. Strange behavior when modifying XML. Help needed.

2009-05-07 Thread lytvynyuk
Thank you, but it doesn't work!! But!!! I think I forgot to mention one thing, my original XML has defined namespace... and look like that: var xml:XML = data xmlns='http://www.w3.org/2005/Atom' summary type='text'test/summary title type='text'test/title /data I've tried without

[flexcoders] Re: crossdomain proxy

2009-04-15 Thread lytvynyuk
You can create simple redirect script that redirects requests from your app to requester resource. Drawback - all traffic goes through your host. --- In flexcoders@yahoogroups.com, Baz thinkl...@... wrote: Hi, Is there a solution out there for proxying public services like amazon's

[flexcoders] Rotation/Zoom effect applied to the Image looks too aliased! How to fight it?

2009-01-08 Thread lytvynyuk
Is there any library which allow you manipulate images but with better resulting quality then original effects in Flex? If you do 5 rotation to an Image it looks really ugly... same with Zoom and scale.

[flexcoders] How to remove effect applied to image to its original state

2009-01-07 Thread lytvynyuk
Lets say I applied rotation to an image. I kept that Image object reference. Then I want to apply other effect to same image object, but previous effect already altered image. So question is how to restore original state of the image? Reloading not seems to be working, I mean image.load()!!!

[flexcoders] Tracking tab changes in TabNavigator ?!

2008-07-28 Thread lytvynyuk
I need to somehow trace that another tab selected to do some action based on it. Cannot find proper event which can be generated when I click on tabs or switch tabs.

[flexcoders] Re: #2038: File I/O Error

2008-07-03 Thread lytvynyuk
Well, I've picked file by browsing using FileReference's browse() method, and my file is simple *.png --- In flexcoders@yahoogroups.com, Sean Clark Hess [EMAIL PROTECTED] wrote: The other thing is that the file may be corrupted, or doesn't exist... On Wed, Jul 2, 2008 at 1:43 PM, lytvynyuk

[flexcoders] Re: #2038: File I/O Error

2008-07-03 Thread lytvynyuk
Update: I works under IE7 doesn't work with Rirefox 2.0.0.15! Doesn't work with Opera as well! I suspect this is not browser issue, this is FlashPlayer issue, because Firefox and Opera uses same Flash Player binaries! --- In flexcoders@yahoogroups.com, lytvynyuk [EMAIL PROTECTED] wrote: I

[flexcoders] Re: #2038: File I/O Error

2008-07-03 Thread lytvynyuk
versions running in IE and firefox? On Thu, Jul 3, 2008 at 8:56 AM, lytvynyuk [EMAIL PROTECTED] wrote:

[flexcoders] #2038: File I/O Error

2008-07-02 Thread lytvynyuk
I getting this error, but when I put breakpoint at my server side code nothing coming through!! When I created little HTML page with file upload filed to same servlet location - IT WORKS! I used Live HTTP headers to see activity on HTTP requests - nothing nothing going through, also I used

[flexcoders] Re: #2038: File I/O Error

2008-07-02 Thread lytvynyuk
, lytvynyuk [EMAIL PROTECTED] wrote: I getting this error, but when I put breakpoint at my server side code nothing coming through!! When I created little HTML page with file upload filed to same servlet location - IT WORKS! I used Live HTTP headers to see activity on HTTP requests

[flexcoders] Re: #2038: File I/O Error

2008-07-02 Thread lytvynyuk
I did. I all cases request can reach server, in my case no. Just an exception, no network activity I'm puzzled. --- In flexcoders@yahoogroups.com, Sean Clark Hess [EMAIL PROTECTED] wrote: You have to do it serverside -- for example, if you're using PHP, you have to change Apache's maximum

[flexcoders] Uploading binary file and RemoteObject call

2008-06-27 Thread lytvynyuk
I have situation that in addition to my RemoteObject call, which invokes medthod on my server with object containing some fields, I need to send content of some file as well. I thought I can some how load it to the client the make it like one of the fields of RO. But I don't think I can read local

[flexcoders] How to copy or clone Dictionary?

2008-04-04 Thread lytvynyuk
Because var temp:Dictionary = new Dictionary(); // put something in Dictionary var new:Dictionary = ObjectUtil.copy(temp) as Dictionary; doesn't work;

[flexcoders] Re: How to copy or clone Dictionary?

2008-04-04 Thread lytvynyuk
Sorry friend but I think your case will not gonna work ;) what is put methods? Dictionary doesn't have it :) But here is my corrected case, where I do object copy of entries, this case will not gonna work If you entries is Dictionary or Class static public function

[flexcoders] Re: How to copy or clone Dictionary?

2008-04-04 Thread lytvynyuk
Yes!!! Thank you, actually u helped me a lot! :) --- In flexcoders@yahoogroups.com, Scott Melby [EMAIL PROTECTED] wrote: hey... i was close ;) Scott Scott Melby Founder, Fast Lane Software LLC http://www.fastlanesw.com http://blog.fastlanesw.com lytvynyuk wrote: Sorry friend

[flexcoders] Re: Posted bug in Adobe with description of the problem

2008-04-02 Thread lytvynyuk
gets its first render event and sets the columns. Hmm. its 4:05 a.m. - and I'm thinking that this probably isn't the best way to do this. Let me get some sleepy and I'll look at this again. Rick Winscot From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of lytvynyuk

[flexcoders] Re: Announcement: Join us in a Flex-Related Focus Group

2008-04-01 Thread lytvynyuk
Jeff I didn't want to turn this into discussion of your website design, but I think any great idea have nice visual presentation :) I like to participate to anything which gives me as much knowledge as possible, I too new to Flex/RIA sphere to know people who are great here, so cant say anything.

[flexcoders] Posted bug in Adobe with description of the problem

2008-04-01 Thread lytvynyuk
May be I do something wrong, but I will give a change to somebody from Adobe tell me what is going on. http://bugs.adobe.com/jira/browse/SDK-15121

[flexcoders] How to deal with this sort of messages: CSS type selectors....

2008-04-01 Thread lytvynyuk
CSS type selectors are not supported in components: 'Alert' I getting all over the places in my application and modules, I have Alert {} style defined in external main.css files. When Flex compiler build this it always complains (Warnings) but in application actually all styles in place. HM?

[flexcoders] How to manually delete references to objects?

2008-03-31 Thread lytvynyuk
I saw some examples like that: // create a new object, and put a reference to it in a: var a:Object = {foo:bar} // copy the reference to the object into b: var b:Object = a; // delete the reference to the object in a: delete(a); But it definitely wont even compile. Is there any techniques to do

[flexcoders] Re: How to manually delete references to objects?

2008-03-31 Thread lytvynyuk
Ralf. On Mon, Mar 31, 2008 at 5:03 PM, lytvynyuk [EMAIL PROTECTED] wrote: I saw some examples like that: // create a new object, and put a reference to it in a: var a:Object = {foo:bar} // copy the reference to the object into b: var b:Object = a; // delete

[flexcoders] Re: Announcement: Join us in a Flex-Related Focus Group

2008-03-31 Thread lytvynyuk
Hm, sorry, but I don't like design of http://www.dot-com-it.com --- In flexcoders@yahoogroups.com, Jeffry Houser [EMAIL PROTECTED] wrote: Hi Everybody, Some of you may know me, but many probably not. I'm Jeffry Houser, producer of The Flex Show, a flex related podcast. I also run a

[flexcoders] Re: Dynamically generated DataGrids having troubles with column width

2008-03-30 Thread lytvynyuk
Sorry friend, I didn't quite understand what do you suggesting. Example is extremely simple and it suppose to be simply working, but it is not. I suspect there are some funky things going on with columns when it DG tries to draw them. Question - is it BUG or I'm using it improperly? --- In

[flexcoders] Dynamically generated DataGrids having troubles with column width

2008-03-28 Thread lytvynyuk
When DG created by AS and placed into tab navigator, it completely ignores its width, why? Here is an example: ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; layout=absolute creationComplete=init(); mx:Script ![CDATA[

[flexcoders] Re: Singletone class in Application and Modules !?

2008-03-26 Thread lytvynyuk
Aha, that is the answer for my question! Thank you Manish ;) Thank you all guys for participating, I still have many things to learn, so I will be around for a while :) Is it true if I have singleton class instantiated in main application and in module, instances will be different? [snip]

[flexcoders] Singletone class in Application and Modules !?

2008-03-25 Thread lytvynyuk
Is it true if I have singleton class instantiated in main application and in module, instances will be different? public class DataManager { private static const singleton_:DataManager = new DataManager(); public static function get instance():DataManager {

[flexcoders] Re: Can a Listener return a value

2008-03-25 Thread lytvynyuk
The following code cannot be even compiled, not work What do u meant there? I thought about something like this too. So, let's say we have the followig code: public function aFunction():XML { public var publicParameter:XML = new XML; addEventListener( Event.SomeEvent,

[flexcoders] Re: Singletone class in Application and Modules !?

2008-03-25 Thread lytvynyuk
I figured out the case. I, actually, made first instance in another module not in main App. Conclusion is: if you make instance in your main app - everything works fine. If you did it in one of modules, this and all others will get new instances. Very easy to see when put trace(BLAH) in the

[flexcoders] Re: Singletone class in Application and Modules !?

2008-03-25 Thread lytvynyuk
This will not change anything, still will be many times instantiated singleton as in my example. Scope control is just to prevent funny guys doing something like var Vasya = new DataManager(); --- In flexcoders@yahoogroups.com, Rick Winscot [EMAIL PROTECTED] wrote: I just looked at your source.

[flexcoders] Re: FIY - WeakMethodClosure - memory leaking example.

2008-03-24 Thread lytvynyuk
Thank you for attention to this problem. I run it for an hour and found memory growth. --- In flexcoders@yahoogroups.com, Alex Harui [EMAIL PROTECTED] wrote: Don't have time to run it right now, but I think it doesn't actually leak them in the release player. It will be a pain for running

[flexcoders] FIY - WeakMethodClosure - memory leaking example.

2008-03-22 Thread lytvynyuk
Here i s little example which shows constant grows number of instance of WeakMethodClousure... with this rate over night hm ?xml version=1.0? !-- charts/BasicColumn.mxml -- mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; mx:Script![CDATA[ import

[flexcoders] WeakMethodClosure - what is this ?

2008-03-14 Thread lytvynyuk
O, thank you! What about array.length = 0;? Returning to WeakMethodClosure - in 1 hour of running application profiller has 5600 instances of this thing, take 90kb of memory. Examinig backreference shhows that many of them is adding events listener inside components like charts. Are this valid

[flexcoders] Possible problems with construction like - {name:Name, value:23}.... ??

2008-03-14 Thread lytvynyuk
One more things - Is it possible to have any potential problem with constructiuon like: arayColl.addItem({name:Name, value:23}); ? in favor of following piece of code: var myObj = new MyObj(); myObj.name = Name; myObj.value = 23; arayColl.addItem(myObj); ?

[flexcoders] Re: WeakMethodClosure - what is this ?

2008-03-14 Thread lytvynyuk
How typically you detect if Charts are leaking? Coz I having troubles with that, but definitely something going on. The doc says setting length it will work, but I've never tried it. If you have WMC's referencing Charts, you need to make sure the Charts aren't leaking, and that when a

[flexcoders] Dynamic ColumnSeries leavine a lot of garbage in memory.... example inside

2008-03-13 Thread lytvynyuk
My gola is to create Column chart with series which can be dynamically modified (number of series may vary) I created this piece of code, i works, but pluut memory alot by ColumnSeries object which are loitering or just hanging. I spent a lot of time to find a way to destroy them, not

[flexcoders] WeakMethodClosure - what is this ?

2008-03-11 Thread lytvynyuk
During my research with Flex performance found that instances of WeakMethodClosure constantly increasing. I do not have knowledge what is that and how to avoid it. 1859 instances for example can take only 30k of memory... but still BTW found that Flash player running under Firefox Opera newer

[flexcoders] Memory allocations problems when intensively using charts and modules

2008-03-06 Thread lytvynyuk
I having really serious troubles with my application when using charts. My application collects lots of data in pseudo realtime (poll for data every 5 sec) and display charts and graphs. Everything works fine but with time memory allocated by Firefox process getting enormous and Firefox eventually

[flexcoders] How to turn off exception messages in release version.

2008-02-22 Thread lytvynyuk
How to turn off exception messages ( e.g. ActionScript errors ) in release version?

[flexcoders] Re: Flex Ant Task for F3b3 genereates ALWAYS debug version, how to fix that?

2008-02-21 Thread lytvynyuk
I see, still I have debug version, which popups exceptions when something happened. (BTW, how to distinguish between debug and non debug, size?) But another fun started when I deployed everything under Linux (Red Hat) Application was build and linked using framework_3.0.189825.swz under

[flexcoders] Re: Flex Ant Task for F3b3 genereates ALWAYS debug version, how to fix that?

2008-02-20 Thread lytvynyuk
://bugs.adobe.com/flex with your test case Thanks, Gaurav --- In flexcoders@yahoogroups.com, lytvynyuk lytvynyuk@ wrote: Nothing happened, same size. That is mean, It didn't checks that options or I do something wrong. Need to do deeper investigation. All that FlexAntTasks story is so

[flexcoders] Re: Flex Ant Task for F3b3 genereates ALWAYS debug version, how to fix that?

2008-02-20 Thread lytvynyuk
In that case no point to report bug, everything works for me too. Problem for me is different actually it is about RSL. I try to build everytinh with RSL which suppose to decrease size of my application. WQhich is not happening. AS you see I included RSL into my flex build task but it doesnt

[flexcoders] Re: Flex Ant Task for F3b3 genereates ALWAYS debug version, how to fix that?

2008-02-20 Thread lytvynyuk
are using FB 3, it would use runtime-shared-library-path and not runtime-shared-libraries. runtime-shared-library-path was introduced in flex 3 to support framework caching. Thanks, Gaurav --- In flexcoders@yahoogroups.com, lytvynyuk lytvynyuk@ wrote: In that case no point to report bug

[flexcoders] Flex Ant Task for F3b3 genereates ALWAYS debug version, how to fix that?

2008-02-19 Thread lytvynyuk
Here is piece of my flex ant file: mxmlc file=${BUILD_SPACE}ActiveUpdate.mxml output=${DEPLOY_DIR}/ActiveUpdate.swf actionscript-file-encoding=UTF-8 services=${BUILD_SPACE}res/services-config.xml

[flexcoders] Re: Implementing Office 2007 menus

2008-02-19 Thread lytvynyuk
What is the point to copy?! What about to create something yourself? --- In flexcoders@yahoogroups.com, Fidel Viegas [EMAIL PROTECTED] wrote: Hello folks, I am trying to implement the Office 2007 menus, and I am trying to imagine what sort of Containers to use. So far, I have figured that I

[flexcoders] Re: Flex Ant Task for F3b3 genereates ALWAYS debug version, how to fix that?

2008-02-19 Thread lytvynyuk
in the .actionScriptProperties file to see what libraries FB is linking against and see if you have anything additional? Thanks, Gaurav --- In flexcoders@yahoogroups.com, lytvynyuk lytvynyuk@ wrote: Here is piece of my flex ant file: mxmlc file=${BUILD_SPACE}ActiveUpdate.mxml output

[flexcoders] Re: Embedded image and static variable problem.....

2008-01-30 Thread lytvynyuk
Ok,I see I did exactly like that :) --- In flexcoders@yahoogroups.com, Troy Gilbert [EMAIL PROTECTED] wrote: Yeah, you could do arrays, something like this: [Embed('myimage1.png')] private var myimage1:Class; [Embed('myimage2.png')] private var myimage2:Class; public var

[flexcoders] Embedded image and static variable problem.....

2008-01-29 Thread lytvynyuk
I have problem to bind image to static var my piece of code is: [EMAIL PROTECTED]('/images/image.png')] [Bindable] public static var image:Class; getting exception: TypeError: Error #1009: Cannot access a property or method of a null object reference. at support::PublicConstants$/get

[flexcoders] Re: Embedded image and static variable problem.....

2008-01-29 Thread lytvynyuk
Thank you Troy for answer, what about arrays of embedded images, It will be nice to refer via index, what do you think, is it possible? --- In flexcoders@yahoogroups.com, Troy Gilbert [EMAIL PROTECTED] wrote: That piece of code should be giving you a warning... I don't think you can bind to

[flexcoders] Re: Embedded image and static variable problem.....

2008-01-29 Thread lytvynyuk
Message From: lytvynyuk [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Tuesday, January 29, 2008 11:24:23 AM Subject: [flexcoders] Embedded image and static variable problem. I have problem to bind image to static var my piece of code is: [EMAIL PROTECTED]('/images/ image.png

[flexcoders] Re: Handling authorization/Authentication info using remoteObject services

2008-01-07 Thread lytvynyuk
I would like to know about this more too. People please share! --- In flexcoders@yahoogroups.com, bdealy1 [EMAIL PROTECTED] wrote: Hi, I am implementing a system which makes use of RemoteObject services within flex to speak to server side services like database, and other server-side code.

[flexcoders] Flex 3 Beta 3 Liecnse, was something changed?

2007-12-17 Thread lytvynyuk
I'm owner Flex 2.0.1 License and Charts. Before F2b3 my license for Flex Builder and Flex Charts works well, but now it said - Invalid key!? Are licenses incompatible now?

[flexcoders] Help with ant build file for Flex needed.

2007-12-10 Thread lytvynyuk
Here is a piece of my build file. I want application build it using RSL. I don't have any clear direction what to do. Basically I want to simulate Library path tab option Framework linkage in Eclipse. How can I modify existent build script to achieve desired result? --- target name=build

[flexcoders] Re: Flex grid to serve 100K-1mil rows

2007-11-09 Thread lytvynyuk
Personally i think it very bad idea, can you imagine sort/search 1M records at client, how fast it will be ? What if you decided to do full text search by pattern? your client will die! Can you image how much memory it will consume at client side? best way to do is - smart server querying,

[flexcoders] Re: SQLite help Flex 3 Beta 2

2007-11-09 Thread lytvynyuk
If you are not getting any SQL exceptions, check you OrgId, and actual IDs in table. Then check what do you have in result variable. --- In flexcoders@yahoogroups.com, Nick Collins [EMAIL PROTECTED] wrote: Okay, I'm trying to execute a query on my local SQLite database using the following

[flexcoders] Re: Loading Flex Components at runtime

2007-11-09 Thread lytvynyuk
Modules work only with Flex 2.0.1 RSLs mentioned here only with F3B2! What kind of version are you running? Keep in mind you can link SWC anly at compile time, if somebody think I'm wrong, please correct me. SWFs you may load at run time for sure. But can you execute code from them - I doubt. My

[flexcoders] Re: Flex grid to serve 100K-1mil rows

2007-11-09 Thread lytvynyuk
BTW, according to my personal experience flash player unable to handle more that 10K records in data grid. Just physically unable - out of memory error! --- In flexcoders@yahoogroups.com, letterpigeon [EMAIL PROTECTED] wrote: Hi all, We've built a flex grid that supports mass action on its

[flexcoders] Re: Resize DataGrid Row on ItemEditor showEvent with variableRowSize=true?

2007-11-09 Thread lytvynyuk
based on the itemEditors Height not the itemEditors Height. - sound funny, but I understand what do u mean ;) Make your Editor and Renderer height same, that is it. But is they are physically cannot be same height, as I understand your problem, after edit done row height not coming back to

[flexcoders] Help with ant build file for Flex needed.

2007-11-08 Thread lytvynyuk
Here is a piece of my build file. I want application build it using RSL. I don't have any clear direction what to do. Basically I want to simulate Library path tab option Framework linkage in Eclipse. How can I modify existent build script to achieve desired result? --- target name=build

[flexcoders] Re: Type coercion error for ToggleButtonBar in very simple example.... possibly

2007-11-01 Thread lytvynyuk
. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of lytvynyuk Sent: Wednesday, October 31, 2007 7:20 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Type coercion error for ToggleButtonBar in very simple example

[flexcoders] How to send remotely Array of strings and at Java end get String[] array ?

2007-11-01 Thread lytvynyuk
I have difficulties to send array of string over RPC. At server side I always receiving Object[]. Is any special ways to get at Java end array of certain type?

[flexcoders] Re: Type coercion error for ToggleButtonBar in very simple example.... possibly

2007-10-31 Thread lytvynyuk
@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of lytvynyuk Sent: Tuesday, October 30, 2007 6:03 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Type coercion error for ToggleButtonBar in very simple example possibly --- In flexcoders@yahoogroups.com mailto:flexcoders

[flexcoders] Type coercion error for ToggleButtonBar in very simple example.... possibly bug!

2007-10-30 Thread lytvynyuk
Here is example Application: ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; layout=absolute mx:Script ![CDATA[ import mx.controls.Alert; ]] /mx:Script mx:Button x=133 y=10 label=s1 id=button1

[flexcoders] Re: Type coercion error for ToggleButtonBar in very simple example.... possibly

2007-10-30 Thread lytvynyuk
--- In flexcoders@yahoogroups.com, Alex Harui [EMAIL PROTECTED] wrote: Shared code problem. Put all shared classes in the main app or a shared code module. Thank you Alex for assistance! But I didn't get what doest it mean! Should I physically include all classes used in modules to main

[flexcoders] Re: Getting unexpected error while loading Images

2007-10-15 Thread lytvynyuk
Thank you Alex! Exactly that I did and it works well now. Also embedded loader progress into my component as well. --- In flexcoders@yahoogroups.com, Alex Harui [EMAIL PROTECTED] wrote: Subclass SWFLoader and override the regenerateStyleCache and notifyStyleChangeInChildren methods and have

[flexcoders] Re: How to converst an XML to AS Object ?

2007-09-15 Thread lytvynyuk
Thank you Troy, for your suggestions. I cannot understand one thing, using SimpleXMLDecoder i got Object from XML BUT I cannot make this ObjectProxy cast to my Album Object. What is the condition to cast object fields are same, I cant understand how does it works :( --- In

[flexcoders] Re: How to converst an XML to AS Object ?

2007-09-12 Thread lytvynyuk
Does anybody have good examples how SimpleXMLDecoder works ? --- In flexcoders@yahoogroups.com, lytvynyuk [EMAIL PROTECTED] wrote: Thank you I kinda knew about that way ;) but if my object contains30 fields and also has a bunch of another objects, this procedure will be painful ;) What

[flexcoders] How to converst an XML to AS Object ?

2007-09-09 Thread lytvynyuk
Situation I have XML like that album name/name images image/image image/image image/image /images /album using HTTPService I'm getting this XML. I have AS Class: public class Album { public var name:String; public var images:ArrayCollection; } straight cast like: var album:Album = Album

[flexcoders] Re: How to converst an XML to AS Object ?

2007-09-09 Thread lytvynyuk
from there. ie var album:Album = new Album(); album.setData(event.result); class Album { public function setData(data:XML):void { //populate the album } } Derrick Derrick Grigg www.dgrigg.com --- In flexcoders@yahoogroups.com, lytvynyuk