[flexcoders] Syntax of using a variable to make an object

2008-10-17 Thread john fisher
I am stuck on some basic AS syntax. Here is some Adobe sample code: [Bindable] public var dpac:ArrayCollection = new ArrayCollection([ {A:2000},{A:3000}, {A:6000} ]); public function addDataItem():void { var o:Object = {"A":2000}; dpac.addI

[flexcoders] Re: sailorsea21 - RemoveChild question.

2008-10-17 Thread sailorsea21
DOH! Thank you very much for your help :) -David --- In flexcoders@yahoogroups.com, "Tracy Spratt" <[EMAIL PROTECTED]> wrote: > > Because you introduced the Vbox container. Neither the button or the > moduleloader are children of modulestile, they are children of the Vbox. > > > > You

[flexcoders] flex and oracle

2008-10-17 Thread mtkarimi
hello people its show time ok i have a question i'm new in programming with flex but im student and im looking for a way that i can connect oracle data base with flex it can help me a lot even a simple connection that can extract something of database and what do u think bout adobe what they wan

RE: [flexcoders] what is a String? (default encoding question)

2008-10-17 Thread Gordon Smith
I think AS3 uses UTF-16 internally, but I'm not sure about that, and it might change in the future. I suggest that you do some timing tests to see what's fastest. - Gordon From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Pan Troglodytes Sent: Friday, October 17, 2008 12:

[flexcoders] Lookup performance: Dictionary in memory vs. SQLLite

2008-10-17 Thread arieljake
I am developing an AIR app, and am wondering what people believe would be faster...I plan to implement an RSS reader in the app, and want to filter the entries that have been read/saved already, so I will need to do a lookup on every downloaded RSS item in a dictionary to see if the user has looked

[flexcoders] Generic XML serializer/deserializer in as3

2008-10-17 Thread arieljake
In case anyone can make use of it: http://arieljake.onsugar.com/2383269

[flexcoders] [ANN Class] 3D Interactive UI, Papervision w/ Flex for Games and more

2008-10-17 Thread v.cekvenich
A 10 hour bootcamp in Flex to learn 3D using Papervision. Taught by professional trainer Vic Cekvenich. In SF on 11/20 after Max,more info at: http://papervision.proj.com $200-400. We will cover hands on labs from scratch: * Setting up the SDK * Warm up: 2D Motion * 3D Primitives

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

2008-10-17 Thread Rob Kunkle
As far as I know its not possible to get a File object directly off of the client machine...if the client is using flash 9. It looks like this was resolved in Flash 10 though. Yay! http://drawlogic.com/2008/05/17/amazing-new-feature-for-flash-10/ --- In flexcoders@yahoogroups.com, "Kevin Benz

[flexcoders] Re: Warning on the line that does even not exist

2008-10-17 Thread markgoldin_2000
Yep, that was it. Thanks --- In flexcoders@yahoogroups.com, Matt Chotin <[EMAIL PROTECTED]> wrote: > > Clean your project? Is -keep turned on (not that that should make a difference)? > > > On 10/17/08 1:54 PM, "markgoldin_2000" <[EMAIL PROTECTED]> wrote: > > > > > I am getitng this warnin

Re: [flexcoders] Warning on the line that does even not exist

2008-10-17 Thread Matt Chotin
Clean your project? Is -keep turned on (not that that should make a difference)? On 10/17/08 1:54 PM, "markgoldin_2000" <[EMAIL PROTECTED]> wrote: I am getitng this warning: 1100: Assignment within conditional. Did you mean == instead of =? while a line with this code has been deleted a c

[flexcoders] Warning on the line that does even not exist

2008-10-17 Thread markgoldin_2000
I am getitng this warning: 1100: Assignment within conditional. Did you mean == instead of =? while a line with this code has been deleted a couple days ago?

[flexcoders] Re: datagrid scrolling problem

2008-10-17 Thread Mark
Thanks for the quick response, I'll give that a shot and let you know how it works out. -M --- In flexcoders@yahoogroups.com, "Tim Hoff" <[EMAIL PROTECTED]> wrote: > > > Jeez, got to slow down. Should be LT. > > myDG.verticalScrollPosition = (myDataProvider.length - array[i]) < > (myDataProvi

[flexcoders] Re: Extending UIComponent memory issues.

2008-10-17 Thread flexaustin
Well my container is about 4 classes deep. What I am focused on now is the CarouselImage class as each carousel comp contains up to 8 of these and their can be 2000 carousel components...see my delim? I know at best it will be next to impossible to use but it has to be done. I tried converting my

