RE: [SPAM] [flexcoders] How to parse xml with namespaces

2010-01-21 Thread Tracy Spratt
Namespaces are a pain. You can declare a "default' namespace, assigning it "http://www.w3.org/1999/xhtml";. That will give you access to the nodes without a specific namespace. Then I guess you will need to use the "::" syntax for the specified namespcaces. Google this there are several deta

Re: [flexcoders] Adobe pulls Single CPU and 100-user licenses

2010-01-21 Thread Jeffrey Vroom
I am saddened by this situation... if you read a couple of posts on my blog you'll understand at least one of the reasons I left Adobe: http://blog.jvroom.com/2009/12/11/understanding-the-market-for-software-platforms/ http://blog.jvroom.com/2009/10/29/tips-for-buying-and-selling-enterprise-sof

[flexcoders] Image not loading [1 Attachment]

2010-01-21 Thread venkat eswar
Hi, In my application images are not laoding. I have attached the code.

Re: [flexcoders] spark list functions missing?

2010-01-21 Thread Alex Harui
I haven’t actually tried it but you could use 1. dataGroup.getElementAt 2. dataGroup.verticalScrollPosition 3. dataGroup.getElementAt(dataProvider.getItemIndex(item)) != null) 4. ensureIndexIsVisible On 1/21/10 7:14 PM, "j2me_soul" wrote: yes, I find this problem too. Is anybody

Re: [flexcoders] Drawing a Grid

2010-01-21 Thread Alex Harui
There is a limit of 8000 pixels or so. You can end up with artifacts if you go out beyond that. I would virtualize since you can only see 1000 pixels or so at a time. On 1/21/10 2:10 PM, "flexaustin" wrote: Does anyway happen to know the best way to draw a grid inside of Sprite that u

Re: [flexcoders] Enable mousewheel function on spark List

2010-01-21 Thread Alex Harui
Like I said, you shouldn’t need to add any code. Try it on Windows. MouseWHeel may not work on Mac. On 1/21/10 6:02 PM, "j2me_soul" wrote: protected function onMouseWheelEventHandler(event:MouseEvent):void{ ? = event.delta; } How should I do to enable the mou

Re:[flexcoders] spark list functions missing?

2010-01-21 Thread j2me_soul
yes, I find this problem too. Is anybody figure out this ? 在2010-01-22 02:59:50,"Ariel J" 写道: Where are these methods in the spark list control: 1) indexToItemRenderer() 2) set verticalScrollPosition() - that uses the index of the item in the data provider 3) isItemVisible() 4) scroll

[flexcoders] Sequence flicker issue

2010-01-21 Thread j2me_soul
Between each effect there is a flicker when the next effect started. I try to use flex3.4 but the problem is still there. I really confused ~~

[flexcoders] How to parse xml with namespaces

2010-01-21 Thread luketvanderfluit
Hi. Here is a snippet of xml: It contains an element with a namespace (c:question) and several elements without a namespace. If I get the whole thing as an XML object, how do I go about accessing all the different fields. E.G. I need to access the c:question text or c:question subelements So:

Re: [flexcoders] Read svg file in FLEX

2010-01-21 Thread Aaron Hardy
Hey flexlearner, What's your question exactly? How to parse XML? After you parse the XML (you can use e4x) you'll convert SVG attributes into actionscript graphics functions like graphics.lineTo(). Are you having trouble with something in particular? Aaron On Thu, Jan 21, 2010 at 3:30 AM, fle

Re:Re:Re: [flexcoders] Enable mousewheel function on spark List

2010-01-21 Thread j2me_soul
protected function onMouseWheelEventHandler(event:MouseEvent):void{ ? = event.delta; } How should I do to enable the mousewheel function to scroll the Spark List ?

[flexcoders] ContextMenu: is there a maximum number of menuItems that can't be exceeded?

