[flexcoders] History Management in AIR Application

2008-11-27 Thread linko27
Hi! Can I use the HistoryManager within an air application? The History management lets users navigate through a Flex application using the web browser's Back and Forward navigation commands. I'd like to navigate through my air application using an back button - can I use the History management

Re: [flexcoders] SWC file confusion

2008-11-27 Thread bjorn
1. Everytime you add a file in your swc project, Flex Builder requires you to right click the swc project and select all files to be included over again 2. Make sure your project actually links to the .swc that is being built (so, delete the swc you're currently linking to and do a rebuild) Bjørn

Re: [flexcoders] History Management in AIR Application

2008-11-27 Thread Fotis Chatzinikos
As far as i know history managment is used in combination with the browser and was writen to fix the browser's back/next problems in a RIA application. In AIR you do not have this problem... If you want to implement back and forward similar to a browser you need to implement it your self... On

[flexcoders] require flash 10 for flex app?

2008-11-27 Thread Paul Hastings
is it enough to set the require flash player version under flex compiler to 10.0.0 to force clients to use flash 10 or is more needed? thanks.

Re: [flexcoders] Re: TileList scrolling broken

2008-11-27 Thread Fotis Chatzinikos
Did it fix your wrapping situation? I use columnCount=1 On Wed, Nov 26, 2008 at 11:37 PM, Amy [EMAIL PROTECTED] wrote: --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, Fotis Chatzinikos [EMAIL PROTECTED] wrote: Amy, the following correctly shows 1 column in my app:

Re: [flexcoders] TileList

2008-11-27 Thread Eduardo Souza
thanks Tracy :) 2008/11/25 Tracy Spratt [EMAIL PROTECTED] Override the dragEnter, dragDrop and perhaps dragOver event handlers. See the docs for details and examples. Tracy -- *From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On Behalf Of

[flexcoders] Re: Custom itemrenderer in datagrid

2008-11-27 Thread Troy A. Binford
Come on people. It is as simple as this - Seeing that the original question is quite old. I help this helps out anyone with a similar problem. this.data[(this.listData as DataGridListData).dataField]; Problem solved. --- In flexcoders@yahoogroups.com, B.Brey [EMAIL PROTECTED] wrote: I've

[flexcoders] Re:require flash 10 for flex app?

2008-11-27 Thread Karol Podkowski
Enough :)

[flexcoders] How to prevent an enabled ComboBox from openeng?

2008-11-27 Thread florian.salihovic
See subject... I tried rowCount = 0; event.preventDefault... nothing... Any ideas? Best regards!

Re: [flexcoders] **View States Problem**

2008-11-27 Thread Sefi Ninio
Continuing Chet's line of thinking - You might want to create a state hierarchy so that state1 is based in the base state, and state2 is based on state1, and in each one refine the view elements per your requirements. HTH, Sefi On Thu, Nov 27, 2008 at 2:56 AM, Chet Haase [EMAIL PROTECTED] wrote:

Re: [flexcoders] **View States Problem**

2008-11-27 Thread Paul Andrews
I think it's just a case of the OPs terminology - he expects to see components from the base state plus state2 when he switches to state3. I don't think he means being in three states at the same time.. - Original Message - From: Chet Haase To: flexcoders@yahoogroups.com Sent:

[flexcoders] How to set parentComponent.visible = false childComponent.visible = true?

2008-11-27 Thread nathanleewei
parentParentContainer +parentContainer | +childComponent I mean how to maximize a childComponent to parentParentContainer scope?

Re: [flexcoders] Changing the TextInput themeColor on Change event

