RE: [flexcoders] Cell Renderers: How to put 2 images in datagrid cell

2005-12-09 Thread Philippe Maegerman
you are putting both images on level 1, that could be a reason why they overwrite each other :) should be image1, 1 / image2, 2 Philippe From: flexcoders@yahoogroups.com on behalf of Mohanraj Jayaraman Sent: Fri 9/12/2005 2:57 To: flexcoders@yahoogroups.com

[flexcoders] what's wrong?

2005-12-09 Thread wizardzju
I want Flex to connumicate with JavaScript using codes below. It can work well in firefox and maxthon. But in IE, it said SecurityError: Error #2060: Security sandbox violation. Can you tell me why? Thanks a lot! test.mxml ?xml version=1.0 encoding=iso-8859-1? mx:Application

[flexcoders] rsl load failed

2005-12-09 Thread Dan
hi everyone, Does anyone has ever handle the rsl load failed error before? My application works fine, but occasionally, the rsl seemed cannot be loaded. It also occur more frequently from a remote machine. Anyone has any idea? Daniel Yahoo! Groups Sponsor

[flexcoders] Comments in source code

2005-12-09 Thread Ralf Rottmann
I wonder: Are there any specific rules for comments which might help to automatically assemble code doc later? Anything like // @Parameters: intheNumber:Number The number of loops to be done ? Ralf Rottmann | Director Sales Marketing VoicInt Telecommunications GmbH |

Re: [flexcoders] Parsing XML with namespaces in E4X (Flex2)

2005-12-09 Thread Yokota Satoshi
Hi claus , abdul Thanks for your advice! It works well. I could parse rdf,rss. Thanks, Satoshi Abdul Qabiz wrote: Hi, Use default xml namespace directive to solve this problem. Sorry, it is not documented in current livedocs for Flex 2 alpha…We are working many things, so hopefully

[flexcoders] NumberFormatter 's bug ? (Flex1.5)

2005-12-09 Thread Yokota Satoshi
Hi, I'm using NumberFormatter class in ActionScript 2.0 classes. --- var numFormat:NumberFormatter = new NumberFormatter(); numFormat.precision = 0; numFormat.rounding = down; --- Results 1.5

RE: [flexcoders] Comments in source code

2005-12-09 Thread Ralf Rottmann
Thanks Philippe, I was aware of the two comment styles, my question was more about comment conventions which might be used to automatically craft dev docs in a later version. Ralf Rottmann | Director Sales Marketing | VoicInt Telecommunications GmbH m:+49-(0)170-914-5495 | f:

RE: [flexcoders] Comments in source code

2005-12-09 Thread Nick Weekes
Ralf, do you meanthe Visual Studio ability to generate html pages from code comments, which is really useful for auto-documenting code? I dont think there is a Flex equivalentof the /// tag found in visual studio. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of

RE: [flexcoders] Comments in source code

2005-12-09 Thread Steven Webster
Guys, There are a number of ASDoc style tools that are freely and commercially available for ActionScript, that will perform JavaDoc style documentation, using the /** ... */ comment style, and tags such as @author, @description, etc. Prior to joining Macromedia/Adobe, we successfully

[flexcoders] Confused about namespaces

2005-12-09 Thread Ralf Rottmann
Quick request: In my MXML application tag I have included xmlns:rottmann=* I have several MXML Components in a subfolder [app_root]\dialogs How do I include those? rottmann:dialogs.SampleDialog / Causes a Cannot resolve rottmann:dialogs.SampleDialog to a component

[flexcoders] unsubscribe

2005-12-09 Thread Michel Jansen
unsubscribe Yahoo! Groups Sponsor ~-- Fair play? Video games influencing politics. Click and talk back! http://us.click.yahoo.com/u8TY5A/tzNLAA/yQLSAA/nhFolB/TM ~- -- Flexcoders

RE: [flexcoders] Comments in source code

2005-12-09 Thread Philippe Maegerman
There is an interesting post titled 'Visual SourceSafe and Flash - How To Expand Keywords' that treats this subject too. http://www.statik1.com/mt-weblog/archives/94.html Philippe From: flexcoders@yahoogroups.com on behalf of Ralf Rottmann Sent: Fri

RE: [flexcoders] Confused about namespaces

2005-12-09 Thread Dirk Eismann
you'll have to add another namespace (one per folder), i.e. xmlns:dialogs="rottmann.dialogs.*" dialogs:SampleDialog / You can also create your own manifest file which allows you to include several packages under one name (the same way as the mx namespace) Dirk. From:

RE: [flexcoders] rsl load failed