[flexcoders] Re: datagrid scrolling problem

2008-10-17 Thread Tim Hoff
Jeez, got to slow down. Should be LT. myDG.verticalScrollPosition = (myDataProvider.length - array[i]) < (myDataProvider.length - myDG.rowCount) ? (myDataProvider.length - myDG.rowCount) : array[i]; -TH --- In flexcoders@yahoogroups.com, "Tim Hoff" <[EMAIL PROTECTED]> wrote: > > > Sorry for th

[flexcoders] Re: datagrid scrolling problem

2008-10-17 Thread Tim Hoff
Sorry for the typo, also not tested; obviously. :) myDG.verticalScrollPosition = (myDataProvider.length - array[i]) > (myDataProvider.length - myDG.rowCount) ? (myDataProvider.length - myDG.rowCount) : array[i]; -TH --- In flexcoders@yahoogroups.com, "Tim Hoff" <[EMAIL PROTECTED]> wrote: > > >

[flexcoders] Re: datagrid scrolling problem

2008-10-17 Thread Tim Hoff
Hi Mark, You can come probably up with a more elegant way to handle each possibility, but here's an idea. myDG.verticalScrollPosition = (myDataProvider - array[i]) > (myDataProvider.length - myDG.rowCount) ? (myDataProvider.length - myDG.rowCount) : array[i]; -TH --- In flexcoders@yahoogroups.

RE: [flexcoders] datagrid scrolling problem

2008-10-17 Thread Tracy Spratt
You will have to add conditional logic to use the rowCount and index to calculate the scroll position. Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Mark Sent: Friday, October 17, 2008 4:07 PM To: flexcoders@yahoogroups.com Subj

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

2008-10-17 Thread Tracy Spratt
Because you introduced the Vbox container. Neither the button or the moduleloader are children of modulestile, they are children of the Vbox. You now need to keep references to the Vbox instead, and remove that. Tracy From: flexcoders@yahoogroups.com [

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

2008-10-17 Thread Tim Hoff
They are styles Mark, cavas.setStyle("top",10); -TH --- In flexcoders@yahoogroups.com, "markflex2007" <[EMAIL PROTECTED]> wrote: > > But why I can do this with actionscript > > I have the object like > > public var canvas:Canvas = new Canvas(); > > but I get error for > > canvas.top = 10; > can

[flexcoders] datagrid scrolling problem

2008-10-17 Thread Mark
I have a basic datagrid that is getting the data from an arrayCollection with each item having a startDate field, among others. My boss wanted me to have the datagrid scroll down to the item that has the same start date as todays date. Basically I'm just looping thru the arrayCollection to fi

[flexcoders] Re: Overriding width of DateField

2008-10-17 Thread aceoohay
Gordon: I did the following; override protected function measure():void { super.measure(); measuredWidth=94; measuredMinWidth=94; } It still doesn't seem to change the width of the component in flexbuilder's desig

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

2008-10-17 Thread markflex2007
But why I can do this with actionscript I have the object like public var canvas:Canvas = new Canvas(); but I get error for canvas.top = 10; canvas.left = 10; I wonder how to do this with actionscript. Thanks mk --- In flexcoders@yahoogroups.com, "Paul Andrews" <[EMAIL PROTECTED]> wrote: >

[flexcoders] what is a String? (default encoding question)

2008-10-17 Thread Pan Troglodytes
How is a string represented internally in Flex? It never actually says it in the help for String. Is it UTF-8? I think this because because mxml uses utf-8 as the encoding in the ?xml directive, ByteArray seems to treat utf-8 specially, and ByteArray.readMultiByte says the return value is a utf-

[flexcoders] Re: sailorsea21 - RemoveChild question.

2008-10-17 Thread sailorsea21
Thanks Paul, that fixed the error in my file but I still receive the error when I run my application, load modules and then try to unload a loaded module. Error: ArgumentError: Error #2025: The supplied DisplayObject must be a child of the caller. at flash.display::DisplayObjectContainer/remo

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

2008-10-17 Thread Tim Hoff
Here here. Ha, it's good that we have people on this list that look at solutions from different perspectives. There isn't always a "best" way, but there is usually a "better" way. :-) -TH --- In flexcoders@yahoogroups.com, "Michael Schmalle" <[EMAIL PROTECTED]> wrote: > > The irony to all this

RE: [flexcoders] Overriding width of DateField

2008-10-17 Thread Gordon Smith
Try subclassing and overriding the measure() method to return a greater measuredWidth. Gordon Smith Adobe Flex SDK Team From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of aceoohay Sent: Friday, October 17, 2008 12:25 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Ov

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

