[flexcoders] Warning: Source path entry XXXX is a subdirectory of source path entry

2008-06-11 Thread bjorn
I'm cleaning up my (proje)act and trying to remove all warnings. This one is bugging me: "Source path entry, C:\dev\flexworkspace\project\src\assets\locale\en_US' is a subdirectory of source path entry, 'C:\dev\flexworkspace\project\src\" It's becuase I have these additional compiler arguments: -

[flexcoders] .visability = true, but is it "viewable"?

2008-06-25 Thread bjorn
I have an animation that is displayed using a timer while something is loading. When this animation isn't visible, I don't want the timer to keep updating the animation. I've overridden the set visible( value:Boolean ) function and stop the animation if visible is set to false; but the problem is

Re: [flexcoders] .visability = true, but is it "viewable"?

2008-06-25 Thread bjorn
The timer is used to update the animation. I need to know when to stop it. 2008/6/25 Paul Andrews <[EMAIL PROTECTED]>: >Why not just remove the timer? > > - Original Message - > *From:* bjorn <[EMAIL PROTECTED]> > *To:* flexcoders@yahoogroups.com > *S

Re: [flexcoders] .visability = true, but is it "viewable"?

2008-06-26 Thread bjorn
le to tell them to stop if they're not visible. 2008/6/25 Paul Andrews <[EMAIL PROTECTED]>: >You say that the animation plays while something is loading. When the > something has loaded, stop the timer. > > Paul > > - Original Message - > *F

Re: [flexcoders] .visability = true, but is it "viewable"?

2008-06-26 Thread bjorn
Thanks for the input Mike, it's a good idea which will solve my problem, but it is still sort of a last-resolution solution -- since I will need to have a list of all these loader-animations and stop each one of them - in additon to implementing a solution like this each time one of them is in use

Re: [flexcoders] .visability = true, but is it "viewable"?

2008-06-26 Thread bjorn
... I will look into that. Thanks again for your suggestions :-) Bjorn 2008/6/26 Michael Schmalle <[EMAIL PROTECTED]>: > Hi, > > I don't know 'how' you have the view set up but, could you listen to the > change event from the loader? > > IE when it'

[flexcoders] Disable sorting for ArrayCollection ...

2008-07-08 Thread bjorn
I've implemented a tree which displays "folders", with a compareFunction that makes sure the folders are always sorted alphabetically. It works fine - if a user moves a folder it automatically shows up in the correct order. I do have a problem with renaming though. This worked before I implemented

[flexcoders] Menu.setStyle('openDuration', 0) will break Alert.show() - bug?

2008-08-18 Thread bjorn
I'm wondering if this is a bug or not .. I accidently discovered that Alert.show() called by a menu would break if the menu had openDuration=0. Check it out here: http://www.juicability.com/entry/setting-openduration-to-0-on-menu-will-break-alert/ Is this a bug? -- htt

Re: [flexcoders] download many files at a time

2008-08-28 Thread bjorn
It's possible, but you need to show a new save dialog for each file though. 2008/8/28 dialogtmp <[EMAIL PROTECTED]> > hello,all > > I want to let user to download many files at a time, but I can't use > the server side language to implement. > > I have already searched much information, but sti

[flexcoders] Advanced internationalization in Flex

2008-08-28 Thread bjorn
I've worked with Flex' Resource Bundle (.properties) files and it works fine for internationalizing words and simple sentences, but imho it's not really optimal for blocks of text (with linebreaks and maybe even html formatting). Are there other solutions for this? -- ht

Re: [flexcoders] Checkbox in Datagrid . . . how?

2008-09-02 Thread bjorn
You need to create a TreeItemRenderer, there's an example in the Flex Cookbook here: http://www.adobe.com/cfusion/communityengine/index.cfm?event=showdetails&postId=545&productId=2 - bjorn 2008/9/2 crumpelfungus <[EMAIL PROTECTED]> > Having looked through the archive

Re: [flexcoders] embedding fonts with different styles: Helvetica?

2008-09-02 Thread bjorn
Have you tried just removing the fontType and fontWeight completely? I've used bold fonts by just specifying the fontFamily.. - bjorn 2008/9/2 mariovandeneynde <[EMAIL PROTECTED]> > Greetings! > > I'm having trouble with embedding the helvetica font. > I wish to

Re: [flexcoders] Re: Checkbox in Datagrid . . . how?

2008-09-03 Thread bjorn
Yes, then you have to write code to get the data into a dataProvider for the Tree, for example creating model objects from the xml and adding them to an ArrayCollection. The checked state can for instance be a boolean inside the model. 2008/9/2 crumpelfungus <[EMAIL PROTECTED]> > Add-on / Clari

