Re: [flexcoders] How much does FXG affect performance?

2010-06-23 Thread dorkie dork from dorktown
so if i had an fxg file with 1 paths but those paths didn't change they wouldn't be redrawn every frame correct? how should i determine when to rasterize vector FXG art vs leaving it as is? On Fri, Jun 18, 2010 at 1:49 AM, Alex Harui aha...@adobe.com wrote: Maybe, yes, none, n/a, no, yes

[flexcoders] AIR and -keep-all-type-selectors

2010-06-23 Thread reflexactions
I have hit a quirky problem. (FB4/SDK3.2/AIR2.0) When I compile and run an AIR app, the RadioButton all appear as regular buttons, and I checked and they only have the Button style not the RadioButton style applied. However if I add the compiler argument '-keep-all-type-selectors' then the

[flexcoders] Re: AIR and -keep-all-type-selectors

2010-06-23 Thread reflexactions
Never mind I think I know why. (we added that argument into the web version where we build the modules and then we just copy the modules to the AIR app so if we dont also add the arg to the AIR app the style is not going to be included) --- In flexcoders@yahoogroups.com, reflexactions

[flexcoders] Re: Yahoo TimeInput component as Item Editor

2010-06-23 Thread Matthew
After more testing, I have an update: I have fixed it and created a new problem. I removed a keyUp event handler, which formats the text value of the TimeInput and sets my editorDataField correctly. Now I only listen for change and updateComplete events. Now, when I delete hours, minutes, or

[flexcoders] Re: Best Practice for making sure you're displaying correct data

2010-06-23 Thread libbychantel
Do you know of a good Actionscript example I could see, especially one that does not rely on Flex data binding? --- In flexcoders@yahoogroups.com, Alex Harui aha...@... wrote: Model-View or MVC. If all UI widgets are bound to a data model, the should all update when the model is changed.

Re: [flexcoders] install AIR 2.5 SDK on Flash Builder (Flex 4) got error Directory does not contain a Flex SDK

2010-06-23 Thread Willy Ci
Thanks, It is working now, hard way to found out on Mac, replace mean replace the whole subfolders, it delete all the folders replace with the new folders, I have to copy them one by one. I really really miss beyond compare ! Willy 617-606-3437

Re: [flexcoders] How much does FXG affect performance?

2010-06-23 Thread Alex Harui
Many FXG files are compiled down to Flash symbols (unless there is text involved). There is no “code” for them, but moving them or otherwise invalidating that area of the screen makes the renderer re-consider all those paths in the symbol. On 6/22/10 11:28 PM,

Re: [flexcoders] setting the border thickness on a Spark mx.controls.VBox ?

2010-06-23 Thread Alex Harui
Which theme? On 6/22/10 3:24 PM, Nick Middleweek n...@middleweek.co.uk wrote: Hi, Sounds a bit contradictory - Spark and mx.controls but I'm using Flex 4 but working on some Flex 3 code and can't update to Spark at the moment. I'm struggling to find out how to set the border thickness

[flexcoders] recursion help?

2010-06-23 Thread Baz
I'm having a heck of a time converting this search of nested arrays from fixed depth to variable depth using recursion. Any recursion gurus willing to help? public function filterFolderFromPath(fullPath:String):void { for each (var currentFolder:Folder in folders) { if(currentFolder.path ==

RE: [flexcoders] recursion help?

