Re: [flexcoders] Advantages and Disadvantages of skinning

2012-02-10 Thread Haykel BEN JEMIA
) of a component without the need for changing the code of the component itself. One component and many skins, e.g. for desktop, for mobile, for different applications. Skinning is very good documented and there are many resources available, just search for spark skinning. Haykel Ben Jemia Allmas Web Mobile

Re: [flexcoders] Displaying spark scrollbars for mx components wrapped in a scroller

2012-02-08 Thread Haykel BEN JEMIA
mx:Container verticalScrollPolicy=off horizontalScrollPolicy=off / /s:Group /s:Scroller / Haykel Ben Jemia Allmas Web Mobile Development http://www.allmas-tn.com On 9 February 2012 02:15, method_air loudj...@hotmail.com wrote: ** Is it possible to hide the mx scrollbars for an mx

Re: [flexcoders] Re: s:Image and s:BitmapImage?

2012-02-07 Thread Haykel BEN JEMIA
Use Image if you want to display loading states of images, generally when loading external images based on user interaction. Use BitmapImage for skinning purposes. Haykel Ben Jemia Allmas Web Mobile Development http://www.allmas-tn.com On 7 February 2012 15:38, markflex2007 markflex2

Re: [flexcoders] Need help dynamically modifying text displayed based on DB return

2012-01-30 Thread Haykel BEN JEMIA
. Haykel Ben Jemia Allmas Web Mobile Development http://www.allmas-tn.com On 30 January 2012 14:55, hermeszfineart hermeszfine...@comcast.net wrote: ** Part of the functionality in the gallery app ia am working on for my wife is a popup window that displays information about the specific

Re: [flexcoders] Re: mobile app need show a web page

2012-01-27 Thread Haykel BEN JEMIA
StageWebView Haykel. Sent from my Android phone. Le 27 janv. 2012 19:53, markflex2007 markflex2...@yahoo.com a écrit : ** Hi, any way to embed HTML page in mobile application? it seem not uicomponent to do this for mobile. Please help. Mark --- In flexcoders@yahoogroups.com,

[flexcoders] P2P multicast and upstream bandwidth

2012-01-26 Thread Haykel BEN JEMIA
.) should be used for best results and how to adapt them based on the number of broadcasters? I hope my questions make sense! Thanks, Haykel Ben Jemia Allmas Web Mobile Development http://www.allmas-tn.com

Re: [flexcoders] Re: Flex alternatives

2012-01-11 Thread Haykel BEN JEMIA
Staying with Flex until I see what happens with it during its first year as an Apache project. I expect big improvements and many new and cool features, it will only depend on Adobe if it will follow with the player. Haykel Ben Jemia Allmas Web RIA Development http://www.allmas-tn.com

Re: [flexcoders] Re: Flex with bluetooth input data

2011-12-30 Thread Haykel BEN JEMIA
I'm not sure but it should be possible by writing a native extension. Haykel Ben Jemia Allmas Web RIA Development http://www.allmas-tn.com On Fri, Dec 30, 2011 at 3:10 PM, markflex2007 markflex2...@yahoo.comwrote: ** Hi, I need to use blue tooth scanner to input bar code to Flex

Re: [flexcoders] You are the product

2011-12-18 Thread Haykel BEN JEMIA
technology has its advantages and as a developer you have to know when to use each one. Haykel Ben Jemia Allmas Web RIA Development http://www.allmas-tn.com On Sun, Dec 18, 2011 at 11:24 AM, Rick Winscot rick.wins...@zyche.comwrote: ** Uh… the original question is pretty simple - can you do

Re: [flexcoders] Background color of Vgroup

2011-12-01 Thread Haykel BEN JEMIA
can you share the mxml file? Haykel Ben Jemia Allmas Web RIA Development http://www.allmas-tn.com On Thu, Dec 1, 2011 at 1:15 PM, sony antony pow_like_me...@yahoo.co.inwrote: ** I tried that, but the color is not filled in, it's filled just till where the other components starts. :-o

Re: [flexcoders] Background color of Vgroup

2011-11-30 Thread Haykel BEN JEMIA
Just add a black 'Rect' before the 'VGroup' with the same position and size. Haykel Ben Jemia Allmas Web RIA Development http://www.allmas-tn.com On Wed, Nov 30, 2011 at 10:34 AM, sony antony pow_like_me...@yahoo.co.inwrote: ** Hello all, Can you please tell me how to give a black

Re: [flexcoders] Why Flex now?

2011-11-15 Thread Haykel BEN JEMIA
ever! Haykel Ben Jemia Allmas Web RIA Development http://www.allmas-tn.com On Tue, Nov 15, 2011 at 4:43 PM, Rick Schmitty flexc...@gmail.com wrote: ** I've been a Flex developer since it's first beta however many years ago. Today I just saw this response from Adobe: http

Re: [flexcoders] Restrict access to an API to only allowed applications

2011-09-27 Thread Haykel BEN JEMIA
of a solution to this problem unless the OS itself would offer a way to identify an application through its signing certificate. Any idea in this direction? can we use that certificate somehow? Haykel Ben Jemia Allmas Web RIA Development http://www.allmas-tn.com On Mon, Sep 26, 2011 at 8:43 PM

