[flexcoders] Re: Populating Datagrid

2009-07-28 Thread Josh Keller
That was exactly the information I needed to get me over that hump, thank you very much. Josh --- In flexcoders@yahoogroups.com, "valdhor" wrote: > > You need to populate something like an ArrayCollection and then set the > dataProvider of your DataGrid to that ArrayCollection. Here is a quick

[flexcoders] 50% Promotion for Flex 4 In Action

2009-07-28 Thread Tarik Ahmed
Manning Publications is having a one day (Weds) 50% off promotion for the upcoming Flex 4 In Action. This give you access to the early edition of the book (you get access to the draft chapters as they're written, and then the final book when complete). http://www.manning.com/ahmed2/ Enter prom

Re: [flexcoders] Frustrating examples from ADOBE

2009-07-28 Thread Matt Chotin
This is something we're looking to address, there are a lot of places that link to old pages and we don't want them to break, but we do want to find a way for search results to be more relevant. This is one thing we hope to accomplish with the community help search capabilities, see if initiati

RE: [flexcoders] AIR app, need MouseMove events NOT bounded by screen

2009-07-28 Thread Tracy Spratt
I have tested with a joystick and it behaves the same as moving the mouse with no button pressed, and events stop at the screen boundaries. Tracy Spratt, Lariat Services, development services available _ From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf O

RE: [flexcoders] AIR app, need MouseMove events NOT bounded by screen

2009-07-28 Thread Tracy Spratt
No, the joystick is like moving the mouse without any button down. I am currently listening to systemManager, I'll try stage to see if the behavior is any different. Tracy Spratt, Lariat Services, development services available _ From: flexcoders@yahoogroups.com [mailto:flexcod..

[flexcoders] Re: Loading local SWFs in AIR to local-with-network sandbox

2009-07-28 Thread daniel.langh
Well, I don't use the application directory, I use the app-storage directory which is different. And as you wrote it, I should be able to determine which sandbox will the SWF be loaded into. But if you make a test case you will see that there's no way to load into the local-with-network sandb

[flexcoders] Frustrating examples from ADOBE

2009-07-28 Thread hworke
It is really exciting when you are looking for a solution and suddenly find a perfect example in a Adobe page- but guess how you will feel if it does not work? Every time I am searching for something like "Adobe air html" this following link show up on top of my search http://labs.adobe.com/wi

[flexcoders] Why is my dragInitiator selectedItem null on the first drag?

2009-07-28 Thread steve horvath
I am using a List as drag source. When the list loads nothing is selected. If I grab an item and start drag and then drop, the drop target reports the dragInitiator list selectedItem is null. If I instead click on the source list first and then drag, the selectedItem is populated. Is there

Re: [flexcoders] AIR html component

2009-07-28 Thread Vivian Richard
Thanks Sam. I have also just seen your below reply on june 11th: -- You can access the HTML DOM of that page like this, and get whatever you want, just like you can in JS: var forms:* = browser.domWindow.d

RE: [flexcoders] Re: Sideways text

2009-07-28 Thread Gordon Smith
I know I'm not embedding a font. Amy said that setting blendMode="layer" allows you to rotate a non-embedded font. That was news to me, and when I tried it I couldn't confirm her statement. So I'm skeptical that it's true. I think you have to embed a font to be able to rotate text in TextField-b

Re: [flexcoders] Need help Combobox label property

2009-07-28 Thread Jeffry Houser
I started to give him a similar answer, but then realized he may be talking about setting the selectedItem on the ComboBox. He mentioned he already had a labelField which seems to be exactly what he needs for display purposes without a complicated switch statement. Ganesh, if neither answe

[flexcoders] Re: how to cleanly reduce the height of a TitleWindow's title bar

2009-07-28 Thread Tim Hoff
Hi Andrew, Have you tried the headerHeight Style in CSS? TitleWindow { header-height: 20; } -TH --- In flexcoders@yahoogroups.com, Andrew Ball wrote: > > I'm unhappy with how tall the title bars are by default for TitleWindows in > my application. We have some (possibly modified) Panels

[flexcoders] compc namespace issue gumbo.

2009-07-28 Thread Nayan Savla
Hi All, I am trying to compile components using compc for gumbo but have been having namespace issues. This is the error i get, main: [compc] Loading configuration file /Users/nayan/Downloads/flex_sdk_4/frameworks/flex-config.xml [compc] Error: could not find source for class spark.layo

Re: [flexcoders] Need help Combobox label property

2009-07-28 Thread Mark Lapasa
look at combo boxes labelfunction the function will then inspect the countrycode and you'll have a nasty switch statement that will output the correct country name -mL gan_sun2006 wrote: > > > Hi, > > I am using combobox for which the bound data is coming from an > arraycollection. My arrayco

[flexcoders] how to cleanly reduce the height of a TitleWindow's title bar

2009-07-28 Thread Andrew Ball
I'm unhappy with how tall the title bars are by default for TitleWindows in my application. We have some (possibly modified) Panels with shorter titlebars. Does anyone know of a clean way to get the title bars of the TitleWindows to be a bit shorter without hard-coding any sizes? I'm looking for

Re: [flexcoders] AIR html component

2009-07-28 Thread Sam Lai
browser.domWindow where browser is the mx:HTML component. Don't know if you can call them via that interface though; maybe the 'javascript:my_js_function()' in the location bar trick works? 2009/7/29 hworke : > > > Hi if I load www.google.com in a HTML component > like this http://www.google.com"

[flexcoders] Re: Sideways text

2009-07-28 Thread postwick
In this example, you are not using an embedded font. Google "flex 3 embed font" and you'll see what we mean. --- In flexcoders@yahoogroups.com, Gordon Smith wrote: > > Really? When I try > > > > I don't see anything. > > Gordon Smith > Adobe Flex SDK Team > > From: flexcoders@yahoogrou

[flexcoders] Re: Doubt with Tree Control

2009-07-28 Thread Pedro Sena
Did the trick with dataDescriptor atribute from Tree Control. Hope this helps someone else in future references. Regards, PS On Tue, Jul 28, 2009 at 7:03 PM, Pedro Sena wrote: > Hi Guys, > > I have a little doubt about Tree Control: > > Supposing I'm having the following xml: > > > >

Re: [flexcoders] AIR app, need MouseMove events NOT bounded by screen

2009-07-28 Thread Pedro Sena
Hi Tracy, The joystick will not trigger events like the keyboard arrows? I would expect it from a joystick Regards On Tue, Jul 28, 2009 at 7:16 PM, Tracy Spratt wrote: > > > This AIR app is to be embedded in a consumer electronics product. It is a > transparent UI that indirectly controls an u

RE: [flexcoders] AIR app, need MouseMove events NOT bounded by screen

2009-07-28 Thread Alex Harui
Is the mouse button down? If so, you should still get mouseMove from the stage. Alex Harui Flex SDK Developer Adobe Systems Inc. Blog: http://blogs.adobe.com/aharui From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Tracy Spratt Sent: Tuesda

[flexcoders] AIR app, need MouseMove events NOT bounded by screen

2009-07-28 Thread Tracy Spratt
This AIR app is to be embedded in a consumer electronics product. It is a transparent UI that indirectly controls an underlying map application by sending messages via sockets. The product actually has a joystick and not a mouse and one requirement is that moving the joystick will cause the ma

[flexcoders] Doubt with Tree Control

2009-07-28 Thread Pedro Sena
Hi Guys, I have a little doubt about Tree Control: Supposing I'm having the following xml: I wanna display just Plant and Machine inside it. I don't wanna display the Item node at all. I know the labelFunction where I can choose which parameter should I use to

[flexcoders] Hslider [1 Attachment]

2009-07-28 Thread ram ramesh
 Hi I have one requirement in my project.Please help me How can do that. It is releated to HSLIDER in FLEX3. PFA Document which contain UI image and explanation. Please share me your experience. Thanks in advance, Ramesh

[flexcoders] Re: A simply question about

2009-07-28 Thread flexawesome
I have tried the path without the leading slash, but still didn't work. :( --- In flexcoders@yahoogroups.com, Stephen Gilson wrote: > > Should it omit the leading slash? As in: > > > > Stephen > > From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On > Behalf Of flexaweso

RE: [flexcoders] A simply question about

2009-07-28 Thread Stephen Gilson
Should it omit the leading slash? As in: Stephen From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of flexawesome Sent: Tuesday, July 28, 2009 10:00 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] A simply question about * */ http://livedocs.adobe.com/fle

