RE: [flexcoders] Does ASDoc process metadata tags?

2009-02-13 Thread Gregor Kiddie
I believe this is because the ASDoc compiler takes less passes at the code base than the regular compiler does. One of the missing passes is the one that processes [Bindable] tags and adds the Event dispatching code. I'd be wary of doing it the way you described since out in house binding

[flexcoders] File upload with pause/resume in Flex?

2009-02-13 Thread bjorn
Suggestions on how to implement this? My first thought is to split a file into chunks of FileReferences and then send these chunks individually, making a note of which chunks of a file that have been transferred and which are waiting. That way I can pause the application and continue later. .. but

[flexcoders] pie chart question

2009-02-13 Thread Vik
Hie I have requirement in which i have pie chart. I want to click on a particular pie area to open another pie chart. is it possible? if yes then how? Thankx and Regards Vik Founder www.sakshum.com www.sakshum.blogspot.com

[flexcoders] advanced datagrid error weirdness

2009-02-13 Thread Johannes Nel
hey, actually hoping someone from the adg team can tell me what on a certain line would be giving an error. I use sdk 3.0 so i have an adg which renderers another adg. detail is not really that important. i have a mock data set in 2 different projects (1 being the main app i am working on and

[flexcoders] Re: advanced datagrid error weirdness

2009-02-13 Thread Johannes Nel
ok to follow up. in the initListData function it is the first line after the first call to getStyle (after the call to getDisplayDisclosureIcon). the offending line(s) was in my css, added by somebody else in ignorance. :( folderOpenIcon: null; disclosureOpenIcon: null; anyway, obviously

[flexcoders] Preventing Item Renderers from Inheriting Styles from Parent List Component

2009-02-13 Thread Thomas, Erik
Hi all: I have a custom component derived from VBox with a specific styleName. When used in a Repeater, or stand-alone, the styles are perfect. However, when I use the custom component in a List by setting the itemRenderer property of the List component, the fonts are all wrong and the text in

[flexcoders] Extending classes (within classes) best/fastest approach to finding what you need (in FlexBuilder)

2009-02-13 Thread David Kramer
I have a simple desire today and figured I'd be able to get a nice quick answer. During an Alert I want to override (which may be mixed terminology I understand) the fade effect on the parent window during an Alert.show. I'm using Flex Builder 3, not a surprise, and I'm thinking there's probably

[flexcoders] Dragging an image out of a tilelist

2009-02-13 Thread lanekelly5
First post to the group. Glad I found this as a resource... I have a TileList control with cells that contain an image and a label. See the itemRenderer code: Code: mx:HBox xmlns:mx=http://www.adobe.com/2006/mxml; horizontalAlign=center verticalAlign=middle mx:Image

[flexcoders] Problem calling a web service - error 2032

2009-02-13 Thread guy.tomer
Hello, I've been struggling half a day with this Error 2032 returning from one of the APIs in my webservice. This API already worked and somehow after regenerating the proxies it stopped! Finally I figured out the only difference between this API and the others that work is that this one gets

[flexcoders] need visual design work done

2009-02-13 Thread stinasius
hi i need a very good visual design to do some visual work for me. what is need is listed below 1- nice dark background that matches the darkroom theme(am using darkroom theme and need a background image) 2- nice effects (resize, move, fade or zoom) for popup ie titlewindow when popuping up and

[flexcoders] HTML advice please

2009-02-13 Thread aphexyuri
Hi All As far as I know, we can't load complex HTML pages into a Flex control, but I was wondering if anybody has had experience with this. Its for a dashboard app that has flex elements, but must be able to load full websites into specific containers of the dashboard. I'm not sure what other

Re: [flexcoders] HTML advice please

2009-02-13 Thread Maya Tulchinsky
Check out this one: http://www.deitte.com/IFrameDemo3/IFrameDemo.html Here is blog about Iframe use in flex: http://www.themidnightcoders.com/blog/2006/12/mixing-html-and-flex-using-iframe.html Good luck, Maya --- On Fri, 2/13/09, aphexyuri yuriv...@yahoo.co.uk wrote: From: aphexyuri

[flexcoders] Register custom URI Scheme on the OS for AIR applications?

2009-02-13 Thread Marcello Teodori
Hi all, I am building a chat client with Flex and AIR and I was wondering if it was possible to let the application register a custom URI scheme on the host OS like the Skype client does with: callto:nickname?call for text chat and callto:nickname?chat for audio/video chat so that I can

[flexcoders] Re: A very simple code of ImageSnapshot

2009-02-13 Thread flexawesome
hey chet, thanks for the input and it works perfect :)) --- In flexcoders@yahoogroups.com, Chet Haase cha...@... wrote: You're not giving any height to your uiHolder and then you're using the height dimension when creating the BitmapData, so it fails because you're asking it to create a

