Re: [flexcoders] Re: Problem with scaleX for system fonts!

2008-10-22 Thread Haykel BEN JEMIA
Try scaling only in one direction (X or Y) and you will see that it doesn't work. However it does with embedded fonts. I think scaling in both directions with the same value makes flex use another font size, but real scaling only can be applied to embedded fonts. Anyway, this limitation will be

Re: [flexcoders] swf caching

2008-10-22 Thread Arulmurugan T
It is a web application. I cannot force my client to clear the cache. Regards, You can catch up with me using the links below http://flex-arulmurugant.blogspot.com/ - Original Message - From: Guy Morton To: flexcoders@yahoogroups.com Sent: Wednesday, October 22, 2008 9:06

Re: [flexcoders] Custom List Renderer Memory Leak

2008-10-22 Thread claudiu ursica
Can you paste the code snippet that update the list? Cheers, Claudiu - Original Message From: darkcube86 [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Tuesday, October 21, 2008 7:49:53 PM Subject: [flexcoders] Custom List Renderer Memory Leak I have a list which always

[flexcoders] What is the command-line equivalent to Flex Builder's Build Project.. Command?

2008-10-22 Thread Stephen Roy J. Tang
In my program, I have been receiving an error when I use a command-line compile command for mxmlc. The error is related to an embedded font name not being correctly identified by flex in the system fonts list. However, on a whim, I decided to copy the code to Flex Builder and compile it there. To

Re: [flexcoders] Re: Alert.show - Detect when closed from another mxml component

2008-10-22 Thread claudiu ursica
You can do that, however it is not very engineering like to bubble lots of layer to the application. I would bypass thet event through Cairngorm if I were you, provides a more decoupled way of handling things HTH, Claudiu - Original Message From: sleblang [EMAIL PROTECTED] To:

Re: [flexcoders] Binding Getter to Collection Change

2008-10-22 Thread claudiu ursica
Binding only fires when you are hooked into a certain item of the array collection changes. So unless you are bound on a certain item, you should probably add a listener for CollectionEvent. COLLECTION_ CHANGE yourself and handle by hand the update. HTH, Claudiu - Original Message

[flexcoders] WTF? When pasting into a textarea (on mac), all my newlines disappear!

2008-10-22 Thread Josh McDonald
Hey guys, I'm having this problem on safari and Firefox, and it's a *big* problem. Any time I paste a bunch of text into my mx:textarea/ it all looks OK, but the newlines aren't really there. Trace(comp.text) shows they're not there, and if I copy from the textarea they're gone. Is this a known

Re: [flexcoders] How to keep Tree control synchronized with the database. Please Help

2008-10-22 Thread Paul Andrews
Anuj, You will already have seen a few comments about this problem. If the user is updating the database inside the application you can use an event to signal to the application that the trees dataprovider should be refreshed, that would cause your tree to be updated. Of course, if your tree

Re: [flexcoders] Flex connection to Oracle 10g PL/SQL

2008-10-22 Thread Tom Chiverton
On Tuesday 21 Oct 2008, tphilp74 wrote: Just began looking at Flex 3. Was wondering how do you go about running a Flex app having it connect to Oracle You'll need a server-side language of some sort. -- Tom Chiverton Helping to confidentially build principle-centered compelling granular

RE: [flexcoders] WTF? When pasting into a textarea (on mac), all my newlines disappear!

2008-10-22 Thread Kenneth Sutherland
How are you doing the code to copy and paste? Setting up a sting in MXML can look different than if you set it in actionscript. This may well be the issue. Eg. ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; layout=vertical mx:Script ![CDATA[

[flexcoders] Re: Alert.show - Detect when closed from another mxml component

2008-10-22 Thread Marielle Lange
In addition of Application.application.method(), you should be able to have in your Alert component (or the component that is aware of the Alert box and can detect a close event), something like this Application.application.dispatchEvent(new Event(MyAlertEvent.ALERT_CLOSED)) and in the other

[flexcoders] createChildren(): adding 20 identical buttons to panel?

2008-10-22 Thread Mic
public class PanelTest extends Panel{ private var b1:Button; override protected function createChildren():void { super.createChildren(); b1 = new Button; this.addChild(b1); In order to add another 19 buttons, must vars b2 to b20 be declared etc? This is a very

Re: [flexcoders] WTF? When pasting into a textarea (on mac), all my newlines disappear!

2008-10-22 Thread Josh McDonald
As in, I type something in any text editor (or just hilight cmd-c in the console, etc), go to a textarea and hit cmd-v. Visually in the textarea it looks like it should, but .text has no newlines. On Wed, Oct 22, 2008 at 6:54 PM, Kenneth Sutherland [EMAIL PROTECTED] wrote: How are you doing

[flexcoders] Re: Flex 3: ChartLabel.as - parent is null (to Adobe)

2008-10-22 Thread benjidudu
I am also a victim! This bug was first reported 6 months ago and it is still there. It is marked as deferred, but deferred doesn't mean forgot, Adobe. Please do something about it, I don't wish other people losing one day like I did over an old bug (and which seem simple to correct). Benjamin.

Re: [flexcoders] createChildren(): adding 20 identical buttons to panel?

2008-10-22 Thread Tom Chiverton
On Wednesday 22 Oct 2008, Mic wrote: In order to add another 19 buttons, must vars b2 to b20 be declared No. Not unless you need to get at them again without using getChildByName() or similar. You could simple push each instances on to an array, rather than having b1 .. bN. class to a

Re: [flexcoders] Re: Still no one knows ? Please help.

2008-10-22 Thread Michael Schmalle
Hi, Use a ProgramaticSkin subclass. Then use the method drawCircle() to draw the circle based on the value of getStyle(color), which is your text color of the parent. Pseudo; override protected function updateDisplayList(w:Number, h:Number):void { var color:unit = getStyle(color); var

Re: [flexcoders] createChildren(): adding 20 identical buttons to panel?

2008-10-22 Thread Michael Schmalle
class to a layout). Because b1 cannot be reused for another addChild(), how would you add the other buttons? TIA, It can't be ? Yes, of course it can be reused, the type can't change. Which this is not the case since you are suing Button for all 20 instances. You can do; b1 = new Button()

Re: [flexcoders] new to flex, problems installing Flex 4 SDK

2008-10-22 Thread Tom Chiverton
On Tuesday 21 Oct 2008, Pedro Kostelec wrote: I am completely new to flex. I find it very difficult to install the Flex 4. I strongly suggest using Flex 3 if you are brand new. Flex 4 hasn't been released yet, and unless you *really* need some of the new features, you'll find Flex 3 much

[flexcoders] Resizeable Components in a Tilelist

2008-10-22 Thread Mark Walker
I'm new to flex and OO based development, so I'm probably missing the point somewhere, but here's my problem. I have a created a component (QuestionComp) based on a canvas, that will display a box with a question label and answer input box as well as a couple of other things. On my main

Bug in player 10? (was: Re: [flexcoders] WTF? When pasting into a textarea (on mac), all my newlines disappear!)

2008-10-22 Thread Josh McDonald
It works on my laptop which is on Flash 9, so it could be a bug in Player 10. When I get back to work I'll downgrade, test it and re-upgrade to verify it :) -Josh On Wed, Oct 22, 2008 at 7:41 PM, Josh McDonald [EMAIL PROTECTED] wrote: As in, I type something in any text editor (or just hilight

RE: [flexcoders] WTF? When pasting into a textarea (on mac), all my newlines disappear!

2008-10-22 Thread Kenneth Sutherland
I think I get what you're meaning but I've not got a mac and I'm not seeing the issue on my PC (is the issue happening on a PC). If you look at the debug window it will not show you the \n or \r but if you look at the value next to the name of the var in the debug window you will see the \n or \r

Re: [flexcoders] Chart fails when used in module

2008-10-22 Thread Guy Morton
Replying to my own post...I guess I am seeing this same bug that's a subject of another thread: https://bugs.adobe.com/jira/browse/FLEXDMV-1695 My way of triggering it is slightly different but the same code appears to be causing it. I spose I'll try the workaround listed there. Guy On

[flexcoders] Flash

2008-10-22 Thread John
Hi there, Just a few quick questions from me: What is the best way to inserting a Flash SWF file into a flex, that will enable me to have it start from frame 0 on reentry of that framework? Would this be States, Viewstack? Is there a way of using forward and back buttons to navigate through

[flexcoders] Wizard Component?

2008-10-22 Thread duncan_coutts
Hi guys, does anyone know if a Wizard link component is already in existence in flex. This sort of component would behave in the same way that a installer wizard would when installing normal windows programs, with next and previous buttons for navigation? A little something like this

[flexcoders] Wizard

2008-10-22 Thread duncan_coutts
Hi guys, does anyone know if a Wizard like component is already in existence in flex. This sort of component would behave in the same way that a installer wizard would when installing normal windows programs, with next and previous buttons for navigation? A little something like this

Re: [flexcoders] dividerSkin problem

2008-10-22 Thread Michael Schmalle
Hi Guy, There is no logic in the divider container that checks the minimum width or height of the dividers relative to the size of their container. I don't think this is to weird on Adobe's part since they usually have a policy (unwritten) that chrome is not part of the measurement algorithm. The

[flexcoders] QTP Flex Add-in problem with some FlexDataGrids

2008-10-22 Thread alex_birger
I am trying to automate Flex application with Adobe QTP Add-in. The problem is that content of a few FlexDataGrids is not recognizable by QTP. When such DataGrid doesn't have content, everything is fine. DataGrid itself and the header are recognizable. The issue takes place if content is

[flexcoders] my boss wants the impossible.. or is it?

2008-10-22 Thread al-al :D
Hi guys, I have a weird question. Is there a way to change, modify or remove the application loading component everytime a Flex program starts? In every example I've seen throughout the internet, the loading component is always there. Any thoughts? Thanks for reading this :D Have a good day.

Re: [flexcoders] Flex connection to Oracle 10g PL/SQL

2008-10-22 Thread Juliano Mendes
No need server side language. You can enabled Oracle EPG (Encapsuled PL/SQL Gateway) and XDB (XML Database) in your Oracle database and connect Flex to Oracle using a HTTP Service request to access directly a Stored Procedure and send a XML file back to Flex. Good Luck! Atenciosamente,

Re: [flexcoders] drag drop invokes click handler of dragged compoent

2008-10-22 Thread SAAGAR SHETTY
Hi Prashant, You can try using mouseUp event instead of click event. But you will also have to write some extra logic to check if the drag is being performed. You may set some boolean variable on drag and check it on mouseUp event handler. If it is set then do not do anything. Hope this helps

Re: [flexcoders] my boss wants the impossible.. or is it?

2008-10-22 Thread Josh McDonald
Google for Flex preloader and you'll find lots of info -Josh On Wed, Oct 22, 2008 at 12:39 PM, al-al :D [EMAIL PROTECTED] wrote: Hi guys, I have a weird question. Is there a way to change, modify or remove the application loading component everytime a Flex program starts? In every example

Re: [flexcoders] my boss wants the impossible.. or is it?

2008-10-22 Thread Flap Flap
Flex Preloader is a Class and you can have your own. But, you have to be aware that you don't have access to the flex framework only the base class of flash (which is substantial)... What do you want to change at every launch ? -- BenoƮt Milgram / Flapflap http://www.kilooctet.net I'm also a

[flexcoders] Re: my boss wants the impossible.. or is it?

2008-10-22 Thread Cato Paus
http://www.onflex.org/ted/2006/07/flex-2-preloaders-swf-png-gif-examples.php --- In flexcoders@yahoogroups.com, al-al :D [EMAIL PROTECTED] wrote: Hi guys, I have a weird question. Is there a way to change, modify or remove the application loading component everytime a Flex program starts?

Re: [flexcoders] WTF? When pasting into a textarea (on mac), all my newlines disappear!

2008-10-22 Thread Josh McDonald
Yeah, ther problems I was seeing are twofold: 1. Pasted-in text loses all newlines 2. Debug inspection of preset text using this syntax: mx:TextArea height=50% width=100% id=template wordWrap=false change=trace(template.text) mx:text![CDATA[ package fundsmanagement.business.commands {

RE: [flexcoders] Re: my boss wants the impossible.. or is it?

2008-10-22 Thread Kenneth Sutherland
I'd recommend reading this one as well. If you use teds examples you'll end up with a fairly large swf file. Use the following at it will cut it right down to the basic elements. http://jessewarden.com/2007/07/making-a-cooler-preloader-in-flex-part-1- of-3.html I've also pasted in a

[flexcoders] sailorsea21 - Does anyone know why this code works with Firefox but not with IE?

2008-10-22 Thread sailorsea21
Hey everyone, I populate my chart from a MySQL database. My php script retrieves the data and then converts it into XML for my flex chart. I needed to have the chart refreshed every 30sec without refreshing the entire page. I got a script working perfectly for Firefox. Every 30sec the chart

Re: [flexcoders] Re: Still no one knows ? Please help.

2008-10-22 Thread Michael Schmalle
Hi, Since you are using an itemRenderer, this could be tricky. You need to find out where the parent is (MenuItem instance) and cast that reference to IStyleClient. IE var color = IStyleClient(parent.parent).getStyle(color); Mike On Wed, Oct 22, 2008 at 9:40 AM, itdanny2002 [EMAIL PROTECTED]

RE: [flexcoders] modules and services-config.xml

2008-10-22 Thread Maciek Sakrejda
That's what I was hoping you could tell me ;) I suppose I will have to do my own dirty work. Thanks for your help. -Maciek -Original Message- From: Alex Harui [EMAIL PROTECTED] Reply-To: flexcoders@yahoogroups.com To: flexcoders@yahoogroups.com flexcoders@yahoogroups.com Subject: RE:

[flexcoders] Re: Still no one knows ? Please help.

2008-10-22 Thread itdanny2002
Thank you very much. Hi, may I know how to get parent style ? when I get the style, it returns error. I found that the stylename is null and return undefined when got Color style. How can it search the chain and get its parent style ? Many Many Thanks.

Re: [flexcoders] parent styles ( was Re: Still no one knows ? Please help.)

2008-10-22 Thread Paul Andrews
This might be an interesting thread for some people - it might be an idea to change the thread name for the saga.. - Original Message - From: Michael Schmalle To: flexcoders@yahoogroups.com Sent: Wednesday, October 22, 2008 2:52 PM Subject: Re: [flexcoders] Re: Still no one

[flexcoders] Re: Call to a member function on a non-object Weborb or PHP

2008-10-22 Thread timgerr
Does anyone know if this is a weborb or a php problem? Thanks, timgerr --- In flexcoders@yahoogroups.com, timgerr [EMAIL PROTECTED] wrote: Hello all, I am using weborb and getting this error but I am not sure it is a weborb problem. I have a class CleanQueryClass.php class CleanData {

[flexcoders] Re: MenuBar menuItem - dynamically change selected item

2008-10-22 Thread oneworld95
You need to use the dispatchEvent() method to send a Click to the menubar. This example is for a mouseover but you get the idea, obj.dispatchEvent(new MouseEvent(MouseEvent.MOUSE_OVER)); --- In flexcoders@yahoogroups.com, sleblang [EMAIL PROTECTED] wrote: I have the following menubar

[flexcoders] Re: modules and services-config.xml

2008-10-22 Thread valdhor
Maciek Why not just keep the Remote Object details in a database and then use the technique shown in: http://tech.groups.yahoo.com/group/flexcoders/message/126803 to create a dynamic remote object? --- In flexcoders@yahoogroups.com, Maciek Sakrejda [EMAIL PROTECTED] wrote: That's what I was

[flexcoders] Re: Still no one knows ? Please help.

2008-10-22 Thread Amy
--- In flexcoders@yahoogroups.com, itdanny2002 [EMAIL PROTECTED] wrote: Thank you but I wanna to draw the circle or checkmark instead of using symbol. I have tried to embed image files. It works. However, I wanna to use the color as same as text. Since the color of my application can be

[flexcoders] Re: using components

2008-10-22 Thread Deniz Davutoglu
Hi, First of all I would like to thank you. I tried your suggestions. Application.application didn't work and until I put addEventListener code in function which is trigered by applicationComplete it continue to cast me error number 1120 when I did it problem was solved

[flexcoders] Re: Problem with scaleX for system fonts!

2008-10-22 Thread Amy
--- In flexcoders@yahoogroups.com, Haykel BEN JEMIA [EMAIL PROTECTED] wrote: Try scaling only in one direction (X or Y) and you will see that it doesn't work. However it does with embedded fonts. I think scaling in both directions with the same value makes flex use another font size, but

Re: [flexcoders] Wizard

2008-10-22 Thread Nick Collins
That would be easy enough to do yourself, using mx:Panel or mx:TitleWindow, then adding a viewstack as a child, then setting the next and previous buttons to traverse the viewstack. On Wed, Oct 22, 2008 at 7:46 AM, duncan_coutts [EMAIL PROTECTED]wrote: Hi guys, does anyone know if a Wizard

Re: [flexcoders] drag drop invokes click handler of dragged compoent

2008-10-22 Thread Mark Carter
The DragManager has a useful method to save you the trouble: isDragging(), I think. I needed to do something like this just yesterday... I have a list or words in one list and then the synonyms for the selected word in another. I want to be able to drag a word from the first list to the second

[flexcoders] Re: sailorsea21 - Does anyone know why this code works with Firefox but not with IE?

2008-10-22 Thread langdonjared
Sounds like IE is caching the result. Try programatically changing the url of your HTTPService by tacking on a querystring parameter with a timestamp. So, change the url to http://www.whatever.php?ForceIEReload=20081022T11001234. Your PHP script will ignore the extra parameter, but it might

[flexcoders] Re: How to remove space at the end of line chart when using disabledDays = [6,0]!

2008-10-22 Thread cooper000
I've been using Flex to plot some financial charts, using the mx:DateTimeAxis as my horizontal axis to show the date and time of the plot. When plotting annual info, I'm able to use the disableDays feature to remove Saturday and Sunday from the plot. While this feature has its own set of

RE: [flexcoders] Wizard

2008-10-22 Thread Kyle Quevillon
Have you checked this out? http://www.adobe.com/cfusion/communityengine/index.cfm?event=showdetailsproductId=2postId=11246 -Kyle From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Nick Collins Sent: Wednesday, October 22, 2008 9:56 AM To: flexcoders@yahoogroups.com Subject:

[flexcoders] Re: Call to a member function on a non-object Weborb or PHP

2008-10-22 Thread valdhor
It is a PHP problem. You create your CleanData instance with: $cln = new CleanData; Then you try to run the method CleanObject with: return $clean-CleanObject($info); $clean is not an object instance ($cln is the instance). --- In flexcoders@yahoogroups.com, timgerr [EMAIL PROTECTED] wrote:

[flexcoders] Charts - How to filter dataprovider by date?

2008-10-22 Thread cox.blair
Hi everyone, I've spent hours over several weeks looking for a hint of an answer to this, perhaps my situation is unique. I have a database, that through necessity, has the data for multiple items, we'll call them different tests. Now if I use this database for a chart's data provider, it will

[flexcoders] How does one cancel/unaccept a drag-and-drop operation in Flex 3?

2008-10-22 Thread Sean
Goal: Allow the user to delete a record by dragging a row from an AdvancedDataGrid, dropping it onto a trash-can icon and verify the user meant to do that via a popup alert with OK and Cancel buttons. What is working: * Dragging/Dropping a row onto the trash icon. * If the user clicks the

[flexcoders] Re: How does one cancel/unaccept a drag-and-drop operation in Flex 3?

2008-10-22 Thread Sean
I forgot to mention that I posted the same question at stackoverflow.com (http://stackoverflow.com/questions/223324/how-does-one-cancelunaccept-a-drag-and-drop-operation-in-flex-3). --- In flexcoders@yahoogroups.com, Sean [EMAIL PROTECTED] wrote: Goal: Allow the user to delete a record by

[flexcoders] Re: createChildren(): adding 20 identical buttons to panel?

2008-10-22 Thread valdhor
Here is a quick and dirty example on how to add multiple instances as well as how to access them after creation: ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; layout=absolute xmlns:custom=CustomClasses.* creationComplete=onCreationComplete()

[flexcoders] Flash Loader needed ... indeterminate

2008-10-22 Thread tchredeemed
I have an image, and I need someone to turn this image into a flash swf for me... I could try to describe it, but I figured it would be best to show a picture of it. and that is located here: http://img356.imageshack.us/img356/5438/loaderjh8.jpg

[flexcoders] Using HTTPStatus

2008-10-22 Thread oneworld95
Hi, all. I've been trying to implement this example: http://blog.flexexamples.com/2007/11/04/detecting-whether-an-image-loaded-successfully-in-flex/ However, it appears that many browsers do not send an HTTP status to Flash, as described on LiveDocs: If Flash Player or AIR cannot get a status

[flexcoders] Re: Still no one knows ? Please help.

2008-10-22 Thread Amy
--- In flexcoders@yahoogroups.com, Michael Schmalle [EMAIL PROTECTED] wrote: Hi, Since you are using an itemRenderer, this could be tricky. You need to find out where the parent is (MenuItem instance) and cast that reference to IStyleClient. IE var color =

[flexcoders] Re: Flash Loader needed ... indeterminate

2008-10-22 Thread tchredeemed
Note: Basically that white bead just spins around the circle and never stops... essentially it shows up on top of each piece of the circle.. you all get it.

Re: [flexcoders] Re: Still no one knows ? Please help.

2008-10-22 Thread Michael Schmalle
Amy, I don't know if what I said was the 'correct' way. But he wanted his bullet color to be the same as the text color, so using the color style seemed right. As far as the styleName being null like he said, I haven't looked into that. That was what this last post was concerning. I'd have to

Re: [flexcoders] Charts - How to filter dataprovider by date?

2008-10-22 Thread Maciek Sakrejda
It's not clear how your data is bound to the chart, but it sounds like you need a filterFunction: http://livedocs.adobe.com/flex/3/langref/mx/collections/ListCollectionView.html#filterFunction If you post more about your data flow, maybe we can give you more details. -- Maciek Sakrejda Truviso,

[flexcoders] Scaling is jerky.

2008-10-22 Thread flexaustin
I was wondering if anyone had a quick answer for why a swf file is jerky when running in an application but if you go to source and put in the path directly to the swf file and run the swf everything looks perfect? Say for instance you are zooming something on stage. If you scroll while the swf

Re: [flexcoders] QTP Flex Add-in problem with some FlexDataGrids

2008-10-22 Thread Matt Chotin
Are you using itemRenderers? You said some datagrids, so I'm assuming others work that maybe don't have item renderers? Do you need to automation enable your item renderer classes? Any chance you can do a smaller test case with Flex 3 and check with that install? It's very possible bugs are

RE: [flexcoders] Re: How to keep Tree control synchronized with the database. Please Help

2008-10-22 Thread Tracy Spratt
Yes, polling using Timer will work fine. I even have an example on www.cflex.net http://www.cflex.net/ , but it is pretty simple to do. Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of anuj sharma Sent: Wednesday, October 22,

RE: [flexcoders] Re: createChildren(): adding 20 identical buttons to panel?

2008-10-22 Thread Tracy Spratt
I would advise Repeater for this. It willsave a lot of code and provides some other benefits like automatically building the array of references, and optionally recycling children and handling removal of the children. Tracy From:

RE: [flexcoders] Re: sailorsea21 - Does anyone know why this code works with Firefox but not with IE?

2008-10-22 Thread Tracy Spratt
Sounds like caching to me as well. Are you using GET or POST? I use post exclusively and have no caching issues. The unique string on the url is an accepted solution as well. Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of

Re: [flexcoders] Re: How to keep Tree control synchronized with the database. Please Help

2008-10-22 Thread john fisher
@mark: thanks will check it out @anuj: this is just exactly what the adobe sample code does, except not directly to the database. anuj sharma wrote: ... Can I use the Timer class to create a timer instance which will periodically call HTTP a

RE: [flexcoders] swf caching

2008-10-22 Thread Tracy Spratt
You could modify the html wrapper to append a unique string to the swf url. Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Arulmurugan T Sent: Wednesday, October 22, 2008 2:10 AM To: flexcoders@yahoogroups.com Subject: Re:

RE: [flexcoders] Re: XML data problem

2008-10-22 Thread Tracy Spratt
Ok, where does the value get changed? Have you inspected the result data in the result handler? Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of markgoldin_2000 Sent: Tuesday, October 21, 2008 9:05 PM To:

RE: [flexcoders] Question about html embed (AC_FL_RunContent)

2008-10-22 Thread Tracy Spratt
Looking through the javascript that this function calls, it appears that it appends the 'swf extension itself. Try what you have, but omit the .swf Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Aaron Miller Sent:

Re: [flexcoders] Re: How to keep Tree control synchronized with the database. Please Help

2008-10-22 Thread anuj sharma
Hi Mark I looked at the official website of Light stream , it seems that that's what we need. Now my question to you is if I am using this for my company do i have to pay something or is it totally going to be free. Are there any licensing issues involved with that. Please let me know Thanks Anuj

[flexcoders] DataGrid Selection and Overing.

2008-10-22 Thread Parjan Arjan
Hi every one , i am facing a little problem please help me. I have DataGrid with following styles alternatingItemColors: #FF, #ECF1F7 selectionColor: #D9DE74 roll-over-color:#D3E0FE Now on of my grid need the follwing requirement Allow hover color only but user cannot select any row

Re: [flexcoders] Re: How to keep Tree control synchronized with the database. Please Help

2008-10-22 Thread anuj sharma
Hi Tracy Thanks for the link. Now in the link i couldn't find the specific example using timer for constant calling for HTTP service. Can you please tell me where exactly the example is located. Your help will be appreciated. Thanks Anuj On Wed, Oct 22, 2008 at 10:15 AM, Tracy Spratt [EMAIL

Re: [flexcoders] Re: How to keep Tree control synchronized with the database. Please Help

2008-10-22 Thread anuj sharma
Hi John I am not sure i get what you are trying to say. Can you be please elaborate little bit more. Thanks Anuj On Wed, Oct 22, 2008 at 10:13 AM, john fisher [EMAIL PROTECTED] wrote: @mark: thanks will check it out @anuj: this is just exactly what the adobe sample code does, except not

[flexcoders] drawing via actionscript

2008-10-22 Thread tchredeemed
public class MyClass { public function MyClass(){ var drawingComponent:UIComponent = new UIComponent(); // draw on the drawingComponent; } } If I have that, and I do (in my flex) new MyClass() and add it to the mxml, it doesn't show up with what I draw on drawingComponent. How do I add the

[flexcoders] Re: DataGrid Selection and Overing.

2008-10-22 Thread Tim Hoff
Hi Parjan, You can give the illusion that the DataGrid is not selectable by extending DataGrid and overriding the drawSelectionIndicator function (selectable=true). package com.controls { import mx.controls.DataGrid; import flash.display.Sprite; import mx.controls.listClasses.IListItemRenderer;

[flexcoders] URL redirect and close Alert window

2008-10-22 Thread brucewhealton
Hello, Currently, I have an application that opens in a new window. It is created in Flex and is linked to from another page on my site. Currently, I have the flex application page open up using target=_blank. When the user goes to the new page, they are given a form and when they

Re: [flexcoders] drawing via actionscript

2008-10-22 Thread Fotis Chatzinikos
Why do not you extend IUIComponent instead? On Wed, Oct 22, 2008 at 9:28 PM, tchredeemed [EMAIL PROTECTED] wrote: public class MyClass { public function MyClass(){ var drawingComponent:UIComponent = new UIComponent(); // draw on the drawingComponent; } } If I have that, and I do (in my

Re: [flexcoders] Re: How to keep Tree control synchronized with the database. Please Help

2008-10-22 Thread Fotis Chatzinikos
Hi Anuj, i would go for Paul's recommendation with some small variations: 1) if the application is single user, the you do not need to poll, you can insert the data directly in your data source as at any given point you know that new nodes are added to the database. For example: You do some sort

[flexcoders] Re: URL redirect and close Alert window

2008-10-22 Thread valdhor
The Alert class has a few nice features. One of these is a function to run when the Alert box closes: Alert.show(Do you really want the world to End?, Kill Everyone, Alert.YES | Alert.NO, this, worldEndHandler); The other item you are looking for is navigateToURL: private function

Re: [flexcoders] Re: PLaying Flash From Scratch

2008-10-22 Thread Fotis Chatzinikos
The view stack has a change event, you can associate a handler there and depending on the index of the stack call the appropriate swf start/play method On Wed, Oct 22, 2008 at 3:20 AM, John [EMAIL PROTECTED] wrote: My actionscript is not that strong, we have several Flash animations in

RE: [flexcoders] Re: How to keep Tree control synchronized with the database. Please Help

2008-10-22 Thread Tracy Spratt
http://www.cflex.net/showFileDetails.cfm?ObjectID=560 Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of anuj sharma Sent: Wednesday, October 22, 2008 2:20 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Re: How to keep

[flexcoders] Re: sailorsea21 - Does anyone know why this code works with Firefox but not with IE?

2008-10-22 Thread sailorsea21
I'm using POST and a unique string for the url. See below. [Bindable] private var HTTPService_url:String = company.php?ForceIEReloadms= + new Date().getTime(); mx:HTTPService url={HTTPService_url} method=POST id=data resultFormat=e4x result=xmlResultHandler(event);

[flexcoders] Distributing AIR applications on Widows and Mac

2008-10-22 Thread jenonflex
Hi All, I want to distribute my AIR application packaged along with the AIR installer. I heard this is possible, but can anyone help me on how this can be done, and what tools to use etc both on Windows and Mac. Thank you, regards, -Jen

[flexcoders] viewStack is slow opening the first time

2008-10-22 Thread Mark
I'm building an app with 4 stacks in my viewStack with a wipe in and out effect. The Stacks are just different views of the data, a generic datagrid view, a bar chart view, and a couple others. The default datagrid view is fine but the others, such as the bar chart, needs to do some

Re: [flexcoders] Re: How to keep Tree control synchronized with the database. Please Help

2008-10-22 Thread anuj sharma
Hi Tracy Thank you very much for the link. I really appreciate that. Anuj On Wed, Oct 22, 2008 at 1:05 PM, Tracy Spratt [EMAIL PROTECTED] wrote: http://www.cflex.net/showFileDetails.cfm?ObjectID=560 Tracy -- *From:* flexcoders@yahoogroups.com

Re: [flexcoders] Distributing AIR applications on Widows and Mac

2008-10-22 Thread Jake Churchill
Check out this article by David Tucker. I used this very one and it worked great! http://www.adobe.com/devnet/air/articles/air_badge_install.html Here's another: http://www.adobe.com/devnet/air/articles/badge_for_air.html -Jake Churchill jenonflex wrote: Hi All, I want to distribute my

[flexcoders] Re: positioning custom toolTips?

2008-10-22 Thread djbrown_rotonews
anyone?

[flexcoders] persistent server-side shared objects

2008-10-22 Thread Mario Vieira
what is deal with writing persistent server-side shared objects with AMF3 object encoding? fair enough, in FMS3 everything should be server-side scripts, but why can't I flush it? Language reference says I could, but how!?

Re: [flexcoders] Distributing AIR applications on Widows and Mac

2008-10-22 Thread Matt Chotin
If you actually want to distribute the runtime yourself (not just the app) you may need to review the terms at http://www.adobe.com/products/air/runtime_distribution1.html Matt On 10/22/08 1:23 PM, Jake Churchill [EMAIL PROTECTED] wrote: Check out this article by David Tucker. I used

RE: [flexcoders] Re: sailorsea21 - Does anyone know why this code works with Firefox but not with IE?

2008-10-22 Thread Tracy Spratt
Debug to determine if that is the case. Also debug to make sure the result handler is being called. Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of sailorsea21 Sent: Wednesday, October 22, 2008 3:50 PM To:

Re: [flexcoders] Re: positioning custom toolTips?

2008-10-22 Thread Mario Vieira
I would look up the ToolTip class (if yo haven't already done it!) http://livedocs.adobe.com/flex/3/langref/mx/controls/ToolTip.html or $35 for these guys might do! http://www.afcomponents.com/components/tooltip_flex/ On 22 Oct 2008, at 22:29, djbrown_rotonews wrote: anyone?

[flexcoders] Re: viewStack is slow opening the first time

2008-10-22 Thread Tim Hoff
Hi Mark, This may be one case where you would want to use creationPolicy=all, for the ViewStack. It will add more time to startup, but the user experience may be better; once the application is loaded. -TH --- In flexcoders@yahoogroups.com, Mark [EMAIL PROTECTED] wrote: I'm building an app

RE: [flexcoders] Re: viewStack is slow opening the first time

2008-10-22 Thread Tracy Spratt
Suppose you used Time to delay about 5 seconds after application.creatonComplete, then either set creationPolicy=all or manually call createChildren() on the desired views? Kind of half and half, where the app would display quickly, but begin rendering in the background without user

[flexcoders] Re: createChildren(): adding 20 identical buttons to panel?

2008-10-22 Thread Mic
Thanks for all the help I was trying to b1 = new Button; this.addChild(b1); this.addChild(b1); this.addChild(b1); etc which is why it appeared that b1 was all used up :-)When adding to the displaylist why does b1 = new Button; have to be done each time? Why can't b1, which is an instance of

Re: [flexcoders] Re: How to keep Tree control synchronized with the database. Please Help

2008-10-22 Thread john fisher
Anuj I meant, search through the online adobe docs for 'timer polling example' or other keywords like those. there are many many examples in the online docs at Adobe. John anuj sharma wrote: Hi John I am not sure i get what you are trying to say. Can you be please elaborate little bit more.

[flexcoders] FMS SharedObject Array problem...

2008-10-22 Thread grimmwerks
What's wrong with this: var ev = new Object({sender: this.user.username, message: str}); trace(got chat + ev.message); var h = this.application.so_Chat.getProperty(history); h.push(ev); this.application.so_Chat.setProperty(history, h); var q =

[flexcoders] Sound issues in Player 10

2008-10-22 Thread Steve Mathews
I started getting reports that our product quit working in Flash Player 10 so I started investigating it. I found that loaded audio, video with audio and swfs with audio all quit working. So if you look at http://www.flypaper.com/product/quicktour.aspx with player 9 installed, then with 10 you can

Re: [flexcoders] Re: createChildren(): adding 20 identical buttons to panel?

2008-10-22 Thread Paul Andrews
- Original Message - From: Mic [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Wednesday, October 22, 2008 10:28 PM Subject: [flexcoders] Re: createChildren(): adding 20 identical buttons to panel? Thanks for all the help I was trying to b1 = new Button;

  1   2   >