Re: [flexcoders] Simple sprite creation not working

2008-01-21 Thread yigit
the reason is that your main.as does not have a valid view. try passing the mxml view as an argument to it and call it's addChild function; e.g. public function createSprite2():void{ var main:Main = new Main(); main.createSprite(this); } and in main.as public function

RE: [flexcoders] Re: Make a loader

2008-01-21 Thread NileAge, Mail
Hi all I want to create a pre loader for label while binding data

RE: [flexcoders] Re: Make a loader

2008-01-21 Thread Mark Ingram
I think what he's saying is he would like a loading screen for each user control that is bound to some data. i.e. whilst it's waiting for data, display the waiting screen. Mark From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of

Re: [flexcoders] Re: Killing Browser based popups

2008-01-21 Thread Tom Chiverton
On Friday 18 Jan 2008, markcavins wrote: You are correct it would be a JS HTML. Is there a way for flex to take control of the browser to keep the JS from activating? As I said: JavaScript ... won't be run by the Flex HTTP client. -- Tom Chiverton Helping to widespreadedly expedite

Re: [flexcoders] Re: Get fields from dataProvider

2008-01-21 Thread Tom Chiverton
On Sunday 20 Jan 2008, markgoldin_2000 wrote: But the list of columnName(s) is what I am trying to get. As an alternative, look at dataGrid.columns -- Tom Chiverton Helping to enthusiastically incubate scalable information on: http://thefalken.livejournal.com

Re: [flexcoders] Access TWAIN scanners from Air

2008-01-21 Thread Tom Chiverton
On Monday 21 Jan 2008, shaun wrote: Clearly AIR is not suited to the type of app that needs to access the OS runtime or execute programs locally otherwise it would have an api to do so. Not, not at the moment. It's rare that one tool can do everything. And lots of people are asking about

[flexcoders] Customise PieChart Legend Label

2008-01-21 Thread reflexactions
I want to customise the legend label for a PieChart. I cant see anyway to do this without overriding PieSeries... Is there an simpler way to do this. tks

[flexcoders] Preloader - only shows after app has loaded

2008-01-21 Thread polestar11
Hi I have an app that's approx. 2MB big was using the default Flex preloader, which has suddenly stopped working. I have confirmed this by throttling my app with Charles. While my app loads, there is a blank screen. Once the swf has loaded, the preloader displays for a short few seconds then

Re: [flexcoders] Flex and SCORM

2008-01-21 Thread Tom Chiverton
On Monday 21 Jan 2008, John wrote: Hi there, Has anybody achieved or got any advice on SCORM'ing a Flex package? What'ing ? -- Tom Chiverton Helping to simultaneously exploit B2B platforms on: http://thefalken.livejournal.com This email

Re: [flexcoders] Preloader - only shows after app has loaded

2008-01-21 Thread Tom Chiverton
On Monday 21 Jan 2008, polestar11 wrote: preloader, which has suddenly stopped working. What had you just changed ? Roll back in your version control and trya some older versions. Does clearing the browser cache help at all ? -- Tom Chiverton Helping to seamlessly innovate unique customers

[flexcoders] Delaying effect start

2008-01-21 Thread NileAge, Mail
Hi all I want to delay the start of my effect mean that I want the effect start in the second number 5

Re: [flexcoders] Run code when object is removed (destructors?)

2008-01-21 Thread Tom Chiverton
On Saturday 19 Jan 2008, hergy80 wrote: the created objects from the DOM. I don't see any references to creating destructors within the class, and I'm not sure if there is an event to listen for.. There's a childRemove event, isn't there ? -- Tom Chiverton Helping to continuously

[flexcoders] Re: Preloader - only shows after app has loaded

2008-01-21 Thread polestar11
Hi again There's no distinct version at which it stopped working, so rolling back could be a very long ardious process. At some point I did some changes to initialization of various classes / loading configs, in the initialization stage. I'm not sure if this can affect the pre-loader? Clearing

[flexcoders] Re: Get fields from dataProvider

