[flexcoders] Re: Items with variable width ? (TileBase component that don't override items width)

2008-09-22 Thread mydarkspoon
I'm having a similar problem, couldn't find a good way to enforce the HorizontalList to enable items with different width. --- In flexcoders@yahoogroups.com, z_babin [EMAIL PROTECTED] wrote: Hello, The result should be an HorizontalList like component (with all features; dataProvider,

[flexcoders] Re: Keyboard navigating through List's item renderers

2008-08-04 Thread mydarkspoon
. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of mydarkspoon Sent: Thursday, July 31, 2008 7:31 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Keyboard navigating through List's item renderers Hi, I have a list that renders meta data

[flexcoders] Keyboard navigating through List's item renderers

2008-07-31 Thread mydarkspoon
Hi, I have a list that renders meta data about images (title tags). This list uses a Form with 2 TextInput controls as an item renderer. The user should be able to navigate through the input fields using either the mouse or the tab key. The List default behavior when editable=true is to set the

[flexcoders] Re: Debugging problems with Firefox 3 Final

2008-06-24 Thread mydarkspoon
I found some workaround - set the wmode to opaque. it seems to work on xp, more about it here: http://mostlyflex.com/2008/06/23/firefox3-vs-flex-builder/ Cheers, Almog Kurtser --- In flexcoders@yahoogroups.com, João Fernandes [EMAIL PROTECTED] wrote: Hi there, did anyone had problems with

[flexcoders] SecurityDomain.currentDomain causes weird loaderInfo.url

2008-06-19 Thread mydarkspoon
Hi, I have swf file loaded into another swf from different domain. The swf is loaded into the same security domain (SecurityDomain.currentDomain). Both swf explicitly trust each other's domains so I don't experience any security violations. The loading works fine and I'm able to do cross

[flexcoders] Re: SecurityDomain.currentDomain causes weird loaderInfo.url

2008-06-19 Thread mydarkspoon
@yahoogroups.com, Alex Harui [EMAIL PROTECTED] wrote: Yeah, known issue. No way to avoid that we know of. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of mydarkspoon Sent: Thursday, June 19, 2008 2:36 AM To: flexcoders@yahoogroups.com

[flexcoders] Re: Two questions: Nested applications styles colllisions, flashvars injection

2008-06-02 Thread mydarkspoon
Of mydarkspoon Sent: Saturday, May 31, 2008 4:22 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Two questions: Nested applications styles colllisions, flashvars injection Hi all, I'm targeting here 2 problems I've been struggling with for quite long time regarding nested SWFs

[flexcoders] Re: Two questions: Nested applications styles colllisions, flashvars injection

2008-06-02 Thread mydarkspoon
it to ther fucntion it will call the other function. Thanks, Almog Kurtser, http://www.kaltura.com/ --- In flexcoders@yahoogroups.com, mydarkspoon [EMAIL PROTECTED] wrote: Hi Alex, thanks for your reply. I guess you're right about the styles, since we use modal window to open the loaded swf

[flexcoders] Two questions: Nested applications styles colllisions, flashvars injection

2008-05-31 Thread mydarkspoon
Hi all, I'm targeting here 2 problems I've been struggling with for quite long time regarding nested SWFs. The first, which is more nasty and 5 times more evil is using different styles for 2 flex applications where one application is loaded into the shell app. The behavior I'd like to have is

[flexcoders] Maintaining styles and locales(proeprties files)

2008-05-13 Thread mydarkspoon
Hi, I'm currently working on a project where both styles and language content are externalized and loaded at runtime. The same application is supplied to all clients from the same code base, and the changes are only made on the locales/styles. As the styles and the locales are compiled for every

[flexcoders] Re: Maintaining styles and locales(proeprties files)

2008-05-13 Thread mydarkspoon
] wrote: can u not keep the styles and text file..in once folder.. and add that folder as a external source path ..to all ur locale project.. and there by only one copy gets used across all projects... On 5/13/08, mydarkspoon [EMAIL PROTECTED] wrote: Hi, I'm currently working

[flexcoders] Segment and Interval Tree implementation for Actionscript?

2008-04-23 Thread mydarkspoon
Hi, I'm implementing a timeline related tracking class, where I have timeline objects with inTime and outTime, and I need the ability to retrieve all objects for time value. I found 2 suitable data structures for this task: Interval tree and Segment tree. Has anyone seen an implementation of

[flexcoders] Flex component kit - ContainerMovieClip content scaleX/scaleY changes...

2008-04-15 Thread mydarkspoon
Hi, I'm using the flex component kit to create custom skinned containers. It all works fine, except for one very annoying thing: When I change the container width/height, the content scaleX and sclaeY are being changed instead of the width/height. This causes some really nasty effect. For

[flexcoders] Font.registerFont() throws error when called from partitioned ApplicationDomain

2008-04-03 Thread mydarkspoon
Hi, I encountered a problem when having a main swf (flex app) that loads another flex application into a partitioned application domain (new ApplicationDomain()) and the loaded swf tries to register a font using either the Font.registerFont or using embeded font in style sheet (which behind the

[flexcoders] Any existing Sound-NetStream Façade to play mp3/flv ?

2008-03-29 Thread mydarkspoon
Hi, I encountered a problem with existing application that plays audio from a given URL. The URL was an flv file, which the Actionscript Sound class doesn't support. Just before I write my own Façade for Sound and Netstream, I'm curious if anybody ever seen an existing lib that can do it ?

[flexcoders] Re: Using module from Flex library project

2008-02-21 Thread mydarkspoon
--- In flexcoders@yahoogroups.com, mydarkspoon mydarkspoon@ wrote: --- In flexcoders@yahoogroups.com, Gaurav Jain gauravj@ wrote: The flex project that uses the module puts the module home project in its source path, Why is it required? Since you module is supposedly independent

[flexcoders] Using module from Flex library project

2008-02-20 Thread mydarkspoon
Hello, I've developed a small flex module which I used inside flex project. Now I want to allow different applications to use that module, so I thought the best way to allow them using it is to distibute the module in a flex library project. However, when I put the library project in the source

[flexcoders] Re: Using module from Flex library project

2008-02-20 Thread mydarkspoon
://livedocs.adobe.com/labs/flex3/html/help.html?content=rsl_02.html Thanks, Gaurav --- In flexcoders@yahoogroups.com, mydarkspoon mydarkspoon@ wrote: Hello, I've developed a small flex module which I used inside flex project. Now I want to allow different applications to use that module, so I

[flexcoders] Re: Using module from Flex library project

2008-02-20 Thread mydarkspoon
the modules. or simply change the Output folder for the modules project by going to project properties - flex build path HTH, Gaurav --- In flexcoders@yahoogroups.com, mydarkspoon mydarkspoon@ wrote: Thanks for your response, but RSL won't fit in this situation. RSL are loaded

[flexcoders] Re: Using module from Flex library project

2008-02-20 Thread mydarkspoon
*Him=Hi --- In flexcoders@yahoogroups.com, mydarkspoon [EMAIL PROTECTED] wrote: Him Guarev, I tried what you suggested but the errors only appears when using using the flex localization. My Module locales are located in -projectHome --locale en_US --src The flex project that uses

[flexcoders] Re: Using module from Flex library project

2008-02-20 Thread mydarkspoon
--- In flexcoders@yahoogroups.com, Gaurav Jain [EMAIL PROTECTED] wrote: The flex project that uses the module puts the module home project in its source path, Why is it required? Since you module is supposedly independent of your main app, you do not need to specify it in the source path.

[flexcoders] Re: Change Flex Editor Font Size

2008-02-18 Thread mydarkspoon
--- In flexcoders@yahoogroups.com, Shaq [EMAIL PROTECTED] wrote: Does anyone know how to change the Flex editors font size. When I'm looking at the code I would like the font to be a little smaller so I can get more code on the screen. Any ideas? Go to

[flexcoders] Undo/redo for flex cairngorm

2008-02-07 Thread mydarkspoon
Hello, I want to implement an undo/redo mechanism into an existing cairngorm app. I found the flex UndoRedo framework to be quite interesting, but since it's a framework and the operation of implementing the undo-redo is quite a lot of work, I'd be really glad to know what people who tried it

[flexcoders] Preserving loaded applications styles

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

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

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

[flexcoders] Dynamic loading of ResourceBundle textual content (not compiled ResourceBundle)

2008-01-27 Thread mydarkspoon
Hello, I'm using moxie localization capabilities lately and I was wondering if anyone ever made a kit that dynamically load the resource bundles textual content. The resource manager does great job of loading compiled ResourceBundles, yet, sometimes, the one that changes the .properties file has

[flexcoders] FileReference crashing firefox on linux testing old fp versions on linux

2008-01-20 Thread mydarkspoon
Hello, I'm using FileReference to upload file, the swf euns as expected under windows XP OS X but when using linux Redhat with firefox 2, it crashes... This happened when using flash player 9.0.45 However with fp 9.0.115 firefox doesn't crash but, it acts as if the upload operation is

[flexcoders] Re: Using modules in Actionscript

2008-01-20 Thread mydarkspoon
No, you can also extend the mx.modules.Module class which is a layout container. Cheers, Almog Kurtser http://www.kaltura.com --- In flexcoders@yahoogroups.com, duncan mcmillan [EMAIL PROTECTED] wrote: Folks I want to make a module in actionscript and have read that you need to extend the

[flexcoders] Re: i18n - Adavnced Internationalization in Flex Builder 3 - words order in a ph

2008-01-10 Thread mydarkspoon
and then substituted, in order, for the placeholders {0}, {1}, and so on, in the String before it is returned. in your properties-File: search_label=Search {0} {1} on {2} Then pass in an array containing three objects. Alger mydarkspoon wrote: Hi, I'm in a progress

[flexcoders] i18n - Adavnced Internationalization in Flex Builder 3 - words order in a phrase

2008-01-09 Thread mydarkspoon
Hi, I'm in a progress of starting to I18n-ize a medium scale flex application. I'm reading the i18l tutorial as well as the ResourceManager flex 3 docs. I find the ResourceManager class really useful, much more than I expected it to be, yet, I can't find any premade solution to a very common

[flexcoders] Re: Conditional itemrenderer

2007-12-27 Thread mydarkspoon
The ampersand oprator cannot be used inside XML tag. you can either use condition1 amp;amp; condition2 or pass the params to function which evaluates to Boolean. Also, take a look at this: http://www.herrodius.com/blog/17 Almog Kurtser, http://www.kaltura.com --- In flexcoders@yahoogroups.com,

[flexcoders] Re: FLEX 2 do not support mx:Loader,why?

2007-12-27 Thread mydarkspoon
Loader is a direct subclass of DispalyObjectContainer. The only flex container that can host non IUIComponent objects is UIComponent, which is an abstract container. Instead of using the Loader, use the SWFLoader or Image. --- In flexcoders@yahoogroups.com, markflex2007 [EMAIL PROTECTED] wrote:

[flexcoders] Re: Flex 3 Beta 3 Debugger Doesnt Connect

2007-12-26 Thread mydarkspoon
If you're running a firewall softwarre, it might block port 3434, which the flex builder uses for debugging. --- In flexcoders@yahoogroups.com, Sheriff [EMAIL PROTECTED] wrote: reverted back to Flex 3 Beta 2 and installed the older flash player and everything works again so i am guessing it

[flexcoders] Simple Cairngorm and State Pattern - design thoughts.

2007-12-22 Thread mydarkspoon
Hello, I'm adding some functionality to a Cairngorm app, I want to enable the user to select an audio clip from a DataGrid object with 2 columns: sound track name, and a play button next to it. Easy enough. The confusion start to rose when thinking about the different use cases, which are very

[flexcoders] Re: Simple Cairngorm and State Pattern - design thoughts.

2007-12-22 Thread mydarkspoon
new one. Hope this helps. Sebastian -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of mydarkspoon Sent: Saturday, December 22, 2007 11:28 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Simple Cairngorm and State Pattern

[flexcoders] Re: DataGrid data accessed from Item renderer

2007-12-21 Thread mydarkspoon
Hi Mark, your item renderer should not be worried about saving data, but instead notifying an higher level view about the user request to save the user interaction. You can either bubble an event to be catched by one of its parent or if the right component to perform the operation is the renderer

[flexcoders] Possible mx:SetEventHandler / bug

2007-12-18 Thread mydarkspoon
Hi, I encountered an error using the SetEventHandler and made a simple test case to see what was the problem: In my app I have a component that contains button and dispatches a goPrevious event when the component::button is clicked. Following the goPrevious event, the main app changes its state.

[flexcoders] Re: Possible mx:SetEventHandler / bug

2007-12-18 Thread mydarkspoon
in actionscript, it all works fine. private function init():void { trace(document.toString()); bt.addEventListener(change, onClick1); } - venkat http://www.venkatj.com --- In flexcoders@yahoogroups.com, mydarkspoon mydarkspoon@ wrote: Hi

[flexcoders] Re: Possible mx:SetEventHandler / bug

2007-12-18 Thread mydarkspoon
the old listener and add the new event listener. this.addEventListener(StateChangeEvent.CURRENT_STATE_CHANGE, handleStateChange); in the handleStateChange, you can check what the new state is and add/remove event listeners accordingly. --- In flexcoders@yahoogroups.com, mydarkspoon mydarkspoon

[flexcoders] Re: Different approaches to Cairngorm view updates

2007-12-08 Thread mydarkspoon
me think of each... Cheers, Almog Kurtser. http://www.kaltura.com --- In flexcoders@yahoogroups.com, Richard Rodseth [EMAIL PROTECTED] wrote: Have you looked into the Observe tag? On Dec 7, 2007 4:28 PM, mydarkspoon [EMAIL PROTECTED] wrote: Hi, I'm still new to cairngorm, and like

[flexcoders] Re: Cairngorm Issue

2007-12-07 Thread mydarkspoon
Can you post the shole code for the component that hosts the view stack ? If you tested the model workflowState and it did changed I guess that the problem is with your model reference variable is not set to be bindable with the [Bindable] metadata tag (although the ModelLocater instance is set

[flexcoders] Different approaches to Cairngorm view updates

2007-12-07 Thread mydarkspoon
Hi, I'm still new to cairngorm, and like almost everyone bumped into issues concerning updating the view when binding to the model won't be enough. I ran across 2 main approaches: 1. Derrick Grigg / Firemoss - use a view controller which listens to the CairngormEventDispatcher and dispatches

[flexcoders] Re: Cairngorm Issue

2007-12-07 Thread mydarkspoon
mx:ViewStack id=validateView selectedChild={ getView( model.workflowState ) } loginview:LoginForm id=loginForm/ loginview:RegisterForm id=registerForm/ /mx:ViewStack loginview:LoginAndRegisterControlBar id=lnrControlBar/ /mx:Panel Thanks. Manu. mydarkspoon wrote

[flexcoders] Re: Cairngorm design questions about Command-View communication

2007-12-05 Thread mydarkspoon
Hi, I'm a cairngorm newbie, and still not sure of what solution is appropriate for a certain situation but in case I want to update the view after a command has taken an action I would follow one of the following: 1. A direct data binding that is the most elegant I think but doesn't always fit.

[flexcoders] Cairngorm and FileReference best practice.

2007-12-04 Thread mydarkspoon
Hi, I'm doing my first cairngorm project, and trying to adapt best practices and conventions. Well, I have a screen in which the user should upload multiple files from his computer, much like flickr's one http://www.flickr.com/photos/upload/ . The view will contain a DataGrid, upload button and

[flexcoders] Flex transition won't affect a component with children .

2007-11-27 Thread mydarkspoon
Hello all, I had a problem with transitions which I isolated into a very simple case: I have a VBox with a text label and a button. When user clicks the button, the current state changes into a new state in which new component is added to my VBox which I expect to grow smoothly. This new component

[flexcoders] Re: Cairngorm - what's you best practice on handling inital data from the server

2007-11-19 Thread mydarkspoon
--- In flexcoders@yahoogroups.com, mydarkspoon mydarkspoon@ wrote: Hello all, I'm new with Cairngorm, trying to develop a wizard RIA with flex, and I encountered an issue with data binding that went ugly: In my model I have an XML doc taht describes several available search services from the server

[flexcoders] Re: Cairngorm - what's you best practice on handling inital data from the server

2007-11-19 Thread mydarkspoon
performance-related, or more about style/elegance? -Nick Matelli Amentra, Inc --- In flexcoders@yahoogroups.com, mydarkspoon mydarkspoon@ wrote: Hi Nick, Thanks for the help, the reasons why I'm not satisfied with #5 are like that: The tabs naming is one operation that takes place

[flexcoders] My first post here - styling the TabBar rollover colors

2007-11-13 Thread mydarkspoon
Hello all! I'm styling the flex TabBar using Adobe flex explorer, and facing a very annoying problem while trying to set the rollOver color of the tabs. At first place I thought I could set the rollover color using the tabStyleName's fillColors style, but this style can only get 2 colors that

[flexcoders] Re: My first post here - styling the TabBar rollover colors

2007-11-13 Thread mydarkspoon
if you can do it without a programmatic skin. Here is the as and the css part for how to do it with a programmatic skin (works for me):  _rico On 13.11.2007, at 14:21, mydarkspoon wrote: Hello all! I'm styling the flex TabBar using Adobe flex explorer, and facing a very