2010-01-21 Thread oma...@ymail.com
Hello everybody, I'm working on a snippet which must cover the lack of a column selector or column chooser in the AdvancedDatagrid component. I noticed that the maximum number of menuItems is 16 and the menuItems exceeding 16 will not be shown. Has anyone encountered this issue? And how have you so

[flexcoders] Reg Flex Certification

2010-01-21 Thread Radha Tyagi
Hi, I am new to flex and want to take Flex certification. Any recommendation on the book and the questions to practice from would be of great help. Thnaks, Radha

[flexcoders] Read svg file in FLEX

2010-01-21 Thread flexlearner
Hi, I am new to flex and am using svg file for one of my application which basically contains 2-3 rectangles and few paths. Now I want to parse this svg file in my application and get rect coordinates. Kindly let me know how to achieve this.

[flexcoders] HSlider max/min position

2010-01-21 Thread Kashif Inam
Hi, I have to swap max/min position in HSlider control. By default max come to right and min on left. Any help would be appreciated Thanks Kashif Inam Sent from my iPhone

[flexcoders] Creating control logic diagram

2010-01-21 Thread flexlearner
Hi, I am new to flex and trying to create a network diagram type application.These are the things which I am trying to achieve : 1.Create a library of 'SVG' files which will contain different images for different things such as AND gate, NAND gate, etc.2.Drag n Drop those items on canvas from libr

[flexcoders] Re: horizontalAlign Puzzling

2010-01-21 Thread turbo_vb
I think because horizontalAlign is a style, not a property. Try setStyle(); -TH --- In flexcoders@yahoogroups.com, "criptopus" wrote: > > var boxArray:Array=new Array(); > var boxIdx:int=boxArray.length; > boxArray.push(new Box()); > boxArray[boxIdx].percentWidth=100; > > Why not...? > > boxA

[flexcoders] Re: Resize and Save an Image

2010-01-21 Thread turbo_vb
If the image is in a container, you could capture a bitmap of the container component and save that: import flash.display.Bitmap; import flash.display.BitmapData; import mx.core.UIComponent; import mx.graphics.ImageSnapshot; private function getSnapshotImage( com

[flexcoders] horizontalAlign Puzzling

2010-01-21 Thread criptopus
var boxArray:Array=new Array(); var boxIdx:int=boxArray.length; boxArray.push(new Box()); boxArray[boxIdx].percentWidth=100; Why not...? boxArray[boxIdx].horizontalAlign="center"; - Stephen

[flexcoders] User manual

2010-01-21 Thread Christophe
Hello, Does the user manual is still existing for a flex application ? Or did the FAQ is sufficient ? Thank you, Christophe,

[flexcoders] Troublesome problem with debugger - local variables not showing

2010-01-21 Thread biosmonkey
I ran into an extremely strange problem today with the debugger. Placing a breakpoint in a certain function was NOT showing my local scope variables in the list. At all. The only thing I have showing is "this" and, if the function has any inputs, _arg1, _arg2 etc. Some variables I can place

[flexcoders] Drawing a Grid

2010-01-21 Thread flexaustin
Does anyway happen to know the best way to draw a grid inside of Sprite that uses the least amount of mem/processing? I have a sprite that can be up to 40,000 pixels wides by 40,000 pixels high and I need to draw a grid in the background of the sprite, similar to Visio. The issue is when I ju

[flexcoders] Resize and Save an Image

2010-01-21 Thread s_hernandez01
Hey does anyone know if it's possible to resize and image in flex and save it to a mysql database so that I have say a 512x512 and a 60x60? If so, is there a tutorial out on the web somewhere? This is just to avoid having to resize it myself manually when I receive the 512x512.

Re: [flexcoders] IP adress for Language

2010-01-21 Thread Tino Dai
maxmind.com on the backend. -Tino On Wed, Jan 20, 2010 at 4:10 PM, Glenn Williams wrote: > > [Attachment(s) <#1264d92685539177_TopText> from Glenn Williams included > below] > > Not sure if this will help but.. > > > > I use web services from a uk company called *postcodeanywhere.com* > > >

[flexcoders] Re: Adobe pulls Single CPU and 100-user licenses

2010-01-21 Thread jc_bad28
It might be a good opportunity to loosely couple things and apply a more Service Oriented Architecture approach. Using SOA principles, changing out the business logic layer ie BlazeDS or LiveCycle wouldn't require a massive rewrite of the data or client layer. Just in how the data and presenta

[flexcoders] Re: Adobe pulls Single CPU and 100-user licenses

2010-01-21 Thread jc_bad28
It might be a good opportunity to loosely couple things and apply a more Service Oriented Architecture approach. Using SOA principles, changing out the business logic layer ie BlazeDS or LiveCycle wouldn't require a massive rewrite of the data or client layer. Just in how the data and presenta

[flexcoders] Re: Should I follow this recommendation when it comes to Flex learning curve?

2010-01-21 Thread jc_bad28
Why can't you learn both at the same time? Flex by itself is all nice and dandy but the power comes from being able to create cross-browser, desk top deployable front-end to business processes and data. Techincally, the business logic can be built into Flex for a lot of stuff, but it's actuall

[flexcoders] How to dynamically populate the Header Text of Flex Datagrid from XML or from an arrayCollection

2010-01-21 Thread Thomas Silvester
Hi, I currently return an XML File(below) to Flex and have been assigning it to an array collection in order to populate a data grid.   As of now i have the header Text hardcoded . I want to put it dynamically from the arraycollection below, and some timee there are some of the columns need to

[flexcoders] spark list functions missing?

2010-01-21 Thread Ariel J
Where are these methods in the spark list control: 1) indexToItemRenderer() 2) set verticalScrollPosition() - that uses the index of the item in the data provider 3) isItemVisible() 4) scrollToIndex I am also not finding them in DataGroup.