[flexcoders] AdBlock-like functionality in mx.controls.HTML?

2008-09-18 Thread bjorn
Is it possible to change the html content before rendering using the mx.controls.HTML component? Suggestions to how this could be done? -- http://www.juicability.com - flex blog http://www.nospoiler.com - link to youtube videos without the spoilers

[flexcoders] swf with TextField.htmlText - links do not work

2008-10-03 Thread bjorn
I've got a flex application which loads an SWF which contains a link in a TextField's htmlText. It displays the mouse over handcursor and it looks like a link - yet when I click it nothing happens. Is there some security limitation here? -- http://www.juicability.com - fl

Re: [flexcoders] swf with TextField.htmlText - links do not work

2008-10-03 Thread bjorn
ons presented are solely > those of the author and do not necessarily represent those of INPS or any of > its affiliates. If you are not the intended recipient please contact > [EMAIL PROTECTED] > ------ > > *From:* flexcoders@yahoogroups.com [mail

Re: [flexcoders] swf with TextField.htmlText - links do not work

2008-10-06 Thread bjorn
anges to the hand cursor when hovering over the link, it's just that nothing happens when you click it. - bjorn 2008/10/3 Gregor Kiddie <[EMAIL PROTECTED]> >You need to look at, > > > http://livedocs.adobe.com/flex/3/html/help.html?content=textcontrols_04.html#43

Re: [flexcoders] swf with TextField.htmlText - links do not work

2008-10-06 Thread bjorn
Yeah, one I'd expect a security exception to be thrown as well but I don't see any even when running in debug mode. hmm, well I guess it's back to trying and failing ... heh bjorn 2008/10/6 Gregor Kiddie <[EMAIL PROTECTED]> >I should know better than to trust the l

Re: [flexcoders] swf with TextField.htmlText - links do not work

2008-10-06 Thread bjorn
d opening a new browser window from it, that works fine with navigateToUrl).. 2008/10/6 Tom Chiverton <[EMAIL PROTECTED]> > On Monday 06 Oct 2008, bjorn wrote: > > Have also tried adding event listeners to the textinput component and > used > > links with "event:http://&

[flexcoders] Replace color in animation?

2007-11-15 Thread bjorn -
Ok, this is maybe a bit offtopic but I'll give it a shot anyway -- We get vector animations created in Illustrator from a design shop, which we convert to MovieClips and use in flash. What I would like to do is replace a specific color in flash in runtime. E.g. if it's a car I'd like to be able to

[flexcoders] Problem with ModuleLoader on Linux?

2007-11-20 Thread bjorn -
Hi, we load a module using the ModuleLoader and this works fine on Windows. loader = new ModuleLoader(); loader.url = this.config.module_gateway_url; loader.addEventListener( ModuleEvent.READY, moduleReady ); loader.addEventListener( ModuleEvent.ERROR, moduleError ); loader.loadModule()

[flexcoders] PopupManager - any way to make it blur the app but not the mask?

2007-11-27 Thread bjorn -
I've got a two canvases which I use with the PopupManager this way: PopUpManager.addPopUp(canvas1,canvas2, true); The PopupManager will blur the entire application including it's mask - but I'd like to keep the mask as it is (not blurred, and with the popup masked by it as well). Is this pos

Re: [flexcoders] PopupManager - any way to make it blur the app but not the mask?

2007-11-27 Thread bjorn -
PROTECTED] *On > Behalf Of *bjorn - > *Sent:* Tuesday, November 27, 2007 1:53 AM > *To:* flexcoders@yahoogroups.com > *Subject:* [flexcoders] PopupManager - any way to make it blur the app but > not the mask? > > > > I've got a two canvases which I use with the PopupManag

[flexcoders] How to delete cookies & cache in mx.controls.HTML?

2007-12-02 Thread bjorn -
I've started experimenting a bit with Flex 3's HTML control for Air. It looks pretty nice, but I have not found out how to do things like deleting the cache or handling cookies. Is this something that is currently possible, or functionality that is intended for release later? If it's not possible

Re: [flexcoders] Verifing URL before setting it to the source of VideoDisplay

2007-12-03 Thread bjorn -
I've actually had so much problems with this that I decided to replace my VideoDisplay instance each time I load a video (and delete the old one). If you go this route it's important that you: - remove all event listeners from it - set .source = "" - call .load() on the empty source .. before rem

[flexcoders] Re: How to delete cookies & cache in mx.controls.HTML?