[flexcoders] Restrict access to an API to only allowed applications

2011-09-26 Thread Haykel BEN JEMIA
extracted. My questions here are: * Does anybody know a way to protect the keys? * Is there another authorization mechanism that is better suited for such client applications in general (Flash, JavaScript ...) Thanks. Haykel Ben Jemia Allmas Web RIA Development http://www.allmas-tn.com

[flexcoders] tv.adobe.com hacked??

2011-09-26 Thread Haykel BEN JEMIA
The following course have been replaced by an ad for 'The Bourne Ultimatum'!! Hackers at work? http://tv.adobe.com/watch/360flex-conference/encrypting-flex-protecting-revenue-by-andrew-westberg/ Haykel Ben Jemia Allmas Web RIA Development http://www.allmas-tn.com

Re: [flexcoders] Restrict access to an API to only allowed applications

2011-09-26 Thread Haykel BEN JEMIA
. * Useful for quick/dirty storage of WebService credentials. So this is definitly better than storing the keys in plain text format, but still easy to crack. Any other suggestions. Thanks, Haykel Ben Jemia Allmas Web RIA Development http://www.allmas-tn.com On Mon, Sep 26, 2011 at 11:33 AM

Re: [flexcoders] Restrict access to an API to only allowed applications

2011-09-26 Thread Haykel BEN JEMIA
applications. Haykel Ben Jemia Allmas Web RIA Development http://www.allmas-tn.com On Mon, Sep 26, 2011 at 4:04 PM, Alex Harui aha...@adobe.com wrote: ** What kind of access to the web API are you trying to prevent? What configurations need to use the API? If the API doesn’t need to be used

Re: [flexcoders] Restrict access to an API to only allowed applications

2011-09-26 Thread Haykel BEN JEMIA
should deny the connection. Obviously the topic is large enough to tackle in just a couple of lines, hopes this gives you a start ... C -- *From:* Haykel BEN JEMIA hayke...@gmail.com *To:* flexcoders@yahoogroups.com *Sent:* Monday, September 26, 2011 1:40 PM

Re: [flexcoders] Re: Is it possible to add Flex components to the Stage?

2011-09-23 Thread Haykel BEN JEMIA
if for some reason you don't want or can't use Flex, then you try some of the pure AS component libraries: * ASDPC : http://sibirjak.com/osflash/projects/as-dataprovider-controls/ * AsWing : http://www.aswing.org/ and there are more. Haykel Ben Jemia Allmas Web RIA Development http

Re: [flexcoders] e4x help

2011-09-22 Thread Haykel BEN JEMIA
()); } } } } it outputs 'lst length = 3' as expected. Haykel Ben Jemia Allmas Web RIA Development http://www.allmas-tn.com On Thu, Sep 22, 2011 at 3:54 PM, michael_reg...@dell.com wrote: ** I must be missing something simple here. I’m reading in XML that looks like

Re: [flexcoders] e4x help

2011-09-22 Thread Haykel BEN JEMIA
;; use namespace biosattributeregistry; Haykel Ben Jemia Allmas Web RIA Development http://www.allmas-tn.com On Thu, Sep 22, 2011 at 4:32 PM, michael_reg...@dell.com wrote: ** I guess I should have copied the entire XML. ** ** REGISTRY xmlns:xsi=http://www.w3.org/2001/XMLSchema

Re: [flexcoders] What is the a correct lifecycle phase to add new child components?

2011-09-06 Thread Haykel BEN JEMIA
Hi Nick, if you use Spark components and the child components you want to add are fixed and known, e.g. a 'close' button that should be visible on mouse-over, then I would use skin states and manage visibility of the components in the skin. Haykel Ben Jemia Allmas Web RIA Development http

Re: [flexcoders] What is the a correct lifecycle phase to add new child components?

2011-09-06 Thread Haykel BEN JEMIA
Ben Jemia Allmas Web RIA Development http://www.allmas-tn.com On Tue, Sep 6, 2011 at 6:48 PM, Nick Middleweek n...@middleweek.co.ukwrote: ** Thanks for this... So I'm extending UIComponent, does this mean I'm doing it the MX way? Cheers... On 6 September 2011 14:38, Haykel BEN

Re: [flexcoders] Re: I don't know if I need Flex (please help me to decide)

2010-09-09 Thread Haykel BEN JEMIA
Fo the UI, you can try AsWing: http://www.aswing.org/ Haykel Ben Jemia Allmas Web RIA Development http://www.allmas-tn.com On Wed, Sep 8, 2010 at 7:53 AM, enridp enr...@yahoo.com.ar wrote: mmm... I was attracted by ColdFusion a few months ago because it was from Adobe and I thought

Re: [flexcoders] actionscript + library

2010-09-09 Thread Haykel BEN JEMIA
I think you can just create a Flex Library Project and if you don't use any Flex components then nothing from Flex will be added to the SWC. Haykel Ben Jemia Allmas Web RIA Development http://www.allmas-tn.com On Wed, Sep 8, 2010 at 9:42 PM, Ariel J arielj...@yahoo.com wrote