2005-12-09 Thread Roger Gonzalez
hi everyone, Does anyone has ever handle the rsl load failed error before? My application works fine, but occasionally, the rsl seemed cannot be loaded. It also occur more frequently from a remote machine. Anyone has any idea? Daniel Unfortunately, but having an application

RE: [flexcoders] Please Help :: Convert VOB to What for Best FLV?

2005-12-09 Thread Merrill, Jason
Uncompressed AVI has maintained pretty good quality for me. Not that you cant ask here, but for some really good replies, this is a good question for the Flashcomm list, if you would like to also ask there chattyfig.figleaf.com Jason Merrill | E-Learning Solutions |

[flexcoders] Re: Best Practices: determining if a key is in an Object?

2005-12-09 Thread sbyrne_dorado
Ah -- hasOwnProperty -- it's not really documented in the 1.5 docs, only mentioned in one place and then as a reserved word that you should not use. But it will do the job that I need -- thanks! I certainly know the difference between undefined and null and how to tell them apart. The case I am

[flexcoders] Tab Wraping

2005-12-09 Thread Greg Johnson
I have x tabs. However its x tabs too many and they get cut off on the right hand side. I would prefer they wrap to a second line automaticaly. Ideas? tnks Greg Yahoo! Groups Sponsor ~-- Most low income households are not online. Help

[flexcoders] Size of the container, bug or feature?

2005-12-09 Thread Stanislav Zayarsky
Hello Guys, Can please someone explain to me next thing, let's review the code: mx:Script function showSize() { mx.controls.Alert.show(String(cv._width) ++ String (cv._height)); } /mx:Script mx:Canvas id=cv width=100%

Re: [flexcoders] Size of the container, bug or feature?

2005-12-09 Thread JesterXL
There is a reason _width and _height are private. Use width and height. backgroundColor creates a true background. Canvas itself has no internal parts unless you use that style, therefore, by default it has no _width or _height, hence the need for wrapper getter/setters, width and height to

RE: [flexcoders] RadioButton in DataGrid

2005-12-09 Thread Matt Chotin
Did you try just swapping the RadioButton for the CheckBox in the example? From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of jagabcdeff Sent: Thursday, December 08, 2005 11:22 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] RadioButton

Re: [flexcoders] Themes (was TemplateMonster.com)

2005-12-09 Thread Tariq Ahmed
On the topic of themes... I never really looked into themes since that wasn't a priority. But was thinking it'd be great to start making an open library of themes for Flex2. Has anyone produced graphical skins or an entire theme that includes skins for Flex2? Has the process changed from

[flexcoders] Change an image dynamically

2005-12-09 Thread Ralf Rottmann
I have included an image control in my app: mx:Image id=imgPic1 source=@Embed(images/pic1.gif) / Next I am trying to programmatically change the image (in an event handler): [Embed(source=images/pic2.gif)] var _img:String; this.imgPic1 = _img as Image; However, nothing

RE: [flexcoders] passing Map in remote object

2005-12-09 Thread Matt Chotin
It probably was returned as an Object. We dont have a specific HashMap class, instead Object is what youll get and it wont indicate how many properties there are. You can however still iterate through them: var numProps:int = 0; for (var key:String in obj) { var value = obj[key];

RE: [flexcoders] Cell Renderers: How to put 2 images in datagrid cell

2005-12-09 Thread Mohanraj Jayaraman
Thanks Philippe. That works. --- Philippe Maegerman [EMAIL PROTECTED] wrote: you are putting both images on level 1, that could be a reason why they overwrite each other :) should be image1, 1 / image2, 2 Philippe From: flexcoders@yahoogroups.com on

RE: [flexcoders] Change an image dynamically

2005-12-09 Thread Ralf Rottmann
Found it. Needs to be: [Embed(source=images/pic2.gif)] var _img:String; this.imgPic1.source = _img; Ralf Rottmann | Director Sales Marketing | VoicInt Telecommunications GmbH m:+49-(0)170-914-5495 | f: +49-(0)231-557402-99 | e: [EMAIL PROTECTED]

[flexcoders] First week with Flex - An upshot

2005-12-09 Thread Ralf Rottmann
As we are approaching 7 pm in Germany (where I am based), I just wanted to post a big big big thank you to the list. Its been my first week with Flex and I gotta say: I LOVE IT! My company is currently in the process of evaluating its future strategic direction for thin/rich clients and

Re: [flexcoders] First week with Flex - An upshot

2005-12-09 Thread JesterXL
Huh? Dude, just because it's the weekend doesn't mean you have to stop playing with Flex! - Original Message - From: Ralf Rottmann To: flexcoders@yahoogroups.com Sent: Friday, December 09, 2005 1:15 PM Subject: [flexcoders] First week with Flex - An upshot As we are

RE: [flexcoders] First week with Flex - An upshot

