[flexcoders] Flex Charting

2009-08-17 Thread Angelo Anolin
Hi. Am doing some flex coding using only a text editor and the SDK compiler.  I run across some examples of Chart and when I try to compile the application (using the MXMLC compiler), I am getting an error: Error: Could Not Resolve mx:PieChart to a component implementation. I did a little

Re: [flexcoders] This mailing list vs the forum.

2009-08-17 Thread Tom Chiverton
On Friday 14 Aug 2009, Matt Chotin wrote: You can assume that we have this as an issue on our private contract-based forums with them. I know I've talked to them about it. Good to hear Matt. Feel free to make a song and dance about it when it's all sorted out. the replies to work in most

Re: [flexcoders] Re: TabNavigator - events children get on tab show

2009-08-17 Thread Tom Chiverton
On Friday 14 Aug 2009, valdhor wrote: From memory, on first show it's creationcomplete. After that, it's show. I thought so too. I knocked up this test case: mx:TabNavigator mx:VBox mx:TextArea show={Alert.show('a')}/ /mx:VBox mx:VBox

Re: [flexcoders] Flex Charting

2009-08-17 Thread Tom Chiverton
On Monday 17 Aug 2009, Angelo Anolin wrote: find it.  Is it downloaded as a separate file? Yup : http://download.macromedia.com/pub/flex/sdk/datavisualization_sdk3.3.zip -- Helping to paradigmatically deploy market-growth as part of the IT team of the year, '09 and '08

[flexcoders] Re: What is the best material to learn Flex 3 and AS3?

2009-08-17 Thread Martin Moschitz
Honestly, I also could not believe it, but I was extensively looking for good resources, and the best to start with was: Flex 3 for dummies. Even though I have a computer science background, my doubts of buying and reading this books vanished quickly. I have never done anyhing with Flex,

[flexcoders] How to browse the local machine by calling javascript function from flex.

2009-08-17 Thread Adarsh Agrawal
Hello All, In my project i need to load a file by browsing the local machine and getting the path too. by flex filereference method it is not possible to get the path of the file..so any one can help me out how resolve this problem..   browsing the local machine and getting the path of data

Re: [flexcoders] Re: TabNavigator - events children get on tab show

2009-08-17 Thread Tom Chiverton
On Monday 17 Aug 2009, Tom Chiverton wrote:rea show={Alert.show('a')}/ /mx:VBox mx:VBox mx:TextArea show={Alert.show('a')}/ /mx:VBox /mx:TabNavigator I never get the pop up. Ah ha. This is by design. I found

[flexcoders] XMLFiltering by attributes and values

2009-08-17 Thread fatmanchan2009
Hello Can anyone figure out this problem im currently having, and explain the reasons and cause of this proplem. I have an XML file of track data with a bunch of attributes track item uniqueTrackId=100 albumId=12 trackId=1 genreId=13 artistId=6584 ... /track i use this code to execute

[flexcoders] question with text color CSS for mx:Button on roll over.