RE: [flexcoders] Re: Question about a flex component

2009-07-28 Thread Gordon Smith
The compiler wouldn't have a declaration of 'data', so would assume item.data has type *. At runtime it would have type int if its value is 1. But you could use class to define data items with strongly typed properties: public class MyItem { public var label:String: public var data:int;

[flexcoders] Inculding a image in my documentation by using ASDoc

2009-07-28 Thread flexawesome
Hi there, I was trying to display an image in my documentation by using Asdoc, but it didn't show up at all. The image does exist on this path. /** * */ http://livedocs.adobe.com/flex/gumbo/html/WSd0ded3821e0d52fe1e63e3d11c2f44bc36-8000.html Any suggestions? Thank

Re: [flexcoders] Need help Combobox label property

2009-07-28 Thread Jeffry Houser
If I understand correctly, you have a ComboBox with a dataProvider, and want to set the selectedIndex / selectedItem of that dataProvider knowing only piece of data (the CountryCode). Is that correct? Unfortunately, your approach is the way to do it using the built in Flex ComboBox. Our

[flexcoders] Re: Question about a flex component

2009-07-28 Thread valdhor
Looks like an int to me. --- In flexcoders@yahoogroups.com, veena pandit wrote: > > What type do i get back? > > On Tue, Jul 28, 2009 at 2:52 PM, valdhor wrote: > > > > > > > item.data > > > > --- In flexcoders@yahoogroups.com , > > "veena_kris2003" wrote: > > > > > > How do I extract the dat