2005-12-09 Thread Ely Greenfield
thanks for the kind words, Ralf -- Glad to hear you're finding Flex useful. Out of curiosity, are you using Flex 1.5, or the Flex 2 alpha? Thanks, Ely. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Ralf RottmannSent: Friday, December 09, 2005

Re: [flexcoders] First week with Flex - An upshot

2005-12-09 Thread Ralf Rottmann
Title: Re: [flexcoders] First week with Flex - An upshot Useful is an understatement. It's fantastic! Flex 2.0 Alpha only. Never looked into 1.5 because we couldn't get our staff to work with DW as the IDE. Flex 2.0 is great! Best regards RR -- mobile: +49-(0)170-914-5495 email: [EMAIL

RE: [flexcoders] Themes (was TemplateMonster.com)

2005-12-09 Thread Matt Horn
The Halo theme is now a separate SWC that you can apply (to get that old-school Flex look). Might be a good place to start looking at what goes into themes. I haven't looked at it myself yet, since some of the theme implementation details are still up in the air. matt horn flex docs

RE: [flexcoders] Re: getting Flex pages to work in Firefox

2005-12-09 Thread Rick Englert
Works for me - firefox 1.5, win xp -Original Message-From: Renaun Erickson [mailto:[EMAIL PROTECTED]Sent: Thursday, December 08, 2005 8:04 PMTo: flexcoders@yahoogroups.comSubject: [flexcoders] Re: getting Flex pages to work in FirefoxI have to ask, is Flash installed?

[flexcoders] getRepeaterItem() problem...

2005-12-09 Thread maxgsilverscape
I have this code: mx:Accordion id=categoryaccordion height=100% width=100% selectedIndex=0 change=mx.controls.Alert.show(event.newValue); BHUser.generateQuestions2(questionslist [event.newValue].getRepeaterItem().CategoryID,0) mx:Repeater id=accordionrepeater

Re: [flexcoders] Themes (was TemplateMonster.com)

2005-12-09 Thread Tom Ortega
In 1.5 you don't have to modify the fla, you can create your own. There's two types: graphical and programmatic. The best show I attended at MAX 2005 was on this topic. Here's my notes from the Max session on this topic: Session: Customizing Flex Applicatons: Styling, Skinning, and Beyond -

Re: [flexcoders] Themes (was TemplateMonster.com)

2005-12-09 Thread Sreejith Unnikrishnan
Hi Matt, Is this swc file available for download? The 1.5 swcs are not compatible with 2.0, is it? Sree Matt Horn wrote: The Halo theme is now a separate SWC that you can apply (to get that old-school Flex look). Might be a good place to start looking at what goes into themes. I

Re: [flexcoders] Re: getting Flex pages to work in Firefox

2005-12-09 Thread Leif Wells
On that page is a big Flash file that prints out Macromedia Flash Player Is Installed in HUGE letters followed by the version number. Then, below that is a box with the header Version Information followed also by the version information. Why not just try installing the player?

[flexcoders] case of the duplicating combo box -- toggling .editable

2005-12-09 Thread stevenkeys2003
Ok.. here's a weird one. I have in actionscript: if (country.selectedItem.l_country != 'United States' country.selectedItem.l_country != 'Canada'){ c_state.editable = true; }else{ c_state.editable = false; } where c_state is my combo box. Adding

[flexcoders] Cell Renderers: TreeGrid Renderer issue

2005-12-09 Thread Mohanraj Jayaraman
Hi All, I am using a Tree Grid sample provided by James at http://www.cayambe.com/plog/index.php?op=ViewArticlearticleId=6blogId=1 It works fine as it is. But in my grid I had 2 more columns and these columns have a simple ImageRenderer attached to it. mx:DataGrid

RE: [flexcoders] First week with Flex - An upshot

2005-12-09 Thread Ralf Rottmann
Jester, I couldnt resist 23:01 over here.. Ralf Rottmann | Director Sales Marketing | VoicInt Telecommunications GmbH m:+49-(0)170-914-5495 | f: +49-(0)231-557402-99 | e: [EMAIL PROTECTED]

Re: [flexcoders] First week with Flex - An upshot

2005-12-09 Thread JesterXL
HAHA! Awesome, you da man!!! - Original Message - From: Ralf Rottmann To: flexcoders@yahoogroups.com Sent: Friday, December 09, 2005 5:01 PM Subject: RE: [flexcoders] First week with Flex - An upshot Jester, I couldn’t resist… 23:01 over here.. Ralf Rottmann | Director

[flexcoders] Re: Unable to retrieve data via HTTPService over https in *IE*.

2005-12-09 Thread Dave Wolf
Ah onto the next little nuance. IE loves to cache. I mean it *really* loves to cache. Since the player is in effect delegating the HTTP call to the browser, the browser can choose to cache quite often. So although you fire off the HttpService call, the browser decides naaah, that call has

[flexcoders] Comparing complex objects

2005-12-09 Thread Stacy Young
Wondering how others would go about comparing instances of complex objects while avoiding circular references and having flash explode? Thx! Stace Yahoo! Groups Sponsor ~-- Most low income households are not online. Help bridge the digital divide

[flexcoders] getURL and 's

2005-12-09 Thread Greg Morphis
getURL() doesnt like I keep getting The reference to entity date must end with the ';' delimiter. So how do you get around this? Here's my code mx:Button label=Print Weekly click=getURL('printWS.jsp?location=' + ModelLocator.selectedLocation.locationCode + 'date=' +

[flexcoders] Problem Adding Effects to Wrapped Label Control (Flex 1.5)

2005-12-09 Thread Ben Lucyk
Hello, I'm trying to have a bunch of dynamically updating Labels (think internationalization)all show a Fade effect when their text bindingsource is updated. Since there is no default change event for the control, I've tried going down the path of wrapping the Label and implementing some of

Re: [flexcoders] Themes (was TemplateMonster.com)

2005-12-09 Thread jeremy lu
thanks for great link :) -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS

RE: [flexcoders] getRepeaterItem() problem...

2005-12-09 Thread Tracy Spratt
This sounds like a deferred instantiation issue. On the Accordion, set creationPolicy=all, and check if that fixes the problem. Then search the archives for creationPolicy and deferred instantiation to find out why *this is not a good solution*. Tracy -Original Message- From:

RE: [flexcoders] Problem Adding Effects to Wrapped Label Control (Flex 1.5)

2005-12-09 Thread Ralf Rottmann
I always found the effects behavior of Flex 2.0 Alpha 1 weird. I never had the feeling that it really worked like I wanted it to. It never appeared to be reliable in terms of that it did what I expected right away. Not to blame Macromedia for this, it might all be my fault but anyway

[flexcoders] Why does this effect not work?

2005-12-09 Thread Ralf Rottmann
Title: Why does this effect not work? Hi there, Following up on the recent posting related to Flex effects, can anybody comment on why the following very simple code excerpt does not work? All I want to do is on click of the button fade the label from 0 to 1. private function

Re: [flexcoders] Why does this effect not work?

2005-12-09 Thread JesterXL
Title: Why does this effect not work? My guess is that that particluar effect doesn't work because you cannot fade device text. Text in Flex is by default, device, meaning it uses device fonts, or native OS machine fonts. If you were to embed the fonts for that Label, I be it'd work.

[flexcoders] Re: Comparing complex objects

2005-12-09 Thread Darin Kohles
If you're familiar with the concept of a deep copy, then you can apply the same to a compare function (of course you'll have to write it yourself ;). Anytime you are dealing with a complex and/or custom type it's a good idea to plan on comparison and choose what is, in fact, 'equal'. This can be