2008-01-21 Thread markgoldin_2000
Yes, that could have been the source of that but in a generic situation not all data fields are shown in grids and grids in turn might have no data columns (images for example). So, the best is to get a list of fields straight from the dataProvider. --- In flexcoders@yahoogroups.com, Tom

[flexcoders] Re: Flex Messaging + CF8 with embedded LC integration question

2008-01-21 Thread flexuser1
Yes, I've uncommented CF-RTMP in the service config xml.

[flexcoders] Error when try to run simple example get method from flex to php

2008-01-21 Thread Harry Saputra
I try to run example from : http://www.adobe.com/devnet/flex/articles/php_getstarted.html in my apache2.2 that have installed with php and flex module. .mxml file : ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; layout=absolute backgroundColor=#f6f6f6

[flexcoders] Flex server sockets?

2008-01-21 Thread David Zaffery
I am new to flex so excuse my ignorance if its obvious Does flex provide the ability to have a socket listening for connections? I would like to spawn a separate thread to listen for incoming connections, while the flex app is still able to do its UI interactions. If Flex doesn't have this

[flexcoders] Using a custom component inside of a state

2008-01-21 Thread d_cypress
This is the code I am using: mx:states mx:State name=Login view:Login id=login / /mx:State /mx:states This is the error I am receiving: In initializer for 'overrides': type view.Login is not assignable to target type Array or target element type I did find an example which does appear to

RE: [flexcoders] How to connect SQL SERVER 2005 using FLEX?

2008-01-21 Thread Pavel Cristian Gabriel
You can connect to SQL Server 2005 directly (even without IIS or Apache). You need to open HTTP ENDPOINT for your SQL Server. (with create http endpoint.) and you need to define SOAP webmetod (as a stored procedure). If your security consideration permit to open batches from

[flexcoders] Tree and ITreeDataDescriptor

2008-01-21 Thread hmmmbeer3
Hi, I am having big problems with the Tree. I am used to having more inuitive Tree (recursive) structures, and am conmfortable with recursion. My immediate question is how to use the getChildren() of the default ITreeDataDescriptor of a Tree with NO ROOT item, but rather many branches

[flexcoders] Concerning the adobe AIR application in MAC OSX

2008-01-21 Thread mizanur rahman
Hello, I have made a AIR application which import the data from the PC and show the image with data. The data is saved in CSV format. It has been exported with Flexbuilder 3. Problem 1: It runs fine in windows with AIR 2.0 runtime. It shows image and data perfectly. When I install AIR 3.0

[flexcoders] Highlight datagrid row to trigger data tip on corresponding chart?

2008-01-21 Thread monsieurhowitt
I have a datagrid and a chart sharing the same data provider. I'm trying to find the function I need to call to trigger the data tip to show on the chart when I click on a row in the datagrid. I've looked under myChart.series[0].items[0..n] and each part in between but can't seem to find a way

[flexcoders] DataGrid htmlText not working, is it bug?

2008-01-21 Thread juris.vecvanags
Hello! Spent almost whole weekend trying to display html text (generated by flex own RichText editor) withis DataGrid cell. Tried item renderes Label, Text, TextArea, without any success. Coud it be a bug? Text of course ir wrapped in CDATA, no errors, no warning from compilator. Monday is

[flexcoders] Re: How do YOU do functional testing and automation package questions

2008-01-21 Thread imrahil_poland
--- In flexcoders@yahoogroups.com, Jonathan Branam [EMAIL PROTECTED] wrote: And those will work with Flex 2 projects? That's the question. I see the files for Flex 3... I assumed they were incompatible. You must recompile FunFX adapter's sources to use it with Flex2. If you are interested, I

Re: [flexcoders] Error when try to run simple example get method from flex to php

2008-01-21 Thread Max Frigge
Mh sounds like the php script can't be called. I guess you are sure that the file is there.. so maybe there is something wrong with your file permissions??? Just an idea... Max - Original Message From: Harry Saputra [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Sunday,

[flexcoders] Re: Using a custom component inside of a state

2008-01-21 Thread simonjpalmer
that doesn't look right, shouldn't you be adding your component as a child in the new state. I find the best way to code states is in the flex builder design tool, it is too easy to get the syntax wrong. Switch to your login state and add your custom control and you'll get exactly the code you