Re: [flexcoders] Re: Question about a flex component

2009-07-28 Thread veena pandit
What type do i get back? On Tue, Jul 28, 2009 at 2:52 PM, valdhor wrote: > > > item.data > > --- In flexcoders@yahoogroups.com , > "veena_kris2003" wrote: > > > > How do I extract the data portion of the item if the item looks like > > Object in the example below. > > > > > > --- In flexcoders@

[flexcoders] Re: Question about a flex component

2009-07-28 Thread valdhor
item.data --- In flexcoders@yahoogroups.com, "veena_kris2003" wrote: > > How do I extract the data portion of the item if the item looks like > Object in the example below. > > > --- In flexcoders@yahoogroups.com, Gordon Smith wrote: > > > > You add child components which are UIComponents to

[flexcoders] Re: Question about a flex component

2009-07-28 Thread veena_kris2003
How do I extract the data portion of the item if the item looks like Object in the example below. --- In flexcoders@yahoogroups.com, Gordon Smith wrote: > > You add child components which are UIComponents to a container like HBox. > > But you add data items to a list-based control like Horizont

[flexcoders] Re: Populating Datagrid

2009-07-28 Thread valdhor
You need to populate something like an ArrayCollection and then set the dataProvider of your DataGrid to that ArrayCollection. Here is a quick and dirty example: http://www.adobe.com/2006/mxml"; layout="absolute" initialize="init()"> --- In flexcoders@yahoogro

[flexcoders] AIR html component

2009-07-28 Thread hworke
Hi if I load www.google.com in a HTML component like this http://www.google.com";> then how can I access the JavaScript functions in the google page?

