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
yeah you have just confirmed my 'fear' that for client applications there is actually no secure way to identify them because anything they include (data, algorithms etc.) can be cracked and the identification process can be reproduced. We can only try to make it as hard as possible. Haykel Ben

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

[flexcoders] Flex Accordion Menu?

2009-08-03 Thread Ben
I am creating a website in Flex, and one of the requirements is an accordion like menu. See this image for what it needs to look like: http://i25.tinypic.com/1735hy.png The gray items do not have children. The dark blue items are children of the light blue item. Would someone tell me a good

[flexcoders] Re: Flex Accordion Menu?

2009-08-03 Thread Ben
Thank you! That works perfectly. I'm using normal buttons for the top level items with no children, and I'm using a window shade for top level items with children. I also set the verticalGap and the paddingTop to 0 on the window shade to remove extra space. --- In

[flexcoders] Flex Modules and chaching

2009-06-23 Thread Ben Densmore
Gateway from my local machine. I've deleted all the .swf files and do a new build but it seems as though the modules hold on to the old settings. Is there a way when you build your project in Flex Builder to force it to grab the newest settings? Thanks, Ben

[flexcoders] Remoting Question

2009-06-18 Thread Ben Densmore
the session variables are being reset. I can force the page to always go to www but wanted to see if others have run into this and the best way to handle it. Thanks, Ben

[flexcoders] Issue with TileList

2009-06-14 Thread Ben Densmore
. Is it not possible to call a method on a component inside a TileList other than using the itemClick event on the TileList itself? The TileList is below. Thanks, Ben mx:TileList id=searchList dataProvider={searchAryCol} paddingTop=25 left=10 borderStyle=none

[flexcoders] What to use instead of Model component in Flex 4?

2009-06-03 Thread ben gomez farrell
a dataprovider in it, or a XMLList in it, but nothing seems to work out. Does anybody know the proper way to do this? thanks! ben

Re: [flexcoders] What to use instead of Model component in Flex 4?

2009-06-03 Thread ben gomez farrell
my declarations tag. Thanks, and just ignore me! ben gomez farrell wrote: Hey guys, Just starting to build my first Flex 4 app. I'm making an MenuBar as the first thing I'm attempting. I can get it working with XML data if I do mx:MenuBar s:dataProvider myxml /s:dataProvider /mx:MenuBar

[flexcoders] DataGridColumn backgroundColor bug?

2009-05-19 Thread Ben Reynolds
Hi guys, This seems like an awfully simple thing for nobody to have picked up before, so hopefully someone can point me in the right direction as to what I'm doing wrong. I have gone way heaps hardcore and simplified the issue to the following using SDK3.2: mx:DataGrid showHeaders=false

[flexcoders] Re: specify services-comfig.xml in either MXML or AS?

2009-05-05 Thread Ben Reynolds
It's actually really simple (at least for the most basic implementation) to get rid of services-config.xml and the need for the -services compiler argument. I've had no problems using it with amfphp or granite. In the Application's creationComplete() I have something along the lines of

[flexcoders] Re: Trigger DateFormatter bindings

2009-05-03 Thread Ben Reynolds
on before, and this is the latest in a series of kludges to get there. Thanks again, MrB. --- In flexcoders@yahoogroups.com, Tim Hoff timh...@... wrote: Hi Ben (MrB), Looks like you're going to have to do a little trickery. Binding the formatString doesn't seem to change the date formats

[flexcoders] Trigger DateFormatter bindings

2009-04-30 Thread Ben Reynolds
Hey guys, Is there a way to trigger the binding on all related items when changing the DateFormatter's formatString? eg. becomes MMM, via actionscript in the following: mx:DateFormatter id=df formatstring= / mx:Text text={df.format(date)}/ I'd prefer not to be manually

[flexcoders] Re: DateFormatter and dynamic resource management errror

2009-04-19 Thread Ben Reynolds
/Resources_es_ES.swf Formatters will now do their internationally spelled magic. Hopefully this will all become useless very soon, with Adobe just handing over all these languages by default. A man can dream. A man can dream. - MrB --- In flexcoders@yahoogroups.com, Ben Reynolds mrb...@... wrote: Okay