RE: [flexcoders] Re: Using a custom component inside of a state

2008-01-21 Thread Randy Martin
Try this: mx:states mx:State name=Login/ mx:AddChild position=LastChild view:Login id=login/ /mx:AddChild /mx:State /mx:states ~randy _ From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of simonjpalmer Sent: Monday, January 21, 2008 8:55 AM To:

[flexcoders] Multiple file upload in one request

2008-01-21 Thread roflash555
Hello ! Is there any way I can upload several files and makw only one request? Because, using the traditional FileReference.upload() method, this is applying to each of the files and the request is made for every file. Is there any other alternative except FileReference.upload(). Thank you !

[flexcoders] Download files using a php script

2008-01-21 Thread m.frigge
Hi, is it possible to download files in a Flex app from the server to the user by calling a php script that only allows the download if a user is authorized? I know how to handle the authorization check.. it is more about if there is a way to echo or send the data or whatever by a php script

[flexcoders] Flex FAR (Flash Archive) AS3 Lib

2008-01-21 Thread Gus
Hi, have anyone tried the as3 library to read/write far archives?? is it stable enough??

Re: [flexcoders] flex profiling

2008-01-21 Thread Maciek Sakrejda
This sounds normal, yes. Some more memory will be used for each new DisplayObject (each new Object of any kind, for that matter). It won't be reclaimed until all the references to that object are gone, and the GC sees fit to do a collection. It could be that you have stranded event listeners or

RE: [flexcoders] Flex and SCORM

2008-01-21 Thread Mike Krotscheck
I'm slowly but surely building out some libraries intended to make it a bit easier to handle. So far all I have is an RTE Abstraction class that transparently implements the various LMS Calls. It's v2004 rev.3, and I can't really move forward until I can find previous versions of the documentation

Re: [flexcoders] errors in livedocs

2008-01-21 Thread Douglas McCarroll
Still down. Would it help move things along if we users begged and pleaded? :) We need this... Douglas On Jan 18, 2008 2:07 AM, Gordon Smith [EMAIL PROTECTED] wrote: Is it just me ? No, it isn't working for me either. I'm cc'ing some folks on the documentation team. Gordon Smith Adobe

Re: [flexcoders] Custom components toolbox - organise into subfolders

2008-01-21 Thread Maciek Sakrejda
We use the standard Flex/Java structure of a package/directory tree based on company url: com.truviso.component.package.subpackage.so.on, depending on how fine-grained we feel the package divisions should be. It's a little deeply nested, but that's a minor inconvenience. It works quite well for

[flexcoders] Re: errors in livedocs

2008-01-21 Thread jrunrandy
Actually, it _will_ help move things along. Thanks. FYI, some of the web apps running on adobe.com were down over the weekend and everything was supposed to be up and running yesterday. However, on LiveDocs, there seem to be two remaining errors: * Funky search. I see an error in an SSI, but it

RE: [flexcoders] DataGrid htmlText not working, is it bug?

2008-01-21 Thread Alex Harui
It requires a custom renderer. There is an example on my blog http://blogs.adobe.com/aharui/2007/03/thinking_about_item_renderers_1.ht ml From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of juris.vecvanags Sent: Saturday, January 19, 2008

RE: [flexcoders] Re: Get fields from dataProvider

2008-01-21 Thread Alex Harui
If you look at the datagrid source, there is a function called generateColumns which tries to introspect the data and generate the column set. Naturally, nested fields aren't found, and unless the fields have friendly names, your column headers end up looking like lastname instead of Last Name,

[flexcoders] Re: errors in livedocs

2008-01-21 Thread jrunrandy
It should be working now. Thanks for your patience. -Randy

RE: [flexcoders] Tree and ITreeDataDescriptor

2008-01-21 Thread Tracy Spratt
Are you making this harder than it is? Just assign the XML to the Tree.dataProvider. Find the node you want using an e4x expression, and pass that reference to expandItem(). callLater may be needed depending on how you assign the dataProvider. Here is an example, there are more on that same

[flexcoders] Re: Get fields from dataProvider