RE: [flexcoders] Re: Question about a flex component

2009-07-28 Thread Gordon Smith
The ASDoc for ArrayCollection lists removeItemAt() as an inherited method. Gordon Smith Adobe Flex SDK Team From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of veena_kris2003 Sent: Tuesday, July 28, 2009 10:59 AM To: flexcoders@yahoogroups.com Subject: [flexcoders]

[flexcoders] Re: Question about a flex component

2009-07-28 Thread veena_kris2003
How do I remove a specific item from a HorizontalList whose dataprovider is an ArrayCollection? Thanks, --- In flexcoders@yahoogroups.com, Gordon Smith wrote: > > You add child components which are UIComponents to a container like HBox. > > But you add data items to a list-based control like

RE: [flexcoders] Who can explain me this:

2009-07-28 Thread Gordon Smith
You're exactly correct. I offered some ASCII-art diagrams of this yesterday, but your explanation in English is better. Gordon Smith Adobe Flex SDK Team From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Todd Kerpelman Sent: Monday, July 27, 2009 6:35 PM To: flexc

Re: [flexcoders] Who can explain me this:

2009-07-28 Thread Todd Kerpelman
Here's my guess as to what's going on underneath the hood... private var a:Object = {data:String}; "Let's create an object that lives at memory address 123 RAM Lane. This variable 'a' gives me the object that lives at that address." private var b:Object = {data:String}; "Let's create an object th

[flexcoders] Need help Combobox label property

2009-07-28 Thread gan_sun2006
Hi, I am using combobox for which the bound data is coming from an arraycollection. My arraycollection has two properties called countryname(labelField) and countrycode. When i submit my page, the countrycode from my combo is saved to the DB. During retrieval I am given only countrycode and not

[flexcoders] Populating Datagrid

2009-07-28 Thread Josh Keller
I'm new to Flex (just started looking at it 2 days ago) but I've been working on this problem all day long. I'm trying to create and populate a datagrid based on field names specified in a CSV list, with separate data that is also going to be CSV but from a different source in the same order if

[flexcoders] [Flex3]loading external xml file and using the "Initialization" splash

2009-07-28 Thread Joe Lam
my application needs to load an external xml file when startup. how can I make use of the application "initialization" splash? I dont mean to use "another" loading or initialization splash. I want to just extend the application initialization splash. like start the xml loading after application's

RE: [flexcoders] Re: Question about a flex component

2009-07-28 Thread Gordon Smith
Use any program that can produce a GIF or PNG and draw a left-pointing and a right-pointing triangle. Gordon Smith Adobe Flex SDK Team From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of veena_kris2003 Sent: Tuesday, July 28, 2009 5:43 AM To: flexcoders@yahoogroups

RE: [flexcoders] Re: How to customize ThousandSeparator to display price in INR format

2009-07-28 Thread Gordon Smith
That's correct. Improved locale-aware formatting capabilities that will handle this case are being built for a future version of the Flash Player. But the current Flex formatters only know how to insert a thousandsSeparator every three digits. Gordon Smith Adobe Flex SDK Team From: flexcoders@

[flexcoders] Re: Loading local SWFs in AIR to local-with-network sandbox

2009-07-28 Thread wrhinfl
Reading the documentation you pointed to, if you load from within the application directory the file will have full access. Loading from network or remote, it will be in the remote sandbox. Loading from outside the application directory will allow you to give the different security sandboxes b

[flexcoders] Is anyone an ACE for Flex 3 with AIR?

2009-07-28 Thread Wally Kolcz
Thinking about going for the ACE exam and was wondering how many people on the thread is an ACE for Flex with AIR and if it really means anything in the 'real world'? What was the test like? Any sections jump out at ya?

[flexcoders] Chart font image quality