2007-12-04 Thread bjorn -
Sorry to *bump*, but .. is this not possible with the HTML control? I've tried searching the list but no one seems to have discusses this before :-) - Bjørn On 02/12/2007, bjorn - <[EMAIL PROTECTED]> wrote: > > I've started experimenting a bit with Flex 3's HTML

Re: [flexcoders] Verifing URL before setting it to the source of VideoDisplay

2007-12-04 Thread bjorn -
wrote: > >Thanks bjorn > > Its hard to implement what you have suggested as i have created some > states and there are alot of listener attached to videoDisplay. Do i need to > change the instance name of the videoDisplay every time. ? > > I will give it a shot but i am s

[flexcoders] Strange behaviour with singleton's and modules?

2007-12-05 Thread bjorn -
I've made a simple testcase with a singleton and three Flex projects: 1. MainApp 2. ModuleOne 3. ModuleTwo MainApp loads ModuleOne which loads ModuleTwo (it could also load both modules, the behaviour I describe below seems to be the same in both cases). I have created a TestSingleton.as which i

[flexcoders] Re: Strange behaviour with singleton's and modules?

2007-12-05 Thread bjorn -
gah, of course, I meant to say "singletons and modules" in the subject! Sorry about that :-| On 05/12/2007, bjorn - <[EMAIL PROTECTED]> wrote: > > I've made a simple testcase with a singleton and three Flex projects: > > 1. MainApp > 2. ModuleOne > 3. Modu

Re: [flexcoders] Re: Strange behaviour with singleton's and modules?

2007-12-06 Thread bjorn -
http://www.darronschall.com/weblog/archives/000274.cfm > > Short of that can you post your singleton implementation code (or at > least the constructor) ? > > --- In flexcoders@yahoogroups.com , "bjorn > -" <[EMAIL PROTECTED]> wrote: > > > >

Re: [flexcoders] Re: Strange behaviour with singleton's and modules?

2007-12-07 Thread bjorn -
The thing is - there's nothing wrong with the Singleton implementation, it works just fine in my app (and inside modules). But when a module loads another module, it stops behaving as a Singleton. So it seems like a Flex bug ? On 06/12/2007, bjorn - <[EMAIL PROTECTED]> wrote:

Re: [flexcoders] Debugging

2007-04-16 Thread bjorn -
What do you mean? You can debug your flex application the normal way in Flex Builder by adding breakpoints and hitting F11. As for .NET you'll have to debug that serverside in Visual Studio or whatever you use. - Bjørn On 16 Apr 2007 00:06:44 -0700, kumarpal jain <[EMAIL PROTECTED]> wrote:

[flexcoders] Problem with loading module -- mx.core::LayoutContainer could not be found.

2007-04-16 Thread bjorn -
Hi guys, I've got a simple text module which looks like this: http://www.adobe.com/2006/mxml " layout="absolute"> I compile it with the -load-externs option to not include the classes I use from " com.myapp" However, when I try to load the module from my main application

Re: [flexcoders] Problem with loading module -- mx.core::LayoutContainer could not be found.

2007-04-16 Thread bjorn -
Thanks for the tip .. I did try that already though, and it didn't make any difference. On 16 Apr 2007 06:23:20 -0700, Tom Chiverton <[EMAIL PROTECTED]> wrote: On Monday 16 Apr 2007, bjorn - wrote: > Anyone know what might cause this? Googling the error didn't help me mu

[flexcoders] Looping through sorted ObjectProxy

2007-04-16 Thread bjorn -
I'm getting a sorted ObjectProxy from a server. In my debugger it looks like this: obj.stats = Object (@b90e661) [51] = Object (@b90e541) [52] = Object (@b90e361) [1] = Object (@b90e121) [2] = Object (@b90e9e1) (its week numbers linked to Objects, btw). However, when I use for() like this: for

Re: [flexcoders] Problem with loading module -- mx.core::LayoutContainer could not be found.

2007-04-16 Thread bjorn -
least. - Bjørn On 16 Apr 2007 10:10:50 -0700, Robert Cadena <[EMAIL PROTECTED]> wrote: Hi Bjorn, when you load the module, what ApplicationDomain are you passing to the the IModuleInfo? and how do you construct it if you are passing it as a param? /r http://www.searchcoders.com/fl

Re: [flexcoders] Problem with loading module -- mx.core::LayoutContainer could not be found.

2007-04-17 Thread bjorn -
t of luck. /r http://www.searchcoders.com/flex/search/module http://www.laflex.org/ - Los Angeles Flex Users Group bjorn - wrote: > Robert, thanks for leading me onto the correct path :-) The problem has to > do with security. If I set the module url to a local path (c:\..) > instead of > localh