2008-01-21 Thread markgoldin_2000
I tried: trace(gridObj.dataProvider.generateColumns()); but it returns null. --- In flexcoders@yahoogroups.com, Alex Harui [EMAIL PROTECTED] wrote: If you look at the datagrid source, there is a function called generateColumns which tries to introspect the data and generate the column set.

[flexcoders] Help With Log Out

2008-01-21 Thread Glenn Williams
Hi all. Can anyone tell me if there is a way to fully reset a flex application programmatically? My problem is this. I'm using states to manage my apps logging in/out But, when a user logs out, then back in again all of the components have already been initialized during the first

[flexcoders] Loading image based on attribute value in XML content

2008-01-21 Thread Jerry DuVal
I have created a ItemRenderer that displays some text based on values in the XML data. Everything works as expected, but I want to display a image based on the value in the XML data. The image source attribute = {XML(data)[EMAIL PROTECTED] which returns a value = addNew, but does not load the

RE: [flexcoders] Re: Flex Messaging + CF8 with embedded LC integration question

2008-01-21 Thread Seth Hodgson
The {server.name} and {server.port} tokens are a shortcut you can use if your swf is loaded and runs in a browser. At runtime on the client these values are swapped out based upon the URL for your swf. You can never use a {server.port} token for an RTMP URL; you need to use an explicit port.

RE: [flexcoders] Flex server sockets?

2008-01-21 Thread Seth Hodgson
The Flash Socket API doesn't support binding a port to accept TCP connections or UDP datagrams on. So you can stop work on your AIR FTP client or HTTP server for now :) Seth From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of David

Re: [flexcoders] Concerning the adobe AIR application in MAC OSX

2008-01-21 Thread dnk
I know also that the order in which you install the runtime's matters (see the release notes). I seem to remember that if you need to run apps that worked with the B2, you had to install that, then B3. If it was a new install and you just did B3, the B2 apps will not work. I can't seem to find

RE: [flexcoders] Re: Get fields from dataProvider

2008-01-21 Thread Alex Harui
Mark, there is no such function on dataProvider. I'm surprised you didn't get an error. Please read my replies carefully. There is no function to do what you want to do directly. I was pointing you to an example of how we use getClassInfo in the DG. But even when you get that to work, you

[flexcoders] Re: Delaying effect start

2008-01-21 Thread scalenine
You could use a Pause effect in a Sequence: mx:Sequence mx:Pause duration=5000/ mx:Fade alphaFrom=1 alphaTo=0/ /mx:Sequence Or use effectEnd: mx:Pause duration=5000 effectEnd=myEffect.play();/ mx:Fade id=myEffect alphaFrom=1 alphaTo=0/ Those are just a couple options that may, or may

Re: [flexcoders] Re: Delaying effect start

2008-01-21 Thread Sherif Abdou
or create a timer class - Original Message From: scalenine [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Monday, January 21, 2008 2:05:13 PM Subject: [flexcoders] Re: Delaying effect start You could use a Pause effect in a Sequence: mx:Sequence mx:Pause duration=5000 /

[flexcoders] Dynamically Generating Column Attributes for a Data Grid

2008-01-21 Thread Dominic Pazula
I tried to search for this but got a server busy error. I figured I would go ahead and post it. I appologize if this has been covered before. I'm trying to dynamically generate columns for my datagrid. I don't have prior knowledge of the column attributes before receiving the data. I get

[flexcoders] FlexReport Beta - Public Release

2008-01-21 Thread Frederico Garcia
I'm releasing the first beta of FlexReport, a client-side open source (LGPL) report generation library for Flex. You can see a demo (and sources) at www.kemelyon.com/bts Hope you find FlexReport useful and contribute with any improvements you make. Regards, Frederico Garcia

Re: [flexcoders] FlexReport Beta - Public Release

2008-01-21 Thread Terry Allen
Thank you! Looks like I will have something to play with for the rest of the afternoon after all :) On Jan 21, 2008 3:14 PM, Frederico Garcia [EMAIL PROTECTED] wrote: I'm releasing the first beta of FlexReport, a client-side open source (LGPL) report generation library for Flex. You can see

RE: [flexcoders] Re: addchild

2008-01-21 Thread Gordon Smith
Why would you think that a book called actionscript 3 animation uses only only flash.* classes throughout and avoids the mx.* classes completely ? It was just a guess, because the title didn't include the word Flex. Are you saying that this book actually does use mx.* classes? Doesn't Flex

Re: [flexcoders] Re: addchild

2008-01-21 Thread Sherif Abdou
if you really want to practice using the flash book then just add it to the rawChildren property and it will work in flex project and you wont get any error but be careful though since rawChildren is for non-content children and you should not really be using it. At least that is what i do when

[flexcoders] About Adobe Air

2008-01-21 Thread rhnkyr
Hi folks, How can I embed the air runtime in an air application? Is thre any possibility to do this? thnx.

Re: [flexcoders] FlexReport Beta - Public Release

2008-01-21 Thread Rob Rusher
It doesn't matter where I go, I always run into people having printing issues with Flex. Most have found the FlexPrintJob class and samples on how to use it, but for those who print multiple pages the results are sometime less than stellar. Thanks for starting FlexReport

[flexcoders] how to do urlRequests with multipart/form-data

2008-01-21 Thread Mert Çalışkan
Hey All, I am doing some file-upload stuff with java on backend. To achieve this I need to do some post with multipart/form-data. I am also using *FileReference* to get a reference to handle the file. But in the flex language reference it says, *Note*:The FileReference.upload() and

[flexcoders] Re: Help With AlivePDF

2008-01-21 Thread Kevin
For anyone using alivePDF, I think this is a bug in the source. After checking with FPDF source, I think line 2001 in PDF.as should read: } else this.x += pWidth; instead of: } else this.x += currentPage.w; currently this.x is being set to the page width which pushes any second cell you try