RE: [flexcoders] Re: Quick Question?

2010-01-21 Thread Gordon Smith
There is no way for these properties to be correct until the image has been loaded. So to get the correct values, you probably need to wait for a 'complete' event from the Image. Gordon Smith Adobe Flex SDK Team From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of

[flexcoders] Re: DataGrid is blank

2010-01-21 Thread normc_actionscript
Thanks for the help, makes sense. I'll make a new component with a List and label above, and repeat that. DataGrid is overkill for what's needed anyway. Norm

[flexcoders] Re: Quick Question?

2010-01-21 Thread criptopus
Strange its working now, no idea what that was, but thanks for the confirmation. --- In flexcoders@yahoogroups.com, Tibor Ballai wrote: > > Hi Stephen, > > You'll find those values in the Image component's contentHeight and > contentWidth properties. > > Tibor. > > www.tiborballai.com > > cr

[flexcoders] Re: Quick Question?

2010-01-21 Thread criptopus
Not in mine, I have an image 800x800 and i display it in a much smaller window and contentHeight and contentWidth are much smaller! --- In flexcoders@yahoogroups.com, Tibor Ballai wrote: > > Hi Stephen, > > You'll find those values in the Image component's contentHeight and > contentWidth prop

Re: [flexcoders] Quick Question?

2010-01-21 Thread Tibor Ballai
Hi Stephen, You'll find those values in the Image component's contentHeight and contentWidth properties. Tibor. www.tiborballai.com criptopus wrote: > > I have loaded an image into a component, how do I get the > dimentions of the source image in the file it comes from. > > when I try conten

[flexcoders] Quick Question?

2010-01-21 Thread criptopus
I have loaded an image into a component, how do I get the dimentions of the source image in the file it comes from. when I try contentWidth & contentHeight I just get the current displayed width and hight, not the image files width and height? - Stephen

Re: [flexcoders] Re: Adobe pulls Single CPU and 100-user licenses

2010-01-21 Thread Matt Muller
check this out http://www.insideria.com/2010/01/getting-real-with-graniteds.html 2010/1/21 João Fernandes > > > No Jeff, BlazeDS is the 'downgrade' path ... LCDS provides data > management which is not available on BlazeDS. > > Indeed people using Free or Departmental will end up with a locke

