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: ?xml version=1.0 encoding=utf-8? mx:Module xmlns:mx=http://www.adobe.com/2006/mxml layout=absolute mx:Script ![CDATA[ import com.myapp.MyEventDispatcher; import com.myapp.MyTestEvent;

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 much Any luck if you

[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:

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

2007-04-16 Thread bjorn -
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/flex/search/module http

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

2007-04-17 Thread bjorn -
/ - 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 localhost, I'm able to load it. Strange error message for security issues, don't you think

[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]

Re: [flexcoders] Looping through sorted ObjectProxy

2007-04-17 Thread bjorn -
. 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 ObjectProxy

Re: [flexcoders] Looping through sorted ObjectProxy

2007-04-17 Thread bjorn -
(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 -
domains without import loading them. 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

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

2007-04-18 Thread bjorn -
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:20 AM *To:* flexcoders

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

2007-04-18 Thread bjorn -
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 *bjorn - *Sent:* Monday

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

2007-04-20 Thread bjorn -
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 *To:* flexcoders@yahoogroups.com *Subject:* Re

[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

[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 -
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 On 29/05/07, bjorn

[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_Documentationfile=0149.htm .. but it doesn't longer exist:

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 for

Re: [flexcoders] Moving a Canvas

2007-06-14 Thread bjorn -
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 maintain real-time experiences on: http

[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

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 +=

[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 -
:* 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? I've created a flex login dialog and use the regular flex methods for giving

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

2007-08-31 Thread bjorn -
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:* flexcoders@yahoogroups.com *Subject:* [flexcoders] TypeError in ListBase.as when

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 setting the style on the itemrenderer

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

2007-09-03 Thread bjorn -
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:* flexcoders@yahoogroups.com *Subject:* Re: [flexcoders] TypeError in ListBase.as when

[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

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

2007-09-20 Thread bjorn -
of it. Ely. *From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On Behalf Of *bjorn - *Sent:* Wednesday, September 19, 2007 7:04 AM *To:* flexcoders@yahoogroups.com *Subject:* [flexcoders] How would you go about to make SuperImage support .swf? SuperImage: http

[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 ..

[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

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

2007-10-18 Thread bjorn -
. Bjørn On 12/10/2007, Yuriy [EMAIL PROTECTED] wrote: --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, bjorn - [EMAIL PROTECTED] wrote: Hi guys, we've created an app which uploads files using FileReference. We use the Event.COMPLETE event to send another request

[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 -
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 see the image in the drag proxy though. When I release the drag

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

2007-10-24 Thread bjorn -
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://www.adobe.com/fake.flv, you can listen for the stateChange event

[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

[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 );

[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

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

2007-11-27 Thread bjorn -
Application.application.mask = myCustomBorder; // myCustomBorder is a loaded swf. On 27/11/2007, Alex Harui [EMAIL PROTECTED] wrote: i'm not sure what you maen by mask -- *From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On Behalf Of *bjorn

[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

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

[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 control for Air. It looks pretty

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

2007-12-04 Thread bjorn -
that you can reference it in your code without the IDE complaining. Have one method which adds and one which removes the listeners (so you just call those each time). Yes, a bit hackish but it works :-) Good luck. - Bjørn On 03/12/2007, Nadeem Manzoor [EMAIL PROTECTED] wrote: Thanks bjorn

[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

[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. ModuleTwo MainApp loads ModuleOne which loads

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

2007-12-06 Thread bjorn -
singleton implementation code (or at least the constructor) ? --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, bjorn - [EMAIL PROTECTED] wrote: I've made a simple testcase with a singleton and three Flex projects: 1. MainApp 2. ModuleOne 3. ModuleTwo MainApp loads

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: Thanks

[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

Re: [flexcoders] ViewStack + ButtonBar combo layout problem

2008-01-29 Thread bjorn -
: a quick solution : mx:ViewStack width={vbox.selectedIndex == 0 ? 200 : 500} id=vbox / 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 the ButtonBar's

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 Sent: Tuesday, January 29, 2008 6:58:30 AM Subject

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

2008-01-30 Thread bjorn -
flexcoders%40yahoogroups.com Sent: Tuesday, January 29, 2008 11:14:23 AM Subject: Re: [flexcoders] RadioButton's label - truncateToFit = false? u have a bit of code to show what ur trying to do or a picture at least - Original Message From: bjorn - [EMAIL PROTECTED] com

Re: [flexcoders] ViewStack + ButtonBar combo layout problem

2008-01-30 Thread bjorn -
: mx:ViewStack width={vbox.selectedItem.dataProvider.length * 30} / 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 calculation

[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

[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 -
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.juicability.com - flex blog http://www

[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[

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

2008-05-21 Thread bjorn -
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 *Subject:* [flexcoders] Problem editing custom

[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

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

2008-06-10 Thread bjorn
[EMAIL PROTECTED]: Get dragOver events, call preventDefault() on the event, call DragManager.acceptDragDrop with the right information -- *From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On Behalf Of *bjorn *Sent:* Wednesday, June 04, 2008 5:54

[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 *Sent:* Wednesday, June 25, 2008 2:01 PM

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

2008-06-26 Thread bjorn
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 - *From:* bjorn [EMAIL PROTECTED] *To:* flexcoders

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

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

2008-06-26 Thread bjorn
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's added to it's parent's display list (viewstack), add

[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? --

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 still

[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? --

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=showdetailspostId=545productId=2 - bjorn 2008/9/2 crumpelfungus [EMAIL PROTECTED] Having looked through the archived topics, I was unable

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 embed the Bold, regular and light

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 /

[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 -

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

2008-10-03 Thread bjorn
are not the intended recipient please contact [EMAIL PROTECTED] -- *From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On Behalf Of *bjorn *Sent:* 03 October 2008 11:37 *To:* flexcoders@yahoogroups.com *Subject:* [flexcoders] swf with TextField.htmlText

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

2008-10-06 Thread bjorn
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#437546 It doesn't automatically work in Flex, as the automatic behaviour may be undesirable. You need to have event handlers

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 livedocs before trying

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

2008-10-06 Thread bjorn
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://; in the htmlText-code. The events are never triggered

[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 2008/10/6 bjorn

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); var originalIndex:int = mySortedArray.list.getItemIndex(obj

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 you certified? Perhaps

[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? :-)

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

[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 itrashm...@gmail.com 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

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

2008-12-16 Thread bjorn
? --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, bjorn itrashm...@... wrote: Any ideas on where I might find more info about this? .. or people who might know more ... 2008/12/2 bjorn itrashm...@... There is some padding before the first line in a TextArea. Have a look

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

2008-12-17 Thread bjorn
, bjorn wrote: Any ideas on where I might find more info about this? .. or people who might know more ... 2008/12/2 bjorn itrashm...@gmail.com 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

[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. --

[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
/6 dmkramerica kramer.da...@consultant.com Did you ever make progress or solve this? --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, bjorn itrashm...@... 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

Re: [flexcoders] Send a confirmation Email

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

[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

[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

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 gkid...@inpses.co.uk 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 precisely

[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 http://xn--moteklr-rxa.no).. In IE it will return moteklær.no http://xn--moteklr-rxa.no In Firefox it will return moteklÁ|r.no In Chrome it

RE: [flexcoders] Will browsers support FlashPlayer in the future?

2005-10-10 Thread Bjorn Schultheiss
Today the popularity of the Flash Player is hard to deny. Even Microsoft currently uses it in some of there latest web sites such as Microsoft @ 30 Anyway I think Microsoft would come under a lot of heat if they attempted to drop all use of it from there future browser releases and

RE: [flexcoders] Cairngorm is bad?

2005-11-14 Thread Bjorn Schultheiss
as it's great to see the technology challenged True indeed, I think other unique frameworks would highlight more, any strengths or weaknesses in Cairngorm. So far Cairngorm holds the flex framework's heavyweight belt, time for some new contendors -Original Message- From:

  1   2   3   4   5   6   >