[flexcoders] Re: Making ComboBox stay open after item select?

2009-04-17 Thread Ben Reynolds
to the dropdown (the List component in the ComboBox) property's ListEvent.CHANGE seems not to cut it. It would be great if you would have a workaorund for this! Best, Sascha From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Ben Reynolds Sent: Thursday

[flexcoders] Re: DateFormatter and dynamic resource management errror

2009-04-17 Thread Ben Reynolds
an English machine? Danke for any light you can shed on this. --- In flexcoders@yahoogroups.com, Ben Reynolds mrb...@... wrote: Hey guys, I have a Flex 3 app that employs dynamic resource management - pretty much a cut-n-paste job from the Adobe sample - with the ComboBox to switch

[flexcoders] Re: Need help- cannot insert multiple statements in one SQL transaction.

2009-04-17 Thread Ben Reynolds
Okay... 1) use a synchronous connection as async won't work for transactions. 2) yep, use transactions 3) put your statements in an array, not a semi-colon separated string 4) here's the key part of the code I use connection.begin(); for each

[flexcoders] Re: Making ComboBox stay open after item select?

2009-04-16 Thread Ben Reynolds
...@... wrote: I've made a short test and that seems to work so far. Thanks for the hint Ben! I almost started to try writing a custom component from a Button and a List wrapped into a UIComponent as Alex Harui suggested in a message I've found but seems that that's not necessary. Sascha

[flexcoders] Re: Making ComboBox stay open after item select?

2009-04-15 Thread Ben Reynolds
Something like: package { import flash.events.Event; import mx.controls.ComboBox; public class ComboBoxNoClose extends ComboBox { public function ComboBoxNoClose() { super(); } public override function close(trigger:Event =

[flexcoders] DateFormatter and dynamic resource management errror

2009-04-15 Thread Ben Reynolds
Hey guys, I have a Flex 3 app that employs dynamic resource management - pretty much a cut-n-paste job from the Adobe sample - with the ComboBox to switch languages. I did all the copylocale rigmarole and it's all working perfectly with the languages I've set up. However, when I try to

Re: [flexcoders] I want to use Flex Builder 3 to develop Flash Games

2009-03-29 Thread ben gomez farrell
properties in the Flash IDE, and then just export the SWC. Once in Flex Builder, you don't import anything (as its all in the local namepsace), and just do new myrectangle(); Hope that helps. SWCs are great stuff. ben Axonn wrote: Hm, I think I didn't ask the right question, because somebody told

Re: [flexcoders] I want to use Flex Builder 3 to develop Flash Games

2009-03-29 Thread ben gomez farrell
work in Flash independently and just give you an updated SWC every so often while you work in Flex Builder, updating the logic surrounding the game. But like I said - people prefer different stuff - I'm sure once you get a little experience with this workflow, you'll have your own opinions. ben

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] Who have YOU used for outsourcing mid to large Flex/CF projects?

2009-02-26 Thread ben gomez farrell
an in house project manager or producer, you can probably achieve the same results. Like I said.I've never run a company, so this might be bad advice - but its probably what I'd do. ben Pat Buchanan wrote: My company is where I like it - small and maintainable - just a few employees

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] Buttonbar not centering at startup

2009-02-02 Thread Ben Cessa
] Buttonbar not centering at startup Ben, horizontalCenter=0?? It should be horizontalAlign=center, shouldn't it? -- Marco Catunda On Sun, Feb 1, 2009 at 10:29 PM, Ben Cessa bce...@gmail.com wrote: Hi again, right now I'm just playing a little with AIR and PV3D writing a little useless app

[flexcoders] Buttonbar not centering at startup

2009-02-01 Thread Ben Cessa
Hi again, right now I'm just playing a little with AIR and PV3D writing a little useless app as anexercise. I'm having an odd problem with ButtonBar, the thing don't get the horizontal center when the apps starts, is aligned to the left, however, as soon as I start resizing the main window it

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

  1   2   3   4   5   6   >