RE: [flexcoders] Dynamically Generating Column Attributes for a Data Grid

2008-01-21 Thread Sebastian Zarzycki
But what result you get? Make sure that data are already there (gridData and columnData are filled with values) when you launch this method. I would fix the code with the following : var headers:String = new String(); var newColumns:Array = new Array(); // flex loops are generally done this way

[flexcoders] Announcing InsideRIA.com

2008-01-21 Thread Rich Tretola
I am happy to announce that InsideRIA.com which is a new RIA community portal coming from O'Reilly and Adobe is now officially live. You can read my full post at: http://blog.everythingflex.com/2008/01/21/introducing-insideria/ I would ask a favor of my flex coders who run their own blogs, to

[flexcoders] dataGrid Filter

2008-01-21 Thread Arleston Lueders
Hi Folks, Im trying to make a filter in my dataGrid using XML via HTTPService, but not success. My XML is something like this: realstates realstate mls123/mls classLOTS/LAND/class typeResidential/type asking_price

[flexcoders] Datagrid ItemEditor ComboBox Question

2008-01-21 Thread jensen.axel
I have a client that would like a combobox in a datagrid... simple enough the scenario is a combobox filled with upc numbers, and when a upc gets selected, the whole row of the datagrid gets filled out, and it adds an empty row to the bottom of the datagrid... It's not working the way i

RE: [flexcoders] dataGrid Filter

2008-01-21 Thread Tracy Spratt
First, you need to set resultFormat=e4x on the httpservice tag. Then you can either put the results into an XMLListCollection and use its API to filter, or you can use e4x expressions directly on the xml to do the filtering. Tracy From:

[flexcoders] Exciting Flash/Flex architect opportunity at Wikinvest (San Francisco Investing start-up)

2008-01-21 Thread Michael Sha
Hi,I'm one of the founders of Wikinvest and we're looking for some Flex/Flash superstars. We've got some pretty cool stuff that we're building -- see below for some more info. Email me if you're interested in exploring further (also, if you're not interested but know of some folks who might be,

Re: [flexcoders] FlexReport Beta - Public Release

2008-01-21 Thread Joseph Balderson
That's awesome, thanks for making this. FlashPaper 3, here we come... ;) I wonder how your code compares with the source for Share, if Adobe ever releases it. ___ Joseph Balderson, Flash Platform Developer | http://joeflash.ca Writing

