Re: [flexcoders] RichTextEditor - format preservation

2008-01-09 Thread YOGESH JADHAV
I have posted same issue few weeks ago. If anybody knows the solution please reply. I am also interested in adding support for smiley/emoticons in RTE. I have found some workarounds on net but still think that there should be inbuilt support for that. On Jan 9, 2008 12:57 AM, Richard Rodseth

[flexcoders] Re: [flex_india:5620] Re: Php-flex communication pointers

2008-01-09 Thread YOGESH JADHAV
Thanks all of u who took time to read and reply back. People like you are angels for newbies and dumbos (like me) :) ! On Jan 9, 2008 1:17 PM, Anish Kumar [EMAIL PROTECTED] wrote: Flex for PHP Developers http://flex.org/php/ A nice article on Integrating Adobe Flex and PHP by Mike

[flexcoders] Exit

2008-01-09 Thread John
Hi there, I am trying to create a close window routine that will be run when a user clicks the exit button using the following: !-- Routine to Close down the Courseware -- mx:Script ![CDATA[ private function closeWindow():void{ ExternalInterface.call(window.close); } ]] /mx:Script Now I am

Re: [flexcoders] callLater() doesn't

2008-01-09 Thread Tom Chiverton
On Tuesday 08 Jan 2008, Douglas Knudsen wrote: ?context=LiveDocs_Partsfile=1438.html it queues the call in the next refresh. So, maybe you never get another refresh and hence no call. The app otherwise runs fine, so I must be getting refreshes. trying to do I need to defer an action till

[flexcoders] Copy/Paste cells of AdvancedDataGrid with hierarchical dataprovider