[flexcoders] Unload SWF - flex garbage collection (bug?)

2007-04-17 Thread bjorn -
Hi guys, I'm using flash.display.Loader to Load swf through a gateway. It usually works great, and my trace output is like this: [SWF] /webroot/binaryStreamer.php - 118,894 bytes after decompression [SWF] /webroot/binaryStreamer.php - 3,040 bytes after decompression [SWF] /webroot/binaryStreamer

Re: [flexcoders] Looping through sorted ObjectProxy

2007-04-17 Thread bjorn -
ferent results. You might have to find a way to get an array. -- *From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On Behalf Of *bjorn - *Sent:* Monday, April 16, 2007 12:06 PM *To:* flexcoders@yahoogroups.com *Subject:* [flexcoders] Looping through sorted Objec

Re: [flexcoders] Looping through sorted ObjectProxy

2007-04-17 Thread bjorn -
each (var value:Object in obj.stats) { trace(value.week); } will output: 16 13 14 15 16 13 14 15 .. it always starts with the last, before moving to the first .. Best regards, Bjørn On 16 Apr 2007 17:02:20 -0700, Bjorn Schultheiss < [EMAIL PROTECTED]> wrote: Hey Bjørn

Re: [flexcoders] Problem with loading module -- mx.core::LayoutContainer could not be found.

2007-04-17 Thread bjorn -
em. You might be better off loading via relative urls instead of absolute. -- *From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On Behalf Of *bjorn - *Sent:* Tuesday, April 17, 2007 12:32 AM *To:* flexcoders@yahoogroups.com *Subject:* Re: [flexcoders] Problem with loading

Re: [flexcoders] Problem with loading module -- mx.core::LayoutContainer could not be found.

2007-04-18 Thread bjorn -
y server to force you to import load the modules into the same security domain. Does it actually work when deployed the way you want it? -- *From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On Behalf Of *bjorn - *Sent:* Tuesday, April 17, 2007 6:2

Re: [flexcoders] Problem with loading module -- mx.core::LayoutContainer could not be found.

2007-04-18 Thread bjorn -
u be linking the main app against a 2.0 framework.swc? You need to link against 2.0.1. Also, normally you -load-externs against classes in the main app and not from some package. -Alex -- *From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On Behalf Of *b

Re: [flexcoders] Problem with loading module -- mx.core::LayoutContainer could not be found.

2007-04-20 Thread bjorn -
n in your app. If it does, then there must be something unique about the load. Are you specifying a different application domain? -Alex -- *From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On Behalf Of *bjorn - *Sent:* Wednesday, April 18, 2007 7:58 AM

[flexcoders] AnimationPackage - goto no longer exists in Sequence?

2007-05-07 Thread bjorn -
Hi, I've got a sequence that I'd like to be run immediately the first time it's executed. I've tried setting the duration to 1, but it's still too slow. I was thinking of using the Sequence.goto() method which according to the docs will jump to a specific step in the animation, but I see that me

[flexcoders] Flexbook - always open?

2007-05-29 Thread bjorn -
Hi, is it possible to use Ely's FlexBook in a way that makes it always stay open? (e.g. the front/back cover cannot be grabbed and closed) Best regards, Bjørn -- http://www.juicability.com - flex blog http://www.43min.com - funny movies

[flexcoders] Re: Flexbook - always open?

2007-06-01 Thread bjorn -
eIndex+1 < maximumPageIndex): (_state == STATE_TEASING)? (_targetPageIndex < maximumPageIndex): _targetPageIndex+1 < maximumPageIndex; } .. adding the first check. One should think this would be enough, but it seems it isn't used everywhere since I can still turn the last page :| - Bjørn

[flexcoders] custom tooltip for HSlider? What happened to toolTipFormatFunction?

2007-06-05 Thread bjorn -
I'd like to change the tooltip of my HSlider. I see there was a tooltipFormatFunction in Flex 1.5: http://livedocs.adobe.com/flex/15/flex_docs_en/wwhelp/wwhimpl/common/html/wwhelp.htm?context=Flex_Documentation&file=0149.htm .. but it doesn't longer exist: http://livedocs.adobe.com/flex/2/la

Re: [flexcoders] Moving a Canvas

2007-06-14 Thread bjorn -
you could create your own component by extending Panel, adding event listeners for MouseEvent.MOUSE_DOWN, MousEvent.MOUSE_UP and MouseEvent.MOUSE_MOVE .. use the event listeners to change the position of the panel. - Bjørn On 14/06/07, pdflibpilot <[EMAIL PROTECTED]> wrote: I am looking fo

