Re: [flexcoders] Module Interfaces Inheritance question

2008-10-17 Thread Ralf Bokelberg
Hi Purush I think iAppModule needs to go into a library project, which is referenced by the modules but marked as external, while it is embedded completely in the main application. Ralf. On Fri, Oct 17, 2008 at 2:51 AM, purush_y [EMAIL PROTECTED] wrote: Hi, I did a basic search on this topic

[flexcoders] web compiler

2008-10-17 Thread jitendra jain
Hi coders, My application compiles well and run if i use the generated main.swf or main.html. But when i run the application with main.mxml in the browser, it throws Type was not found or a comile-time error... Thanks, with Regards, Jitendra Jain Send free SMS to your Friends on Mobile from

Re: [flexcoders] Custom event - Create, dispatch, and listen to.

2008-10-17 Thread claudiu ursica
You also may want to avveride the clone method in the custom event class: /** * @private */ override public function clone():Event { return new RemoteClick(type, bubbles, cancelable); } - just omit the arguments if you are not using

Re: [flexcoders] web compiler

2008-10-17 Thread Paul Andrews
Jitendra, what version of Flex is this? Flex 2 or 3 doesn't compile .mxml files 'on the fly' from a browser. If you are using Flex 2 or 3, why are ou trying to 'run' .mxml files in a browser? Paul - Original Message - From: jitendra jain To: flex group flex Sent: Friday,

Re: [flexcoders] Socket to Gmail

2008-10-17 Thread Shahid Faiz
gmail allows SMTP to send emails. I remember someone written SMTP code to send email in actionscript but don't have link. You can search on SMTP Mailer IIRC. - shahid On Fri, Oct 17, 2008 at 4:55 AM, Rich Tretola [EMAIL PROTECTED] wrote: Anyone know if someone has written a socket

[flexcoders] Change Radio Button COLOR of Menu Control

2008-10-17 Thread itdanny2002
Anyone has idea ? Many Thanks. P.S. I have try to modify mx.skins.halo.RadioButton.as. However, when it uses getstyle, it can't get the borderColor or any others. The return is null.

[flexcoders] genie effect, i need help