2010-06-23 Thread Gregor Kiddie
Not tested, but something like this should be close... public function findFolderFromPath( folder : FolderClass, fullPath:String ) : FolderClass { if( folder.path == fullPath ) { return folder; } else {

Re: [flexcoders] recursion help?

2010-06-23 Thread Oleg Sivokon
public function filterFolderFromPath(fullPath:String, children:Vector.Folder):Folder { var foundChild:Folder; for each (var currentFolder:Folder in children) { if (currentFolder.path === fullPath) return currentFolder; else if (currentFolder.children.length) { foundChild =

Re: [flexcoders] recursion help?

2010-06-23 Thread Oleg Sivokon
Actually, just for kicks: public function filterFolderFromPath(fullPath:String, children:Vector.Folder):Folder { for each (var currentFolder:Folder in children) { if (currentFolder.path === fullPath) return currentFolder; else if (currentFolder.children.length) { currentFolder =

Re: [flexcoders] recursion help?

2010-06-23 Thread Baz
Awesome! Gregor it works perfectly, not even a slight adjustment needed, thanks! So much prettier now :) Oleg, thank you too for your input! Cheers, Baz

[flexcoders] Re: What happened to Flex 4 SDK nightly builds?

2010-06-23 Thread tntomek
Wild guess, 4.1 is 'out' and they are working on 4.5 but the SDK site hasn't been updated to that yet. --- In flexcoders@yahoogroups.com, Baz li...@... wrote: I just went to check out the Flex 4 SDK nightlies ( http://opensource.adobe.com/wiki/display/flexsdk/Download+Flex+4) and noticed

[flexcoders] Time for a facelift - Flex 2 to Flash 4....:)

2010-06-23 Thread flexnewbie06
Hi all, I would like to see our current code base updated from Flex 2.0.1 to Flash 4. We have many bugs inherent to the components in the SDK I would like to see resolved. The project is quite large...using web services and many many components(and States..I think these guys changed). I

Re: [flexcoders] Time for a facelift - Flex 2 to Flash 4....:)

2010-06-23 Thread Jeffry Houser
Do you mean that you're moving from Flex 2 to Flex 4? Or from Flex 2 to Flash 4? They mean radically different things. I'm going to assume you mean the former. Did you download a trial of Flash Builder 4? You said you hit a wall; what wall did you hit? When you say that Web

Re: [flexcoders] setting the border thickness on a Spark mx.controls.VBox ?

2010-06-23 Thread Nick Middleweek
Hey Alex, I had my Flex 4 project set to use both Halo and Spark. I was using mx.controls.VBox but couldn't set the borderThickness. I ended up switching project to Flex 3.5 SDK and just sticking with mx.controls... so I've got round it but it'd be handy to know how to set a borderThickness on a

[flexcoders] Re: Time for a facelift - Flex 2 to Flash 4....:)

2010-06-23 Thread flexnewbie06
Yes Apologies...I think I typed before I thought about this some more. Flex 2.0.1 SDK To Flex 4 SDK(I guess I was stuck on the name change from flex builder 2 to Flash builder 4)...I dunno. Yes I downloaded Flash Builder 4 Trial. Tried to open my project in and I tried to update some build

Re: [flexcoders] Re: Time for a facelift - Flex 2 to Flash 4....:)

2010-06-23 Thread Brendan Meutzner
Yeah, you don't want to have LiveCycle or BlazeDS checked... those both rely on services which would be present on your backend server, and dictated in the services-config.xml file. LiveCycle and BlazeDS would have nothing to do with your web service calls. You should use the RemoteObject

RE: [flexcoders] setting the border thickness on a Spark mx.controls.VBox ?

2010-06-23 Thread Peter DeHaan
If you're using Flex 4, I'd probably use the s:BorderContainer instead. It gives you a lot better control over the border settings. Peter From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Nick Middleweek Sent: Wednesday, June 23, 2010 12:15 PM To:

[flexcoders] changing mx:Application to mx:WindowedApplication

2010-06-23 Thread tex_learning_flex
Alex Harui has a great post on his website: CheckBoxes in DataGrid with CheckBox Header http://blogs.adobe.com/aharui/2010/01/checkboxes_in_datagrid_with_ch.ht\ ml . If you change the mx:Application to mx:WindowedApplication (i.e., to make it an Air app) the following error is generated:

[flexcoders] RadioButton as DataGrid item editor

2010-06-23 Thread Dave Glasser
It seems like it should be simple, but it's a nightmare. I'm using Flex 3.3. The items in my dataProvider have a Boolean property. I want only 1 item to have this property set to true, and all others set to false. So I use a RadioButton as the renderer and editor. Although the items initially

[flexcoders] Re: Time for a facelift - Flex 2 to Flash 4....:)

2010-06-23 Thread flexnewbie06
Thanks! I have resolved all my initial errors and compiled and re-deployed my App. Wow that was really painless! so surprised. Although, i had to set the compiler to use -theme=${flexlib}/themes/Halo/halo.swc so it would resolve half the issues, however it doesn't look anything like the

Re: [flexcoders] Re: Time for a facelift - Flex 2 to Flash 4....:)

2010-06-23 Thread dorkie dork from dorktown
Though the changes seem small, alpha, asthetics, etc they can amass to something huge. Our project has experienced many upgrade pains and took much longer than anticipated. There are benefits of course but you shouldn't underestimate the time to upgrade. Hmm one point. You can build your project

Re: [flexcoders] How much does FXG affect performance?

2010-06-23 Thread dorkie dork from dorktown
so if you were in my position working on a large project how would you determine when to use FXG vector art and when to use a bitmap of that art? On Wed, Jun 23, 2010 at 11:06 AM, Alex Harui aha...@adobe.com wrote: Many FXG files are compiled down to Flash symbols (unless there is text

[flexcoders] Creating keyboard shortcuts @ runtime

2010-06-23 Thread thedauntless_ff
Hi, I'm the developer of Doc? (http://www.airdoc.be) and I'm currently looking into adding the ability to let the user define his own keyboard shortcuts. I've tried a few solutions (keymanagers I've downloaded + one I made myself) but none of them really delivered an intuitive way of adding

[flexcoders] Re: changing mx:Application to mx:WindowedApplication

2010-06-23 Thread tex_learning_flex
I figured it out... the associated files need to be in the same package.

[flexcoders] error code 1120: Access of undefined property

2010-06-23 Thread tex_learning_flex
I cut and pasted the following directly from Using Flex 4 / Building the user interface / Spark containers The Spark TitleWindow Container http://help.adobe.com/en_US/flex/using/WS6c678f7b363d5da52e8f1ca1124a04\ 30dcf-8000.html and I get the above mentioned error 1120 (Access of undefined

[flexcoders] Text Effect in Flex+Moving from Bottom to Top

2010-06-23 Thread Ganesh Suyampirakasam
Hi all Please go through this site http://www.annauniv.edu/ In Results and Schedules How the text is going from bottom to top inside a list or canvas. I need similar thing hapened in flex. Please let me know what i have to do in flex.Any samples?Please help me out. Ganesh

[flexcoders] Copying complex objects in ActionScript

2010-06-23 Thread atari_...@rogers.com
Hello, I'm trying to copy a custom object instead of simply copying a reference to the old one. I've tried ObjectUtil.copy() which works w/ plain objects, however I am dealing w/ complex objects that contain other custom objects, as well as ArrayCollections of custom objects (that contain

[flexcoders] 6rounds: Developers API Launched (Feedback Wanted!)

2010-06-23 Thread hacky
Hi all, We just launched our developers API and I’d like to give the Flex Coders group a small update about the API because it's hopefully interesting for you as professional Flex developers :) 6rounds is a flash based social entertainment platform which mixes webcam chats and interactive

[flexcoders] Is possible to display any Collection within another Collection using anyone fle

2010-06-23 Thread Jesus Saad
Is possible to display any Collection within another Collection using anyone flex component? Ex.: I have a ArrayCollection’PersonsWO and my class PersonsWO has the following property: private var _usersWO:ArrayCollection; And I want to display these data in Datagrid like that: Person User

[flexcoders] Re: Best Practice for making sure you're displaying correct data

2010-06-23 Thread Roy Pardi
At 2:56 PM + 6/23/10, libbychantel wrote: Do you know of a good Actionscript example I could see, especially one that does not rely on Flex data binding? --- In flexcoders@yahoogroups.com, Alex Harui aha...@... wrote: Model-View or MVC. If all UI widgets are bound to a data model, the

[flexcoders] Re: Is possible to display any Collection within another Collection using anyone fle

2010-06-23 Thread tntomek
You can use a multiline label Function to display your text. In your label function simply append \n as you loop through your sub collection http://tomek.me --- In flexcoders@yahoogroups.com, Jesus Saad jesus.s...@... wrote: Is possible to display any Collection within another Collection