[flexcoders] Re: AIR Application optimizing...

2009-02-13 Thread nathanpdaniel
But hey - they look cook... I got 2! :D --- In flexcoders@yahoogroups.com, Tom Chiverton tom.chiver...@... wrote: On Wednesday 11 Feb 2009, nathanpdaniel wrote: would bring to cut out 200-300kb from an AIR application. Anyone else have any thoughts on it? It's being distributed on

[flexcoders] AIR Application is not Appearing

2009-02-13 Thread Ashish Verma
Hello All, I created an AIR Application which was previously based on AIR 1.0 and I am some more features in that application and compiling with the update of Flex 3 and targeting it for AIR 1.5. After making air file I am putting it onto sever to access by users. But when any user trying to run

RE: [flexcoders] pie chart question

2009-02-13 Thread Kenneth Sutherland
Yes, if you listen for the itemClick event on the PieChart. Then inside the event you'll find that the event.hitData.id will be the element number from your dataprovider. So depending on how your data is set up you'll be able to take it from there. Kenneth. From:

[flexcoders] Re: Problem calling a web service - error 2032

2009-02-13 Thread oneworld95
Check out this blog on the error; tons of good info to help you: http://www.judahfrangipane.com/blog/?p=87 - Alex --- In flexcoders@yahoogroups.com, guy.tomer guy.to...@... wrote: Hello, I've been struggling half a day with this Error 2032 returning from one of the APIs in my webservice.

[flexcoders] Re: tilelist HighlightIndicator effects