[flexcoders] Re: Flex and SCORM

2008-01-21 Thread barry.beattie
damn! I thought I did and bookmarked it http://del.icio.us/barry.b/SCORM maybe someone else has? http://del.icio.us/search/?fr=del_icio_usp=SCORMtype=all

Re: [flexcoders] Re: Help With AlivePDF

2008-01-21 Thread Paul Andrews
- Original Message - From: Kevin [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Monday, January 21, 2008 9:37 PM Subject: [flexcoders] Re: Help With AlivePDF snip What we BADLY need in flex is a way to view PDF's natively. How about an Acrobat Flex component? Adobe? It

[flexcoders] navigation toolbar icon

2008-01-21 Thread hworke
Hello, I am using Tomcat for my Flex application so on my browser's navigation toolbar(the place where we write url in a browser) the Tomcat's icon appears. I want to put a different icon there- how do I do that. Regards,

Re: [flexcoders] Hide Track in HSlider Component.

2008-01-21 Thread Doug McCune
When I want to remove the skin of various components like this I often set the skin class to ProgrammaticSkin, which is the base skin class but doesn't actually render anything. So if you set trackSkin to ProgrammaticSkin it should hopefully do what you want. Doug On 1/20/08, Sherif Abdou [EMAIL

[flexcoders] best way to manage a toolbar

2008-01-21 Thread Pan Troglodytes
Using Flex 2, I'm having a bit of a problem figuring out how a toolbar should be coded. I want a strip that runs along the bottom of the app. It has a number of differently sized buttons on it, some regular buttons with just an icon, some icons and text, some popup buttons, etc. When the app is

[flexcoders] Detect AIR Application?

2008-01-21 Thread Dale Fraser
I have an application that runs both in browser (Flex) and standalone (Air). But the application does different things depending if it is Flex or Air. I currently have two versions, but would like to just have one. Is there a way of detecting if it is running as AIR / Flex so that for

[flexcoders] Re: Tree and ITreeDataDescriptor

2008-01-21 Thread hmmmbeer3
--- In flexcoders@yahoogroups.com, Tracy Spratt [EMAIL PROTECTED] wrote: Are you making this harder than it is? Just assign the XML to the Tree.dataProvider. Find the node you want using an e4x expression, and pass that reference to expandItem(). callLater may be needed depending on how

Re: [flexcoders] Re: Tree and ITreeDataDescriptor

2008-01-21 Thread Johannes Nel
you are going to have to implement your own TreeDataDescriptor On 1/21/08, hmmmbeer3 [EMAIL PROTECTED] wrote: --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, Tracy Spratt [EMAIL PROTECTED] wrote: Are you making this harder than it is? Just assign the XML to the

[flexcoders] Re: Custom components toolbox - organise into subfolders

2008-01-21 Thread hmmmbeer3
--- In flexcoders@yahoogroups.com, Maciek Sakrejda [EMAIL PROTECTED] wrote: We use the standard Flex/Java structure of a package/directory tree based on company url: com.truviso.component.package.subpackage.so.on, depending on how fine-grained we feel the package divisions should be. It's

[flexcoders] Re: Tree and ITreeDataDescriptor

2008-01-21 Thread hmmmbeer3
--- In flexcoders@yahoogroups.com, Johannes Nel [EMAIL PROTECTED] wrote: you are going to have to implement your own TreeDataDescriptor Hi, yes I plan on doing that - but I would still like to know how to use the default one to retrieve the data - it works fine on a tree with a single root

Re: [flexcoders] Re: Tree and ITreeDataDescriptor

2008-01-21 Thread Johannes Nel
you don't have to use the default one look at overriding getChildren On 1/21/08, hmmmbeer3 [EMAIL PROTECTED] wrote: --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, Johannes Nel [EMAIL PROTECTED] wrote: you are going to have to implement your own TreeDataDescriptor Hi,

RE: [flexcoders] Re: Tree and ITreeDataDescriptor

2008-01-21 Thread Alex Harui
There's a showRoot parameter on Tree From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of hmmmbeer3 Sent: Monday, January 21, 2008 3:11 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Tree and ITreeDataDescriptor --- In

RE: [flexcoders] Datagrid ItemEditor ComboBox Question

2008-01-21 Thread Alex Harui
Don't have time to look right now, but you may need to call validateNow() before setting the selectedItem or use callLater to set it later. Row changes can cause the DG to adjust the selectedIndex and that might be causing a conflict for you. From:

[flexcoders] Re: Detect AIR Application?

2008-01-21 Thread rueter007
There probably might be different ways. But I use the following trick. I create a class called Version.as in my Flex project under a specific package. package com.mycompany. { public class Version { public static const HAS_AIR:Boolean = false; } } I create the exact same package

[flexcoders] Re: Tree and ITreeDataDescriptor

2008-01-21 Thread hmmmbeer3
--- In flexcoders@yahoogroups.com, Johannes Nel [EMAIL PROTECTED] wrote: you don't have to use the default one look at overriding getChildren To do that, I would have to implement all of the ITReeDataDescriptor interface; which I might do in any case, but for a simple Tree, with no root,

[flexcoders] Re: Tree and ITreeDataDescriptor

2008-01-21 Thread hmmmbeer3
--- In flexcoders@yahoogroups.com, Alex Harui [EMAIL PROTECTED] wrote: There's a showRoot parameter on Tree But what if my data had no single root item? And how would I get a reference to the root in any case to pass to getChildren(node:Object). Passing null does not work.

Re: [flexcoders] navigation toolbar icon

2008-01-21 Thread Max Frigge
Mh there must be a favicon.ico in your root folder. If you change that it should do the trick. Then it is important to make the browser reload the new image. I think you have to restart the browser.. should find a 100% working way on google though. Max - Original Message From: hworke

RE: [flexcoders] Re: Detect AIR Application?

2008-01-21 Thread Dale Fraser
There must be an easier way. The very first line of Flex vs Air app is different. mx:WindowedApplication mx:Application There must be a way of saying, is this a Application or WindowedApplication. Regards Dale Fraser http://learncf.com From: flexcoders@yahoogroups.com

RE: [flexcoders] Re: Tree and ITreeDataDescriptor

2008-01-21 Thread Alex Harui
IIRC, if you pass in something like an ArrayCollection, then you say showRoot=true and we should display the entire top level w/o a call to getChildren From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of hmmmbeer3 Sent: Monday, January 21,

[flexcoders] Re: best way to manage a toolbar

2008-01-21 Thread jmfillman
I would think the easiest way to address this is to create states for various screen resolution ranges, while keeping the rest of the application the same. Set the state based on the resize event calling a function from the application tag. Otherwise, you'll have to create an algorithm (see

[flexcoders] Drag Proxy doesnt appear when drag motion moves cursor over neighboring item too fast...

2008-01-21 Thread ivo
I am experiencing a problem in a drag and drop control for which I have been unable to create a cut down test case version. I have a Canvas full of draggable images that can be dragged over to a sibling drop pane. If an image is dragged over to the drop pane relatively fast the drag proxy does

[flexcoders] Re: Dynamically Generating Column Attributes for a Data Grid

2008-01-21 Thread Dominic Pazula
Thanks, Made a couple of modifications based on your example and got it to work. Here is the function for the record (headers String and Alert commented out): public function updateGridData():void{ var newColumns:Array = new Array(); //var headers:String = new String(); var i:int;

[flexcoders] handling browser print events

2008-01-21 Thread jesse_bigfix
I have a Flex app that needs to adjust its layout before a printout is useful. This is not a problem when a user clicks the print button I have in my app. In this case I just call my doPrint() function which creates a FlexPrintJob, adjusts the layout as necessary, and then calls

[flexcoders] No support for move refactoring in Flex Builder 3

2008-01-21 Thread ansury2001
--- In flexcoders@yahoogroups.com, ben.clinkinbeard [EMAIL PROTECTED] wrote: - Renaming or moving a class should go through the entire project and refactor for me. Thats what the refactoring in FB3 does. Sorry to revive something from a dead thread, but I was searching for this issue

[flexcoders] complicated printing in Flex 2

2008-01-21 Thread jesse_bigfix
Hello, I'm working on a print function for a Flex 2 app. When my print button is clicked I only want to print a portion of the page, and I need to manipulate the layout first to make sure the output looks good. From what I've read everybody recommends creating a new Canvas, adding the

RE: [flexcoders] Re: Detect AIR Application?

2008-01-21 Thread Jim Hayes
The docs say this : if (Security.sandboxType == Security.APPLICATION) { // Load SWF that contains AIR APIs } else { // Load SWF that does not contain AIR APIs } http://livedocs.adobe.com/labs/flex3/html/help.html?content=os_shell_09.html (I've been meaning to look this topic up

RE: [flexcoders] Re: Tree and ITreeDataDescriptor

2008-01-21 Thread Tracy Spratt
You need a custom datadescriptor if you need to have the tree show a different structure than the underlying xml, but it has nothing to do with expanding nodes. Are you calling the expandItem using callLater()? From: flexcoders@yahoogroups.com

[flexcoders] Re: Flex server sockets?

2008-01-21 Thread David Zaffery
Thanks for the info Seth. For what it's worth it wasn't for ftp, or web server stuff. ;-) Does anyone have any idea if that is something that will be included in the future? Is this capability not included because of security concerns or some other reason.

Re: [flexcoders] Re: addchild

2008-01-21 Thread [EMAIL PROTECTED]
Gordon Smith wrote: Why would you think that a book called actionscript 3 animation uses only only flash.* classes throughout and avoids the mx.* classes completely ? It was just a guess, because the title didn't include the word Flex. Are you saying that this book actually does use

[flexcoders] Re: Help With AlivePDF

2008-01-21 Thread fmotagarcia
Hi, FlexReport is not meant to be a replacement for alivePDF (in fact the built-in pdf generation is alivePDF). FlexReport main intent is to ease the creation of templates, reducing the amount of code needed to a minimum, and address all the issues concerning printing in flash. I could have

[flexcoders] Re: Tree and ITreeDataDescriptor

2008-01-21 Thread hmmmbeer3
--- In flexcoders@yahoogroups.com, Tracy Spratt [EMAIL PROTECTED] wrote: You need a custom datadescriptor if you need to have the tree show a different structure than the underlying xml, but it has nothing to do with expanding nodes. Are you calling the expandItem using callLater()?

RE: [flexcoders] Re: Tree and ITreeDataDescriptor

2008-01-21 Thread Tracy Spratt
What is your dataProvider's dataType? From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of hmmmbeer3 Sent: Monday, January 21, 2008 9:19 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Tree and ITreeDataDescriptor --- In

[flexcoders] Re: Datagrid ItemEditor ComboBox Question

2008-01-21 Thread jensen.axel
thanks for the reply. I did try both dg.callLater(myCallLater) and dg.validateNow(); neither one gave the result that we're expecting... it's sort of aggravating how people want to stretch the datagrid s far... granted this isn't THAT far, but i have another client that wants the datagrid

RE: [flexcoders] Re: addchild

2008-01-21 Thread Gordon Smith
I think someone else already explained that you can simply draw into a UIComponent rather than into a Sprite or a Shape. All three of these have a 'graphics' property which contains a reference to an instance of the flash.display.Graphics class, which has methods like drawCircle(). But a

[flexcoders] Tree Component Issue

2008-01-21 Thread Paramjit Jolly
Hi ALL, I am using Flex DataGrid Component in which Each cell is having a renderer. Renderer : It consist of Accordion component and each form of accordion is having a Tree component in it. Every component is given percentageHeight, Only Tree component is not taking the

[flexcoders] Re: Tree and ITreeDataDescriptor

2008-01-21 Thread hmmmbeer3
--- In flexcoders@yahoogroups.com, Tracy Spratt [EMAIL PROTECTED] wrote: What is your dataProvider's dataType? XML. I'm actually developing a thin rich client, where all data is published via a Web Service. So the Tree (nor any other Flex component) every deals with anything but pure XML.

  1   2   >