Re: [flexcoders] Moving a Canvas

2007-06-14 Thread bjorn -
CTED]> wrote: On Thursday 14 Jun 2007, bjorn - wrote: > you could create your own component by extending Panel, adding event > listeners for MouseEvent.MOUSE_DOWN, MousEvent.MOUSE_UP and > MouseEvent.MOUSE_MOVE Or just use the PopUpManager. -- Tom Chiverton Helping to challengingly mai

[flexcoders] TileList problems (thumbnails w/size switching enabled)

2007-08-27 Thread bjorn -
I've got a tilelist which is linked to an ArrayCollection of "MyItems" which each contain an image:Object. I've got a button that enables the user to switch thumbnail size. However, this messes scrolling up on the TileList. The rowHeight/columnWidth values in the TileList seem to be updated correc

Re: [flexcoders] Re: Total Number of Items in a Tree

2007-08-27 Thread bjorn -
Make a recursive count function, maybe. // pseudocode for tree based on an arraycollection function countNodes( ac:ArrayCollection ): int { var count:int = 0; for(var i:int=0; i < ac.length; i++) { count++; if(ac[i].hasOwnProperty('children')) { count += this.count

[flexcoders] RadioButton's label - truncateToFit = false?

2008-01-29 Thread bjorn -
I have a problem with the label used by RadioButton - it truncates the text. Ideally I'd like to to have the text over several lines if there is no room for it (like mx:Text does). Is this possible? -- http://www.juicability.com - flex blog http://www.43min.com - funny

[flexcoders] ViewStack + ButtonBar combo layout problem

2008-01-29 Thread bjorn -
I've got three ButtonBars in a ViewStack, but this doesn't seem to work too well. The problem is that if I don't specify a height on the ViewStack all the ButtonBar's take the height of the first one. If the first one only has two elements while the next ones have ten, that's a problem. If I do s

Re: [flexcoders] ViewStack + ButtonBar combo layout problem

2008-01-29 Thread bjorn -
]> wrote: > > a quick solution : > > bjorn - wrote On 01/29/2008 02:56 PM: > > I've got three ButtonBars in a ViewStack, but this doesn't seem to > > work too well. > > > > The problem is that if I don't specify a height on the ViewStack all > >

Re: [flexcoders] RadioButton's label - truncateToFit = false?

2008-01-29 Thread bjorn -
That didn't fix it, they're still truncated ... On 29/01/2008, Sherif Abdou <[EMAIL PROTECTED]> wrote: > >just call the invalidateSize(); > > > - Original Message > From: bjorn - <[EMAIL PROTECTED]> > To: flexcoders@yahoogroups.com &

Re: [flexcoders] Re: RadioButton's label - truncateToFit = false?

2008-01-30 Thread bjorn -
t; - Original Message > > From: Sherif Abdou <[EMAIL PROTECTED]> > > To: flexcoders@yahoogroups.com > > Sent: Tuesday, January 29, 2008 11:14:23 AM > > Subject: Re: [flexcoders] RadioButton's label - truncateToFit = false? > > > > u have a bit of code

Re: [flexcoders] ViewStack + ButtonBar combo layout problem

2008-01-30 Thread bjorn -
in veiwStack ; > use: > > bjorn - wrote On 01/29/2008 03:32 PM: > > Thanks for that - but each buttonbar contains dynamic data, so it's > > not given that the first should be smaller than the second etc. > > > > I guess I could count the data, and then do some c

[flexcoders] [Bindable] doesn't work when updating properties in an object

2008-03-04 Thread bjorn -
I've got a DataGrid which uses a [Bindable] ArrayCollection as a dataProvider. This arraycollection consits of objects. If I change a property (e.g. myobject.value = 100) this is not reflected by the DataGrid. When I click the column header to make it sort by value I see the change. I guess I hav

[flexcoders] LineChart w/effect messes up when horizontalAxis gets more data

2008-04-11 Thread bjorn -
Hi guys, I have a LineChart which uses SeriesInterpolate with an easeOut function to make it look good when the data is changed. It's a linechart which displays data by weeks. I've added FlexLib's HSlider below it so that the use can change the week interval. The linechart effect looks good most

[flexcoders] LineChart - how to make a line change color

2008-04-13 Thread bjorn -
;itemRenderer' which is null. I guess I can change this itemRenderer to .. something, but I haven't found much in the documentation describing this. Am I on the right path here or is there a better way to do it? Best regards, bjorn -- http://www.juicabil