2009-02-13 Thread stinasius
hi i have tried everything you have said but i get an error. here is the code i use for clearing the highlightIndicator. the error i get is method marked override must override another method override protected function clearHighlightIndicator(indicator:Sprite,

Re: [flexcoders] 3D flip effect

2009-02-13 Thread Steve Mathews
I used this and it worked great: http://www.tink.ws/blog/papervision3d-effects-for-flex-source On Thu, Feb 12, 2009 at 8:23 PM, Ryan Graham ryan.gra...@phoenix.eduwrote: I believe so... the docs suggest you have to hack it since the registration point is always top left. Do a translation in

[flexcoders] Re: filter arraycollection with checkbox acting wired

2009-02-13 Thread johndoematrix
can someone please help me out here..thanks

[flexcoders] Re: how to use a list's change event to refresh an array that is bound to it.

2009-02-13 Thread stinasius
hello any help out there?

[flexcoders] Help Me for SharedObject and registerClassAlias method

2009-02-13 Thread thelordsince1984
Hi, i've yet posted this question but i can't resolve this problem.. i've created a custom value object class..a simple class with private properties and getters methods to retrieve them. public class WindowInfo { private var _id:String;

Re: [flexcoders] Re: how to use a list's change event to refresh an array that is bound to it.

2009-02-13 Thread Haykel BEN JEMIA
Can you give a real example of what you want to do? Haykel Ben Jemia Allmas Web RIA Development http://www.allmas-tn.com On Fri, Feb 13, 2009 at 4:56 PM, stinasius stinas...@yahoo.com wrote: hello any help out there?

[flexcoders] How to get input language in Flex 3 app

2009-02-13 Thread bobmeyering
I am using Flex Builder 3, IE 7 and windows OS (XP and 2008 server). Is there a way to programnatically determine the current input language as set in the language bar? The Capabilities class always returns en even after I select Chinese (ch) as my input language (using the language bar).

[flexcoders] Air application and local hardware

2009-02-13 Thread markgoldin_2000
Can an AIR application access a serial port? Can an AIR application read/get data from a scanner attached to a serial port? Thanks

Re: [flexcoders] filter arraycollection with checkbox acting wired

2009-02-13 Thread Haykel BEN JEMIA
Try this (not tested!): private var pizzaSelected:Boolean; private function pizzaFilter():void { pizzaSelected = pizza_ckb.selected; filterGrid(); } private function filterGrid() :void { pizzaAr.filterFunction = myFilterFunction; pizzaAr.refresh(); } private function

RE: [flexcoders] Air application and local hardware

2009-02-13 Thread Ryan Graham
Nate B has mentioned before that the Merapi project is aimed at providing this functionality: http://www.merapiproject.net/ HTH, Ryan From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of markgoldin_2000 Sent: Friday, February 13, 2009 9:33 AM To:

[flexcoders] HTML editor for Flex Builder 3?

2009-02-13 Thread huu...@ymail.com
I'm really enjoying using Flex Builder 3, however, I'd like to have an integrated HTML editor. I tried installing Aptana, but the Message Center is a major annoyance. Does any have a recommendation for a plugin that integrates easily with FB3?

[flexcoders] Re: Air application and local hardware

2009-02-13 Thread markgoldin_2000
I have checked it out. Unfortunately I am not developing in Java. --- In flexcoders@yahoogroups.com, Ryan Graham ryan.gra...@... wrote: Nate B has mentioned before that the Merapi project is aimed at providing this functionality: http://www.merapiproject.net/ HTH, Ryan

Re: [flexcoders] filter arraycollection with checkbox acting wired

2009-02-13 Thread Henrique
What's the type of your property pizza? Boolean? yes/no is not Boolean... If you have Boolean values, you have to do like this.. private function processFilter(item:Object):Boolean { return Boolean(item.value) == true; } Or... string values, yes/no values: private function

[flexcoders] how to bubble and catch events

2009-02-13 Thread stevepruitt97
I have the following scenario. I need to catch the click events for either of the two buttons. I tried putting the event handler on the DataGrid, but I'm getting an unresolved error for it. Is this even possible? Thanks in advance for any help. -S mx:Canvas

[flexcoders] Re: PNG transparencies no longer work, when printing as Vector

2009-02-13 Thread flexawesome
I had the same experience of this issue. Is there any way to get ride of the background? thank you --- In flexcoders@yahoogroups.com, Mike Anderson m...@... wrote: Hello All, When sending my FlexPrintJobs to the printer as a Vector (printAsBitmap=false), any thing that was previously

RE: [flexcoders] HTML advice please

2009-02-13 Thread Tracy Spratt
I have tried a couple and I prefer Alistair Rutherford's component. http://ccgi.arutherford.plus.com/blog/wordpress/?page_id=171 http://ccgi.arutherford.plus.com/blog/wordpress/?page_id=171 Note that a fairly recent change to the code has made it so that it requires history management in the

RE: [flexcoders] 3D flip effect

2009-02-13 Thread Russ Ferguson
Thanks for the info. I am getting a type error 1009 cant access properties of null objects. I don't think there are any classes I need to import but maybe im missing something? Thanks again. ...russ From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of

RE: [flexcoders] how to bubble and catch events

2009-02-13 Thread Tracy Spratt
That should work, the second argument in the event constructor makes it bubble. I don't see your listener defined. You should do that in a function called on creation complete of the application: this.addEventListener(Event.ADDED, onAction) Tracy Spratt Lariat Services Flex

[flexcoders] Re: local file thumbnail preview :: possible?

2009-02-13 Thread app.developer
--- In flexcoders@yahoogroups.com, artur_desig2dev ar...@... wrote: nevermind.. found it: http://blog.flexexamples.com/2008/08/25/previewing-an-image-before-uploading-it-using-the-filereference-class-in-flash-player-10/ * thanks Juan! Uhh Isn't that using Flex 4 (Gumbo). How do

RE: [flexcoders] Re: filter arraycollection with checkbox acting wired

2009-02-13 Thread Tracy Spratt
I think I suggested already that you just need to debug this. Find an item that does not filter as you expect, step through the code til you hit that item, then step through the code to see why the filter function is not returning the expected value. It will almost certainly be obvious. For

Re: [flexcoders] HTML editor for Flex Builder 3?

2009-02-13 Thread Alan K
Download Eclipse PDT and install Flex Builder as a Plug ­in. You will have code hinting and debugging for HTML, XML, PHP as well as other nifty stuff. http://www.eclipse.org/pdt/release-notes/pdt2_0.php Alan

[flexcoders] Re: Problem calling a web service - error 2032

2009-02-13 Thread Adrian Resa Jones
This is a very annoying error that appears to have a zillion different causes - all it means is that something went wrong when flex tried to execute your code - it could mean that the file was not found or it could mean that it bombed for some reason. After hunting around on the web for endless

[flexcoders] Re: Mapping complex objects to custom components with data binding?

2009-02-13 Thread Keith Hughitt
Why do not you make a custom class and bind on this? Could you please give an example? I'm not entirely sure of what you mean. Thanks! Keith

[flexcoders] single double click event handling on same component

2009-02-13 Thread Michael Pelz-Sherman
I need to handle both single double clicks on a UIComponent. Unfortunately my single click handler is preventing the double click handler from executing. I found a nice blog post that explains a workaround for this: http://blogs.sophiacom.fr/flex/2008/08/double-click.html Before I implement

[flexcoders] Re: Binding Array to Effect Questions

2009-02-13 Thread flexlingie
--- In flexcoders@yahoogroups.com, flexlingie afw...@... wrote: I have an array that I'm dynamically updating while my application runs. I've declared the array bindable: [Bindable] public var myArray : Array = new Array(); Then I have a Glow effect: mx:Glow id=myGlow color=0xFF

[flexcoders] Re: how to bubble and catch events

2009-02-13 Thread stevepruitt97
I have bigger problems. By changing the events to standard ADD and REMOVE and modifying mx:DataGrid id=templateGrid width=100% height=100% rowCount=5 dataProvider={_content} click=onTemplateSelected (event) add=onAdd(event) remove=onRemove(event) I at least got past the compile problems. I

[flexcoders] Re: [Req] What do you (love|hate|wish for) about (mx.*|Cairngorm|PureMVC|Mate|Prana|BlazeDS)?

2009-02-13 Thread jim.abbott45
Just as a suggestion, Why not take Maté and add Java/BlazeDS support to it? (OK, I admit it, I really like what I've seen of Maté so far--IMHO a Developer could do a lot worse using another framework.) --Jim --- In flexcoders@yahoogroups.com, Josh McDonald j...@... wrote: Hey guys, I have a

[flexcoders] Re: HTML advice please

2009-02-13 Thread markgoldin_2000
I have been using iFrame solution. Works fine, I am using it to show SQL Reports. --- In flexcoders@yahoogroups.com, aphexyuri yuriv...@... wrote: Hi All As far as I know, we can't load complex HTML pages into a Flex control, but I was wondering if anybody has had experience with this.

[flexcoders] Re: Preventing Item Renderers from Inheriting Styles from Parent List Component

2009-02-13 Thread Amy
--- In flexcoders@yahoogroups.com, Thomas, Erik erik_tho...@... wrote: Hi all: I have a custom component derived from VBox with a specific styleName. When used in a Repeater, or stand-alone, the styles are perfect. However, when I use the custom component in a List by setting the

[flexcoders] Re: Preventing Item Renderers from Inheriting Styles from Parent List Component

2009-02-13 Thread Amy
--- In flexcoders@yahoogroups.com, Thomas, Erik erik_tho...@... wrote: Hi all: I have a custom component derived from VBox with a specific styleName. When used in a Repeater, or stand-alone, the styles are perfect. However, when I use the custom component in a List by setting the

RE: [flexcoders] How to get input language in Flex 3 app

2009-02-13 Thread Alex Harui
Check the archives. I think that's a known issue. Capabilities is the OS language version not the input language. Alex Harui Flex SDK Developer Adobe Systems Inc.http://www.adobe.com/ Blog: http://blogs.adobe.com/aharui From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On

[flexcoders] Re: Problem calling a web service - error 2032

2009-02-13 Thread guy.tomer
Yep, this error doesn't give any info... I took a look at the server side, apparently the server (Java xFire) was throwing an error There must be a method name element.. I'm stopping the digging here since I have a work around - adding a dummy parameter to the method and avoiding a web

[flexcoders] DYNAMIC LINKBUTTONS styleNames.

2009-02-13 Thread sailorsea21
I have a series of 3 linkButtons. I am able to switch the styleName of a linkButton when I click on it as follows: [Bindable] private var linkButton:String = 'linkButton'; [Bindable] private var linkButtonOff:String = 'linkButtonOff'; mx:LinkButton id=test001 label=001 styleName={linkButton}

[flexcoders] AIR update framework only works to update AIR file?

2009-02-13 Thread handitan
Hi all, I have been reading articles about using AIR update framework. To my understanding this only works to update AIR file?? I hope I am wrong... Since my AIR app is using Flex-only swcs and is loading Flex-only modules. Anybody can shed a light on this?

[flexcoders]Does Flex 4 Gumbo support styles and other questions

2009-02-13 Thread dorkie dork from dorktown
I've read about and seen the presentation on Flex 4 Gumbo components but I'm still unclear on how it works. Note: These questions pertain to Flex Builder. 1. If I add a Gumbo component to the stage (design view) am I able to set styles on it? Do these styles affect vector FXG graphics that

RE: [flexcoders] DYNAMIC LINKBUTTONS styleNames.

2009-02-13 Thread Tracy Spratt
Store references to each in an Array, then loop over the array. Tracy Spratt Lariat Services Flex development bandwidth available From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of sailorsea21 Sent: Friday, February 13, 2009

RE: [flexcoders] Re: how to bubble and catch events

2009-02-13 Thread Tracy Spratt
Iv'e lost you. If this is no longer about bubbling and catching events, start a new thread. Tracy Spratt Lariat Services Flex development bandwidth available From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of stevepruitt97

Re: [flexcoders]Does Flex 4 Gumbo support styles and other questions

2009-02-13 Thread dorkie dork from dorktown
Addendum: 6. If I have a skin in Flex Builder and I want to edit it visually, how would I do that? For example, in some of the design tools, if I have a movieclip or a component when I double click on it takes me into the sub view where I can edit the graphics and parts that make up that

Re: [flexcoders] DYNAMIC LINKBUTTONS styleNames.

2009-02-13 Thread - -
Hi Tracy, I created an array of all the IDs of my linkButtons, can you show me an example how to loop in the array? Thanks. From: Tracy Spratt tspr...@lariatinc.com To: flexcoders@yahoogroups.com Sent: Friday, February 13, 2009 4:11:05 PM Subject: RE:

[flexcoders] sprite.startDrag() - Only one sprite is draggable at a time :-(

2009-02-13 Thread Mic
Requirements are for a draggable calculator pop-up that looks like a calculator i.e. the calculator image is the frame/border - irregular shape - no rectangularPanel/TitleWindow. I created 2 components, the calculator Image and an inner Panel component with calculator functionality, titleBar drag

[flexcoders] Re: Idiots guide to crossdomain.xml

2009-02-13 Thread sunild999999
If your SWF is hosted on server A, and it needs to access data from servers B, C, and D then you need to put a cross domain policy file on servers B, C, and D that permit access from server A. Note, these servers (A,B,C,D) are different servers ... the names are not aliases. It kind of

Re: [flexcoders] Re: Idiots guide to crossdomain.xml

2009-02-13 Thread Nate Beck
That is the most down to earth explanation of cross domain policies that I have ever read. Thanks Sunil! On Fri, Feb 13, 2009 at 1:38 PM, sunild99 sunilbd...@gmail.com wrote: If your SWF is hosted on server A, and it needs to access data from servers B, C, and D then you need to put a

[flexcoders] Locale Resource Problem Compiling Automation with Maven

2009-02-13 Thread Brad Keck
I am trying to compile my code with automation libraries so that it can be tested with silk. Currently, I am able to do this without trouble in Flex Builder using this command line argument: -include-libraries ...\automation.swc ...\automation_agent.swc ...\FlexTechDomain.swc (... represents

RE: [flexcoders] DYNAMIC LINKBUTTONS styleNames.

2009-02-13 Thread Ryan Graham
Hey now, you knew this was in the docs... :D http://livedocs.adobe.com/flex/3/html/help.html?content=03_Language_and_ Syntax_16.html HTH, Ryan From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of - - Sent: Friday, February 13, 2009 2:28 PM To:

RE: [flexcoders] DYNAMIC LINKBUTTONS styleNames.

2009-02-13 Thread Tracy Spratt
Yes, sailorsea, see that link. Also, be careful of terminology. I said store references. This is not the same as storing IDs. You can do this using ids, with bracket notation. var sId:String = test001; this[sId].setStyle(); //should work Tracy Spratt Lariat Services Flex

Re: [flexcoders] DYNAMIC LINKBUTTONS styleNames.

2009-02-13 Thread - -
Hi Ryan, thanks :) I knew that... :)  but the problem I'm having is that the values in my array are Strings. so the following gives me an error... The values are the IDs of the linkButtons that I would like to target [Bindable]privatevarbuttons:Array = newArray(test001, test002, test003);

Re: [flexcoders] DYNAMIC LINKBUTTONS styleNames.

2009-02-13 Thread - -
Hi Tracy, I can get it to work as a var, but when I try to access the Array, I get:Cannot access a property or method of a null object reference. This is my array: [Bindable]private  { }   Thanks again! :)foreach(vartarget:String inbuttons)this[target].styleName = linkButton; varbuttons:Array =

[flexcoders] Is there a 'token' equivalent to use with the URLLoader class?

2009-02-13 Thread luvfotography
Is there a 'token' equivalent to use with the URLLoader class? I need to keep track of my events. I can use token with an HttpService.send() request, how do I use it with URLLoader? ex: var myloader:URLLoader = new URLLoader(); myloader.addEventListener(Event.COMPLETE, loadHandler); var

RE: [flexcoders] DYNAMIC LINKBUTTONS styleNames.

2009-02-13 Thread Tracy Spratt
styleName is not a property, it is a style. You have to use setStyle(); Also, debug your loop, make sure you have a good refrence to the button. Tracy Spratt Lariat Services Flex development bandwidth available From: flexcoders@yahoogroups.com

RE: [flexcoders] Is there a 'token' equivalent to use with the URLLoader class?

2009-02-13 Thread Tracy Spratt
What does the class reference say about that method? Tracy Spratt Lariat Services Flex development bandwidth available From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of luvfotography Sent: Friday, February 13, 2009 5:35 PM

Re: [flexcoders] DYNAMIC LINKBUTTONS styleNames.

2009-02-13 Thread - -
Thank you very much Tracy it worked :) -David From: Tracy Spratt tspr...@lariatinc.com To: flexcoders@yahoogroups.com Sent: Friday, February 13, 2009 5:49:57 PM Subject: RE: [flexcoders] DYNAMIC LINKBUTTONS styleNames. styleName is not a property, it is a