2008-10-17 Thread Carlo Gulliani
hi all, does somebody knows how to make 'genie effect' like on macosx? i've found example for flex, but i can't understand how it work((( and i've found bug, it work only if my workspace is preview panel. maybe somebody could tell me how to think and how to make it. thanks in advance

Re: [flexcoders] web compiler

2008-10-17 Thread jitendra jain
Paul, its Flex 3. Thanks, with Regards, Jitendra Jain - Original Message From: Paul Andrews [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Friday, 17 October, 2008 1:21:03 PM Subject: Re: [flexcoders] web compiler  Jitendra, what version of Flex is this? Flex 2 or 3

Re: [flexcoders] web compiler

2008-10-17 Thread Paul Andrews
So the question remains - why are you trying to open .mxml files in a browser? Paul - Original Message - From: jitendra jain To: flexcoders@yahoogroups.com Sent: Friday, October 17, 2008 9:42 AM Subject: Re: [flexcoders] web compiler Paul, its Flex 3. Thanks, with

Re: [flexcoders] web compiler

2008-10-17 Thread jitendra jain
I want to do some load testing and that's why iam using .mxml files. Its Flex 3.1 Thanks, with Regards, Jitendra Jain - Original Message From: Paul Andrews [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Friday, 17 October, 2008 1:21:03 PM Subject: Re: [flexcoders] web

[flexcoders] Re: Reusing HTTPService

2008-10-17 Thread lagos_tout
Yeah, that's a great idea. Kind of like the Command pattern with handlers, right? LT --- In flexcoders@yahoogroups.com, Dmitri Girski [EMAIL PROTECTED] wrote: No worries. BTW, there is another way of doing it - each request is represented by some object which creates HTTPService and

[flexcoders] Stepping through Flex SDK code while in Flex Builder debugger

2008-10-17 Thread lagos_tout
Hi, all. Is it possible to step through Flex SDK code using Flex Builder 3 debugger? I was able to set break points in only a couple of SDK classes (eg AdvancedDataGrid). I did this by adding C:\Program Files\Adobe\Flex Builder 3 Plug- in\sdks\3.1.0\fbpro\projects\datavisualization\src

Re: [flexcoders] web compiler

2008-10-17 Thread Paul Andrews
- Original Message - From: jitendra jain To: flexcoders@yahoogroups.com Sent: Friday, October 17, 2008 10:28 AM Subject: Re: [flexcoders] web compiler I want to do some load testing and that's why iam using .mxml files. Its Flex 3.1 Flex compiles .mxml files into classes

[flexcoders] How to display message in empty Tree component

2008-10-17 Thread Mark Carter
I'm using a Tree component with a dataProvider set using an XML object. Also showRoot=false. If I set using a childless XML object then one item is shown in the tree. That's a bit weird but it sort of allows me a way to display my message (using labelFunc) to No items. But then I have to be

Re: [flexcoders] web compiler

2008-10-17 Thread Tom Chiverton
On Friday 17 Oct 2008, jitendra jain wrote: I want to do some load testing and that's why iam using .mxml files. But you'll only do the compile once for each release, not once for each request... it can't be as important as the calls that application actually makes. -- Tom Chiverton Helping

Re: [flexcoders] Adding Quantity to Cart

2008-10-17 Thread Fu Di
hi, you had already bind cartItem to the DataGrid, why not handle cartItem to achieve. - Original Message From: Sal H. [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Thursday, October 16, 2008 10:45:18 PM Subject: [flexcoders] Adding Quantity to Cart I want to be able to

Re: [flexcoders] Socket to Gmail

2008-10-17 Thread Rich Tretola
Yep, I tried that and was able to send mail through an internal account through smtp over socket, but gmail requires authentication and I can't seem to get it to work. On Fri, Oct 17, 2008 at 3:57 AM, Shahid Faiz [EMAIL PROTECTED] wrote: gmail allows SMTP to send emails. I remember someone

Re: [flexcoders] Stepping through Flex SDK code while in Flex Builder debugger

2008-10-17 Thread Tom Chiverton
On Friday 17 Oct 2008, lagos_tout wrote: Is it possible to step through Flex SDK code using Flex Builder 3 debugger? Yes. doesn't have the same effect of letting me step through framework code. It should have done. Are there actual .as files in that dir ? Have you tried adding that dir as

[flexcoders] Re: AMFPHP tutorial

2008-10-17 Thread Jonnie Spratley
Here are some tutorials that I created, see if they are what you were looking for. -Jonnie Spratley Links: http://jonniespratley.com/2008/10/15/adobe-flex-amfphp-video-tutorial-pa\ rt-1/ http://jonniespratley.com/2008/10/15/adobe-flex-amfphp-video-tutorial-p\ art-1/

[flexcoders] LCDS 2.6 and Hibernate - Does it work?

2008-10-17 Thread headjoog
Hi - I tried upgrading from LCDS 2.5 to LCDS 2.6. I have a project using Hibernate 3.1 and it was working fine in LCDS 2.5. But after upgrading LCDS 2.6 things have broken and I'm having a bear of a time figuring out what has gone wrong. I roll it back to 2.5 and it works. Has anyone else

[flexcoders] Is it possible to use OLAPResult as DataProvider for AdvancedDataGrid

2008-10-17 Thread thakkar_mithun2000
Hello, Is it possible to use OLAPResult as DataProvider for AdvancedDataGrid? Regards, Mithun

[flexcoders] FZip loads cached zip before downloading online

2008-10-17 Thread diigiibot
I'm using FZip in an AIR application, the application loads the zip from a location on our server, unpacks the zip and move the files to their local folder. Everything runs smooth until I cut off my internet connection while the zip is downloading. When I restart the application it looks like FZip

Re: [flexcoders] Module Interfaces Inheritance question

2008-10-17 Thread Purushottam Yeluripati
Thank you for your response, Ralf. I am going to try that option as well. But I am still not clear on why the current setup does not work. I have ensured (through explicit package import and variable declaration in MyApp) that IAppModule, IModule1 and IModule2 are all referenced within the main

RE: [flexcoders] Is it possible to use OLAPResult as DataProvider for AdvancedDataGrid

2008-10-17 Thread Christophe Jolif
You should better use OLAPDataGrid? Christophe From: flexcoders@yahoogroups.com on behalf of thakkar_mithun2000 Sent: Fri 17/10/2008 10:39 To: flexcoders@yahoogroups.com Subject: [flexcoders] Is it possible to use OLAPResult as DataProvider for

[flexcoders] Assignment to lists with more than one item is not supported

2008-10-17 Thread markgoldin_2000
What exactly that message means? Thanks

Re: [flexcoders] genie effect, i need help

2008-10-17 Thread Tom Chiverton
On Friday 17 Oct 2008, Carlo Gulliani wrote: hi all, does somebody knows how to make 'genie effect' like on macosx? i've found example for flex, but i can't understand how it work((( and i've found bug, it work only if my workspace is preview panel. maybe somebody could tell me how to think

Re: [flexcoders] sailorsea21 - How can I add the progress loading box when I load a module?

2008-10-17 Thread Tom Chiverton
On Thursday 16 Oct 2008, sailorsea21 wrote: Hi everyone, how can I add the progress loading box when I load a module? Is it an automated thing with flex or must I code it? You'll have to wire the loader to a ProgressBar yourself. -- Tom Chiverton Helping to assertively bully guinine

[flexcoders] Re: Stepping through Flex SDK code while in Flex Builder debugger

2008-10-17 Thread hu22hugo
--- In flexcoders@yahoogroups.com, lagos_tout [EMAIL PROTECTED] wrote: Hi, all. Is it possible to step through Flex SDK code using Flex Builder 3 debugger? I was able to set break points in only a couple of SDK classes (eg AdvancedDataGrid). I did this by adding C:\Program

[flexcoders] Rippling through state changes

2008-10-17 Thread Paul Andrews
I have some custom components (nothing special) that are displaying product information. essentially I can use the same component for seprate purposes: Product info (each product can be added to the shopping cart), shopping cart (each product can be removed from the cart). Within the main

[flexcoders] Re: My Flex Form

2008-10-17 Thread valdhor
Nope. You still don't have ID's set for the textInput and textField. An item needs an id if you want to reference it somewhere else. Also, you should keep all the functionality for a component inside the component. The function that you call from the button in the FormComp.mxml file should be

[flexcoders] Re: Flex uploader / accessing local files?

2008-10-17 Thread valdhor
It looks like you'll have to wait for Flash Player 10. See this thread: http://tech.groups.yahoo.com/group/flexcoders/message/126563 --- In flexcoders@yahoogroups.com, Rob Kunkle [EMAIL PROTECTED] wrote: Hi - I've made a flex uploading application that gets a file from the client's file

Re: [flexcoders] Rippling through state changes

2008-10-17 Thread claudiu ursica
How about write a custom item renderer and expose a public property state name it however you want. Bind that property to the current state of your custom component. When the parent state changes, the item renderer wil update also. HTH, Claudiu - Original Message From: Paul

Re: [flexcoders] Rippling through state changes

2008-10-17 Thread Paul Andrews
- Original Message - From: claudiu ursica To: flexcoders@yahoogroups.com Sent: Friday, October 17, 2008 2:41 PM Subject: Re: [flexcoders] Rippling through state changes How about write a custom item renderer and expose a public property state name it however you want. Bind

Re: [flexcoders] Rippling through state changes

2008-10-17 Thread Johannes Nel
this is also a nice way to test around the presentation model pattern, your pres model exposes the state the view should be in and dependent on what the data state of your pres model is in On Fri, Oct 17, 2008 at 3:41 PM, claudiu ursica [EMAIL PROTECTED]wrote: How about write a custom item

[flexcoders] Re: adding the user input to an arraycollection

2008-10-17 Thread valdhor
This is how I would do it (Others may do it differently)... Assuming the text fields have id's of bookType and sales: private function addToArray():void { var newBook:Object = new Object(); newBook.bookType = bookType.text; newBook.sales= bookType.sales;

Re: [flexcoders] Re: Reusing HTTPService

2008-10-17 Thread shaun
How about something like this: (note: I've not tried it, just slapped it straight into the email) public class MyClassThatInvokesHTTPServices { //inner helper class. class MyIResponder implements IResponder{ public var f:Function; public var r:Function; public

Re: [flexcoders] genie effect, i need help

2008-10-17 Thread Carlo Gulliani
really i don't remember who's wrote this code, i have downloaded it earlier. I have uploaded mini-project https://download.yousendit.com/TTdIS3hkQ1I3N0N4dnc9PQ if mx:ApplicationControlBar it's below, then it work, if above then it doesn't work - Original Message From: Tom Chiverton

[flexcoders] custom event not working in popup

2008-10-17 Thread Mark Hosny
Hey guys, I now know that my custom event is not working properly in my popup window when listening for the event in the main app. When I do this, it works: POPUP WINDOW mx:Metadata [Event(name=formUpdate,type=flash.events.Event)] /mx:Metadata dispatchEvent(new Event('formUpdate',true));

[flexcoders] how to add internal padding in canvas?

2008-10-17 Thread markflex2007
I want to add right padding and left padding inside canvas so the controls in side do not touch the side of canvas, but canvas do not have padding attribute, how to do this. Thanks MK

Re: [flexcoders] custom event not working in popup

2008-10-17 Thread claudiu ursica
Are you sure you are listening for the same event type in main? From what I can see your custom event is of type formSubmitted while the main listens for formUpdate ... Claudiu - Original Message From: Mark Hosny [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Friday, October

[flexcoders] Re: mogulus.com = looking for flex/flash talent in NYC

2008-10-17 Thread valdhor
For further reference, Flex job postings should go to the flexjobs group here on Yahoo... http://tech.groups.yahoo.com/group/flexjobs/ --- In flexcoders@yahoogroups.com, philworthy [EMAIL PROTECTED] wrote: Hi All. I hope job postings are allowed in this mailing list. If not, apologies.

Re: [flexcoders] custom event not working in popup

2008-10-17 Thread shaun
Mark Hosny wrote: Hey guys, I now know that my custom event is not working properly in my popup window when listening for the event in the main app. When I do this, it works: [snip] public static const ON_TEST_CASE:String = formSubmitted; public function

Re: [flexcoders] how to add internal padding in canvas?

2008-10-17 Thread claudiu ursica
The panel component supports padding, wil that suit you? HTH, Claudiu - Original Message From: markflex2007 [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Friday, October 17, 2008 5:07:27 PM Subject: [flexcoders] how to add internal padding in canvas? I want to add right

RE: [flexcoders] FZip loads cached zip before downloading online

2008-10-17 Thread Kevin Benz
Not sure exactly what is happening but I suggest an improvement to your approach. You should detect the change in network connection status and use that event to flush any objects that are waiting on an event to fire. AIR fires a NETWORK_CHANGED event and I would make sure you clean up your

[flexcoders] Re: Extending UIComponent memory issues.

2008-10-17 Thread flexaustin
Michael, I have tried using Flexsprite but throws errors about needing to implementing IUIcomponent. Did I miss something and give up to early? --- In flexcoders@yahoogroups.com, Michael Schmalle [EMAIL PROTECTED] wrote: Doug, Jason, Since I am a self-centered person that doesn't like to be

Re: [flexcoders] custom event not working in popup

2008-10-17 Thread hoz
Hey Shaun, Thanks for the reply, and YES, it finally worked. It's always those little typos that gotcha's!! The $'s were just taken from code relating to PHP format; obviously, not needed. I did find it interesting that I could also do this and skip the metadata tag in the popup:

Re: [flexcoders] Module Interfaces Inheritance question

2008-10-17 Thread Ralf Bokelberg
It has to do with the ApplicationDomain. Unless otherwise specified, a module lives in its own ApplicationDomain. This way it can have its own copies of every class. If you load the modules into the same ApplicationDomain as the main application, the warning should be gone as well. Its just, in

[flexcoders] Re: [LCDS] Using where in in the SQL assembler

2008-10-17 Thread kwbillchan
Hi Benjamin, I tried the in clause statement without any problem. Here are what I did fill namegetSomeEmployees/name sql select id as id, firstname as firstname, lastname as lastname, phonenumber as phonenumber

[flexcoders] Re: Rippling through state changes

2008-10-17 Thread Amy
--- In flexcoders@yahoogroups.com, Paul Andrews [EMAIL PROTECTED] wrote: I have some custom components (nothing special) that are displaying product information. essentially I can use the same component for seprate purposes: Product info (each product can be added to the shopping cart),

Re: [flexcoders] custom event not working in popup

2008-10-17 Thread shaun
Hey, hoz wrote: Hey Shaun, Thanks for the reply, and YES, it finally worked. It's always those little typos that gotcha's!! The $'s were just taken from code relating to PHP format; obviously, not needed. Right, i see. :) I did find it interesting that I could also do this and skip

Re: [flexcoders] Re: AMFPHP tutorial

2008-10-17 Thread Vivian Richard
Wow Jonnie, simply outstanding! I can see that you have now a Flex version of WP. Really cool!! You rock Your tutorials are also very helpful. Regards, Viv. On Fri, Oct 17, 2008 at 3:10 AM, Jonnie Spratley [EMAIL PROTECTED] wrote: Here are

Re: [flexcoders] Re: Extending UIComponent memory issues.

2008-10-17 Thread Michael Schmalle
Jason, What I suggested is probably a bit to complex for what you need. It's kind of a reimplementation of what you are doing. 1. Subclass UIComponent to make your container. 2. Create the layout algorithm in that component. 3. Create a subclass of FlexSprite that is your loader component. 4. Add

Re: [flexcoders] how to add internal padding in canvas?

2008-10-17 Thread Michael Schmalle
A hack that can be done if you really want Canvas is; Create a subclass of Canvas and override the usePadding property. override mx_internal get usePadding():Boolean { return true; } This will turn the padding back on when the layout calculates viewMetricsAndPadding. Mike On Fri, Oct 17,

Re: [flexcoders] FZip loads cached zip before downloading online

2008-10-17 Thread Jon Bradley
On Oct 17, 2008, at 10:17 AM, Kevin Benz wrote: When I restart the application it looks like FZip is first checking the temp folder for the cached zip and if found, it uses that one to unzip, even if the zip was not completed the last time. Does anyone know of a way to prevent that? Compare

Re: [flexcoders] FZip loads cached zip before downloading online

2008-10-17 Thread Jon Bradley
On Oct 17, 2008, at 10:17 AM, Kevin Benz wrote: When I restart the application it looks like FZip is first checking the temp folder for the cached zip and if found, it uses that one to unzip, even if the zip was not completed the last time. Does anyone know of a way to prevent that? Scratch

[flexcoders] Listen to transition complete?

2008-10-17 Thread Christoph Leva
Hi all, is it possible to add an eventListener, that listens for the end of a transition between two states? Couldn't find anything. Don't want to listen to a stateChange Event and don't want to use a timer, that sends an TimerEvent.TIMER_COMPLETE after the duration of the transition. Thanks,

Re: [flexcoders] Re: Rippling through state changes

2008-10-17 Thread Paul Andrews
- Original Message - From: Amy [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Friday, October 17, 2008 3:38 PM Subject: [flexcoders] Re: Rippling through state changes --- In flexcoders@yahoogroups.com, Paul Andrews [EMAIL PROTECTED] wrote: I have some custom components

[flexcoders] Re: [LCDS] Using where in in the SQL assembler

2008-10-17 Thread kwbillchan
Hi Benjamin, I also tried select * from employee where lastname in (123) directly on database console. I got an empty result instead of sql error William --- In flexcoders@yahoogroups.com, kwbillchan [EMAIL PROTECTED] wrote: Hi Benjamin, I tried the in clause statement without any

RE: [flexcoders] Re: Flex uploader / accessing local files?

2008-10-17 Thread Kevin Benz
This actually isn't very tough at all. You need to get the File object, load its BitmapData and use the Matrix object to size it and then either PNGEncode or JPGEncode back out. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of valdhor Sent: Friday, October 17, 2008 6:41

Re: [flexcoders] Module Interfaces Inheritance question

2008-10-17 Thread Purushottam Yeluripati
Ralf, I tried to include all the common classes into a library which is linked into the main application, but that did not resolve it. I tried the option of loading all the modules into the main application's ApplicationDomain. No luck still. But now the module is not able to get a handle to

[flexcoders] How to setup LCDS woth Jboss Application server?

2008-10-17 Thread markflex2007
Hi, Please give me a detail about this or useful links. I search with google and I have not get a useful result yet. Thanks a lot Mark

[flexcoders] Re: how to add internal padding in canvas?

2008-10-17 Thread markflex2007
Hi,Mike Please let me know this in detail. I can extends Canvas and create a new class (like samrtcavas). I confuse how to use the class in mxml and how to set left/right paddings Thanks for your help Mark --- In flexcoders@yahoogroups.com, Michael Schmalle [EMAIL PROTECTED] wrote: A

[flexcoders] Re: sailorsea21 - RemoveChild question.

2008-10-17 Thread sailorsea21
Hi Tracy, I don't think I'm successfully storing the reference of the children into the array. This is what I had tried: private var moduleloader:ModuleLoader; private var button:Button; private var _aChildren:Array; private function

[flexcoders] Alex Blog: Datagrid Column Header and ComboBox

2008-10-17 Thread ilikeflex
Hi Alex I looked through your blog. I implemented below functionality http://blogs.adobe.com/aharui/ComboBoxHeader/dg.swf. Now if i want to show that as soon as the datagrid loads, combobox shows Below 40 and data is also sorted. I want to change the item in combo box. How to do that? Any

[flexcoders] Re: how to add internal padding in canvas?

2008-10-17 Thread Tim Hoff
Another alternative, if you have to use a Canvas and don't want to subclass, is to use constraints (top, bottom, left, right) on the children. -TH --- In flexcoders@yahoogroups.com, markflex2007 [EMAIL PROTECTED] wrote: Hi,Mike Please let me know this in detail. I can extends Canvas and

[flexcoders] Re: Need help for mx:MenuBar?

2008-10-17 Thread valdhor
I don't understand what you want. Do you want the menu to drop down when you mouseover it or when you click it? Have you checked out the example at: http://livedocs.adobe.com/flex/3/html/help.html?content=menucontrols_6.html --- In flexcoders@yahoogroups.com, markflex2007 [EMAIL PROTECTED]

[flexcoders] Re: FZip loads cached zip before downloading online

2008-10-17 Thread diigiibot
Yes, that could be a solution. I'll try it out. Only I'm not sure the partially downloaded zip will be removed from the temp folder when I remove the FZip object. --- In flexcoders@yahoogroups.com, Kevin Benz [EMAIL PROTECTED] wrote: Not sure exactly what is happening but I suggest an

[flexcoders] Re: Listen to transition complete?

2008-10-17 Thread Tim Hoff
Hi Chris, For the component that has a transition or effect, listen for the effectEnd event: myComponent effectEnd=onEffectEnd()/ -TH --- In flexcoders@yahoogroups.com, Christoph Leva [EMAIL PROTECTED] wrote: Hi all, is it possible to add an eventListener, that listens for the end of a

RE: [flexcoders] LCDS 2.6 and Hibernate - Does it work?

2008-10-17 Thread Jeff Vroom
We did change from hibernate 3.1 to 3.2 in LCDS2.6 but otherwise I don't know of any compatibility problems introduced. We did that primarily so we could support the hibernate JPA annotations and there might have been a tweak or two to the hibernate assembler to get it to work in that

[flexcoders] Re: FZip loads cached zip before downloading online

2008-10-17 Thread diigiibot
Well, it looks like it is valid. When it starts to unzip the zip in the temp folder I get the 2 first folders in it. So that doesn't give me an IOError. I also tried to compare the number of files in the local zip with the one online(just with a hardcoded var) but that puts me in a loop where he

RE: [flexcoders] Re: FZip loads cached zip before downloading online

2008-10-17 Thread Kevin Benz
When you destroy the FZip object, don't necessarily know and if you don't know, you have to clean up after yourself. Remember, when you use HTTP, you are subject to timeouts that may or may not expire as you expect them let alone the myriad of other errors along the way (permissions, server error,

Re: [flexcoders] web compiler

2008-10-17 Thread Matt Chotin
We have a web compiler available for Apache, IIS, and J2EE. They're only meant for dev-time, not production, but I'd imagine that's what's being used. You need to make sure that they're set up with the same config as Flex Builder. Matt On 10/17/08 4:07 AM, Tom Chiverton [EMAIL PROTECTED]

Re: [flexcoders] AS equivalent for perl's chop/chomp?

2008-10-17 Thread john fisher
thanks Guy and of course you're right if they irritate my sense of code style, I can just wrap them up. Just thought I'd ask in case I missed something. John Guy Morton wrote: I don't think so...I've never seen one, but what's hard about using String.replace? Aren't the following functionally

[flexcoders] Refreshing graphics in a tree

2008-10-17 Thread ben gomez farrell
Hey, I have a tree with a itemRenderer to have a clickable checkbox in it. I need to set the checkbox state sometimes through code. Everything works great, except the graphics of the checkbox don't update when it's set through code (mousing over the node will refresh the graphics) Is there a

Re: [flexcoders] web compiler

2008-10-17 Thread Michael Schmalle
Matt, They're only meant for dev-time, not production, What do you mean by that? I thought you could use them to compile are you saying they are buggy or not completely implemented? Mike On Fri, Oct 17, 2008 at 12:26 PM, Matt Chotin [EMAIL PROTECTED] wrote: We have a web compiler available

RE: [flexcoders] Re: sailorsea21 - RemoveChild question.

2008-10-17 Thread Tracy Spratt
That is correct, you are not storing references correctly. First I will explain what is wrong with your code, but then, after seeing what you are trying to do, will suggest a slightly different approach. First, you are mixing Array, which is accessed by index and associative array, which is

[flexcoders] Re: Stepping through Flex SDK code while in Flex Builder debugger

2008-10-17 Thread lagos_tout
Holy crap! I can't believe it! It actually works now. :) Awesomeness! I'd been wrestling with this for over a week now! Thanks so much. That was exactly the problem. LT --- In flexcoders@yahoogroups.com, hu22hugo [EMAIL PROTECTED] wrote: --- In flexcoders@yahoogroups.com, lagos_tout

[flexcoders] Re: WebORB 3.5 - Error: Call to a member function getServiceURI() on a non-objec

2008-10-17 Thread valdhor
Unknown. I just downloaded WebORB 3.5, unzipped it, uploaded it to my server and pointed my browser to weborb.php. The response was: WebORB v3.5.0 I would make sure you are pointing to the correct directory where weborb.php is located. Also, you may want to post to the WebORB forum at

RE: [flexcoders] Re: how to add internal padding in canvas?

2008-10-17 Thread Tracy Spratt
Hold on a minute. Canvas uses absolute positioning. So padding would only affect percentage resizing? And 0,0 would still be top left corner, regardless of the padding? This seems kind of confusing. I'm with Tim, and think this would be better solved with constraints. I suppose you could

RE: [flexcoders] Refreshing graphics in a tree

2008-10-17 Thread Tracy Spratt
How are you updateing the dataProvider? If you use the correct API, the changes should reflect automatically. If you are using lower level assignments, then you might need to call itemUpdated for collections. What is your dataprovider? Tracy From:

RE: [flexcoders] How to display message in empty Tree component

2008-10-17 Thread Tracy Spratt
I'd use a ViewStack. Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Mark Carter Sent: Friday, October 17, 2008 6:38 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] How to display message in empty Tree component I'm

[flexcoders] Re: Reusing HTTPService

2008-10-17 Thread lagos_tout
I like! This line says it all: service.send().addResponder(new MyIResponder(resultB, faultB)); Thanks much. I think this is the solution. It meets my requirements: no long conditionals; one-to-one matching of service calls to fault/result handlers; reuse of the same service object;

Re: [flexcoders] Refreshing graphics in a tree

2008-10-17 Thread ben gomez farrell
My data is an ArrayCollection is set via mytree.dataProvider = myArrayCollection; I have a list as well, and when I do mylist.dataProvider.refresh(), the checkboxes on those update just fine. Unfortunately doing mytree.dataProvider.refresh() doesn't work - and only mousing over will update the

Re: [flexcoders] Re: how to add internal padding in canvas?

2008-10-17 Thread Paul Andrews
You can always nest the canvas inside another container to get the margin.. - Original Message - From: Tracy Spratt To: flexcoders@yahoogroups.com Sent: Friday, October 17, 2008 6:36 PM Subject: RE: [flexcoders] Re: how to add internal padding in canvas? Hold on a minute.

Re: [flexcoders] Re: how to add internal padding in canvas?

2008-10-17 Thread Michael Schmalle
Tracy, Container::getScrollableRect():Rectangle uses usePadding, Dumb answer on my part. I had to subclass canvas where I actually wanted the padding to count in the scrollRect. Sorry for the noise, I'm thinking to much these days. I agree, from a design perspective there is no need to do what

Re: [flexcoders] web compiler

2008-10-17 Thread Paul Andrews
If there isn't a mechanism for caching the compilation result (user requests mxml, but actually gets html/swf), performance in a production environment would be appaling. That wouldn't matter for development. - Original Message - From: Michael Schmalle To:

RE: [flexcoders] Refreshing graphics in a tree

2008-10-17 Thread Tracy Spratt
So how are you updating the dataProvider items with the checkbox state? Are you using the ArrayCollection API? If so, then the UI will update automatically. Note: refresh() applies a sort. It does not generically refesh the UI. Also, if you use the API, it should not be necessary to do

RE: [flexcoders] Custom event - Create, dispatch, and listen to.

2008-10-17 Thread Gordon Smith
You also may want to avveride the clone method in the custom event class You should always override the clone() method in a custom event class that adds new properties. Otherwise, re-dispatching such an event (calling dispatchEvent(event) inside a handler for that event) won't work properly.

[flexcoders] Re: how to add internal padding in canvas?

2008-10-17 Thread markflex2007
Please give me a simple demo,how to do nest the canvas inside another container to get the margin? Thanks for help Mark --- In flexcoders@yahoogroups.com, Paul Andrews [EMAIL PROTECTED] wrote: You can always nest the canvas inside another container to get the margin..

Re: [flexcoders] web compiler

2008-10-17 Thread Michael Schmalle
Ok, I had this in my plans to investigate in a couple months for my server. So is there something that caches swf on the first run, then only recompiles when the mxml has changed? Where did I hear that? This is in my head from a year or two ago. Mike On Fri, Oct 17, 2008 at 1:46 PM, Paul

Re: [flexcoders] Refreshing graphics in a tree

2008-10-17 Thread ben gomez farrell
I have an arraycollection called groupsdata groupsdata.getItemAt(f).state = true/false And then in my itemRenderer, I override like this: override public function set data(value:Object):void { super.data = value; if ( !value ) { return; } // remove check box from child nodes if present if (

Re: [flexcoders] web compiler

2008-10-17 Thread Matt Chotin
The J2EE web compiler does this, the Apache/IIS ones don't. In general we don't think that the web compilers get enough use to warrant our full-blown investment. We're going to make sure that the source is available (should be in a few weeks for Apache/IIS and J2EE is already in Subversion),

Re: [flexcoders] Re: how to add internal padding in canvas?

2008-10-17 Thread Paul Andrews
- Original Message - From: markflex2007 [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Friday, October 17, 2008 6:51 PM Subject: [flexcoders] Re: how to add internal padding in canvas? Please give me a simple demo,how to do nest the canvas inside another container to get the

Re: [flexcoders] Re: how to add internal padding in canvas?

2008-10-17 Thread Paul Andrews
- Original Message - From: Paul Andrews [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Friday, October 17, 2008 7:22 PM Subject: Re: [flexcoders] Re: how to add internal padding in canvas? - Original Message - From: markflex2007 [EMAIL PROTECTED] To:

[flexcoders] Force compile of Modules

2008-10-17 Thread Greg Hess
Hi Folks, I am having problems building my project that is divided into separate modules. Compilation errors are not always reported. My main application is just a module loader and I think that the compiler does not 'always' detect changes in files/classes referenced in modules. What happens is

RE: [flexcoders] Refreshing graphics in a tree

2008-10-17 Thread Tracy Spratt
Yes, this: groupsdata.getItemAt(f).state = true/false is a low-level assignment directly to the dataprovider item and does not dispatch the events necessary for the update of the UI. You can change it to use setItemAt() or you can call itemUpdated(item) after the assignment. I am sure both of

Re: [flexcoders] Refreshing graphics in a tree

2008-10-17 Thread ben gomez farrell
Thanks! You rock. I'd never used setItemAt on an ArrayCollection because its more verbose to pull the copy the item out and set the property you need, then pass it back in - so it never occured to me that you had to do that. Again, thanks, and i'll put the same fix on my list component. ben

RE: [flexcoders] Re: Reusing HTTPService

2008-10-17 Thread Jeff Vroom
I do like this approach - that's what I do when I code using AsyncTokens. In the SDK's trunk depot, we have implemented a different way of using the AsyncTokens which makes it easier to add per-call event listeners and result objects particularly from MXML. It is in the class

[flexcoders] Re: LCDS 2.6 and Hibernate - Does it work?

2008-10-17 Thread headjoog
Thanks for the follow-up Jeff. I couldn't even get the LCDS CRM sample to work. I will try again with the log settings you suggested. If there's something suspicious I'll post. Joe

[flexcoders] Re: how to add internal padding in canvas?

2008-10-17 Thread Tim Hoff
Just preference, but I'd rather see: mx:Canvas id=outer mx:Canvas id=inner top=10 bottom=10 left=10 right=10 // my content /mx:Canvas /mx:Canvas -TH --- In flexcoders@yahoogroups.com, Paul Andrews [EMAIL PROTECTED] wrote: - Original Message - From: Paul Andrews

  1   2   >