2009-07-28 Thread Jason Reynolds
Hi, I am trying to add some charts to a PDF using AlivePDF. Adding the image to the PDF looks horrible (very fuzzy font). I have tried using the ImageCapture with a high dpi, which looks alot better, but there are still a lot of 'artifacts' around the text in the chart labels. I also tried to

[flexcoders] Re: Need help fast: Mouse and ketboard event

2009-07-28 Thread valdhor
Use an event Listener and a timer to change the selection of the button. Here is a quick and dirty example: http://www.adobe.com/2006/mxml"; applicationComplete="onApplicationComplete()"> H

[flexcoders] A simply question about

2009-07-28 Thread flexawesome
Hi there, I was trying to add an image by using the ASDoc, but it didn't show up in my doc, the path of the logo does exist. Any suggestion on this? /** * * * */ http://livedocs.adobe.com/flex/gumbo/html/WSd0ded3821e0d52fe1e63e3d11c2f44bc36-8000.h

Re: [flexcoders] pass variables from flex to javascript

2009-07-28 Thread Satish Chowdary
ExternalInterface.addcallBack() సతీష్ From: jwaladeep To: flexcoders@yahoogroups.com Sent: Monday, 27 July, 2009 10:51:55 PM Subject: [flexcoders] pass variables from flex to javascript Is there any way to pass variables using ExternalInterface to Javascr

[flexcoders] Re: Question about a flex component

2009-07-28 Thread veena_kris2003
Does anyone know of icons or images I can use in my buttons instead of labeling them "Previous" and "Next". I tried to google it and I did not find anything. Thanks. --- In flexcoders@yahoogroups.com, Gordon Smith wrote: > > Why not just allow scrolling instead of paging? Scrolling components

RE: [flexcoders] Can we run multiple instances of an Flex -AIR at the same time

2009-07-28 Thread Gregor Kiddie
Not without each of the instances having a different Application ID I believe. Gk. Gregor Kiddie Senior Developer INPS Tel: 01382 564343 Registered address: The Bread Factory, 1a Broughton Street, London SW8 3QJ Registered Number: 1788577 Registered in the UK Visit our Internet Web

[flexcoders] Re: adding event listeners

2009-07-28 Thread Retheesh
Can you paste your sample code?

[flexcoders] Can we run multiple instances of an Flex -AIR at the same time

2009-07-28 Thread Retheesh
Can we run multiple instances of an Flex -AIR application at the same time?

[flexcoders] Re: Loading local SWFs in AIR to local-with-network sandbox

2009-07-28 Thread daniel.langh
Ok, so the main AIR application is loaded into the application sandbox. We are loading "modules" from the app-storage directory into the application. (these are not Flex modules, but SWFs with our specific sandbox bridge) A local SWF loaded into the application will reside in the local-trusted,

[flexcoders] Re: How to customize ThousandSeparator to display price in INR format

2009-07-28 Thread ursprakash6
Hi Dhanasekar as far as i know there is no way to achieve this directly,there is no properies are provided,so you need to derive mx.formatters.NumberFormatter and mx.formatters.NumberBase. Gnanz.../ Flex Samples --- In flexcoders@yahoogroups.com, "dhansekarank" wrote: > > All, > > > I n

[flexcoders] Need help fast: Mouse and ketboard event

2009-07-28 Thread vladakg85
Hi, I have a list of buttons in my VBox (1,2,3,4,5,6...) and I can click with mouse on each of them. Now I need to make numeric keyboard to register click on some of this buttons. If I press 5 on numpad button on the screen must flash a little (like it is pressed for real with mouse). But I can

[flexcoders] How to customize ThousandSeparator to display price in INR format

2009-07-28 Thread dhansekarank
All, I need to format the below amount in indian rupee(INR) format. Amount: 1000.00 When i use the default ThousandSeparator it return the amount as follows: numberFormatter.format(Amount) ---> 1,000,000,000.00 > it's in US dollar format i want it as, numberFormatter.