[flexcoders] Preserving loaded applications styles

2008-02-04 Thread mydarkspoon
Hi, I've built a flex 3 application, called application A, that uses compiled css, in which I set Application type selector to set all text default color to white. Now I've got application B that uses type selector styles (Application, Label, etc). Application B loads application A and I want

Re: [flexcoders] Re: Flex running in Flash Lite 3 Developer edition

2008-02-04 Thread Tom Chiverton
On Friday 01 Feb 2008, tomeuchre wrote: I thought I heard somewhere that the FlashLite3 can be coerced into it by having flash compile against Flex swcs I was under the impression FlashLite was only ActionScript 2, so can't use Flex 2 components. -- Tom Chiverton Helping to competently

[flexcoders] Re: Datagrid Counting row and total value

2008-02-04 Thread simonjpalmer
I haven't seen a really simple way and it is not natively supported by the datagrid component. You may want to check out the advanced data grid, which I haven't used and I'm sure others can comment on. I ended up writing a custom component which has two data grids, one containing the data and

Re: [flexcoders] Re: creating a new Livecycle DS project

2008-02-04 Thread Tom Chiverton
On Sunday 03 Feb 2008, williamxtreme24 wrote: Obviusly Tom likes to do everything in one computer, but thats not always the best practice. We do this, because then if one of us mucks up, the other people can carry on developing. Obviously we have separate live/stage servers too, but we just

Re: [flexcoders] Re: Flex running in Flash Lite 3 Developer edition