Re: [flexcoders] Re: Adobe pulls Single CPU and 100-user licenses

2010-01-21 Thread João Fernandes
No Jeff, BlazeDS is the 'downgrade' path ... LCDS provides data management which is not available on BlazeDS. Indeed people using Free or Departmental will end up with a locked product. I wish that LCDS would become more affordable somehow and become more mainstream. -- João Fernandes Adobe

[flexcoders] Re: Adobe pulls Single CPU and 100-user licenses

2010-01-21 Thread Jeff
Wouldn't BlazeDS be the upgrade path for the 'no charge' versions? I'm on unclear on the exact differences, but I thought LCDS had more advanced push / real time capabilities. Apps that truly need that are rare in my experience. --- In flexcoders@yahoogroups.com, "busitech" wrote: > >

[flexcoders] Adobe pulls Single CPU and 100-user licenses

2010-01-21 Thread busitech
I'm curious how many of your projects were deployed into production using the no-charge Single CPU (or the 100-user departmental) licenses of LCDS 2.x. Since the release of LCDS 3.0, neither of these licenses exist. This leaves our small business customers running in production using the Single

Re: [flexcoders] Re: Trapping on BlazeDS server a lost connection to a Flex client. How?

2010-01-21 Thread Fotis Chatzinikos
Hi George, I have not touched session persistence in my installation - so if enabled by default you can leave it as is.. On Thu, Jan 21, 2010 at 4:11 PM, GeorgeB wrote: > > > > Hi Fotis, > > One relative question about using sessions: > Should in this case the persistent storage of the context

[flexcoders] Re: Item renderer in dynamically generated DataGrid columns

2010-01-21 Thread Amy
--- In flexcoders@yahoogroups.com, Alex Harui wrote: > > DgcDaaGridColumn.itemRenderer = new ClassFactory(MyHBoxWrappingTwoLabels); I'd add to that: if you're going to go with this method, you're probably going to want to pass in a function or two that will give you back the strings you want

[flexcoders] Re: Datagrid itemrenderer for adding multiple linkbuttons in same gridcolumn

2010-01-21 Thread valdhor
As far as I know the code is open source but you could add a comment at his blog (http://www.jabbypanda.com/blog/?p=28). You will either have to disable the datagrids click event handler on that specific column or figure out a way to put each link in its own column. --- In flexcoders@yahoogroup

[flexcoders] Re: Trapping on BlazeDS server a lost connection to a Flex client. How?

2010-01-21 Thread GeorgeB
Hi Fotis, One relative question about using sessions: Should in this case the persistent storage of the context be disabled in Tomcat 6.0? (This is enabled by default) Thanks George --- In flexcoders@yahoogroups.com, Fotis Chatzinikos wrote: > > If you are using sessions you can add a sess

Re: [flexcoders] Trapping on BlazeDS server a lost connection to a Flex client. How?

2010-01-21 Thread Fotis Chatzinikos
If you are using sessions you can add a session destroy filter in tomcat that retrieves the user id from the session and updates the db that the user has logged out - that will work - the only problem is that if you use a long session timeout your db field will be updated at the end of this period.

[flexcoders] Trapping on BlazeDS server a lost connection to a Flex client. How?

2010-01-21 Thread GeorgeB
Hi all, I think it has been asked before but I don't recall any answer as this is: 1. Not a Flex directly related issue, 2. Not even a BlazeDS issue per se, My client-server application depends on a Flex client and a Tomcat + BlazeDS + MySQL + Hibernate backend server. It tracks whether a user i

[SPAM] Re: [flexcoders] DataGrid is blank

2010-01-21 Thread bhaq1972
sometimes setting the dataprovider to null (or new Object) worked for me. partsGrid.dataProvider = null; partsGrid.dataProvider = partsListCollection; or set the dataProvider in another event like creationComplete. --- In flexcoders@yahoogroups.com, "Tracy Spratt" wrote: > > I think I wou