Re: [flexcoders] Find in Files in Flash Builder 4

2010-09-06 Thread Haykel BEN JEMIA
It's now under the 'Search' menu. Le 2010 9 6 05:50, markflex2007 markflex2...@yahoo.com a écrit : Hi I use Flex Builder 3 before . I can search string cross my files by using Find in Files (under Edit menu),but I can not do this with FB4. Please help me how to search my files by a string.

Re: [flexcoders] External CSS file in Flex 4

2010-09-04 Thread Haykel BEN JEMIA
Hi, you could put in 'mycss.css' the default settings and then with PHP only send the values that are specific for the user in a simple format and apply them with 'styleManager.setStyleDeclaration'. Haykel Ben Jemia Allmas Web RIA Development http://www.allmas-tn.com On Fri, Sep 3, 2010

Re: [flexcoders] Image component not resizing correctly

2010-09-02 Thread Haykel BEN JEMIA
You have to set 'maintainAspectRatio' to false if you want the content to fill the image. Le 2010 9 2 01:56, method_air loudj...@hotmail.com a écrit : Currently experiencing an Image component resizing issue: An Image component (inside an ItemRenderer/Spark List, with a fixed width/height of

Re: [flexcoders] Proper way to ensure components in a different state are created

2010-09-01 Thread Haykel BEN JEMIA
You could add a bindable var, e.g. noteText, and set the text property in the mxml tag to {noteText}. Then you only have to assign the value to the noteText variable. Le 2010 9 1 10:48, dorkie dork from dorktown dorkiedorkfromdorkt...@gmail.com a écrit : When I try to access components that are

Re: [flexcoders] basic authentification on air

2010-08-30 Thread Haykel BEN JEMIA
You have to put the full URL in service.destination. Le 2010 8 30 05:30, cholid cholid cholid_rid...@yahoo.com a écrit : i try to get some property of an object with xmlrpc and it's work then i adopt the code to air application when it run, then show a login window that is not happen in flex

Re: [flexcoders] How to tell if I am a popup.

2010-08-30 Thread Haykel BEN JEMIA
http://livedocs.adobe.com/flex/3/langref/mx/core/IUIComponent.html#isPopUp Le 2010 8 30 22:44, aceoohay pa...@compuace.com a écrit : I have a mx:module component that I sometimes call with a moduleloader, and sometimes call with a popupManager. In order to close the item properly I need to know

Re: [flexcoders] Constraining one components location to another component

2010-08-27 Thread Haykel BEN JEMIA
=error / /s:Group Of course you can put any states you like and also set states from outside with : mainImage.currentState = . Hope this helps, Haykel Ben Jemia Allmas Web RIA Development http://www.allmas-tn.com On Thu, Aug 26, 2010 at 9:50 PM, dorkie dork from dorktown

Re: [flexcoders] styles are ignored

2010-08-27 Thread Haykel BEN JEMIA
CSS in Flex 4 uses namespaces and you have to update your Flex 3 CSS files. You can simply open the CSS files in Flash Builder, put the cursor directly after every class name in the selectors and click 'Ctrl'-Space and Flash Builder will add the namespaces. Haykel Ben Jemia Allmas Web RIA

Re: [flexcoders] window resizing issues

2010-08-25 Thread Haykel BEN JEMIA
The createPopUp call looks suspicious to me, normally you should pass a class name as a second argument. Haykel. Le 2010 8 24 23:35, h_chris_87 h_chris...@yahoo.com a écrit : I have window W1 which has a Vertical Box which in turn has a Datagrid and one of those DataGrid columns of the

[flexcoders] Speeding+project+compilation

2010-08-24 Thread Haykel BEN JEMIA
Hi Amy, try putting the assets outside the 'src' directory. Haykel.

Re: [flexcoders] Speeding project compilation

2010-08-24 Thread Haykel BEN JEMIA
-debug folder, then re-adds them (even though they are embedded). I have hunted for a setting in Flex Builder that will let me turn this unneeded behavior orr, but I haven't found it. Does anyone know? TIA; Amy -- Haykel Ben Jemia Allmas Web RIA Development

[flexcoders] Multiple instances of a module with different styles

2010-07-01 Thread Haykel BEN JEMIA
-module-type style. Is there any way to load styles per module instance? Thanks, Haykel Ben Jemia Allmas Web RIA Development http://www.allmas-tn.com

Re: [flexcoders] Multiple instances of a module with different styles

2010-07-01 Thread Haykel BEN JEMIA
to have one module with red text and the other with green text. What I'm getting now is that both use sometimes one color and sometimes the other, I think depending on which styles are loaded first. Thanks, Haykel Ben Jemia Allmas Web RIA Development http://www.allmas-tn.com On Thu, Jul 1, 2010

Re: [flexcoders] spark ButtonBar selectedIndex out of view

2010-05-11 Thread Haykel BEN JEMIA
(buttonbar1.selectedIndex).x; Haykel Ben Jemia Allmas Web RIA Development http://www.allmas-tn.com On Tue, May 11, 2010 at 9:14 AM, bhaq1972 mbha...@hotmail.com wrote: I have a spark ButtonBar with a horizontalLayout. The width of the ButtonBar is small ...so the end buttons don't show. When I

Re: [flexcoders] DataGrid in a Spark Window Bug

2010-05-07 Thread Haykel BEN JEMIA
Haykel Ben Jemia Allmas Web RIA Development http://www.allmas-tn.com On Fri, May 7, 2010 at 4:57 PM, Jeff jbarts1...@yahoo.com wrote: Hello, I've got a modular application where I popup a TitleWindow for an import Wizard. From there, I try to open a Window with a DataGrid inside

Re: [flexcoders] Mediators, Presentation Models and Flex 4 Components

2010-05-05 Thread Haykel BEN JEMIA
in the new Flex 4 component/skin architecture? Thanks, Haykel Ben Jemia Allmas Web RIA Development http://www.allmas-tn.com 2010/5/4 gabriel montagné gabr...@rojored.com Hi, On 04/05/2010, Haykel BEN JEMIA hayke...@gmail.com haykelbj%40gmail.com wrote: with the new Flex 4 components

[flexcoders] Mediators, Presentation Models and Flex 4 Components

2010-05-04 Thread Haykel BEN JEMIA
simply using the AS class of a component as a mediator and the skin as a view. How do you handle this? Haykel Ben Jemia Allmas Web RIA Development http://www.allmas-tn.com

[flexcoders] Strange mask problem

2010-04-29 Thread Haykel BEN JEMIA
has 'view source' enabled. Any idea why even though the mask is correct (because the geometry is displayed and not masked out), mouse interaction is broken when the object is moved? Thanks, Haykel Ben Jemia Allmas Web RIA Development http://www.allmas-tn.com

Re: [flexcoders] Detecting Scrollbar presence on Flex 4 List

2010-04-29 Thread Haykel BEN JEMIA
Try to look in the List.scroller or List.scroller.viewport properties. Haykel Ben Jemia Allmas Web RIA Development http://www.allmas-tn.com On Fri, Apr 23, 2010 at 3:10 AM, Jeff jbarts1...@yahoo.com wrote: I'm trying to use a Spark List with a single itemRenderer in the place

Re: [flexcoders] Flex 4: using controlBarLayout, controlBarGroup, controlBarContent with AS3

2010-04-29 Thread Haykel BEN JEMIA
controlBarLayout and controlBarContent are simple properties and you can access them directly, controlBarGroup is a skin part and you need either to create a new skin to change it or access it by overriding the partAdded method. Haykel Ben Jemia Allmas Web RIA Development http://www.allmas

Re: [flexcoders] Hide/Show parts of a From

2010-04-29 Thread Haykel BEN JEMIA
; Haykel Ben Jemia Allmas Web RIA Development http://www.allmas-tn.com On Thu, Apr 29, 2010 at 3:25 PM, Wally Kolcz wko...@isavepets.com wrote: I have a Form that has different information to fill out based on a selected. All FormItems are contained inside a Form parent. Is there a way

Re: [flexcoders] Strange mask problem

2010-04-29 Thread Haykel BEN JEMIA
: * At position (0,0), everything works correctly. * At any other position, display masking is correct but mouse behaves incorrectly. This sounds like a bug, any thoughts? Haykel Ben Jemia Allmas Web RIA Development http://www.allmas-tn.com On Thu, Apr 29, 2010 at 6:07 PM, Alex Harui aha

Re: [flexcoders] Strange mask problem

2010-04-29 Thread Haykel BEN JEMIA
Seems to be related to this bug: https://bugs.adobe.com/jira/browse/SDK-25492 I have tried to use clip masking instead of alpha masking, mouse behavior is correct, but there are problems with the masking in the stroke region! Haykel Ben Jemia Allmas Web RIA Development http://www.allmas-tn.com

Re: [flexcoders] Flex 4 - Is it possible to create a generic Button skin

2010-04-27 Thread Haykel BEN JEMIA
s:BitmapImage source.up=getStyle('upSkin') source.over=getStyle('overSkin') source.down=getStyle('downSkin') / /s:SparkSkin Haykel Ben Jemia Allmas Web RIA Development http://www.allmas-tn.com On Tue, Apr 27, 2010 at 12:47 PM, bhaq1972 mbha...@hotmail.com wrote: I have a set of button

Re: [flexcoders] Re: Flex 4 - Is it possible to create a generic Button skin

2010-04-27 Thread Haykel BEN JEMIA
If it does not work try replacing getStyle with hostComponent.getStyle. Haykel Ben Jemia Allmas Web RIA Development http://www.allmas-tn.com On Tue, Apr 27, 2010 at 1:43 PM, bhaq1972 mbha...@hotmail.com wrote: Its a great idea but I haven't been able to make it work. I will try again

Re: [flexcoders] Re: Flex 4 - Is it possible to create a generic Button skin

2010-04-27 Thread Haykel BEN JEMIA
Of course! The getStyle function calls need to be set in curly braces like: source.up={getStyle('upSkin')} Sorry! Haykel Ben Jemia Allmas Web RIA Development http://www.allmas-tn.com On Tue, Apr 27, 2010 at 3:03 PM, bhaq1972 mbha...@hotmail.com wrote: Hasn't worked

Re: [flexcoders] How call to a function declared in MXML file from ActionScript class ?

2010-04-26 Thread Haykel BEN JEMIA
Where do you set the dataProvider of the DataGrid? What is the bpmnDataComponent that you pass to the retreiveData() function? Haykel Ben Jemia Allmas Web RIA Development http://www.allmas-tn.com On Mon, Apr 26, 2010 at 11:10 AM, Nini7016 Nini7016 nahloulaha...@hotmail.com wrote: Hello

Re: [flexcoders] make swf play and stop in frame one

2010-04-24 Thread Haykel BEN JEMIA
In the handler of the 'complete' event cast the 'content' property to MovieClip and call gotoAndStop(1) on it. Haykel Ben Jemia Allmas Web RIA Development http://www.allmas-tn.com On Sat, Apr 24, 2010 at 3:27 AM, markflex2007 markflex2...@yahoo.comwrote: Hi, I want to use swfloader

Re: [flexcoders] Need Help Getting A Value Into My App Via Flex And Php

2010-04-24 Thread Haykel BEN JEMIA
Probably this has to do with the fact that you are setting the data type to xml but not outputting valid xml. Try with something like: echo responsenextIncrement$next_increment/nextIncrement/response; Haykel Ben Jemia Allmas Web RIA Development http://www.allmas-tn.com On Fri, Apr 23, 2010

Re: [flexcoders] Re: Flex 4 HGroup and Group background colour

2010-04-23 Thread Haykel BEN JEMIA
I don't think this is bug because using top,left, right and bottom properties would need a layout that uses absolute positioning, while vertical, horizontal and tail layout are automatic layouts and don't use absolute positioning. Haykel Ben Jemia Allmas Web RIA Development http://www.allmas

Re: [flexcoders] Flex 3 to 4 Path

2010-04-23 Thread Haykel BEN JEMIA
the new syntax for states and transitions. Always use the spark transitions ans effects as they work much better than the halo ones. I think that's it for now! I hope it helps, Haykel Ben Jemia Allmas Web RIA Development http://www.allmas-tn.com On Fri, Apr 23, 2010 at 12:54 PM, Lee

Re: [flexcoders] Flex 4 and StyleManager

2010-04-22 Thread Haykel BEN JEMIA
. For your example, simple change the uppercase 'S' of StyleManager to a lowercase 's': styleManager.loadStyleDeclarations(styles/BlueBackground.swf, true); Bye, Haykel Ben Jemia Allmas Web RIA Development http://www.allmas-tn.com On Thu, Apr 22, 2010 at 9:25 AM, bobby_world bobby_wo...@yahoo.com

Re: [flexcoders] Potential Bug in Flash Builder 4?

2010-04-22 Thread Haykel BEN JEMIA
Can not reproduce. Check your namespaces, are you defining the fx namespace or is it set as the default namespace? Haykel Ben Jemia Allmas Web RIA Development http://www.allmas-tn.com On Thu, Apr 22, 2010 at 12:48 PM, Wally Kolcz wko...@isavepets.com wrote: Anyone else notice that when

Re: [flexcoders] Flex and REST

2009-09-03 Thread Haykel BEN JEMIA
Anyone tried one of these libs? http://code.google.com/p/as3httpclient/ http://code.google.com/p/as3httpclientlib/ They seem to support all required http verbs. Haykel Ben Jemia Allmas Web RIA Development http://www.allmas-tn.com On Wed, Sep 2, 2009 at 12:55 PM, DannyT danmo

Re: [flexcoders] Component with Text and Image in sameline

2009-03-11 Thread Haykel BEN JEMIA
Take a look at the Text Layout Framework [ http://labs.adobe.com/technologies/textlayout/ ]. Haykel Ben Jemia Allmas Web RIA Development http://www.allmas-tn.com On Wed, Mar 11, 2009 at 5:40 AM, Ashish Verma verma.lu...@gmail.com wrote: Hello All, Want to make a component in Flex 3

Re: [flexcoders] Actionscript question

2009-03-03 Thread Haykel BEN JEMIA
The metadata belongs to the class, so you have to put it directly before the class definition like this: package { import flash.display.Sprite; [SWF(backgroundColor=#ff)] public class SampleClass extends Sprite { public function SampleClass() { } } } Haykel Ben Jemia

Re: [flexcoders] Re: Mouse Clicks' Queue when Button is Disabled

2009-02-17 Thread Haykel BEN JEMIA
width=400 height=400 / /mx:Application Haykel Ben Jemia Allmas Web RIA Development http://www.allmas-tn.com On Tue, Feb 17, 2009 at 8:33 AM, giladozer gilado...@yahoo.com wrote: Thanks Alex for the quick response. However, the button is supposed to turn enabled after the result

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

2009-02-17 Thread Haykel BEN JEMIA
Can you click on the checkbox more than once (let's say 5 times) and resend the output? Haykel Ben Jemia Allmas Web RIA Development http://www.allmas-tn.com On Tue, Feb 17, 2009 at 8:57 AM, johndoematrix johndoemat...@yahoo.comwrote: when i replace the code and run the app, i get

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

2009-02-17 Thread Haykel BEN JEMIA
label='Pizza 3' pizza='true' / mx:Object label='Not a pizza 2' pizza='false' / /mx:ArrayCollection mx:CheckBox id=pizza_ckb change=pizzaFilter() / mx:List dataProvider={pizzaAr} labelField=label / /mx:Application Haykel Ben Jemia Allmas Web RIA Development http://www.allmas

Re: [flexcoders] Components needed

2009-02-17 Thread Haykel BEN JEMIA
other interesting articles on this site) Haykel Ben Jemia Allmas Web RIA Development http://www.allmas-tn.com On Tue, Feb 17, 2009 at 5:27 AM, brucewhealton br...@futurewavedesigns.comwrote: Hello all, I was wondering if anyone could recommend some good resources for components

Re: [flexcoders] AMF instead of XML over http?

2009-02-17 Thread Haykel BEN JEMIA
http://www.roboncode.com/articles/144 Haykel Ben Jemia Allmas Web RIA Development http://www.allmas-tn.com On Tue, Feb 17, 2009 at 11:45 AM, Guy Morton g...@alchemy.com.au wrote: Is it possible to simply transfer data over http that has been encoded in AMF format, ie to bypass all

Re: [flexcoders] In AIR Application fonts getting distort

2009-02-17 Thread Haykel BEN JEMIA
Did you clean the project after migrating to Flex 3.2? Haykel Ben Jemia Allmas Web RIA Development http://www.allmas-tn.com On Tue, Feb 17, 2009 at 10:52 AM, Ashish Verma verma.lu...@gmail.comwrote: Hello All, Facing a strange problem. Actually I made an application using Flex - 3.0

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

2009-02-17 Thread Haykel BEN JEMIA
You have to review the logic of your filter function. As Tracy said, you should try to debug, this will save you a lot of time. Put a break point in the filter function and test your conditions. Haykel Ben Jemia Allmas Web RIA Development http://www.allmas-tn.com On Tue, Feb 17, 2009 at 1

Re: [flexcoders] Re: Components needed

2009-02-17 Thread Haykel BEN JEMIA
There is a link to download the source to the right, just above Categories. Haykel Ben Jemia Allmas Web RIA Development http://www.allmas-tn.com On Wed, Feb 18, 2009 at 3:51 AM, brucewhealton br...@futurewavedesigns.comwrote: Hi, I thought the flexbook was open-source but I cannot find

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

2009-02-16 Thread Haykel BEN JEMIA
{ trace(item.pizza); return (item.pizza == pizzaSelected) ; } Haykel Ben Jemia Allmas Web RIA Development http://www.allmas-tn.com On Tue, Feb 17, 2009 at 7:44 AM, johndoematrix johndoemat...@yahoo.comwrote: Hi, Tim i tried your code, but the result is not good too. when then check box

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?

Re: [flexcoders] filter arraycollection with checkbox acting wired

2009-02-13 Thread Haykel BEN JEMIA
(item:Object): Boolean { return (item.pizza == pizzaSelected) ; } Haykel Ben Jemia Allmas Web RIA Development http://www.allmas-tn.com On Mon, Feb 9, 2009 at 2:52 PM, johndoematrix johndoemat...@yahoo.comwrote: hi i am trying to filter an array collection using a checkbox, but when i

Re: [flexcoders] Loading properties files at runtime

2009-02-12 Thread Haykel BEN JEMIA
I think one solution would be to load the properites file, parse it, extract the key-value pairs and create the resource bundle manually as described here: http://livedocs.adobe.com/flex/3/html/l10n_6.html#164919 Haykel Ben Jemia Allmas Web RIA Development http://www.allmas-tn.com On Thu

Re: [flexcoders] how to localize pageTitle

2009-02-10 Thread Haykel BEN JEMIA
an example how to do it: http://livedocs.adobe.com/flex/3/html/passingarguments_4.html Haykel Ben Jemia Allmas Web RIA Development http://www.allmas-tn.com On Tue, Feb 10, 2009 at 3:08 PM, Gautam P p.gau...@gmail.com wrote: Hi, Following is the code I tried out: mx:Application pageTitle

Re: [flexcoders] Flex RegExp issues

2009-02-08 Thread Haykel BEN JEMIA
The dot character matches any character, so that the regex 12.0 will match 12-0, 12x0, 12P0 etc. If you want to match the dot itself, you have to escape it, i.e. 12\.0. Haykel Ben Jemia Allmas Web RIA Development http://www.allmas-tn.com On Mon, Feb 9, 2009 at 1:54 AM, Manu Dhanda

Re: [flexcoders] Re: Generated html page backgroundcolour

2009-01-30 Thread Haykel BEN JEMIA
'backgroundColor' for the bg color of the wrapper. Haykel Ben Jemia Allmas Web RIA Development http://www.allmas-tn.com On Fri, Jan 30, 2009 at 6:50 PM, Tracy Spratt tspr...@lariatinc.com wrote: Does that property actually change the background color in the wrapper, or does the Flex app just cover

Re: [flexcoders] flex date and timezone

2009-01-28 Thread Haykel BEN JEMIA
of the zones (perhaps you can use this data). The other files contain time zone data (GMT offsets and other data). I think the 'Zone' entries are what you need. Haykel Ben Jemia Allmas Web RIA Development http://www.allmas-tn.com On Wed, Jan 28, 2009 at 5:42 PM, Gordon Smith gosm...@adobe.com

Re: [flexcoders] Dynamically loading image from URL

2009-01-27 Thread Haykel BEN JEMIA
You must wait fot the 'complete' event. Haykel Ben Jemia Allmas Web RIA Development http://www.allmas-tn.com On Tue, Jan 27, 2009 at 12:10 AM, pratikshah83 pratiksha...@yahoo.comwrote: Hi Guys, I want to have a custom image as the itemrenderer for plot chart... just like

Re: [flexcoders] Develop Flex application for 1024x768 Resolution

2009-01-26 Thread Haykel BEN JEMIA
Use percent sizes for the main container and set minWidth and minHeight for 1024x768. For inner containers/controls, use percent sizes and the left/right/top/bottom properties for the positions. Haykel Ben Jemia Allmas Web RIA Development http://www.allmas-tn.com On Mon, Jan 26, 2009 at 4

Re: [flexcoders] Re: Base one mxml component on another from Library

2009-01-26 Thread Haykel BEN JEMIA
If you have UFDCommonLib.swc, then add it to the libs folder. Now you must know in which package popupTitleWindow is defined. From your last mail, I guess it could be 'modulecode', so try this: xmlns:modulecode=modulecode Otherwise ask the developer who gave you the swc. Haykel Ben Jemia

Re: [flexcoders] Repeater Selected Index

2009-01-25 Thread Haykel BEN JEMIA
the correct data? How are you creating the tabs and what are you doing on refresh? Haykel Ben Jemia Allmas Web RIA Development http://www.allmas-tn.com On Sat, Jan 24, 2009 at 7:30 AM, Jaswant jaswant...@gmail.com wrote: I am developing an AIR application with dynamic tab using TabNavigator. Each

Re: [flexcoders] removePopUp on rollout, but not if rollOver popup itself?

2009-01-23 Thread Haykel BEN JEMIA
remove the popUp and clean the event listeners. Haykel Ben Jemia Allmas Web RIA Development http://www.allmas-tn.com On Fri, Jan 23, 2009 at 3:12 AM, Tracy Spratt tspr...@lariatinc.com wrote: I have a calendar component. When I rollOver a day that has a calendarevent, I pop-up a panel

Re: [flexcoders] Pop-up Window issue

2009-01-23 Thread Haykel BEN JEMIA
Any code to test this behavior? Haykel Ben Jemia Allmas Web RIA Development http://www.allmas-tn.com On Fri, Jan 23, 2009 at 3:52 PM, Eric Dunn ed...@adpt-tech.com wrote: Any suggestions on how to stay out of this hole. I am using a button with a click and not using KEY_UP or KEY_DOWN

Re: [flexcoders] Application - vertical scroll position

2009-01-22 Thread Haykel BEN JEMIA
Are you sure the scrollbar you see on the screen is of the application? Perhaps it belongs to some top level container (Canvas)? Haykel Ben Jemia Allmas Web RIA Development http://www.allmas-tn.com On Thu, Jan 22, 2009 at 5:15 PM, Besite - Bart b...@besite.be wrote: Hi all, I want

Re: [flexcoders] RTL with FP10, Flex 3

2009-01-21 Thread Haykel BEN JEMIA
): - Framework Overview http://www.adobe.com/go/textlayout_overview (pdf) – Overview for developers using the Text Layout Framework - Framework API http://www.adobe.com/go/textlayout_api – API Documentation for the Text Layout Framework Haykel Ben Jemia Allmas Web RIA Development

Re: [flexcoders] internationalization

2009-01-21 Thread Haykel BEN JEMIA
Yes, they are called resource modules! Thanks Gordon! http://livedocs.adobe.com/flex/3/html/l10n_5.html#158277 Haykel Ben Jemia Allmas Web RIA Development http://www.allmas-tn.com On Tue, Jan 20, 2009 at 10:37 PM, Gordon Smith gosm...@adobe.com wrote: Haykel is probably talking about

Re: [flexcoders] ContextMenuItem with a checkbox ?

2009-01-21 Thread Haykel BEN JEMIA
There is already support for checkbox menu items. Just set their 'type' property to 'check'. Haykel Ben Jemia Allmas Web RIA Development http://www.allmas-tn.com On Mon, Jan 19, 2009 at 11:57 PM, Michael Pelz-Sherman mpelzsher...@gmail.com wrote: Hi again, I thought I'd try extending

Re: [flexcoders] internationalization

2009-01-21 Thread Haykel BEN JEMIA
This is more than a simple internationalization, but I think the way you do it is ok as long as you only use text resources. The advantage of resource modules (and why they are compiled to swf) is that they also allow to use media files with the resources. Haykel Ben Jemia Allmas Web RIA

Re: [flexcoders] Navigational Design Patterns?

2009-01-21 Thread Haykel BEN JEMIA
Perhaps you can find some hints here: http://designinginterfaces.com/ Haykel Ben Jemia Allmas Web RIA Development http://www.allmas-tn.com On Wed, Jan 21, 2009 at 1:07 PM, nwebb neilw...@gmail.com wrote: Hi, We have a modular Flex project. Each screen has back and next buttons

Re: [flexcoders] Centered preloader that displays while image is loading

2009-01-21 Thread Haykel BEN JEMIA
' event handler change the state to 'image', in which the progress bar is hidden and the image is visible. Haykel Ben Jemia Allmas Web RIA Development http://www.allmas-tn.com On Wed, Jan 21, 2009 at 11:41 AM, stinasius stinas...@yahoo.com wrote: how can i show a preloader while an image?

Re: [flexcoders] RTL with FP10, Flex 3

2009-01-21 Thread Haykel BEN JEMIA
advise to use Flex 4. But be careful: you can become Gumboholic! Haykel Ben Jemia Allmas Web RIA Development http://www.allmas-tn.com On Thu, Jan 22, 2009 at 5:25 AM, Gordon Smith gosm...@adobe.com wrote: Do you really need to use Flex 3? We're adding TLF support to Flex 4. Gordon

Re: [flexcoders] Im new, and this is an old question

2009-01-20 Thread Haykel BEN JEMIA
on different pages or load them as modules. Haykel Ben Jemia Allmas Web RIA Development http://www.allmas-tn.com On Sun, Jan 18, 2009 at 7:54 PM, nycynik m...@theinfluence.net wrote: I am new to flex and RIA in general. I have been working with .net and java for a while now, and I am just

Re: [flexcoders] internationalization

2009-01-20 Thread Haykel BEN JEMIA
Use resource bundles. If you only have 2 or 3 languages and the resources are not heavy in size, you can simply compile them in the application, otherwise load them at runtime. Haykel Ben Jemia Allmas Web RIA Development http://www.allmas-tn.com On Tue, Jan 20, 2009 at 6:46 AM, Scott h

Re: [flexcoders] Do states and transitions behave differently depending on the context?

2009-01-20 Thread Haykel BEN JEMIA
/ /mx:FormItem /mx:Form /mx:Application Anyone has an explanation? Haykel Ben Jemia Allmas Web RIA Development http://www.allmas-tn.com On Mon, Jan 19, 2009 at 5:59 PM, mauricen maur...@morninglight.co.ukwrote: I have a component which can appear initially in one of two states, and can

Re: [flexcoders] Do states and transitions behave differently depending on the context?

2009-01-20 Thread Haykel BEN JEMIA
/ /mx:FormItem /mx:Form /mx:Application Anyone has an explanation? Haykel Ben Jemia Allmas Web RIA Development http://www.allmas-tn.com On Mon, Jan 19, 2009 at 5:59 PM, mauricen maur...@morninglight.co.ukwrote: I have a component which can appear initially in one of two states, and can

Re: [flexcoders] Do states and transitions behave differently depending on the context?

2009-01-20 Thread Haykel BEN JEMIA
/ /mx:FormItem /mx:Form /mx:Application Anyone has an explanation? Haykel Ben Jemia Allmas Web RIA Development http://www.allmas-tn.com On Mon, Jan 19, 2009 at 5:59 PM, mauricen maur...@morninglight.co.ukwrote: I have a component which can appear initially in one of two states, and can

Re: [flexcoders] ContextMenuItem with a checkbox ?

2009-01-20 Thread Haykel BEN JEMIA
http://livedocs.adobe.com/flex/3/html/menucontrols_3.html#410684 Haykel Ben Jemia Allmas Web RIA Development http://www.allmas-tn.com On Mon, Jan 19, 2009 at 8:15 PM, Michael Pelz-Sherman mpelzsher...@gmail.com wrote: Hi, I'd like to create a ContextMenuItem with a checkbox

Re: [flexcoders] Re: Do states and transitions behave differently depending on the context?

2009-01-20 Thread Haykel BEN JEMIA
Why do you need the one state? Is it only to make the transition when the component is created or do you have other states? What do you want to achieve exactly? Perhaps there is a better solution! Haykel Ben Jemia Allmas Web RIA Development http://www.allmas-tn.com On Tue, Jan 20, 2009 at 1

Re: [flexcoders] flex not seeing method

2009-01-19 Thread Haykel BEN JEMIA
DOWNLOADRESIZE_EVENT:String = DownloadResizeEvent; or correct how you reference it: snip mx:Metadata [Event(name=downloadresizeevent, type=elib.event.DownloadResizeEvent)] /mx:Metadata snip snip view:componentmxml downloadresizeevent=handler_resize(event)/ //snip Haykel Ben Jemia Allmas Web RIA

Re: [flexcoders] Flex drop down horizontal menu

2009-01-19 Thread Haykel BEN JEMIA
Take a look at the MenuBar control: http://livedocs.adobe.com/flex/3/langref/mx/controls/MenuBar.html Haykel Ben Jemia Allmas Web RIA Development http://www.allmas-tn.com On Mon, Jan 19, 2009 at 12:06 AM, brucewhealton br...@futurewavedesigns.com wrote: Hello all, I was wondering

  1   2   3   >