[flexcoders] Problem editing custom object in DataGrid (itemEditEnd method, cannot get data)

2008-05-20 Thread bjorn -
Hi, I've created a MultiLanguageString object which contain an array of language codes and text value (e.g. [en] => Hello, [de] => "Guten tag" etc.) When editing in a DataGrid you always see the current selected language since MultiLanguageString's toString() method returns the internal arr[ curre

Re: [flexcoders] Problem editing custom object in DataGrid (itemEditEnd method, cannot get data)

2008-05-21 Thread bjorn -
Alex Harui <[EMAIL PROTECTED]>: >itemEditorInstance.text? > > -- > *From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On > Behalf Of *bjorn - > *Sent:* Tuesday, May 20, 2008 8:41 AM > *To:* flexcoders@yahoogroups.com > *Sub

[flexcoders] dragMoveEnabled: sometimes move/sometimes copy?

2008-06-04 Thread bjorn
I have a TileList which contains draggable elements and has dragMoveEnabled. This works fine, however, I have one problem. The thing is that I need to be able to remove them from the drag source in some cases and not remove them in some cases, based on the drop target (and not user keyboard interac

Re: [flexcoders] dragMoveEnabled: sometimes move/sometimes copy?

2008-06-10 Thread bjorn
} 2008/6/4 Alex Harui <[EMAIL PROTECTED]>: >Get dragOver events, call preventDefault() on the event, call > DragManager.acceptDragDrop with the right information > > > -- > > *From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *

[flexcoders] TypeError in ListBase.as when using setStyle() in custom TreeItemRenderer

2007-08-30 Thread bjorn -
I have made a custom TreeItemRenderer and overridden the set data function to change the icon according to the data. This is done something like this: override public function set data(value:Object):void { super.data = value; if(value != null) {

[flexcoders] A flex login dialog with focus on startup?

2007-08-30 Thread bjorn -
I've created a flex login dialog and use the regular flex methods for giving focus to the username textfield. But there is no cursor there, since the flash itself doesn't have focus (it seems). Is there a way to load a flex login page where the cursor is currently blinking in the username field? :

Re: [flexcoders] A flex login dialog with focus on startup?

2007-08-30 Thread bjorn -
> > Jeff > > -Original Message- > *From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On > Behalf Of *bjorn - > *Sent:* Thursday, August 30, 2007 3:09 PM > *To:* flexcoders@yahoogroups.com > *Subject:* [flexcoders] A flex login dialog with focus on startup? &

Re: [flexcoders] TypeError in ListBase.as when using setStyle() in custom TreeItemRenderer

2007-08-31 Thread bjorn -
the tree in each renderer? I would > think there'll be other problems with that. > > > -- > > *From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On > Behalf Of *bjorn - > *Sent:* Thursday, August 30, 2007 4:47 AM > *To:* flex

Re: [flexcoders] TypeError in ListBase.as when using setStyle() in custom TreeItemRenderer

2007-08-31 Thread bjorn -
For your viewing pleasure, here's a simple testcase: http://www.juicability.com/treetest/ Source is also available there... Bjørn On 31/08/2007, bjorn - <[EMAIL PROTECTED]> wrote: > > Hi Alex, > > I found some examples that did it that way. At first I tried set

Re: [flexcoders] TypeError in ListBase.as when using setStyle() in custom TreeItemRenderer

2007-09-02 Thread bjorn -
ur case, I would recommend subclassing Tree, overriding makeListData, > and setting the disclosure icon there. > > -- > *From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On > Behalf Of *bjorn - > *Sent:* Friday, August 31, 2007 5:04 AM > *To:* fl

[flexcoders] How would you go about to make SuperImage support .swf?

2007-09-19 Thread bjorn -
SuperImage: http://www.quietlyscheming.com/blog/2007/01/23/some-thoughts-on-doubt-on-flex-as-the-best-option-orhow-i-made-my-flex-images-stop-dancing/ I need it to support .swf's - but I don't worry about the cache part - as long as it shows the swf. I guess it would have to be done in the commit

Re: [flexcoders] How would you go about to make SuperImage support .swf?

2007-09-20 Thread bjorn -
>_content = newSource; > > } > > > > That should in theory take care of it. > > > > Ely. > > > > > > > > *From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On > Behalf Of *bjorn - > *Sent:* Wednesday, September 19, 2007 7:04 A

[flexcoders] How to use a http proxy with a HTTPService

2007-09-21 Thread bjorn -
I'm wondering how to use a http proxy with a HTTPService request. I've seen HTTPService has a "useProxy" flag, but I think maybe that's unrelated. I need to be able to specify a proxy IP and a proxy port, and then have flex route all HTTP communication through that proxy. Bjørn -- =

Re: [flexcoders] Re: Here we go again: Flex Vs Java

2007-09-28 Thread bjorn -
In my previous job, I created Swing apps for 5 years before I switched to Flex in January. Belive you me - creating GUI in Flex is so much faster than in Java (Swing). As for using Java on the serverside, that's a great choice, IMHO. Use whatever you want on the serverside, PHP/CF/Java/Ruby .. bu

[flexcoders] Problem with upload (FileReference and Event.COMPLETE) on Linux

2007-10-04 Thread bjorn -
Hi guys, we've created an app which uploads files using FileReference. We use the Event.COMPLETE event to send another request to the server to retrieve information about the uploaded file (e.g. thumbnail). This works great on Windows/Mac - however, we have a problem on Linux. It seems the Event

Re: [flexcoders] Re: Problem with upload (FileReference and Event.COMPLETE) on Linux

2007-10-18 Thread bjorn -
it hacky though. Bjørn On 12/10/2007, Yuriy <[EMAIL PROTECTED]> wrote: > > --- In flexcoders@yahoogroups.com , "bjorn > -" <[EMAIL PROTECTED]> wrote: > > > > Hi guys, > > > > we've created an app which uploads files using FileReference. W

[flexcoders] Dragging image from TileList - the dragProxy "steals" the original image!

2007-10-18 Thread bjorn -
I've got this problem where I have images in a TileList and when I start do drag an image the image disappears (goes black) in the TileList. I can still see the image in the drag proxy though. When I release the drag I don't see the image anymore (until I drag it again, and I will see the image in

Re: [flexcoders] Dragging image from TileList - the dragProxy "steals" the original image!

2007-10-18 Thread bjorn -
On 18/10/2007, Jon Bradley <[EMAIL PROTECTED]> wrote: > > > On Oct 18, 2007, at 9:09 AM, bjorn - wrote: > > I've got this problem where I have images in a TileList and when I start > do drag an image the image disappears (goes black) in the TileList. I can > still se

Re: [flexcoders] What event does VideoDisplay send on wrong data?

2007-10-24 Thread bjorn -
0/2007, Peter DeHaan <[EMAIL PROTECTED]> wrote: > >Bjorn, > > > > Can you please file a bug in the Flex bug base at > http://bugs.adobe.com/flex/? > > > > It seems that the behavior is a bit inconsistent. In some cases (like > trying to load http:

[flexcoders] Removing an item from a sorted ArrayCollection?

2008-11-21 Thread bjorn
I experienced some problems with ArrayCollection's removeItemAt(). It seemed to work... randomly. Tucked away in the documentation i found this little gem: "Note: If you use the ICollectionView interface to sort or filter a collection, do not use the IList interface to manipulate the data, because

Re: [flexcoders] swf with TextField.htmlText - links do not work

2008-11-21 Thread bjorn
For anyone else experiencing this problem, I think it's due to a bug: http://jobemakar.blogspot.com/2007/05/texteventlink-bug-in-actionscript-3.html If the textfield isn't selectable, links won't work (onmouseover hand cursor is shown, the links just doesn't work). Bjørn

Re: [flexcoders] Re: Removing an item from a sorted ArrayCollection?

2008-11-24 Thread bjorn
removeItemAt()/addItemAt() on a sorted AC? It's tempting to make a WorkingArrayCollection.as ;-) - bjorn 2008/11/21 Haykel BEN JEMIA <[EMAIL PROTECTED]> >Try doing something like this: > > var obj:Object = mySortedArray.getItemAt(index); >

Re: [flexcoders] Removing an item from a sorted ArrayCollection?

2008-11-25 Thread bjorn
No, my problem is coming from a world with a robust LinkedList implementation. Good times. Anyhow, I'll look into the Demo Test Papers and see if they can help me with ListCollectionView .. thanks guys! :-) Bjørn 2008/11/25 Jules Suggate <[EMAIL PROTECTED]> > Bjorn, are

[flexcoders] TextFormat's leading

2008-11-26 Thread bjorn
What is this value specified in? The docs say: An integer representing the amount of vertical space (called * leading*) between lines. The default value is null, which indicates that the amount of leading used is 0. Is that pixels, points, percentage of the font size, or maybe kilograms? :-) Als

Re: [flexcoders] SWC file confusion

2008-11-27 Thread bjorn
1. Everytime you add a file in your swc project, Flex Builder requires you to right click the swc project and select all files to be included over again 2. Make sure your project actually links to the .swc that is being built (so, delete the swc you're currently linking to and do a rebuild) Bjørn

[flexcoders] Padding/spacing before the first line in a TextArea

2008-12-02 Thread bjorn
There is some padding before the first line in a TextArea. Have a look at this image to see what I mean: http://i34.tinypic.com/4uz8s0.jpg I need to remove this, and the first solution that comes to mind is to find that value and position the TextArea.y = TextArea.y - [that value]. The padding be

[flexcoders] Re: Padding/spacing before the first line in a TextArea

2008-12-16 Thread bjorn
Any ideas on where I might find more info about this? .. or people who might know more ... 2008/12/2 bjorn > There is some padding before the first line in a TextArea. Have a look at > this image to see what I mean: > > http://i34.tinypic.com/4uz8s0.jpg > > I need to remove t

Re: [flexcoders] Re: Padding/spacing before the first line in a TextArea

2008-12-16 Thread bjorn
TextArea? > > > --- In flexcoders@yahoogroups.com , bjorn > wrote: > > > > Any ideas on where I might find more info about this? .. or people > who might > > know more ... > > > > > > 2008/12/2 bjorn > > > > > There is so

Re: [flexcoders] Re: Padding/spacing before the first line in a TextArea

2008-12-17 Thread bjorn
t; This has been a long standing bug that I've been complaining to Adobe > about. I've worked on applications for some big greeting card companies > (take a couple guesses) creating a rendering system in Flash that will match > Photoshop and Illustrator text rendering. Illustrator, btw,

[flexcoders] Installing an AIR APP with configuration

2009-02-02 Thread bjorn
What's the best practice here? I need my app to know the username of the user who install it. So I'm thinking of adding it as a parameter to the app in the installer badge, and then saving it in a properties file locally in the app's directory. -- http://www.juicability.co

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

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

Re: [flexcoders] Re: Installing an AIR APP with configuration

2009-02-17 Thread bjorn
009/2/6 dmkramerica > Did you ever make progress or solve this? > > > --- In flexcoders@yahoogroups.com , bjorn > wrote: > > > > What's the best practice here? I need my app to know the username of the > > user who install it. So I'm thinking of

Re: [flexcoders] Send a confirmation Email

2009-02-18 Thread bjorn
Do this on the serverside, not in Flex. 2009/2/18 christophe_jacquelin > Hello, > > How to send a confirmation Email in the flex program when the user get > register ? > > Thank you, > Christophe, > > > -- http://www.juicability.com - flex blog http://www.nospo

[flexcoders] Open native file browser from Air

2009-03-11 Thread bjorn
I don't mean the native file browser that lets you select a file (FileReferenceList), I mean opening ie. on windows explorer and let the user browse around as normal. Is this possible? Tried navigateToURL with "file://" but that just opened the browser in the directory. I'd like to open the file e

[flexcoders] AIR: WindowedApplication.exit() does not remove process

2009-03-16 Thread bjorn
I've tried closing an AIR application with exit() and NativeApplication.nativeApplication.exit() - in both cases the app closes but I still see the process running in Windows' task manager. Anyone know what the cause of this might be? -- http://www.juicability.com - flex

[flexcoders] Remove 'maximize'-icon from window (Adobe AIR)?

2009-03-23 Thread bjorn
I'd think setting maximizable = false in the application xml would remove the icon from the title bar, however this does not seem to do the trick. I know I can set showFlexChrome to false and then make my own title bar (without the maximize button), but this seems a bit backwards when all I want to

Re: [flexcoders]Where does my SWF gain it's weight?

2009-04-02 Thread bjorn
Embedding fonts is a major one ... - bjorn 2009/4/2 Gregor Kiddie >I don’t think FB will generate modules reports for you, and I certainly > cannot see any options that would. > > Can I suggest using ANT to compile your app? It gives you much more > flexibility for precise

[flexcoders] Problem with using LocalConnection.domain on domain with special characters

2009-11-02 Thread bjorn
I'm using LocalConnection.domain to get the current domain - however I ran into a problem when the domain name has special characters (in my case moteklær.no ).. In IE it will return moteklær.no In Firefox it will return moteklÁ|r.no In Chrome

Re: [flexcoders] Resources to Flex Application Architecture articles?

2007-02-07 Thread Bjorn Schultheiss
/flex2_building regards, Bjorn On 08/02/2007, at 1:38 AM, Private Romeo wrote: Hi everybody, we are looking for (online) resources related to how to best structure (larger) Flex applications. Most of the great training and tutorial material available tends to focus on how to construct

  1   2   3   4   5   6   >