2008-11-27 Thread Haykel BEN JEMIA
You could use the errorString property of UIComponent. When set to a non empty string, flex draws a red border (I think the color is also configurable) around the component and shows the string in a tooltip when the mouse is moved over it. You could use it like this: if(currentFormItemValid) {

[flexcoders] custom header renderer

2008-11-27 Thread markgoldin_2000
I am using a checkbox as a custom header renderer. Here is code that overrides checkbox's click: override protected function clickHandler(event:MouseEvent):void { super.clickHandler(event); setFocus(); if

[flexcoders] How to set style of buttons' border in ButtonBar?

2008-11-27 Thread nathanleewei
top/bottom border alphas top/bottom border borderThickness

Re: [flexcoders] BlazeDS - Best practice for determining if server session is invalid.

2008-11-27 Thread Fotis Chatzinikos
Seth, any ideas if there is a way to get the session id of the new session when the automatic re-login happens? Is there an event that is dispatched when this happens? At the moment i get the jsession id via an rpc call in order to use it in various places where it is needed, for example when

[flexcoders] Rotating text on button

2008-11-27 Thread supriya p
hi friends, Thanks so much for replying to my query.but i would like to have some examples regarding this... Recently I saw one Games website http://www.maharaja games.com/ newsite/index.html I saw the text on the button is rotating .Is it possible to do using flex.. Thanks

[flexcoders] Re: Changing the TextInput themeColor on Change event

2008-11-27 Thread what3v3r82
yes, but the tricky part is that I don't want to have the tooltips appear. I have my own custom tooltips that work in a different way.

[flexcoders] Window on First Run of Application

2008-11-27 Thread bobby_world
I want to create a Software Registration Window that pop up on the first time a user starts an Application in AIR. Is this possible and how would I go about doing this? Thanks Bobby

RE: [flexcoders] **View States Problem**

2008-11-27 Thread Chet Haase
States are mutually exclusive: a given component (such as the component that contains the states in your code below) can only be in one state at a time. States can be derived from each other, but that's essentially just a way to inherit property values from one state to the other; they are

[flexcoders] repeater problems and localization

2008-11-27 Thread fotis.chatzinikos
Hi, i am using a repeater to draw dynamic grid rows with labels and togglebutton bars. The following works initially, but when the localizedMessages object is updated and a binding event fires the repeater breaks with the following error: Error: Repeater is not executing. at

[flexcoders] Changing the TextInput themeColor on Change event

2008-11-27 Thread what3v3r82
Hi, I want to change the themeColor of a TextInput, so each time a user types something the change event handler will validade the form and change the color of the theme according to the validation result. To sum it up I have something like this in my textinput change handler function:

[flexcoders] shortcut keys in a actionscript3 - datagrid

2008-11-27 Thread kalle.blorin
Hi, I need to use shortcut keys in my Flex application. I use AltGr key combinations (Scandinavian keyboard; AltGr = Alt + Ctrl) to show and hide panels. I also have an editable DataGrid. The problem is that when I am editing a cell in the DataGrid and press e.g. AltGr+2, that gives me the '@'

[flexcoders] How to embed icons in MenuBar?

2008-11-27 Thread nathanleewei
[Embed(source=/assets/document.png)] private static const document_icon:Class; mx:MenuBar id=menuBar width=100% labelField=@label iconField=@icon styleName=menuBar itemClick=onMenuBar(event) mx:XMLList menuitem label=File menuitem

[flexcoders] Re: Datagrid pagination w/ httpService

2008-11-27 Thread iloveyouwisconsin
Thanks. I tried that way. Maybe I'm just being thickheaded but how do I leap from an arraycollection to the PagableArrayCollection required in the code? It's probably very specific to the code, which I've posted here: http://24.215.177.223/PagableArrayCollection.txt --- In

Re: [flexcoders] **View States Problem**

2008-11-27 Thread Paul Andrews
- Original Message - From: malik_robinson [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Thursday, November 27, 2008 12:46 AM Subject: [flexcoders] **View States Problem** Hi, I am using Flex 3 I am trying to use view states in my Flex application. My code seems to work

[flexcoders] Button label and keyboard shortcuts

2008-11-27 Thread Sefi Ninio
Hey, I have set up a keyboard shortcut to call the onButtonClick handler. Now, I'd like the button label to hint that the shortcut is present. For example, say the button label is 'Open' and the keyboard shortcut is Ctrl-O, I'd like the button label to be *O*pen, with underline only under the O.

RE: [flexcoders] Window on First Run of Application

2008-11-27 Thread Jim Hayes
Not the only way to do it, but I just write a file in the app storage directory : private function isFirstRun():Boolean { var firstRun:Boolean = false; var firstRunFile:File =

Re: [flexcoders] repeater problems and localization

2008-11-27 Thread Fotis Chatzinikos
Made it working by removing the reference to localizedMessages and inserting the localized messages inside the dataprovider for the repeater... Is that the proper way to do it? On Thu, Nov 27, 2008 at 3:16 PM, fotis.chatzinikos [EMAIL PROTECTED] wrote: Hi, i am using a repeater to draw

Re: [flexcoders] CPU Usage: to create or not to create and render?

2008-11-27 Thread gabriel
Behalf Of flexaustin [...] is it better to delete all references to them and completely remove them or leave them and just set enabled=false and visible=false and/or any other settings? Check out this recent article by Moock, The Official visible vs alpha vs removeChild() Showdown',

RE: [flexcoders] repeater problems and localization

2008-11-27 Thread Tracy Spratt
currentItem only exists while the repeater is creating its elements and not when the binding fires. Your solution is fine if it works for you. There are other options. Always with repeater, for anything other than a very simple, non-interactive component, I advise creating a custom component

RE: [flexcoders] How to set style of buttons' border in ButtonBar?

2008-11-27 Thread Tracy Spratt
The first stop for all style questions is here: http://examples.adobe.com/flex3/consulting/styleexplorer/Flex3StyleExplo rer.html# http://examples.adobe.com/flex3/consulting/styleexplorer/Flex3StyleExpl orer.html Tracy From: flexcoders@yahoogroups.com

Re: [flexcoders] Re: framework issues

2008-11-27 Thread gabriel
On Wed, Nov 26, 2008 at 3:11 PM, Darrell Loverin [EMAIL PROTECTED] wrote: [...] In the generated folder look for a file named _{your app name}_mx_managers_SystemManager-generated.as. Inside of this file find the info() method. [...] wow. this is a great tip. -- gabriel montagné láscaris

[flexcoders] Re: How to prevent an enabled ComboBox from openeng?

2008-11-27 Thread florian.salihovic
mouseChildren = false; --- In flexcoders@yahoogroups.com, florian.salihovic [EMAIL PROTECTED] wrote: See subject... I tried rowCount = 0; event.preventDefault... nothing... Any ideas? Best regards!

RE: [flexcoders] Re: Datagrid pagination w/ httpService

2008-11-27 Thread Tracy Spratt
I am not familiar with that component, but I would expect that all you need to do is loop over your xml result data and use myPagableArrayCollection.addItem({name:value,...}) to fill the pagable collection. Tracy From: flexcoders@yahoogroups.com

[flexcoders] Re: Crash of safari, firefox using XML.setChildren for XML in a XMLListCollection

2008-11-27 Thread shauncutts
Thanks... I'll file one. But... why is it failing? In my mind, this should delete the node b/ from a b/ /a. Of course, I haven't notified the Collection that I've modified the XML yet, and XML doesn't send notifications, so I'd have to put that in manually to get the display to change But

RE: [flexcoders] Re: Crash of safari, firefox using XML.setChildren for XML in a XMLListCollection

2008-11-27 Thread Tracy Spratt
First, if you are using a tree, why have you chosen XMLListCollection instead of XML. For hierarchical data, XML is easier to work with than nested collections. Next, you say, XML doesn't send notifications. Why do you say that? And exactly what do you mean? XML is bindable. If you are

[flexcoders] Re: CPU Usage: to create or not to create and render?

2008-11-27 Thread flexaustin
Thanks, Alex and Gabriel! --- In flexcoders@yahoogroups.com, gabriel [EMAIL PROTECTED] wrote: Behalf Of flexaustin [...] is it better to delete all references to them and completely remove them or leave them and just set enabled=false and visible=false and/or any other settings? Check

RE: [flexcoders] Re: Crash of safari, firefox using XML.setChildren for XML in a XMLListCollection

2008-11-27 Thread Tracy Spratt
I seem to recall trying to use setChildren to delete all of the child nodes of a node, but never made it work. Now, when I need to do that I loop over the children. /** */ private function deleteChildren(xmlNode:XML):void { var xlChildren:XMLList = xmlNode.children(); for

[flexcoders] How do I connect to a live h.264 stream?

2008-11-27 Thread stephendricketts
I'm streaming with the Flash Media Encoder and want to test the h.264 stream but I don't know how to set up the player or URL. I've tried rtmp://myserver/app/livestream (which works with regular encoding). Thanks, sr

[flexcoders] how to add image inside rich texteditor?

2008-11-27 Thread Armen Abrahamyan
Can smbdy help me with example of adding image inside rich texteditor? i wanna add image in the selection begin index position, but without breaking existing thml format. thx! - http://abrahamyan.com armflash (at) yahoo.com

[flexcoders] Re: Button label and keyboard shortcuts

2008-11-27 Thread Tim Hoff
Hi Sefi, Here's a way that you can do that by extending Button: // AS --- package controls { import mx.controls.Button; public class HTMLButton extends Button { public function HTMLButton() { super(); }

[flexcoders] Re: Button label and keyboard shortcuts

2008-11-27 Thread Tim Hoff
One caveat: since Button will measure the additional html characters, you might want to set the button's width explicitly. -TH --- In flexcoders@yahoogroups.com, Tim Hoff [EMAIL PROTECTED] wrote: Hi Sefi, Here's a way that you can do that by extending Button: // AS

[flexcoders] Sourceforge vs. Google Code

2008-11-27 Thread creativepragmatic
Hello Everyone, I want to contribute a Flex/Actionscript component library to the open source community but am not sure whether to use Sourceforge or Google Code. Any insights would be appreciated. Orville

[flexcoders] Identifying AIR application instance

2008-11-27 Thread ilya_persky
Hi! If anybody knows how to handle such kind of issue?.. I'm developing an AIR application, which will be installed from website. By some buisness reasons (related to licensing model), the customer wants to keep track on all copies of app installed. That is every time after launch the app

RE: [flexcoders] Identifying AIR application instance

2008-11-27 Thread Claudio M. E. Bastos Iorio
Don't know about any installation ID on AIR. But, maybe you could assign a unique value on server side during install (a GUID exposed in a webservice?), store the value in a encrypted database locally, and use that value every time you run the app.. ___

Re: [flexcoders] Re: Changing the TextInput themeColor on Change event

2008-11-27 Thread Fotis Chatzinikos
Hi, did you try errorColor? Have not used it but its there... As for the tooltip you can try errorString (a space character) On Thu, Nov 27, 2008 at 3:44 PM, what3v3r82 [EMAIL PROTECTED]wrote: yes, but the tricky part is that I don't want to have the tooltips appear. I have my own custom

Re: [flexcoders] Re: Button label and keyboard shortcuts

2008-11-27 Thread Sefi Ninio
Hi Tim, Thanks for your reply. Unfortunately, it doesn't work... :( The button displays uO/upen... in plain text... On Thu, Nov 27, 2008 at 8:48 PM, Tim Hoff [EMAIL PROTECTED] wrote: One caveat: since Button will measure the additional html characters, you might want to set the button's

Re: [flexcoders] Re: Changing the TextInput themeColor on Change event

2008-11-27 Thread Fotis Chatzinikos
A possibly better solution via a glow filter: mx:TextInput text=test mx:filters mx:GlowFilter blurX='6' blurY='6' alpha='1' color='#ff' knockout='false' quality='1'

Re: [flexcoders] Sourceforge vs. Google Code

2008-11-27 Thread Josh McDonald
I use Google Code for mine, it's just simpler and easier to use, and feels more streamlined. But I imagine it's just a matter of personal taste, really :) On Fri, Nov 28, 2008 at 5:45 AM, creativepragmatic [EMAIL PROTECTED] wrote: Hello Everyone, I want to contribute a Flex/Actionscript

Re: [flexcoders] Identifying AIR application instance

2008-11-27 Thread Fotis Chatzinikos
Do they have to login to either get or use the application? If yes, you can associate a unique key with every login and pass this from the app to the server On Thu, Nov 27, 2008 at 10:37 PM, ilya_persky [EMAIL PROTECTED] wrote: Hi! If anybody knows how to handle such kind of issue?.. I'm

[flexcoders] Found a filter explorer online (flex 2) maybe usefull to some people here...

2008-11-27 Thread fotis.chatzinikos
Online filter explorer (v2 not 3) http://www.merhl.com/flex2_samples/filterExplorer/

[flexcoders] Re: AIR SQLLite, ints, and NULLs

2008-11-27 Thread Amy
--- In flexcoders@yahoogroups.com, Charlie Hubbard [EMAIL PROTECTED] wrote: Ok thanks Johannes. Very good point. Number's can't really be NULL either. However, it just so happens that NaN is interpreted as NULL to the datatype conversion layer in AIR and it just happens to work out.

[flexcoders] Re: Get parent object in an array collection

2008-11-27 Thread Amy
--- In flexcoders@yahoogroups.com, timgerr [EMAIL PROTECTED] wrote: Hello all, I am using an array collection as a dataprovider for the Kap Lab (http://lab.kapit.fr/display/visualizer/Visualizer) which is like a spring graph. So when I click on an end node, I get the id of the node. If I

Re: [flexcoders] Identifying AIR application instance

2008-11-27 Thread Weyert de Boer
You could make a constant class and then re-compile and package a AIR file for each download of the application. Or you can the easy way and generate a unique identifier and store it somewhere like encrypted store when the application is first launched. After you can always pass along the

[flexcoders] Re: Sourceforge vs. Google Code

2008-11-27 Thread creativepragmatic
Thanks Josh. Since it's a small component library, I have chosen Google Code. Now all I have to do is decide between Eclipse and Mozilla for licensing... --- In flexcoders@yahoogroups.com, Josh McDonald [EMAIL PROTECTED] wrote: I use Google Code for mine, it's just simpler and easier to

[flexcoders] httpservice to api

2008-11-27 Thread spinglittery
I am a relative newbie in the Flex and development world, trying to extend my design skills. So please forgive any foolish errors. Presently I am attempting to communicate with the photoshelter api via httpservice, and need help. I can successfully log-in and get authorisation - but cannot

Re: [flexcoders] Re: Sourceforge vs. Google Code

2008-11-27 Thread Nate Beck
Be sure to send a link once you get it all setup :D On Thu, Nov 27, 2008 at 6:18 PM, creativepragmatic [EMAIL PROTECTED] wrote: Thanks Josh. Since it's a small component library, I have chosen Google Code. Now all I have to do is decide between Eclipse and Mozilla for licensing... ---

Re: [flexcoders] Identifying AIR application instance

2008-11-27 Thread gabriel montagné
On Thu, Nov 27, 2008 at 6:53 PM, Weyert de Boer [EMAIL PROTECTED] wrote: You could make a constant class and then re-compile and package a AIR file for each download of the application. [...] In the same spirit you could, perhaps, bake the ID as one of the compiler arguments of your AIR swf,

Re: [flexcoders] Re: Sourceforge vs. Google Code

2008-11-27 Thread Josh McDonald
That's what I was going to say. :) Personally I go with new BSD for licensing, it's the oldest clone, contribute, or close license, and they're the only kind of OSS I'm interested in. I won't elaborate for fear of kicking of a flame war however ;-) -Josh On Fri, Nov 28, 2008 at 1:06 PM, Nate

Re: [flexcoders] httpservice to api

2008-11-27 Thread Rob Kunkle
Can you post a copy of the XML that you are actually receiving from the service? if you put trace(XML(evt.result).toXMLString()); in your httpService_result function, you should get a look at the XML that is being sent to your application from the web service. At a glance here, my guess

[flexcoders] Re: How to set style of buttons' border in ButtonBar?

2008-11-27 Thread nathanleewei
Of course I have browered Flex3StyleExplorer, and I didn't find the answer. --- In flexcoders@yahoogroups.com, Tracy Spratt [EMAIL PROTECTED] wrote: The first stop for all style questions is here: http://examples.adobe.com/flex3/consulting/styleexplorer/Flex3StyleExp lo rer.html#

Re: [flexcoders] Re: How to set style of buttons' border in ButtonBar?

2008-11-27 Thread Josh McDonald
AFAIK, None of the borderAlpha styles do anything with the Halo skins. -Josh On Fri, Nov 28, 2008 at 3:00 PM, nathanleewei [EMAIL PROTECTED]wrote: Of course I have browered Flex3StyleExplorer, and I didn't find the answer. --- In flexcoders@yahoogroups.com, Tracy Spratt [EMAIL PROTECTED]

[flexcoders] Looking for what this[iscalled]

2008-11-27 Thread Nate Pearson
What's it called when I call something by using a string? Like when I do this[someObject].height = 10 someObject is a string. Thanks! -Nate