RE: {Disarmed} [flexcoders] AIR update framework only works to update AIR file?

2009-02-13 Thread Kevin Benz
You need to be aware of the two paths to update Air applications. The UI approach, one where you configure the UI of the update process through a XML file and an API approach where you take programmatic control of the update. Ultimately the goal of the UpdaterUI was to update the Air file alone

RE: [flexcoders] Is there a 'token' equivalent to use with the URLLoader class?

2009-02-13 Thread Ryan Graham
var myloader:URLLoader = new URLLoader(); myloader.addEventListener(Event.COMPLETE, loadHandler); var token:AsyncToken = myloader.load(new URLRequest(getdata.com)); token.artist = artist; Maybe use a global dictionary with each instance of the loader as the key: public var

RE: [flexcoders] Re: tilelist HighlightIndicator effects

2009-02-13 Thread Alex Harui
Looks ok to me. If you're using FlexBuilder, clean the project and re-build. If that doesn't work, try a simple subclass with only that override Alex Harui Flex SDK Developer Adobe Systems Inc.http://www.adobe.com/ Blog: http://blogs.adobe.com/aharui From: flexcoders@yahoogroups.com

RE: [flexcoders] AIR Application is not Appearing

2009-02-13 Thread Alex Harui
Did they try uninstalling and re-installing? Alex Harui Flex SDK Developer Adobe Systems Inc.http://www.adobe.com/ Blog: http://blogs.adobe.com/aharui From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Ashish Verma Sent: Friday, February 13, 2009 7:03 AM To:

[flexcoders] Does the [SWF] meta tag really support widthPercect and heightPercent attribute?

2009-02-13 Thread Dave Kong
link here http://www.actionscript.org/forums/showthread.php3?p=834470 seems to suggest that in addition to pixel width, I can specify percent value (similar to how I do it in html flash wrapper). But I can't get it to work. Is it really supported? [SWF(widthPercent=100, heightPercent=100)]

[flexcoders] Memory consumption. Part 2. ItemRenderers

2009-02-13 Thread Dmitri Girski
Hi Everybody, I have identified the memory consumption problem within the custom ItemRenderer. This IR is derived from UIComponent and besides other elements has 3 Image members to display 3 possible icons. The grid has around 200 elements, so 200 IRs are created at the startup. Each IR

RE: [flexcoders] Memory consumption. Part 2. ItemRenderers

2009-02-13 Thread Alex Harui
ListItemRenderer.as adds and removes its icon in commitProperties. If it is the same 3 icons, and they are small, they should be embedded and then you don't need the Image class and will save lots of memory that way too. Alex Harui Flex SDK Developer Adobe Systems Inc.http://www.adobe.com/

RE: [flexcoders] Does the [SWF] meta tag really support widthPercect and heightPercent attribute?

2009-02-13 Thread Alex Harui
If you use %, the size gets set to 500x375 and %'s get pushed into the html template. I'd just set usePreloader=false and show your own mx:ProgressBar. Alex Harui Flex SDK Developer Adobe Systems Inc.http://www.adobe.com/ Blog: http://blogs.adobe.com/aharui From: flexcoders@yahoogroups.com