2009-08-17 Thread Matt Muller
Sorry if this is a really simple question. I have a button and im loading in an external stylesheet and setting the buttons styleName to .removeUserButton. * mx:Button id=removeUser styleName=removeUserButton label=Remove/* .removeUserButton { upSkin:

[flexcoders] Re: question with text color CSS for mx:Button on roll over.

2009-08-17 Thread preethamhegdes
add textRollOverColor: #FF; --- In flexcoders@yahoogroups.com, Matt Muller matthewmul...@... wrote: Sorry if this is a really simple question. I have a button and im loading in an external stylesheet and setting the buttons styleName to .removeUserButton. * mx:Button id=removeUser

Re: [flexcoders] XMLFiltering by attributes and values

2009-08-17 Thread Preetham Hegde
what are name and value to _propertiesList ? Is it elements or attributes? If it is element then accessing is correct, there is some other problem. If it is attribute then should access like this pr...@name or pr...@value To understand difference between element and attribute here is a example

[flexcoders] Re: Event Best Practices

2009-08-17 Thread valdhor
The problem is that pop-up windows are handled by the SystemManger. You need to add your event listener to the system manager. In your application... this.systemManager.addEventListener(Your Event, your event handler); --- In flexcoders@yahoogroups.com, jdizowat jasonharr...@... wrote:

[flexcoders] Scale a Class file (png, gif, etc...)

2009-08-17 Thread flexaustin
I am trying to use a LinkButton in my app and assign an image to the icon variable, but I need to scale down or make sure the image isn't any larger than 15 x 15 pixels. Is there a way to scale a class file? I tried to load a png file then convert the png to Bitmap, tried BitmapData, and

[flexcoders] Re: XMLFiltering by attributes and values

2009-08-17 Thread fatmanchan2009
Ok, thanks, but dont think i explained my self very well Basically, i have a properties list which stores a object with a name and a value, which are both strings. name is the attribute name, so in ur example it will be 'id' and the value will be '1'. so knowing that information i should be

Re: [flexcoders] Re: Java/Flex questions answered by James Ward

2009-08-17 Thread Rajan Jain
Hi Mete You are 100% correct that i am using AMF Channel. I do not want to use HTTP Channel because then data has to be in XML format and it will make the request/response slow. At the same time i am using Remote Binding which will not be possible if i use HTTP Channel. But i put some time lag

[flexcoders] Re: Scale a Class file (png, gif, etc...)

2009-08-17 Thread grg_blls
Hi, Bitmaps aren't usually 'shrinked' (this or another way) as they lose in context. You should use a image processing program to first convert by downsampling to this lower resolution, and if you still can make out what the original image was like, OK. Otherwise you should 'enhance' the

[flexcoders] Why doesn't move effect occur?

2009-08-17 Thread Wesley Acheson
HI, I've got an application I'm trying to implement a custom layout. I'm trying to get move and resize effects to work on the children but it doesn't seem to work. Have I missed something obvious? Also... When I'm extending Canvas am I changing the correct method to recalculate the size and

[flexcoders] Generated code not working when app is loaded as module

2009-08-17 Thread poweribo
I used Flexbuilder to generated the proxy code for my webservices and my app works perfectly as standalone swf file but when I load it as a module (loaded from another main swf file), it throws these kind of errors (see below). I tried declaring and instantiating the objects in question, also

[flexcoders] Re: Scale a Class file (png, gif, etc...)

2009-08-17 Thread flexaustin
Ok, what about BitmapAsset.setActualSize? --- In flexcoders@yahoogroups.com, grg_blls grg_b...@... wrote: Hi, Bitmaps aren't usually 'shrinked' (this or another way) as they lose in context. You should use a image processing program to first convert by downsampling to this lower

[flexcoders] Re: regex: keyword search

2009-08-17 Thread valdhor
For AND searches you need to loop over each keyword. This is the way I would do it... var allKeywordsExist:Boolean = true; for each(var keyword:String in keywords) { var regexPattern:RegExp = new RegExp(keyword, i); allKeywordsExist = allKeywordsExist regexPattern.test(myBigText); }

[flexcoders] Re: Moving text in window

2009-08-17 Thread valdhor
Do you mean like auto scrolling a text area? --- In flexcoders@yahoogroups.com, christophe_jacquelin christophe_jacque...@... wrote: Hello, How to make a window with some text moving from the bottom to the top like the infomations ? Thank you, Christopher,

[flexcoders] Re: Java/Flex questions answered by James Ward

2009-08-17 Thread valdhor
I don't understand. Each call _IS_ a separate request. Even though Flex batches them up together, each remoteObject call hits the server as a separate request. They will return asynchronously. This is what you want so that you get the data back as fast as possible. --- In

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

2009-08-17 Thread lytvynyuk
I need to do little research, I woul like to know if compiller builds app using SWC it will take from there only classes required by the application. --- In flexcoders@yahoogroups.com, Ian Thomas i...@... wrote: You can use the 'externs' command-line option to the Flex compiler to tell Flex

[flexcoders] Re: XMLFiltering by attributes and values

2009-08-17 Thread valdhor
I haven't looked at your code too much but what jumped out at me is this line... filterData = filterData.(attribute(prop.name) == prop.value); This will try to evaluate attribute as a function with parameter prop.name and then compare that to prop.value returning a boolean. So, the upshot is

[flexcoders] Re: Scale a Class file (png, gif, etc...)

2009-08-17 Thread ag_rcuren
I ran into this same problem and could not find and easy fix. I ended up extending the LinkButton class. I created a button class that can load it's icons on the fly from any where local, net, or embedded. Instead of needing to set them strictly to Class I created a iconSource property. This

[flexcoders] Re: Scale a Class file (png, gif, etc...)

2009-08-17 Thread grg_blls
Hi, BitmapAsset () Constructor public function BitmapAsset(bitmapData:BitmapData = null, pixelSnapping:String = auto, smoothing:Boolean = false) Constructor. Parameters bitmapData:BitmapData (default = null) — The data for the bitmap image. pixelSnapping:String (default = auto) —

[flexcoders] Embedded .swf's as classes with meta-data not always compiling

2009-08-17 Thread djhatrick
I have a few uicomponent classes that have movieclips linked up through metadata. It seems every time that I compile, I have to switch up the base-class from sprite to movieclip in my class, or movieclip to sprite, in order for the code to actually compile into the project. Is there a list of

[flexcoders] Advanced Data Grid + ILOG

2009-08-17 Thread cuttenv
I have been working on a project that has several thousand items populating an Advanced Data Grid (ADG). Transmitting the data via AMF is lighting quick but it all really goes to waste once it hits the ADG. I looked online and found this bug with this work around.

[flexcoders] Re: MouseOver events while dragging?

2009-08-17 Thread Archibald
Thanks. For some reason I assumed the DragProxy was just an image. Setting mouseChildren=false let the mouseMove events fire on containers underneath the proxy. --Kelly --- In flexcoders@yahoogroups.com, Alex Harui aha...@... wrote: You might have to set mouseEnabled=false on all

[flexcoders] Re: How to restrict Drag and Drop to one axis? (like the X-Axis only)

2009-08-17 Thread Archibald
By doing this on the highest level UIComponent I could access I was able to lock it to one access even when dragging outside of the target container. Unfortunately it only worked up to the highest level component within a Module. It did not work when added to a component in the main app when

[flexcoders] Module and Application Communication.

2009-08-17 Thread cuttenv
I have a rather straight forward question. I am creating a module like this: private var modInfo:IModuleInfo private var myModule:MyCustomMdoule; //In creation complete of application modInfo = ModuleManager.getModule('myMod.swf'); modInfo.addEventListener(ModuleEvent.READY, onModuleReady);

[flexcoders] RE:Flex and NT Login

2009-08-17 Thread Randol Tigrett
I call a CF component from FLEX to get access from an NT domain... I masked the domain specific information with X, but you should get the idea cffunction name=login access=public output=no cfargument name=username type=string required=yes cfargument name=password type=string

[flexcoders] Application with WebCam

2009-08-17 Thread christophe_jacquelin
Hello, I am searching an example of a flex application that work with a USB webcam. Thank you, Christopher,

Re: [flexcoders] Application with WebCam

2009-08-17 Thread Wesley Acheson
Isn't this a bit vague? Googleing for flex webcam came up with several results. What is it you need exactly. To fetch video from the webcam? On Mon, Aug 17, 2009 at 7:35 PM, christophe_jacquelin christophe_jacque...@yahoo.fr wrote: Hello, I am searching an example of a flex application that

RE: [flexcoders] Re: XMLFiltering by attributes and values

2009-08-17 Thread Keith Reinfeld
This works well: var _trackData:XML = track item uniqueTrackId=100 albumId=12 trackId=1 genreId=13 artistId=6584/ item uniqueTrackId=101 albumId=13 trackId=2 genreId=14 artistId=6580/ item uniqueTrackId=102 albumId=14 trackId=3 genreId=15 artistId=6584/ item

RE: [flexcoders] Re: XMLFiltering by attributes and values

2009-08-17 Thread Keith Reinfeld
That comment should read: // Returns all node elements with the named attribute that equals value. - Keith From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Keith Reinfeld Sent: Monday, August 17, 2009 1:15 PM To: flexcoders@yahoogroups.com Subject:

[flexcoders] How can I remove a button and place the button in a differenct container in Gmbo

2009-08-17 Thread luvfotography
Hi, I have this working in Flex 3: I am removing a button from one hBox and placing it into another hBox when I change to state='state1' mx:states mx:State name=state1 mx:RemoveChild target={button1}/ mx:AddChild target={button1}

[flexcoders] Re: Why doesn't move effect occur?

2009-08-17 Thread wesley.acheson
The move effect doesn't occur because I'm an idiot. It was supposed to be on the children. For some reason I thought canvas applied moveEffect to its children. The other questions though I'd still like to know. --- In flexcoders@yahoogroups.com, Wesley Acheson wesley.ache...@... wrote: HI,

[flexcoders] Re: Event Best Practices

2009-08-17 Thread jdizowat
Thanks for the help everybody. --- In flexcoders@yahoogroups.com, valdhor valdhorli...@... wrote: The problem is that pop-up windows are handled by the SystemManger. You need to add your event listener to the system manager. In your application... this.systemManager.addEventListener(Your

[flexcoders] Re: Java/Flex questions answered by James Ward

2009-08-17 Thread fotis.chatzinikos
make a remote call implementation in java that fills a hashmap or related object with all the info you want: init() { people = getPeople() ; towns = getTowns() ; etc... } if you want them 1-by-1 call them in sequence: getPeople() on responce getTowns and so on... --- In

RE: [flexcoders] Re: Event Best Practices

2009-08-17 Thread Gordon Smith
mx:app - event never gets here mx:customComponent - this tabcontainer handles it just fine mx:customComponent / - this is a popup titlewindow which dispatches the event /mx:customComponent /mx:app I dispatch the event from the popped-up titlewindow. If you are really using PopUpManager,

RE: [flexcoders] Re: Event Best Practices

2009-08-17 Thread Gordon Smith
Sorry... I didn't see that Valdhor had already explained this. - Gordon From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Gordon Smith Sent: Monday, August 17, 2009 2:15 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Re: Event Best Practices

[flexcoders] Re: Moving text in window

2009-08-17 Thread shameer.forflex
Please check these links http://delicious.com/shameersalim/Marquee Thanks, Shameer --- In flexcoders@yahoogroups.com, valdhor valdhorli...@... wrote: Do you mean like auto scrolling a text area? --- In flexcoders@yahoogroups.com, christophe_jacquelin christophe_jacquelin@ wrote:

Re: [flexcoders] BUG: mx.controls.LinkBar - can somebody confirm?

2009-08-17 Thread Fotis Chatzinikos
bump On Thu, Jul 30, 2009 at 12:49 PM, fotis.chatzinikos fotis.chatzini...@gmail.com wrote: override protected function hiliteSelectedNavItem(index:int):void { var child:Button; // Un-hilite the current selection. if (selectedIndex != -1 selectedIndex numChildren) { child =

[flexcoders] Re: Scale a Class file (png, gif, etc...)

2009-08-17 Thread flexaustin
Yes, code would be great! I can't believe how difficult this is to get implemented. Hope these things become easier in Flex 5. J --- In flexcoders@yahoogroups.com, ag_rcuren robert.vancuren...@... wrote: I ran into this same problem and could not find and easy fix. I ended up extending the

[flexcoders] Re: This mailing list vs the forum.

2009-08-17 Thread Amy
--- In flexcoders@yahoogroups.com, Jochem van Dieten joch...@... wrote: On Thu, Aug 13, 2009 at 5:38 PM, Tom Chiverton wrote: On Thursday 13 Aug 2009, Gregor Kiddie wrote: It does have to be said, I use the Mailing list functionality of the Adobe forums rather than visiting the forum

[flexcoders] Re: This mailing list vs the forum.

2009-08-17 Thread Amy
--- In flexcoders@yahoogroups.com, Ian Thomas i...@... wrote: On Thu, Aug 13, 2009 at 10:26 AM, Andriy Panasa.pa...@... wrote: Forums in general are way superior to mailing lists to exchange the knowledge on the Internet. My main issue with that is: Mailing lists are push. Forums are

[flexcoders] Adobe Air app losing connection to DB

2009-08-17 Thread Scott
This is another weird one. I'm struggling with session management in Air and Coldfusion. I've got Coldfusion session variables set to: Use J2EE vars Unchecked Enable app vars checked enable session vars enabled MAX timeout: Application vars: 2 days 0 hours 0 minutes 0 secs

Re: [flexcoders] Flex Charting

2009-08-17 Thread Angelo Anolin
Thanks a lot Tom. From: Tom Chiverton tom.chiver...@halliwells.com To: flexcoders@yahoogroups.com Sent: Monday, 17 August, 2009 16:46:12 Subject: Re: [flexcoders] Flex Charting   On Monday 17 Aug 2009, Angelo Anolin wrote: find it.  Is it downloaded as a

[flexcoders] Some Qs on Flex Pie Chart

2009-08-17 Thread Angelo Anolin
Flex Pie Chart I have recently downloaded the DataVisualization.swc file to do some Flex Charting learning. I have some questions with regards to the Pie Chart (which am focusing at the moment). 1. How Do I specify a gradient for each pie in the pie chart?  I see some examples but the

[flexcoders] degrafa capacity indicator resizing

2009-08-17 Thread kaushal.shah05
does anyone know how to dynamically change the size of the indicator bar? binding variables to the width and height did not work. I also tried changing the surface component but no luck below is the isolated capacity indicator bar code. !-- Graphics and Paint for the inner bars and