2008-10-17 Thread Michael Schmalle
The irony to all this over analyzation is; We never heard the OP say WHY he even wanted to do this (padding in Canvas) let alone if he even needed a canvas to do what he needed to do! I just need to stay out of these application questions. ;-) Tim, It is really exciting to see the future of flex

[flexcoders] Overriding width of DateField

2008-10-17 Thread aceoohay
One anomaly I've found in flex is the width of the DateField. It's width is about 90px. If you use it with no width, and make it editable, when the user puts in a date in mm/dd/ format it will move the left 2 characters out of the box to the left. To correct this issue, I would like to crea

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

2008-10-17 Thread Jeff Vroom
We did rename some of the jar files so make sure you remove all of the old flex-messaging* jar files before copying in the new ones. In particular flex-messaging.jar went away and is replaced by lots of smaller jar files flex-messaging-data.jar etc. This was to implement the BlazeDS/LCDS spli

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

2008-10-17 Thread Tim Hoff
I hear ya man. Just like to keep things simple and, when possible, allow for pulling the styles out to CSS. I'm sure using a Box with padding would work for this too; instead of having two containers. -TH --- In flexcoders@yahoogroups.com, "Paul Andrews" <[EMAIL PROTECTED]> wrote: > > Yes, I'm

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

2008-10-17 Thread Paul Andrews
- Original Message - From: "sailorsea21" <[EMAIL PROTECTED]> To: Sent: Friday, October 17, 2008 8:01 PM Subject: [flexcoders] Re: sailorsea21 - RemoveChild question. > Here's my updated code: > > private var moduleloader:ModuleLoader; > private var unload_button:Button; > private var v

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

2008-10-17 Thread Paul Andrews
Yes, I'm just old school this time round! - Original Message - From: Tim Hoff To: flexcoders@yahoogroups.com Sent: Friday, October 17, 2008 7:58 PM Subject: [flexcoders] Re: how to add internal padding in canvas? Just preference, but I'd rather see: //

[flexcoders] Re: sailorsea21 - RemoveChild question.

2008-10-17 Thread sailorsea21
Here's my updated code: private var moduleloader:ModuleLoader; private var unload_button:Button; private var vbox:VBox; private var _aChildren:Array=[]; private function unloadclick(event:Event):void { var iIndexClicked:int

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

2008-10-17 Thread Tim Hoff
Just preference, but I'd rather see: // my content -TH --- In flexcoders@yahoogroups.com, "Paul Andrews" <[EMAIL PROTECTED]> wrote: > > - Original Message - > From: "Paul Andrews" [EMAIL PROTECTED] > To: flexcoders@yahoogroups.com > Sent: Friday, October 17, 2008

[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

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 mx.rpc.CallRespon

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 T

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 the

[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 t

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

2008-10-17 Thread Paul Andrews
- Original Message - From: "Paul Andrews" <[EMAIL PROTECTED]> To: 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: > Sent: Friday, October 17, 200

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

2008-10-17 Thread Paul Andrews
- Original Message - From: "markflex2007" <[EMAIL PROTECTED]> To: 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 margin"? Something

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), a

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 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 Andrew

[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] 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.

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 d

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: flexcoders@yahoogroups.c

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 I

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] 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

[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; a

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 u

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: fle

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

[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 http://te

[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"

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

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 availa

[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 w

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

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] 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,

[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] 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 environm

[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: -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 > transition between two states

[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 im

[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: 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 Can

[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 poin

[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 click(evt:MouseEvent):void

[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: > >

[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

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

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

[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 a

Re: [flexcoders] Re: Rippling through state changes

2008-10-17 Thread Paul Andrews
- Original Message - From: "Amy" <[EMAIL PROTECTED]> To: 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 (nothing special) t

[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, Ch

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

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] 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, 20

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] 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] 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 s

[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

[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 getSomeEmployees select id as "id", firstname as "firstname", lastname as "lastname", phonenumber as "phonenumber" from employ

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 thi

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: application.sy

[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

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 ob

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 pa

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 Cust

[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, apologi

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, Oct

[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

[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 [Event(name="formUpdate",type="flash.events.Event")] dispatchEvent(new Event('formUpdate',true)); MAIN APP applicatio

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 "" it's below, then it work, if above then it doesn't work - Original Message From: Tom Chiverton <[EMAIL PROTECTED]> To:

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 MyIResponder(r:Function,

[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; bookSales.addItem(newB

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

  1   2   >