2008-01-09 Thread eric_mahe
Hi flexcoders, I try to implement copy/paste in the AdvancedDatagrid with hierarchical data. When dataprovider is an ArrayCollection, the sample code of the doc is working well (http://livedocs.adobe.com/labs/flex3/html/advdatagrid_05.html) The SelectedCells property returns rowIndex and

Re: [flexcoders] Flex Builder license

2008-01-09 Thread Tom Chiverton
On Tuesday 08 Jan 2008, Mike Chabot wrote: includes the ability to run either Flex Builder, or the Flex Builder plug-in for Eclipse. Without the license you don't have the nice graphical IDE. Well, you have a graphical IDE, but it lacks a large number of useful features like fully functional

Re: [flexcoders] callLater() doesn't

2008-01-09 Thread Tom Chiverton
On Tuesday 08 Jan 2008, Alex Harui wrote: Are you on the display list? Hmm. The parent of the component just does private var foo:myComponent; and then in the creationComplete foo=new myComponent(); I'm guessing I need to addChild(foo) it too, and that was it ! I've commented

Re: [flexcoders] Flex Builder license

2008-01-09 Thread Paul Andrews
- Original Message - From: Tom Chiverton [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Wednesday, January 09, 2008 9:44 AM Subject: Re: [flexcoders] Flex Builder license On Tuesday 08 Jan 2008, Mike Chabot wrote: includes the ability to run either Flex Builder, or the Flex

Re: [flexcoders] Darken a hexadecimal color

2008-01-09 Thread Webdevotion
Found a solution here: http://www.pixelwit.com/blog/2007/05/14/hexadecimal-color-fading/ On 1/9/08, Webdevotion [EMAIL PROTECTED] wrote: Hello list, Does anyone have a function ready that darkens a hexadecimal color? eg: var shadedColor : Number = darken( 0xFF );

[flexcoders] Re: Page States

2008-01-09 Thread John
Simon, could you show an example of this, I am unfortunately new to Flex and I am getting used to the nuances of the tool. TIA John --- In flexcoders@yahoogroups.com, simonjpalmer [EMAIL PROTECTED] wrote: there are lots of ways of making sure that the state of your custom controls is

Re: [flexcoders] Flex Builder license

2008-01-09 Thread Tom Chiverton
On Wednesday 09 Jan 2008, Paul Andrews wrote: Seems to me that besides the limitations, Flex builder wins hands-down against just using the SDK It does, I didn't mean to suggest otherwise, and this goes double now there is a Builder for Linux too. One thing's for sure - whatever the

Re: [flexcoders] Flex Builder license

2008-01-09 Thread Johannes Nel
design view has an intrinsic problems. it does not render some of my custom views (any view which extends a base class) :(:( On Jan 9, 2008 5:47 AM, Tom Chiverton [EMAIL PROTECTED] wrote: On Wednesday 09 Jan 2008, Paul Andrews wrote: Seems to me that besides the limitations, Flex builder wins

[flexcoders] Security issue in crossscripting

2008-01-09 Thread Muhammad Ahmed Ullah
Hello, When loading a SWF file (inner.swf) within a SWF file (outer.swf) through Loader's object, I'm getting the following error message: SecurityError: Error #2047: Security sandbox violation: parent: http://192.168.0.20/wid/inner.swf cannot access

[flexcoders] Tree style

2008-01-09 Thread NileAge, Mail
Hi all I want make a tree style mean that I want change the tree icon and the tree bg

Re: [flexcoders] Tree style

2008-01-09 Thread Max Frigge
Hi, you can use an iconFunction to set custom icons explained here: http://blog.flexexamples.com/2007/11/15/creating-a-custom-icon-function-on-a-flex-tree-control/ You can change the backGround by using styles like backgroundColor, backgroundImage and so on

[flexcoders] getting information about the last focussed object...

2008-01-09 Thread Rahul Kandari
I m trying to recieve the information about the last focussed object not the current one is there any way that we can get info about the last focussed object in flex 2 regards RAHUL KANDARI Metadesign solutions

[flexcoders] displaying XML in datagrid

2008-01-09 Thread YOGESH JADHAV
Hi all, I trying out the tutorial at http://devzone.zend.com/article/11-Integrating-Adobe-Flex-and-PHP It is working half way but, i.e. values are submitted properly to database. But Manipulating data is creating problem. Here is the original code for displaying data. *mx:DataGrid

[flexcoders] Flex 3 Beta 3 / Flex Component Kit for Flash CS3 v1.1.2

2008-01-09 Thread ola.muldal
When I add a Base Class file for a component or container I've made in Flash, the component doesnt show nor trace anything when published in Flex (however, the component from the swc shows in codehint as usual). Without a Base Class, it works fine. Anyone know whats going on, or have solved the

Re: FW: [flexcoders] Custom Component not Responding to Event Dispatch - Can You

2008-01-09 Thread jwebbsuccess
BTW everyone, I forgot to here's what the app looks like before any data is displayed: http://pdfserver.amlaw.com/Production/WebApp/view/pages/APTI/myaccountprofiledemo.html I'm only expecting data to display on first page at this point. As you see in the example, the display pods on the first

[flexcoders] SVG and CSS Styles

2008-01-09 Thread mthomas1969
I've embedded some SVG files and loaded them into mx:Image tags, but I can't seem to adjust the styles in the SVG drawings. The Flex docs say that CSS styling works with SVG, but I can't get it to work. I'll admit that CSS is one of weak points, so it may be something obvious I'm

[flexcoders] HierarchicalCollectionViewCursor

2008-01-09 Thread joshuajnoble
Can anyone shed any light on the constructor of the HierarchicalCollectionViewCursor, the signature is: public function HierarchicalCollectionViewCursor(collection:HierarchicalCollectionView, model:ICollectionView, hierarchicalData:IHierarchicalData) and the explanation in the docs is:

Re: [flexcoders] HitTest Problems with Button that includes white

2008-01-09 Thread Max Frigge
Just to solve the mystery... The Button was overlapping with a TextInput, thats why there was a part of the Button not catching the event (the Button was on top though?!) ... *wups* - Original Message From: Max Frigge [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Sunday,

[flexcoders] Security Problem using xmlSocket

2008-01-09 Thread maliksmile
Hi. I am facing a problem for couple of days. I am trying to connect my xmlSocket to my own Java based Server. When I only call Security.loadPolicyFile(..Server location..) then it doesn't work although crossdomain.xml file is present on the server. If I don't use Security.loadPolicyFile() and

[flexcoders] handling unload of swfs in flash 9 / as 3. Crashing safari, firefox

2008-01-09 Thread aaron smith
I'm running into an issue with my application, that causes safari and firefox to crash. The application will load and run fine, but on refresh it crashes. It seems it's some sort of unload thing going on, because you can't even see the application try to load again, it's like it's closing out that

[flexcoders] Re: Newbie : Flex Hosting Question

2008-01-09 Thread hardikpandya2000
Hello William, Thanks for pointing me into right direction, seems like WebORB is effective to make flex + java interactions. Thanks very much, Hardik --- In flexcoders@yahoogroups.com, Abyss Knight [EMAIL PROTECTED] wrote: I'm not sure about the JSP requirement, but I would presume you

[flexcoders] Re: Nested Repeaters: Weird Behaviour

2008-01-09 Thread nkopcsek
The problem has nothing to do with setting the data. Anyway, i found the solution. In MXML you can define the following code: mx:Repeater id=r dataProvider={dataProvider} mx:VBox width=100% mx:Label text={r.currentItem.name} / mx:Label text={r.currentItem.author} / /mx:VBox

Re: [flexcoders] CF8 / Flex 2 http vs. https issue

2008-01-09 Thread Joe
To my knowledge, you cannot have a https folder, and a http folder in the same area? So basically, this means the files you are accessing from the https are being directed to the wrong path. You should be able to try an absolute link to test this. Possible solution: run the url though a valueOf()

Re: [flexcoders] CF8 / Flex 2 http vs. https issue

2008-01-09 Thread Tom Chiverton
On Wednesday 09 Jan 2008, Joe wrote: To my knowledge, you cannot have a https folder, and a http folder in the same area? You mean serve the same content from http and https URLs ? Of course you can... -- Tom Chiverton Helping to autoschediastically initiate intuitive supply-chains on:

[flexcoders] Security Problem using xmlSocket

2008-01-09 Thread Sajed Malik
Hi. I am facing a problem for couple of days. I am trying to connect my xmlSocket to my own Java based Server. When I only call Security.loadPolicyFile(..Server location..) then it doesn't work although crossdomain.xml file is present on the server. If I don't use Security.loadPolicyFile() and

[flexcoders] Font rendering for print

2008-01-09 Thread Frederico Garcia
Hi, Does anyone know how to make flash render fonts the same way for screen display and printing? I've tried embedding fonts, changing the settings for flashType and fontAntiAliasType but I just can't get fonts to display the same way. This is causing a lot of trouble since I can' get

[flexcoders] How does scale-9 placement affect the size of a border-skin?

2008-01-09 Thread polestar11
Hi there I've created some custom skins for various components, eg. Canvas.borderSkin myTabStyleName.upSkin. I find that the placement of the scale-9 grid lines affects the size of the way the component renders the skin and sometimes even the component size. For example ... if I place the

[flexcoders] Datagrid intermittent update

2008-01-09 Thread candysmate
I have a datagrid whos datagridcolumns all have textinput itemrenderers. Occasionally the datagrid does not update to reflect the changes just made to its dataprovider via arraycollection manipulation. I've tried refreshing the dataprovider and / or using myDataGrid.validate(); without success.

Re: [flexcoders] SVG and CSS Styles

2008-01-09 Thread Ben Marchbanks
hmmm... I read an article that expressed disappointment that Flex handled SVG as vectors up until rendering and then mashed them to bitmap for display. I am not sure what opportunity there is for CSS styling.. Its seems kinda silly to load vector file and then flatten it - why bother ?

[flexcoders] Logging

2008-01-09 Thread learner
Hi all, Is there any way in which I get the caller function name. As in : class Aclass{ instanceB:Bclass; function a(){ instanceB.b(this) } } class Bclass{ function b(Obj){ // How to trace function name and class name } } I have traced out class name by

[flexcoders] Missing *-debug.html and *-debug.swf in Flex Builder 2

2008-01-09 Thread gers32
Hi, I'm developing my third Flex application, using Flex Builder 2, and unlike the first two, I have no *-debug.html or *-debug.swf files... I moved my output directory to the Ruby on Rails server's public/bin directory, but I had done that for the previous two projects. The launch configuration

[flexcoders] 2 Questions

2008-01-09 Thread NileAge, Mail
Hi all I want to design a menu banner with synchronous loading as u can see in this link http://www.emaar.com/misr/ when the page is loading and the second question is how to replace the setting word if right click in this page url with any word

Re: [flexcoders] what about xml?

2008-01-09 Thread Derrick Anderson
hey gustavo, are u using adobe AIR for this or is it just flex (and are u using livecycle). I guess the question is, where do you want to store the XML database, on the server or on the client? d. On Jan 9, 2008 9:29 AM, Gustavo Duenas [EMAIL PROTECTED] wrote: Hi I was wondering since

[flexcoders] Re: Repeater problem

2008-01-09 Thread Merrill, Jason
Hi Jason - I was curious so I copied your code into a test app and it all seemed to work fine for me: Thanks. However, I don't think your test is good enough as it does not do what my app actually does, because there is so much more to my UI and the object being created is not a simple inline

Re: [flexcoders] Font rendering for print

2008-01-09 Thread Jon Bradley
On Jan 9, 2008, at 8:35 AM, Frederico Garcia wrote: Does anyone know how to make flash render fonts the same way for screen display and printing? I've tried embedding fonts, changing the settings for flashType and fontAntiAliasType but I just can't get fonts to display the same way. This

[flexcoders] i18n - Adavnced Internationalization in Flex Builder 3 - words order in a phrase

2008-01-09 Thread mydarkspoon
Hi, I'm in a progress of starting to I18n-ize a medium scale flex application. I'm reading the i18l tutorial as well as the ResourceManager flex 3 docs. I find the ResourceManager class really useful, much more than I expected it to be, yet, I can't find any premade solution to a very common

[flexcoders] what about xml?

2008-01-09 Thread Gustavo Duenas
Hi I was wondering since flex2 interacts mostly with xml, how can I set up a database in xml, instead of writing those all in simple text, there is a way to do the same we do with coldfusion, php, asp and javascript when we do submit data into a sql database. Actually I know how to do this

Re: [flexcoders] Font rendering for print

2008-01-09 Thread Frederico Garcia
Jon Bradley escreveu: On Jan 9, 2008, at 8:35 AM, Frederico Garcia wrote: Does anyone know how to make flash render fonts the same way for screen display and printing? I've tried embedding fonts, changing the settings for flashType and fontAntiAliasType but I just can't get fonts to

Re: [flexcoders] what about xml?

2008-01-09 Thread Derrick Anderson
sure, i would get a little familiar with e4x so you can manipulate xml files in the client http://life.neophi.com/danielr/2006/04/flex_2_beta_2_actionscript_3_a.html then just save the xml file back to the server with remoteObject or httpRequest or whatever your method of communication is. d.

Re: [flexcoders] what about xml?

2008-01-09 Thread Gustavo Duenas
I'm just asking because when it comes I'd love to know how to set up the database xml, on the server would be great, actually my knowledge of xml is not much, so this would be a very handy information when it comes to set up a proposal for clients. And Positively i'd rather have the

[flexcoders] Yahoo Maps

2008-01-09 Thread Chip Moeser
Hello, Does anyone have a copy of the 'com.yahoo.maps' package they can email me off list? I am trying to update the current 'as2map.swf' and the only code I can find is the new 'com.yahoo.webapis.maps' package which is severely lacking. Best, -Chip chip.moeser at gmail

[flexcoders] Set menuBar dataProvider per AS

2008-01-09 Thread m.frigge
Hi, I had a working MenuBar until I had to change my application structure. Now I can't bind the dataProvider anymore in the menuBar's mxml tag. So I tried something like this... [Bindable] private var menuBarCollection:XMLListCollection; private function setUpMenuBar(event:Event):void{

[flexcoders] Re: why are these KeyboardEvent handlers not being called?

2008-01-09 Thread Brian
Thanks for your response Alex. I added the key listeners to the stage, after having an issue with a null stage reference when trying to get the stage off the Canvas during creationComplete. I changed it to applicationComplete and it worked. I still have to click on the App to get focus there.

[flexcoders] Re: SVG and CSS Styles

2008-01-09 Thread scalenine
Check out degrafa.com . You can use SVG path data via MXML or API and manipulate the artwork at runtime as needed. Hope that helps. --- In flexcoders@yahoogroups.com, mthomas1969 [EMAIL PROTECTED] wrote: I've embedded some SVG files and loaded them into mx:Image tags, but I can't seem to

[flexcoders] TextInput editable property doesn't work,why?

2008-01-09 Thread markflex2007
Hi, I have the following code and I want to set the textInpt can not edited,But I do not know why the following code do not work. Please help me.Thanks Mark 1 mx:Canvas xmlns:mx=http://www.adobe.com/2006/mxml; width=880 height=1300 creationComplete=init() 2 private function

[flexcoders] Convert an object to XML

2008-01-09 Thread markgoldin_2000
Can I convert an object into an XML collection?. I want to have each object's property as an XML element with a value of that property. Thanks for help

[flexcoders] How do I use the itemrenderer for Datagrid column

2008-01-09 Thread jovialrandor
I have the following code that turns Datagrid cell to red if the value is not 'Y' for 'L0' attribute of the arraycollection object. However, when I run the program, it does not take effect. --- package { import mx.controls.Label; import

[flexcoders] Where are the propellerheads? (was:Custom Currency itemRenderer)

2008-01-09 Thread carl_steinhilber
Really? Nobody has any input? I'm really at a loss of what to think about posting in this group. The people and information here are a wonderful resource, but I've posted 5 or 6 questions here and every single one of them initially received no replies. They didn't get any feedback at all until I

[flexcoders] Re: Darken a hexadecimal color

2008-01-09 Thread jer_ela
Flex has a couple of built in methods to do that. The ColorUtil class has 2 methods adjustBrightness and adjustBrightness2 newColor = ColorUtil.adjustBrightness2(0xffddaa, -25) will reduce the brightness of the r g and b values by 25% each. --- In flexcoders@yahoogroups.com, Webdevotion [EMAIL

[flexcoders] Flex 3 AdvancedDataGrid sources

2008-01-09 Thread xhanin
Hi, I've read that Flex 3 will be open sourced, but are the sources available yet? I'm specifically looking for the sources for AdvancedDataGrid, and haven't find them so far. Am I missing the obvious? Thanks, Xavier

[flexcoders] States and Transitions

2008-01-09 Thread Greg Hess
Hi All, New to flex, please bear with me. I have a requirement to design an applications navigation similar to an 'iPhone' or 'iPod'. The application loads displays a small panel with several icons (Photos, Music, Video ect...). The EU clicks an icon and the application transitions to a

Re: [flexcoders] Where are the propellerheads? (was:Custom Currency itemRenderer)

2008-01-09 Thread Paul Andrews
- Original Message - From: carl_steinhilber [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Wednesday, January 09, 2008 6:25 PM Subject: [flexcoders] Where are the propellerheads? (was:Custom Currency itemRenderer) Really? Nobody has any input? It seems not. I'm really at a

RE: [flexcoders] Where are the propellerheads? (was:Custom Currency itemRenderer)

2008-01-09 Thread Clinton D. Judy
Hahahahaha! Now that that's out my system, yes, I tend to have similar experiences with you in this group. I think there's just a HUGE number of people here who are novices and don't know very much about Flex that ask questions, and very few experts that can answer 90% or more of people's

[flexcoders] Re: Logging

2008-01-09 Thread carl_steinhilber
So if I'm understanding you, you're trying to get the name of function A.a() from within function B.b(), yes? You didn't mention what version of Flex you're using. AS2 had a property of the arguments object arguments.caller that would contain a reference to the function that called the current

Re: [flexcoders] which Flex componet is similar to HTML table?

2008-01-09 Thread Sheriff
You mean a DataGrid - Original Message From: markflex2007 [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Wednesday, January 9, 2008 12:06:22 PM Subject: [flexcoders] which Flex componet is similar to HTML table? Hi, I need design table with line to seperate cells,please let

Re: [flexcoders] States and Transitions

2008-01-09 Thread Derrick Anderson
could be, personally i like to use viewstacks- i find them easier to manage. d. On Jan 9, 2008 11:49 AM, Greg Hess [EMAIL PROTECTED] wrote: Hi All, New to flex, please bear with me. I have a requirement to design an applications navigation similar to an 'iPhone' or 'iPod'. The

[flexcoders] Flash Player crashing safari.

2008-01-09 Thread aaron smith
Hey All, I'm seeing safari crash with my flash application.. I'm running mac tiger, safari 2.0.4, and player 9.0.115. I've tested with 9.0.28,45,45D,47,47D,60 and they all work fine.. Would there be some piece of AS that when running in 115 causes the crash? Initially I can load the

Re: [flexcoders] TextInput editable property doesn't work,why?

2008-01-09 Thread Alger Werft
TextInput.editable expects a Boolean value not a String. local_amount.editable = false; prof_amount.editable = false; Alger markflex2007 wrote: Hi, I have the following code and I want to set the textInpt can not edited,But I do not know why the following code do not work. Please

RE: [flexcoders] FileReferenceList for Downloads?

2008-01-09 Thread Dimitrios Gianninas
dont think this is possible, you would have to FileReference for every file you want to download. Annoying yes, but the upload/download with the Flash is not the best. Unless I am totally wrong and someone corrects me. Dimitrios Gianninas RIA Developer and Team Lead Optimal Payments Inc.

Re: [flexcoders] crossdomain not working with HTTP Request Error

2008-01-09 Thread Dominique Bessette - Halsema
i tried creating a war file with the context-root = / it's located at http://[host]:[port]/crossdomain and i tried using the loadPolicyFile command where i tried loading it from http://[host]:[port]/crossdomain and http://[host]:[port]/fcs-service/crossdomain.xml and it's still not working.

Re: [flexcoders] Convert an object to XML

2008-01-09 Thread Alger Werft
http://tdotblog.info/?q=node/11 Alger markgoldin_2000 wrote: Can I convert an object into an XML collection?. I want to have each object's property as an XML element with a value of that property. Thanks for help

Re: [flexcoders] States and Transitions

2008-01-09 Thread Alger Werft
If you want to navigate from one view to a completely different one, I agree with Derrick, a ViewStack is easier to use. If you want to change parts of a view, use states. Alger Derrick Anderson wrote: could be, personally i like to use viewstacks- i find them easier to manage. d.

[flexcoders] Re: Amazon S3 awss3lib Flex Library error 2038

2008-01-09 Thread Tom Sobut
You can find the Salsa project on Google Code. http://code.google.com/p/s3e/source Tom --- In flexcoders@yahoogroups.com, Daniel Tse [EMAIL PROTECTED] wrote: Hi All, Has anyone had any problems using the AWSS3 Library with the latest version of FlexBuilder 3 (M4 beta 3)? I noticed that

Re: [flexcoders] Where are the propellerheads? (was:Custom Currency itemRenderer)

2008-01-09 Thread Muzak
Really? Nobody has any input? Start here: http://blogs.adobe.com/aharui/2007/03/thinking_about_item_renderers_1.html - Original Message - From: carl_steinhilber [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Wednesday, January 09, 2008 7:25 PM Subject: [flexcoders] Where are

[flexcoders] Re: Where are the propellerheads? (was:Custom Currency itemRenderer)

2008-01-09 Thread carl_steinhilber
--- In flexcoders@yahoogroups.com, Paul Andrews [EMAIL PROTECTED] wrote: Thanks, Paul, for your response. I agree with your insight. The last thing to remember is that nobody is obligated to respond to any query, so the simpler the query the more likely it is that you'll get a reply.

Re: [flexcoders] i18n - Adavnced Internationalization in Flex Builder 3 - words order in a phrase

2008-01-09 Thread Alger Werft
The methode getString in ResourceManager has a third optional Parameter. If a parameters Array is passed to this method, the parameters in it are converted to Strings and then substituted, in order, for the placeholders {0}, {1}, and so on, in the String before it is returned. in your

[flexcoders] Re: Where are the propellerheads? (was:Custom Currency itemRenderer)

2008-01-09 Thread carl_steinhilber
--- In flexcoders@yahoogroups.com, Muzak [EMAIL PROTECTED] wrote: Really? Nobody has any input? Start here: http://blogs.adobe.com/aharui/2007/03/thinking_about_item_renderers_1.html Now why didn't that come up when I was Googling! :-D Thank you, Musak... that appears to be exactly

[flexcoders] Re: Where are the propellerheads? (was:Custom Currency itemRenderer)

2008-01-09 Thread carl_steinhilber
--- In flexcoders@yahoogroups.com, Clinton D. Judy [EMAIL PROTECTED] wrote: Hahahahaha! Now that that's out my system, yes, I tend to have similar experiences with you in this group. LOL! I think there's just a HUGE number of people here who are novices and don't know very much about

Re: [flexcoders] Exit

2008-01-09 Thread Alger Werft
You are trying to access the JavaScript object 'window', but you are in the ActionScript world, and there the window you are looking for does not exist. Write a _global_ JavaScript function that calls window.close(). And from AS call that Function. JS function closeWindow() {

Re: [flexcoders] which Flex componet is similar to HTML table?

2008-01-09 Thread Mark Shen
I hear the name DataGrid and I never use it.Do you think if it can build a table with line? Thanks - Original Message From: Sheriff [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Wednesday, January 9, 2008 1:41:28 PM Subject: Re: [flexcoders] which Flex componet is similar to

[flexcoders] Resetting data

2008-01-09 Thread markcavins
Hello, I am trying to reset the data when a user clicks on a button but have made no headway on getting this done at first I create the initial view mx:XML id=tempXML source=https://mysite.net/interface.php?action=showopenamp;operation=showassetsamp;format=xmlamp;opstatus=defect; /

[flexcoders] Re: How do I use the itemrenderer for Datagrid column

2008-01-09 Thread carl_steinhilber
Have you tried using the string constants AS already has for colors? Not sure if it'll solve anything, but might work better: setStyle(color, (data.L0 != 'Y') ? Red : Black); And are you tracing data.L0 to make sure it is what you think it is? Other than that, I've always used

RE: [flexcoders] The 'right' way to do custom styles

2008-01-09 Thread Gordon Smith
a change boolean flag These are generally not necessary to implement styles. Where do you see them in the framework components? a default in the static classConstruct() With Flex 3, a SWC can contain a CSS file which you can use to define type selectors for your components, so you don't have

[flexcoders] Strange Page Titles with HistoryMangement

2008-01-09 Thread byte.sensei
Ever since I enabled HistoryManagement on a Flex app the HTML Page Titles have been messed up. Instead of my normal page titles, the page title becomes something like #app=e75-action=... I thought that putting a hard-coded Page title into my index.template.html would fix the problem (and

Re: [flexcoders] Flex 3 AdvancedDataGrid sources

2008-01-09 Thread Doug McCune
A valid flex builder 3 license will unlock the ADG sources. But the classes in the Data Visualization package (ADG, charting, OLAP, etc) are not going to be open-sourced like the rest of the Flex SDK. So once the Flex SDK is open sourced that still won't include the Advanced Data Grid. Doug On

[flexcoders] Interface help

2008-01-09 Thread Nathan Arizona
I have an interface like the following. package myCom.controller { import flash.events.Event; public interface ICommand { function execute(event:Event):void } } I have a pseudo abstract class that implements ICommand package

[flexcoders] How to properly pass an error from Java to Flex client

2008-01-09 Thread Collin Peters
We have an FDS Java backend (haven't upgrade to LCDS or Blaze yet) and I am wondering how to properly throw exceptions from Java to the client. So if the backend encounters any exception (RuntimeException, NullPointerException, etc...) the fault method of my responder gets called and passes in a

Re: [flexcoders] Resetting data

2008-01-09 Thread Alger Werft
Use mx:HttpService id=httpService/ to load the XML. Take a look at http://livedocs.adobe.com/flex/2/langref/mx/rpc/http/mxml/HTTPService.html#includeExamplesSummary When clicking the button, call httpService.send() again. Alger markcavins wrote: Hello, I am trying to reset the data

[flexcoders] Polymorphism help

2008-01-09 Thread Nathan Arizona
I am passing in a custom event that extends Event into a class that implements an interface. I get an incorrect signature and I am wondering why? Why do I not get the benefit of polymorphism? I have an interface as follows: package myCom.controller { import flash.events.Event;

RE: [flexcoders] Polymorphism help

2008-01-09 Thread Brian Holmes
Change your implementation method to something like. public override function execute(event:Event):void { if( event is LoginEvent ) { var loginEvent : LoginEvent = event as LoginEvent;

[flexcoders] Re: DataGridColumn width shrinks when visibility is toggled

2008-01-09 Thread dfalling
I'm storing columns in two separate arrays.. visibleColumns and hiddenColumns. When a column's visibility is toggled, I remove it from the other array, and add it to the new one. I then set my grid.columns to be equal to visibleColumns. Awkwardly, column width is stored in a column object and

[flexcoders] Re: DataGridColumn width shrinks when visibility is toggled

2008-01-09 Thread dfalling
I've tried setting them all to not resize, then individually resizing each one, but there's always a fluke with the last two columns vying for each other's space. --- In flexcoders@yahoogroups.com, Alex Harui [EMAIL PROTECTED] wrote: There might be a workaround, I just haven't tried to figure

RE: [flexcoders] which Flex componet is similar to HTML table?

2008-01-09 Thread Deepa Subramaniam
Check out the Grid layout container, or using ConstraintColumn/ConstraintRow objects to create a table-like layout in any of the absolute positioning layout containers (Canvas, Panel, Application, etc). -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On

RE: [flexcoders] Set menuBar dataProvider per AS

2008-01-09 Thread Deepa Subramaniam
Try calling your setUpMenuBar() method on the MenuBar's creationComplete event and add menuBarRef.validateNow() after setting the dataProvider property. validateNow() forces the menuBar to do an invalidation pass, which calls the MenuBar's commitProperties method which is necessary to get the data

[flexcoders] Image Component Rendering issues

2008-01-09 Thread ben gomez farrell
Hello, I'm going to have to fix this bug in my project sooner or later, so I might as well do it sooner. There are two situations in which I see this bug: 1. I have some image components I can drag around inside a canvas tag 2. I have some image components that are displayed in a scrolling

Re: [flexcoders] Polymorphism help

2008-01-09 Thread Alger Werft
When overriding a method, the signature must be the same. That includes the exact parameter types. Alger Nathan Arizona schrieb: I am passing in a custom event that extends Event into a class that implements an interface. I get an incorrect signature and I am wondering why? Why do I not get

[flexcoders] Re: Resetting data

2008-01-09 Thread markcavins
Thanks for the response. I took a look at the docs and some other sites and made some of the changes mx:HTTPService id=tempXML url=https://mysite.net/interface.php?action=showopenamp;operation=showassetsamp;format=xmlamp;opstatus=defectamp;rand=12345645647; /mx:HTTPService

[flexcoders] HTTPService, POST, and QueryString

2008-01-09 Thread markgoldin_2000
My server side of application uses QueryString to extract parameters being sent from the client to query data and send it back. To save data I would want to use POST but I also need to send some parameters to the server as well. I want to use same server logic to process parameters in both

[flexcoders] Re: Repeater problem

2008-01-09 Thread rmarples
Yeah I just wanted to ensure that it had nothing to do with the structure of the repeater and surrounding components itself. Which it doesn't. But thinking about this a bit more, I think I know what's going on. If you have a property of an object that's bindable, that means that whenever

[flexcoders] Re: Polymorphism help

2008-01-09 Thread Nathan Arizona
I have already answered my own question. Polymorphism does not work in that direction. All I need to do is pass in the event as type Event, that is where polymorphism works. It treats my custom event as an Event. Then I can cast the Event to a LoginEvent and use the features of my custom

[flexcoders] Re: Polymorphism help

2008-01-09 Thread Nathan Arizona
Thank you Brian. I was not thinking properly. Polymorphism was working. That is why I can pass in an event type of LoginEvent. All I have to do is cast it to LoginEvent. ie LoginEvent(event). --- In flexcoders@yahoogroups.com, Brian Holmes [EMAIL PROTECTED] wrote: Change your

Re: [flexcoders] Logging

2008-01-09 Thread Anatole Tartakovsky
You can try throwing Error and catching/parsing stacktrace - depending on compilation settings (debug) you should get method, class and line info Regards Anatole On 1/9/08, learner [EMAIL PROTECTED] wrote: Hi all, Is there any way in which I get the caller function name. As in : class

[flexcoders] Modified version of Myriad Web Pro

2008-01-09 Thread Bjorn Schultheiss
Its seems the when you use 'Myriad Pro' in a Flex app it appears 'raised' in all your components. Its actually due the the glyph positioning in the font face. Its seems that the FlexSDK has supplied a version of 'Myriad web pro' where the glyph position was closer to that of Verdana and looks

RE: [flexcoders] States and Transitions

2008-01-09 Thread Greg Hess
Thanks Guys, Makes sense and works like a charm J. Cheers, Greg From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Alger Werft Sent: Wednesday, January 09, 2008 2:42 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] States and Transitions If you want to

[flexcoders] Re: Logging

2008-01-09 Thread Nathan Arizona
In flex2 perhaps you can use describeType found in flash.utils. --- In flexcoders@yahoogroups.com, learner [EMAIL PROTECTED] wrote: Hi all, Is there any way in which I get the caller function name. As in : class Aclass{ instanceB:Bclass; function a(){ instanceB.b(this)

[flexcoders] iPhone's flip effect in flex

2008-01-09 Thread phil swenson
The iPhone has a really cool flip effect in the iPod application... has anyone seen anything like this for Flex? I found this one: http://www.alex-uhlmann.de/flash/adobe/blog/distortionEffects/effectCube/ it's nice but still not nearly as smooth as the iphone's flip any other ones floating

  1   2   >