2008-02-04 Thread Paul Andrews
- Original Message - From: Tom Chiverton [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Monday, February 04, 2008 9:49 AM Subject: Re: [flexcoders] Re: Flex running in Flash Lite 3 Developer edition On Friday 01 Feb 2008, tomeuchre wrote: I thought I heard somewhere that the

[flexcoders] AIR - including other files

2008-02-04 Thread Nils Millahn
Hi all, does anybody have information on how to include further files in an AIR package? I'd like to include a few image resources and a database file with the published AIR install but can't figure out how to tell the AIR compiler to do so. cheers - Nils.

[flexcoders] How to deep copy an ArrayCollection?

2008-02-04 Thread imjackson84
Hi, In my application I am using ArrayCollections to store data for series on a line chart. I need to be able to make a deep copy of these ArrayCollections so that I can make changes to the data in the copies without affecting the original data. I've searched for a while but I can't seem to find

[flexcoders] Re: creating a new Livecycle DS project

2008-02-04 Thread simonjpalmer
If you are using a J2EE server like JBoss rather than ColdFusion, then you need to supply a full file path so that the compiler can upload the flex-config.xml file and build in connections to your services at compile time. I understand that you may be sharing a server for deployment, but I think

[flexcoders] Re: How to deep copy an ArrayCollection?

2008-02-04 Thread Stephen Allison
In my application I am using ArrayCollections to store data for series on a line chart. I need to be able to make a deep copy of these ArrayCollections so that I can make changes to the data in the copies without affecting the original data. IIRC you can write the whole lot into a ByteArray,

Re: [flexcoders] Update External XML data in Flex

2008-02-04 Thread shrikant.patil
hi please refer below links.. hope those are useful for u.. Reading external XML documents http://livedocs.adobe.com/labs/flex3/html/13_Working_with_XML_11.html XML methods http://livedocs.adobe.com/labs/flex3/html/13_Working_with_XML_04.html The E4X approach to XML processing

Re: [flexcoders] Adding you tube's flv

2008-02-04 Thread shrikant.patil
hi refer below link, it may help u. http://code.google.com/p/as3youtubelib/ Guillermo Villasana Cardoza wrote: Is it possible to load into a flex app, an flv from you tube? if so is there an example or something I can see? Thanks Terius -- View this message in context:

Re: [flexcoders] Fail to apply UITextFormat to UITextField in custom Component

2008-02-04 Thread shrikant.patil
hi, i have tested u r file i got a orange backgrounded, vardana, bold text saying that : The quick brown Fox... i hope it is working fine... ndkamp wrote: I try to apply UITextFormat to an UITextField in a custom component but the new format won't show. what am i doing wrong?

Re: [flexcoders] Question regarding dynamic form

2008-02-04 Thread Tom Chiverton
On Monday 04 Feb 2008, hydcool02 wrote: For eg..if he select '2' then the form should fields twice.. Use the steppers value as the dataProvider of a Reapeater ? -- Tom Chiverton Helping to interactively market open-source IPOs on: http://thefalken.livejournal.com

RE: [flexcoders] PopUpButton not working in AIR Beta 3

2008-02-04 Thread Battershall, Jeff
I've been able to replicate this problem by loading a module that contains a Panel which has a PopUpButton inside it. If anyone is aware of this issue and has a workaround, please let me know. Jeff -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf

Re: [flexcoders] RemoteObject call...No Result Handler: performance question

2008-02-04 Thread Tom Sammons
Thanks, Seth. That's kind of what I figured and was hoping to hear, but it's nice to get a qualified response instead of guessing.I was looking at recording in a little more detail that I think is justifiable, considering that it would be a significant impact on the SQL Server as well as

[flexcoders] File Downloading using Servlet as a endpoint

2008-02-04 Thread n_phaneesh17010
Hi, I am trying to bring up a flex application which exports the DataGrid data into a csv file or a Microsoft excel file depending on user selection. I have a servlet as the endpoint which serves the content. I tried using FileReference and URL connection. But I get IOError. Please provide me an

RE: [flexcoders] How to get the reference of each element in a TileList ?

2008-02-04 Thread Battershall, Jeff
Yes, if the data passed to the renderer is bindable, you can create a custom renderer that will intelligently respond to changes. I've been having good luck with TileList and custom ItemRenderers. -Original Message- From: Alex Harui [mailto:[EMAIL PROTECTED]

[flexcoders] Creating a slider like msnbc

2008-02-04 Thread flex_dba
Hello, I am trying to create a slider like what is available from msnbc, I'm wondering if I can use a Horizontal Scrollbar but when I try to assign an array of images to it, I get back the image names and not the images themselves.

[flexcoders] Problem loading newly uploaded module (browser cached old version)

2008-02-04 Thread zvjerka24
Hello! I'm working on very big project using Flex (and modules). When I'm uploading new version of modules, browsers (IE, Mozilla...) cached old version, because of that new version is not loaded. This thing occurres sometimes, but not always! Does anyone know the solution for this problem? Thanks

[flexcoders] RSL realtive path is relative to the page path, not the swf path

2008-02-04 Thread mydarkspoon
Hello, I'm trying to load RSL from a relative path: MainApp.swf - my main app MyRsl.swf - my rsl Now, it happens to be that the main application is being loaded from url like this: http://www.myDomain.com/swf/MainApp.swf which loads-- http://www.myDomain.com/swf/MyRsl.swf However, the swf is

Re: [flexcoders] SQLite - Importing file

2008-02-04 Thread Johannes Nel
i could not find an a way apart from parsing myself to do this. remember to use transactions for the insert. all this said, we build the sqlite db on the server and pump that down the wire. On Feb 4, 2008 11:22 AM, Rick Root [EMAIL PROTECTED] wrote: Is it possible for a Flex app to import a

RE: [flexcoders] Flex training classes in the east coast, USA

2008-02-04 Thread Merrill, Jason
Figleaf software is in D.C. and they are Adobe certified trainers. I took a ColdFusion course from them and it was good. They offer several Flex courses. http://training.figleaf.com/Courses/Flex_Training.cfm Jason Merrill Bank of America GTO LLD Solutions Design Development eTools

[flexcoders] Question regarding dynamic form

2008-02-04 Thread hydcool02
Hi, I recently started working on flex..i am stuck where a user is shown a form containing numeric stepper.Based on the selection the form input labels are populated. For eg..if he select '2' then the form should fields twice.. if any one knows it..please post it.. Thanks,

[flexcoders] Re: Need IF Logic for Chart Data Provider

2008-02-04 Thread Abyss Knight
I think you just need to change the to '' like so: dataProvider={chartXML.lastResult.month.(@month_name=='01').day} However, you might be better off doing: dataProvider={chartXML.lastResult..month.(@month_name=='01').day} Here's a good quick reference too:

RE: [flexcoders] Re: Need IF Logic for Chart Data Provider

2008-02-04 Thread Brad Bueche
Thanks your reply/time. The issue with the @attribute==blah syntax was that I have month_name as an element instead of an attribute. Just learned about attributes. I'm creating the xml myself in php (which is querying oracle). So I can put the attribute in there. It looks like it gives you

[flexcoders] SQLite - Importing file

2008-02-04 Thread Rick Root
Is it possible for a Flex app to import a CSV file into the SQLite database? I know I could read the file with AS3, parse it as a CSV and insert the data ... but I see the sqlite3 has an import command and I just wondered if there was any other way for Flex to handle the importing of large text

[flexcoders] Re: Flex training classes in the east coast, USA

2008-02-04 Thread Anthony DeBonis
I recommend http://www.figleaf.com/training/flex.cfm --- In flexcoders@yahoogroups.com, Sharat Gajulapalli [EMAIL PROTECTED] wrote: Hi all, I'm looking for a 2-3 day Flex course anywhere in the east coast and preferably in the Washington DC metro area. Any recommendations would be

[flexcoders] Re: How to deep copy an ArrayCollection?

2008-02-04 Thread Stephen Allison
this will work for just one level of depth. i mean, if your item has a reference to another object in the model, you will just clone the item not the object so you will have two items referencing the same object. Are you sure? The following works for me: --- // set up a data structure

RE: [flexcoders] SQLite - Importing file

2008-02-04 Thread Samuel R. Neff
All of the . commands available in the sqlite3.exe command line app are implemented by the command line application code itself, not core SQLite, and as such are not available via AIR. This includes things like .import, .dump, .read, etc. Sam --- We're

[flexcoders] Global Error Catching

2008-02-04 Thread Steve Mathews
What would be the best way to catch errors globally? I do a lot of error catching as I track them down, but because my app is running inside of a .NET windows form, I need to capture any errors so that I can send the message up to the form for display. Is there any way to capture errors at the

Re: [flexcoders] Re: newbie: pushing data changes back to server

2008-02-04 Thread Andrew Sinning
Thanks William. What a fantastic resource that site is. Man, this Flex thing is making me mad! Mad that I didn't start using it two years ago! Mad about all the time I've wasted building php-HTML! Abyss Knight wrote: Basically, to make any changes to the data in the datagrid you just need

[flexcoders] Re: RSL realtive path is relative to the page path, not the swf path

2008-02-04 Thread ben.clinkinbeard
Flash Player has always loaded assets (images, swfs, etc) relative to the embedding file. HTH, Ben --- In flexcoders@yahoogroups.com, Alex Harui [EMAIL PROTECTED] wrote: Are you saying that index.html loads ../MainApp.swf? Please verify that. Put a trace statement for the loaderInfo.url in

[flexcoders] Re: Mysterious Problem with Embed Directives in CSS

2008-02-04 Thread ben.clinkinbeard
Which version of the framework are you using? I know 2 and 3 treat the leading slash a bit differently, though I can't recall the specifics at the moment. Ben --- In flexcoders@yahoogroups.com, Ethan Miller [EMAIL PROTECTED] wrote: Greetings - One day, out of nowhere, all of the Embed

RE: [flexcoders] RSL realtive path is relative to the page path, not the swf path

2008-02-04 Thread Alex Harui
Are you saying that index.html loads ../MainApp.swf? Please verify that. Put a trace statement for the loaderInfo.url in the app. Maybe there's a deployment problem. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of mydarkspoon Sent:

RE: [flexcoders] Re: container width parent container's width when vertical scrollbar present

2008-02-04 Thread Alex Harui
Yeah, you're caught in a no-win situation. To get this right, we'd have to visit the children twice, once to figure out we need scrollbars and then again to give them final sizes. We opted to go with the current one-visit scheme for performance reasons. There's probably some way you can detect

Re: [flexcoders] Question regarding dynamic form

2008-02-04 Thread cool buddy
HI , Thanks for your reply.. I tried but but could not populate it.. If you have some piece of code of it..could you please send it . Thanks, - Original Message From: Tom Chiverton [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Monday, February 4, 2008 7:54:47 AM Subject: Re:

Re: [flexcoders] Loading Image Sequence into Movie Programmatically/Dynamically Generate SWF

2008-02-04 Thread Troy Gilbert
I saw some posts on this topic and didn't see any solution to this yet. Is there a way to use Actionscript 3.0 in Flex/AIR to generate .SWF at runtime? I guess I can't call the mxml/as compiler directly. They were probably my posts on the topic... I was looking to accomplish the same

[flexcoders] Re: Fail to apply UITextFormat to UITextField in custom Component

2008-02-04 Thread ndkamp
ok, I found that if i wrap the textField in a sprite and add this in createChildren, then formatting will be applied correctly: var wrapper:Sprite = new Sprite(); wrapper.addChild(txt); this.addChild(wrapper); Well, i'm not really comfortable with this but I think I need to look closer

Re: [flexcoders] Re: Fail to apply UITextFormat to UITextField in custom Component

2008-02-04 Thread Daniel Freiman
Styles can override text formating when the parent of a UITextField is invalidated, but only having some formatting overridden is a little weird. Functionality for setting format based on style is in the UITextField class, I think the function is validateNow(), but I not 100% certain about that.

[flexcoders] Re: container width parent container's width when vertical scrollbar present

2008-02-04 Thread dfalling
Yes, I've found that as one fix, but am not fond of it either... The application I'm working on will be run on a wide range of monitor resolutions, and it's likely that many users will not need the scrollbars in order to see the content. For them, I don't want to chop a bit of their screen real

[flexcoders] Flex training classes in the east coast, USA

2008-02-04 Thread Sharat Gajulapalli
Hi all, I'm looking for a 2-3 day Flex course anywhere in the east coast and preferably in the Washington DC metro area. Any recommendations would be appreciated. I am currently a Java developer and will be doing some Flex now so any advice on which course will suit me best will also be

[flexcoders] Loading Image Sequence into Movie Programmatically/Dynamically Generate SWF

2008-02-04 Thread Xs][mage
I saw some posts on this topic and didn't see any solution to this yet. Is there a way to use Actionscript 3.0 in Flex/AIR to generate .SWF at runtime? I guess I can't call the mxml/as compiler directly. The problem I am having now is that I want to load an image sequence as a movie

[flexcoders] CustomComponent property refresh problem

2008-02-04 Thread Christoph Guse
Hi List, I'm developing an application with custom components and custom Value Objects in combination with the Cairngorm Framework. It is a reporting application and the idea is to have a central TableVO which contains the report data and several UI elements like a Datagrid and several

Re: [flexcoders] Re: How to deep copy an ArrayCollection?

2008-02-04 Thread yigit
this will work for just one level of depth. i mean, if your item has a reference to another object in the model, you will just clone the item not the object so you will have two items referencing the same object. i had this issue and developed a system for this. All my object can be serialized

[flexcoders] Fail to apply UITextFormat to UITextField in custom Component

2008-02-04 Thread ndkamp
I try to apply UITextFormat to an UITextField in a custom component but the new format won't show. what am i doing wrong? package tests.components { import flash.text.TextLineMetrics; import mx.core.UIComponent; import mx.core.UITextField; import

[flexcoders] Re: Mysterious Problem with Embed Directives in CSS

2008-02-04 Thread Ethan Miller
I'm using 3.0.190133. Note that I've tried: /assets/images/foo.png assets/images/foo.png ./assets/images/foo.png All produce theh same error. Note that the referencing css file is at the same level as the assets directory, eg: assets images foo.png bin com Index.mxml styles.css

[flexcoders] Occasionally Connected App w/ LiveCycle - Failing at 2 or more DataService's

2008-02-04 Thread mrkarlssone36
Been looking at the http://coenraets.org/blog/2007/10/offline- synchronization-using-air-and-livecycle-data-services/ example for using LCDS as an OCA built in Flex 3. Great example to get started; however, when we try to use multiple services in the same app we're getting some really weird

[flexcoders] Re: Event Propigation

2008-02-04 Thread brett.hitzel
Thanks for the reply and apologies for the late response. Unfortunately, your second idea may not be practical in my application as it will only be certain modules listening for these events (what modules listen to what events would be determined at load time as an XML configuration file is

[flexcoders] Re: Keyboard navigation to objects within components

2008-02-04 Thread Dave
Try having your renderer for the cell implement IFocusManager. Get the focus event and set your desired component focus. --- In flexcoders@yahoogroups.com, Alex Harui [EMAIL PROTECTED] wrote: Editable=true? From: flexcoders@yahoogroups.com

[flexcoders] Re: mx:Tile changing its height unfavorably

2008-02-04 Thread Tracy Spratt
Please don't hijack threads. Start a new message instead of changing the subject. Tracy --- In flexcoders@yahoogroups.com, Seth Caldwell [EMAIL PROTECTED] wrote: So I have an mx:Tile element whose width is 100% and height is unspecified. I want its height to grow as needed as I

[flexcoders] Mysterious Problem with Embed Directives in CSS

2008-02-04 Thread Ethan Miller
Greetings - One day, out of nowhere, all of the Embed directives in my CSS started failing with this kind of message (for a zillion assets): Invalid Embed directive in stylesheet - can't resolve source 'Embed(source = /assets/images/Arrow_Down.png)'. The referenced asset(s) exist, other

[flexcoders] Strange behavior....

2008-02-04 Thread Marvin Froeder
I'm making some test with Boolean Flex cast. See: ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; layout=absolute initialize=main() mx:Script ![CDATA[ private function main():void { trace(Boolean: +

[flexcoders] Re: Need IF Logic for Chart Data Provider

2008-02-04 Thread Abyss Knight
Glad to help. If you run into any other trouble, just let us know. -- William --- In flexcoders@yahoogroups.com, Brad Bueche [EMAIL PROTECTED] wrote: Thanks your reply/time. The issue with the @attribute==blah syntax was that I have month_name as an element instead of an attribute.

[flexcoders] Re: Keyboard navigation to objects within components

2008-02-04 Thread dannytab69
--- In flexcoders@yahoogroups.com, dannytab69 [EMAIL PROTECTED] wrote: I'm having a number of issues in my application regarding keyboard navigation and selection of objects within other components. For example, in a datagrid I have, two of the columns' are displayed as link buttosn, each of

[flexcoders] Re: Fail to apply UITextFormat to UITextField in custom Component

2008-02-04 Thread ndkamp
dan, thanks for your answer. I'm using device and/or embedded fonts, but right here I don't really care about the fonts. I'm just puzzled why the formatting doesn't seem to work for me. I'm using UITextFormat, because of the options it gives me with anti-aliasing and measuring. A I tried using

[flexcoders] Re: newbie: pushing data changes back to server

2008-02-04 Thread Abyss Knight
Basically, to make any changes to the data in the datagrid you just need to make changes to the dataProvider you specified. Say, if it was an ArrayCollection, then you would just update the array collection. Then you would want to send the changes back to the server using an HTTPService,

Re: [flexcoders] Trouble with WebService

2008-02-04 Thread shrikant.patil
hi, put corssdomain.xml file at root directory of u r application directory it must be like this: ?xml version=1.0? !DOCTYPE cross-domain-policy SYSTEM http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd; cross-domain-policy allow-access-from domain=* secure=false/

[flexcoders] Re: Keyboard navigation to objects within components

2008-02-04 Thread simonjpalmer
seems like you want to tab through the columns of the selected row, I have not seen any way of doing that an somewhat inelegant brute force method would be to define shortcuts to the buttons in your columns and trap those shortcuts as key presses in the component, check which row is selected, get

Re: [flexcoders] Re: Fail to apply UITextFormat to UITextField in custom Component

2008-02-04 Thread Daniel Freiman
Are you using embeded or device fonts? Also, is there a reason you are using UITextFormat instead of TextFormat? Even when using with a UITextField, 99% of the time using UITextFormat instead of TextFormat is unnecessary and makes thing more complicated. - Dan Freiman On Feb 4, 2008 9:22 AM,

Re: [flexcoders] AIR - including other files

2008-02-04 Thread Nick Collins
First, you need to have the files somewhere within your source directory (well, it's easiest anyway). When you're building the release version, once you've entered in your information for the digital signing, click next instead of Finish. It will now give you a list of files and directories to

Re: [flexcoders] SQLite - Importing file

2008-02-04 Thread Rick Root
Sadly that won't be an option in this case... I'm writing a desktop app that will parse locally generated text files and shoot the changes up to the server... since 80% or more of the data won't be changing on a daily basis. I still haven't decided if this is the best way to do it... rather than

[flexcoders] Image distortion in move effect

2008-02-04 Thread aizmail
I have a simple code down below that moves image from one corner of the screen to another. During the move image is getting some distortion. Are there any suggestion how to improve the quality of the move? ?xml version=1.0 encoding=utf-8? mx:Application

[flexcoders] RSS feed update

2008-02-04 Thread hworke
Hello, I am populating a datagrid from a RSS link. My grid is updated only if I manually (with a button click event) resend the httpservice request. How can I update the datagrid as the RSS content changes without sending the HttpService manually? Thanks

[flexcoders] Re: Fail to apply UITextFormat to UITextField in custom Component

2008-02-04 Thread ndkamp
Thanks for your answer. I know the text and orange background are ok, but the formats won't show. Are you really getting bold text, what about the size and color? what if you add: format.italic = true, format.underline = true; format.font = Georgia; Do they show? can't get the formats to work.

[flexcoders] JAXB POJO to Action Script VO

2008-02-04 Thread mailtoraman
I am trying to parse an XML file and generate java POJOs. I am using JAXB parser. It is generating custom code. While converting POJOs to Action Script VOs I am facing problem due to custom code. Please give your inputs for the best way to acheive this.

[flexcoders] Databinding in component

2008-02-04 Thread Merrill, Jason
Why does the button click below not trigger databinding in the component (i.e. automatic call of set dataprovider)? Here is my test case: //MXML: ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml http://www.adobe.com/2006/mxml xmlns:c=components.*

[flexcoders] Re: RSS feed update

2008-02-04 Thread caffeinewabbit
If it's traditional RSS content, then you'll have to add some sort of polling to the system that checks for changes in the feed over a certain interval. RSS is not push technology, so your client has no way of being notified when or if the feed updates. --- In flexcoders@yahoogroups.com, hworke

[flexcoders] newbie: pushing data changes back to server

2008-02-04 Thread andrew_sinning
I've been working with Flash in AS2 for quite a while, but so far I've only just worked through the tutorials in Flex. The examples show how to display xml data. Now I need to modify data, add records (nodes), and post changes back to the server. In one of the examples, the data in an rss feed

[flexcoders] Re: Getting the base parameter of the embed

2008-02-04 Thread Steve Mathews
I found what feels like a hack way of doing this. Still interested in any other ideas. The way I am doing it for now is by loading a swf and getting the path from the url property of the contentLoaderInfo. Then I parse out the part of the path that I need. This seems like it will be easily

[flexcoders] default Image dimensions

2008-02-04 Thread Devin Holloway
Normally, when using the Image class, if you omit the dimensions, Flex will default the image to its real width/height. However, I'm running into a situation in that Flex is defaulting the dimensions to 0,0 (if omitting explicit dimensions). Has anyone else ever encounted this issue? As for

[flexcoders] Re: Event Propigation

2008-02-04 Thread brett.hitzel
Update I was thinking that maybe the reason the below did not work was because I was adding the event listener before the object was added to the display, so I moved the event handler addition after adding modContainer to workspace_canvas. Unfortunately that did not help. Updated function

[flexcoders] mx:Tile changing its height unfavorably

2008-02-04 Thread Seth Caldwell
So I have an mx:Tile element whose width is 100% and height is unspecified. I want its height to grow as needed as I addChild(uicomponent). (after it fills up the first row it will make a second row and increase its height). However, It uses up about half the width and when I add another element,

[flexcoders] mx:Tile changing its height unfavorably

2008-02-04 Thread Seth Caldwell
(sorry for previous 'hijacking' - I was unaware that replying to messages somehow hijacked the thread, I thought it was based on subject of the message) So I have an mx:Tile element whose width is 100% and height is unspecified. I want its height to grow as needed as I addChild(uicomponent).

[flexcoders] Re: Fail to apply UITextFormat to UITextField in custom Component

2008-02-04 Thread ndkamp
Styles can override text formating when the parent of a UITextField is invalidated, but only having some formatting overridden is a little weird. no, all of the formatting is overridden. Functionality for setting format based on style is in the UITextField class, I think the function is

Re: [flexcoders] Creating a slider like msnbc

2008-02-04 Thread Sherif Abdou
never mind, i need to think before i type. use the ItemRenderer on the HorizontalList and it should work. - Original Message From: Sherif Abdou [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Monday, February 4, 2008 2:40:01 PM Subject: Re: [flexcoders] Creating a slider like

Re: [flexcoders] Databinding in component

2008-02-04 Thread Scott Melby
Jason - Clicking the button will generate a collection change event, but will not trigger data binding because the value of _dataProvider is not changing (no assignment is being made to the _dataProvider member). If you want to know when items are added to/removed from the collection you

Re: [flexcoders] JAXB POJO to Action Script VO

2008-02-04 Thread Jhonny Everson
Just correcting myself. I DON'T think we can bind internal classes in actionscript. On Feb 4, 2008 5:36 PM, Jhonny Everson [EMAIL PROTECTED] wrote: Hi, I'm using JAXB to generate POJOs too, it's working fine. I have even written an Air application to automatically generate actionscript code

Re: [flexcoders] JAXB POJO to Action Script VO

2008-02-04 Thread Jhonny Everson
Hi, I'm using JAXB to generate POJOs too, it's working fine. I have even written an Air application to automatically generate actionscript code from Java generated code. You must have a look at jaxb annotations to solve the problem of custom code. Some tips: Use the following annotation on root

[flexcoders] Re: Object is Null? How can it be if it's a component in main.mxml. No access

2008-02-04 Thread Tracy Spratt
ViewStack children are not instantiated(do not exist) until they are explicitly navigated to. Avoid creationPolicy=all whenever possible. Tracy --- In flexcoders@yahoogroups.com, Phil Krasko [EMAIL PROTECTED] wrote: Actually now that I look the snippet I wrote was wrong. I have my indices

RE: [flexcoders] Re: Keyboard navigation to objects within components

2008-02-04 Thread Alex Harui
Editable=true? From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of simonjpalmer Sent: Monday, February 04, 2008 4:25 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Keyboard navigation to objects within components seems like

[flexcoders] Resize flex app swf in browser

2008-02-04 Thread pitziilu
Hello. I just wrote an app that layouts this size : 1200x800, with images and components that have a fixed size. What can I do so that when I can embed this swf in an html file, and give the swf different size, let's say 800x600, but I will also be able to view everything on the stage.. so the

[flexcoders] Re: Embedding String Variable in dataprovider name

2008-02-04 Thread jer_ela
you can use a method to get around that dataProvider={getDp(chartXML2.lastResult, month)} private function getDp(lastResult:Object, month:String):String { return lastResult[month].day; } The method will be called when ever one of it parameters is changed --- In flexcoders@yahoogroups.com, Brad

RE: [flexcoders] Targeting from components

2008-02-04 Thread Merrill, Jason
I think you should instead have your custom component broadcast an event, and have a listener in your main application listen for it and respond, making the change to your app. Jason Merrill Bank of America GTO LLD Solutions Design Development eTools Multimedia Bank of America Flash

[flexcoders] Targeting from components

2008-02-04 Thread so_osverg
Hi, I'm having problems assigning an event handler (click) to a list item in a custom components nested inside the main application. Basically, I have my custom component which needs to call an event handler (written in AS3) which is located within the code of the main timeline. I'm a

Re: [flexcoders] Strange behavior....

2008-02-04 Thread Sherif Abdou
anything other than 0 is false and i think Boolean's use strict equalities === so false is not the same as false.toString() - Original Message From: Marvin Froeder [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Monday, February 4, 2008 2:00:48 PM Subject: [flexcoders] Strange

Re: [flexcoders] mx:Tile changing its height unfavorably

2008-02-04 Thread Sherif Abdou
um, no idea on this but maybe check the padding on the items - Original Message From: Seth Caldwell [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Monday, February 4, 2008 12:57:19 PM Subject: [flexcoders] mx:Tile changing its height unfavorably So I have an mx:Tile element

Re: [flexcoders] Re: How to deep copy an ArrayCollection?

2008-02-04 Thread Sherif Abdou
use the ObjectUtil Class instead - Original Message From: yigit [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Monday, February 4, 2008 6:03:21 AM Subject: Re: [flexcoders] Re: How to deep copy an ArrayCollection? this will work for just one level of depth. i mean, if your item

RE: [flexcoders] Re: Event Propigation

2008-02-04 Thread Gordon Smith
You appear to be dispatching the event from the Application but listening for it on a ModuleWrapper which is some descendant of the Application. That's not how events work. Unless you use the capture or bubble phases, you have to register on the object which is dispatching the event. And if you do

[flexcoders] the flex RTE and xhtml

2008-02-04 Thread Derrick Anderson
anybody out there have anything that will take the html generated by the flex richtexteditor and have it output valid XHTML (and back again)? i've found a few things googling but i have not found a good implementation yet. thanks, d.

RE: [flexcoders] Databinding in component

2008-02-04 Thread Merrill, Jason
No, that's not what I'm looking for, but thanks anyway. Jason Merrill Bank of America GTO LLD Solutions Design Development eTools Multimedia Bank of America Flash Platform Developer Community From: flexcoders@yahoogroups.com

Re: [flexcoders] Strange behavior....

2008-02-04 Thread Daniel Freiman
You are seeing correct behavior. See: http://livedocs.adobe.com/flex/201/langref/package.html#Boolean() If you want to do what your code intends to do you have to check for the string true manually: (variable == true ? true : false); - Dan Freiman On Feb 4, 2008 3:00 PM, Marvin Froeder

RE: [flexcoders] PopUpButton not working in AIR Beta 3

2008-02-04 Thread Joan Lafferty
Jeff, This sounds like this bug: https://bugs.adobe.com/jira/browse/SDK-14470. Unfortunately, this bug was deferred for this release because we are at the end of the cycle, but, there is a workaround in the bug to reset the PopUpButton. HTH. Please vote on this bug and it will get a higher

[flexcoders] Re: Resize flex app swf in browser

2008-02-04 Thread pitziilu
--- In flexcoders@yahoogroups.com, pitziilu [EMAIL PROTECTED] wrote: when I use the small fixed size for the app (800x600) and in creationComplete handler write : stage.scaleMode = StageScaleMode.SHOW_ALL; - I just get the the swf cropped. when I use scaleX=50; scaleY=50; nothing is showing

[flexcoders] ActionScript multidimensional Associative array question

2008-02-04 Thread hworke
Hello, I need to create a 3D array, first two dimensions are associative arrays and the 3rd one is indexed. Here is what I am trying to do: myArray[1992][February] -- this will generate an array of objects which will be used as dataprovider for my chart. BTW the number of

[flexcoders] Re: Resize flex app swf in browser

2008-02-04 Thread pitziilu
when I use the small fixed size for the app (800x600) and in creationComplete handler write : stage.scaleMode = StageScaleMode.SHOW_ALL; - I just get the the swf cropped. when I use scaleX=50; scaleY=50; nothing is showing on stage.. just the background color.

Re: [flexcoders] Databinding in component

2008-02-04 Thread Sherif Abdou
you could always just do nameOfComponent.dataProvider = fakedata and that work but i dont know if that is what you are looking for. - Original Message From: Merrill, Jason [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Monday, February 4, 2008 1:50:32 PM Subject: [flexcoders]

Re: [flexcoders] Strange behavior....

2008-02-04 Thread Sherif Abdou
meant anything other than 0 and false is true but it cant be false - Original Message From: Marvin Froeder [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Monday, February 4, 2008 2:00:48 PM Subject: [flexcoders] Strange behavior I'm making some test with Boolean Flex cast.

[flexcoders] generate unique colors for per-item fill

2008-02-04 Thread nasawebguy
How do I generate a list of unique colors dynamically in AS? similar to how Flex does in default charts, except in a per-item fill scenario? CONTEXT I want to color code an Hlist of categories to match the dot colors in a per-item filled Plot Series. I have an arrayCollection dataProvider that

Re: [flexcoders] Creating a slider like msnbc

2008-02-04 Thread Sherif Abdou
try the TileList - Original Message From: flex_dba [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Sunday, February 3, 2008 2:53:43 PM Subject: [flexcoders] Creating a slider like msnbc Hello, I am trying to create a slider like what is available from msnbc, I'm wondering if I

RE: [flexcoders] Databinding in component

2008-02-04 Thread Merrill, Jason
_dataProvider.addEventListener(CollectionEvent.COLLECTION_CHANGE, handleCollectionChanged, false, 0, true); Thanks Scott, exactly what I was looking for! Jason Merrill Bank of America GTO LLD Solutions Design Development eTools Multimedia Bank of America Flash Platform Developer

  1   2   >