[flexcoders] Re: getURL and 's

2005-12-09 Thread Darin Kohles
Dunno if this will help but try amp; Otherwise use encodeURI() on your URL string and you'll be much happier. (I think) Good Luck --- In flexcoders@yahoogroups.com, Greg Morphis [EMAIL PROTECTED] wrote: getURL() doesnt like I keep getting The reference to entity date must end with the ';'

[flexcoders] Re: Comparing complex objects

2005-12-09 Thread Darin Kohles
If you're familiar with the concept of a deep copy, then you can apply the same to a compare function (of course you'll have to write it yourself ;). Anytime you are dealing with a complex and/or custom type it's a good idea to plan on comparison and choose what is, in fact, 'equal'. This can be

[flexcoders] Re: Why does this effect not work?

2005-12-09 Thread Darin Kohles
Ralf, Wie Gehts? (no I really don't remeber my german 5 years ~ 20 years ago) Be careful of your use of 'this' as the target of your effect (Jesse stop by DP some time, ask for Ben, and maybe we can meet - Flash issues). I've had similar code that I've changed the effect type one several times

RE: [flexcoders] Cell Renderers: TreeGrid Renderer issue

2005-12-09 Thread Matt Chotin
Are you sure the image renderer is setting the image source to null when youre closing the row? Maybe set the image visibility to false too? From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Mohanraj Jayaraman Sent: Friday, December 09, 2005

Re: [flexcoders] Re: Why does this effect not work?

2005-12-09 Thread JesterXL
You port code? I've found in the Flash world, it's just quicker and better to re-write. Perhaps one day I'll get put on these famed large, succesful projects I keep hearing about. BTW, what's DP? I can talk about Flash for hours... days...weeks...years even... even longer with free beer.