[flexcoders] Re: Setting the backgroundcolor of a canvas with a function - Newbie alert
Hi Cato! Thanks for your reply, but I still can't make it work. The value {myRepeater.currentItem.left.page.swift} is a string (or is it?) it contains a number, either 0 or 1. leftpage pageno=22 swift=0//left leftpage pageno=22 swift=1//left I've tryed to do it like you suggest, getColor(swift:uint):uint, but with no changes. public function getColor(swift:uint):uint { if (swift==1) { return 0x00; } else { return 0xFF; } } mx:Canvas backgroundColor=getColor(uint({myRepeater.currentItem.left.page.swift}) width=50% The error I get is on the mx:Canvas line, 1067: Implicit coercion of a value of type String to an unrelated type uint. Anyone out there that can help me on this issue ? Thanks in advance. Mark --- In flexcoders@yahoogroups.com, Cato Paus [EMAIL PROTECTED] wrote: Hi use uint for colors like getColor(swift:uint):uint The uint class is primarily useful for pixel color values (ARGB and RGBA) and other situations where the int data type does not work well. For example, the number 0x, which represents the color value white with an alpha value of 255, can't be represented using the int data type because it is not within the valid range of the int values. Cato
[flexcoders] Getting an image's original size - needed to resize
I'm trying to resize images to fit in a canvas. Works great. Now I also want the user to be able to zoom/resize the images using a slider, allowing them to resize to (at least) 100%, but I can't figure out how to set the image(s) to their original 100% size. Here's my functions, which get called by user click. First I switch state, to make the images visible, then I call switchImage, that get the image url's from the repeaterItem. Set the source of bigLeft + bigRight Set the width of the images to half of the canvas. (the images are pages from a magazine, left and right) For debugging purpose I put the width into a label. At the bottom of this post, is the HSlider zoom which are used by the zoomChange function. How could I make this work, OR, how could I make 2 buttons [Fit to window] [Real size]. I can't figure out how to set the image back to the real size 100%. Thanks for any help and pointers. Mark click={this.currentState='spreadView'};switchImage(event.currentTarget.getRepeaterItem()) public function switchImage(repeaterItem:Object):void { // Resize the Div1 Tab div1.width = 0; thumbbar.height = 0; // Get the sources bigLeft.source = repeaterItem.images.imgHigh_left ; bigRight.source = repeaterItem.images.imgHigh_right ; // lets try to images to half of canvas size //bigLeft.width = (main.width / 2)-25; //bigRight.width = (main.width / 2)-25; leftWidth.text = String( bigLeft.width ) zoom.visible=true; } public function init():void { div1.width = 250; thumbbar.height = 120; zoom.visible=false; } public function zoomChange():void { var stdWidth:uint = .7; //just a value I'm guessing bigLeft.width=uint(stdWidth*zoom.value/100); bigRight.width=uint(stdWidth*zoom.value/100); zoomlevel.text = String( stdWidth*zoom.value/100 ); } mx:HSlider id=zoom width=300 height=50 minimum=10 maximum=100 value=100 change=zoomChange() labels=['zoom : 10%','zoom : 100%'] styleName=myHSlider allowTrackClick=true liveDragging=true alpha=1 tickLength=10 tickColor=#00 showTrackHighlight=true trackColors=#ff,#ccff33 visible=false /
[flexcoders] Re: Newbie alert - Trying to populate combobox w. httpservice
Hi Ben Thanks for your answer, got it working :-) Looking into making it request data using POST now (whoa - advanced stuff) Best regards, Mark --- In flexcoders@yahoogroups.com, Ben Marchbanks [EMAIL PROTECTED] wrote: you have to define the labelField when binding to dataProvider that has no label field. mx:ComboBox id=cbEdition labelField=myItem dataProvider={ xmlEdition.lastResult.action.item} / Ben Marchbanks
[flexcoders] Re: Custom axis drawing (charts)?
thank u Ely. i'll have a look at the example and see if i can use that. vigen --- In flexcoders@yahoogroups.com, Ely Greenfield [EMAIL PROTECTED] wrote: Hi Vigen. You can write your own custom axisRenderer if you like. I have an example that does that up on my blog at quietlyscheming.com (see the interactive bubble chart). You could theoretically subclass the default AxisRenderer and add to it, although that might get pretty hairy. Ely. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of vigen2000 Sent: Tuesday, January 16, 2007 4:44 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Custom axis drawing (charts)? Hi, is there a way to draw/add objects to the axis? im trying to draw little lines on the vertical axis to represent the average value. any ideas? vigen
[flexcoders] Arp framework
Hi, I found the Arp framework (http://osflash.org/arp) on the net. Does anyone use it? It seems very similar to Cairngorm. Regards, Olivier - An electronic message is not binding on its sender. Any message referring to a binding engagement must be confirmed in writing and duly signed. -
[flexcoders] Re: Newbie alert - Trying to populate combobox w. httpservice
So now I'm trying to make several httpservice requests, populating comboboxes and other items, the thing is that they all depend on what data is selected in the other comboboxes. Example: We have 3 comboboxes A B C First to get data is A from a httpservice, when that is populated, combobox B should make a post using the selected value (first value) from combobox A. This also applies to combobox C. Then if A changes (close=update_combos()) it should make B and C reload the data, using the new value from A. How can I do this ? I tried something like this - but obviously it wont work: mx:HTTPService id=xmlEdition url = http://localhost/xml/xml.asp; showBusyCursor=true method=POST result=editionHandler(event) mx:request actionedition/action /mx:request /mx:HTTPService mx:HTTPService id=xmlSales url = http://localhost/xml/xml.asp; showBusyCursor=true method=POST result=salesHandler(event) mx:request actionsales/action edition edition.selectedItem.edition /edition /mx:request /mx:HTTPService Any help or maybe even some Tutorials out there I could use ?? thx Mark
[flexcoders] Something I tried :)
Hi All, Something I tried 1) http://raghunathraoflexing.blogspot.com/2007/01/card-layout-draft-1.html 2) http://raghunathraoflexing.blogspot.com/2007/01/subtitle-video.html My FLEX Blog - http://raghunathraoflexing.blogspot.com/ Thanks Raghu
Re: [flexcoders] Re: Flex/Flash on The iPhone ?
On Tuesday 16 January 2007 15:38, Shannon Hicks wrote: It seems that Apple has confirmed that Flash Java will be supported on the iPhone. Digging into the meat of the article, it's not that clear cut. -- Tom Chiverton Helping to assertively grow intuitive models This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at St James's Court Brown Street Manchester M2 2JF. A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law Society. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 8008. For more information about Halliwells LLP visit www.halliwells.com. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [flexcoders] Cairngorm Duplicate Remote Object Return Events
On Tuesday 16 January 2007 16:15, Battershall, Jeff wrote: I'm not sure a singleton delegate would do the trick - and then you might have threading issues - right? The flash player is single threaded isn't it ? -- Tom Chiverton Helping to simultaneously entrench guinine technologies This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at St James's Court Brown Street Manchester M2 2JF. A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law Society. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 8008. For more information about Halliwells LLP visit www.halliwells.com. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [flexcoders] CreationComplete help....
On Tuesday 16 January 2007 17:39, jensen.axel wrote: then i pick a different item from a mx:Tree, and reload the component, to edit the new data i've selected from my tree... and the setup() function never runs, because the component has already been created, so i'm wondering how i can get this function to run every time? Make it public and call it explictly after picking the new item. -- Tom Chiverton Helping to professionally promote attention-grabbing m-commerce This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at St James's Court Brown Street Manchester M2 2JF. A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law Society. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 8008. For more information about Halliwells LLP visit www.halliwells.com. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] [Flexunit] - How to test throwing errors?
Hi all, sorry for this slightly OT message. I was wondering what the best way is to test for a method throwing an error. I have an Account class that takes a number:int and a name:String as constructor params. If an Account is instantiated with a null name, I want to throw an Error (IllegalArgumentException). In my test, I instantiate a new Account with a null name inside a try/catch and fail immediately after the instantiation. However this does not seem to work. The fail never executes and the test passes. See example: var errorMessage:String = Account constructor should throw IllegalArgumentException when passing 'null' name.; try { var a:Account = new Account(100, null); fail(errorMessage); } catch (e:Error) {} The only way I can get this to work, is to check if the errorMessage in the catch block is the same as the error message in my test and then call fail() again. var errorMessage:String = Account constructor should throw IllegalArgumentException when passing 'null' name.; try { var a:Account = new Account(100, null); fail(errorMessage); } catch(e:Error) { if (e.message == errorMessage) { fail(errorMessage); } } Seems a bit weird. The fail() in the try block is catched by the catch block. I thought this worked in AS2? Am I missing out on something or doing something wrong here? thx in advance. regards, Christophe
Re: [flexcoders] Error: 1000: No bitrate match
On 1/15/07, Impudent1 [EMAIL PROTECTED] wrote: http://blogs.ittoolbox.com/c/engineering/archives/adding-flv-mime-type-in-iis-4198 might help. actually we shutdown the IIS dev server last night this morning it started working. i stopped restarted the web server several times w/out any luck. i guess it needed a kick in the rear end to take effect. thanks.
[flexcoders] Custom icons on Tree - scroll corruption...
Hi, I've implemented custom icons on a tree component - which looks great until the vertical scrollbar appears and I use it... scrolling up and down seems to confuse the tre into showing the icons in the wrong places - sometimes, two icons against one tree entry. Anyone else experienced this at all ? Any idea what might be causing this and/or how I might go about fixing it ?! I imagine a lot of people are custom rendering the tree icons so there *must* be someone else out there who's already felt my pain! Thanks, Jamie.
[flexcoders] Re: Total used memory
Hello, great article, but I simply drag the controls within the TABNAVIGATOR. Possibly it must be bug of the GC or Flex SDK, because it happens only with this type of controls (TABNAVIGATOR and VIEWSTACK). With other type controls works fine. Some idea? --- In flexcoders@yahoogroups.com, Steve Cox [EMAIL PROTECTED] wrote: Take a read of this: http://www.gskinner.com/blog/archives/2006/06/as3_resource_ma.html There's 3 articles in the series which provide an insight into the gc. -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of fliabrussa Sent: 16 January 2007 13:12 To: flexcoders@yahoogroups.com Subject: [flexcoders] Total used memory Hello to all, I am fighting with a subject again that had crossed to me before, which I left it of side with the idea that when proved version 2.0.1 to not it happens me, but lamentably to me it continues happening. It is very probable that I am confused, for that reason I go to you so that they give a hand me. My problem is the use of the memory: basically, which I see is that the GC does not release memory when we erased a component that includes a control TabNavigator or Accordion inside. In order to show better he arms it a small application in which we can instantiate n times the control Simple (that contains 2 DataGrid) and see that the used memory becomes stabilized in 8Mb or 10 Mb. In order to see this in the application we must make several times click in the button that says Component Simple. Soon, to see what I call problem, we must do several times click on the button Component WithNavigator, this will instantiate n times the control WithNavigtor (that contains 1 TabNavigator with 2 grids inside), is there where we will see that the memory never lowers, but that is increased always. By this it is that it seems to me that there is some problem in this type of controls. The Link of the application is this: http://www.managern http://www.managernet.com.ar/MemoryNav/MemoryNavigator.html et.com.ar/MemoryNav/MemoryNavigator.html right click to see the source code. if somebody has some idea of as I can solve it or if it sees that I am making something bad, please help me since this the dream is clearing me. greetings to all Fabian
[flexcoders] Re: Flex Builder no longer compiles
I occasionally have a similar problem in that I'll make changes to code but when I run or debug the application in Firefox from Flex Builder it's the same version as the one before the changes were made. It turns out that for reasons unknown Firefox caches the SWF and doesn't recognize that it's been changed. If I clear the browser cache (using the Firefox Web Developer Toolbar plug-in) and run again everything is fine. It took me a while to figure out what was going on, but it's now quite easy to solve this problem when it occurs. Browser caching might not be what is causing your problem, but try clearing the cache next time you see this problem and see if it helps. Paul --- Paul Whitelock Denver, Colorado --- In flexcoders@yahoogroups.com, dustyjewett [EMAIL PROTECTED] wrote: I made a variable of a class private instead of public, then attempted to sort an ArrayCollection based on this variable. Now, no matter what changes I make to the code, I get the same output in the console, and the same error! First I changed the variable to public, got the same error, I started adding trace statements to figure out what was wrong, but they stopped tracing. I then commented out the sort/refresh lines and anything referring to the cursor... The debugger still points at a commented line. Finally, I deleted the lines from the file completely, the debugger points at the same line number with the same error, which is now a completely different line. I've delete the bin directory, I've Clean...ed up. I've even attempted to run the code on my laptop (which unfortunately already had the buggy code on it, thanks to Version Control)... I've uninstalled FB, installed Eclipse with the FB Plugin, uninstalled the SDK... I've done everything I can think of, but I can't get the files to compile. Has anyone had this problem? What can I do other than try to build the app from the ground up?
RE: [flexcoders] [Flexunit] - How to test throwing errors?
Hi Christophe, It seems logic the fail() statement is not executed since it follows the new Account() statement which throws the exception. I'm not sure I understand what you mean... Regards, Olivier From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of herrodius Sent: Wednesday, January 17, 2007 11:53 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] [Flexunit] - How to test throwing errors? Hi all, sorry for this slightly OT message. I was wondering what the best way is to test for a method throwing an error. I have an Account class that takes a number:int and a name:String as constructor params. If an Account is instantiated with a null name, I want to throw an Error (IllegalArgumentException). In my test, I instantiate a new Account with a null name inside a try/catch and fail immediately after the instantiation. However this does not seem to work. The fail never executes and the test passes. See example: var errorMessage:String = Account constructor should throw IllegalArgumentException when passing 'null' name.; try { var a:Account = new Account(100, null); fail(errorMessage); } catch (e:Error) {} The only way I can get this to work, is to check if the errorMessage in the catch block is the same as the error message in my test and then call fail() again. var errorMessage:String = Account constructor should throw IllegalArgumentException when passing 'null' name.; try { var a:Account = new Account(100, null); fail(errorMessage); } catch(e:Error) { if (e.message == errorMessage) { fail(errorMessage); } } Seems a bit weird. The fail() in the try block is catched by the catch block. I thought this worked in AS2? Am I missing out on something or doing something wrong here? thx in advance. regards, Christophe - An electronic message is not binding on its sender. Any message referring to a binding engagement must be confirmed in writing and duly signed. - - An electronic message is not binding on its sender. Any message referring to a binding engagement must be confirmed in writing and duly signed. -
Re: [flexcoders] Re: Flex Builder no longer compiles
I use the stand alone player to debug. I've changed the debug paths to *-debug.swf in my debug settings. You can do this by clicking on the little arrow next to the bug button in Flex Builder and then go to debug. Another method for fixing this can be using project clean.
Re: [flexcoders] Re: Flex Builder 2.0.1 the update !
I used to have problems with memory errors such, until I increased Eclipse's memory settings... http://www.adobe.com/cfusion/communityengine/index.cfm?event=showdetailspostId=1053productId=2 Shan Allen Riddle wrote: I got that all the time, even with 2.0.0. I had to switch to the stand alone Flex Builder. That plugin is buggy. *From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On Behalf Of *Douglas Knudsen *Sent:* Tuesday, January 16, 2007 1:58 PM *To:* flexcoders@yahoogroups.com *Subject:* Re: [flexcoders] Re: Flex Builder 2.0.1 the update ! using the FDS plugin and Tomcat hereI get out-of-memory errors and eclipse crashing often DK On 1/16/07, *Allen Riddle* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: I don't think so; I'm running mine on Tomcat, with no embedded fonts. And is slower than dirt. The fact that it wasn't slow on 2.0.0 tells us something changed in the compilation process, and hopefully isn't environment related. *From:* flexcoders@yahoogroups.com mailto:flexcoders@yahoogroups.com [mailto: flexcoders@yahoogroups.com mailto:flexcoders@yahoogroups.com] *On Behalf Of *Cato Paus *Sent:* Tuesday, January 16, 2007 1:14 PM *To:* flexcoders@yahoogroups.com mailto:flexcoders@yahoogroups.com *Subject:* [flexcoders] Re: Flex Builder 2.0.1 the update ! Hi All :) I have the Build Automatic set to off, end i have tried to delete the embeded fonts in my css, but Flex stil going slow, could it have somthing to do with that I'm running on fds2 and compailing to a JRun4 server ? --- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com, Rick Schmitty [EMAIL PROTECTED] wrote: Do you have embeded fonts in your application? I was experiencing the same slowdown after upgrading to flex 2.0.1. I had 2.0 installed, updated to 2.0.1, then ran the clean command prior to opening flex. It was still slow. Saw the blog about closing projects, closed everything but the one I'm working on, still slow Deleted all projects and created a blank application, super fast. Ok... so must be something in my project... started hacking away at the files until I came down to the fonts. This took almost 20seconds (on my machine) to compile ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml http://www.adobe.com/2006/mxml mx:Style @font-face { src: url(/assets/fonts/ARIAL.TTF); fontFamily: myArial; } @font-face { src: url(/assets/fonts/BKANT.TTF); fontFamily: myBkant; } @font-face { src: url(/assets/fonts/TAHOMA.TTF); fontFamily: myTahoma; } @font-face { src: url(/assets/fonts/TIMES.TTF); fontFamily: myTimes; } @font-face { src: url(/assets/fonts/TREBUC.TTF); fontFamily: myTrebuc; } /mx:Style /mx:Application Deleting the style tag for a blank appliaction, it compiled immediately 1-1.5sec Here is what's going on (or so I think) FlashType support FlashType is the text rendering engine introduced in Flash Player 8. It improves the readability of text, especially at smaller font sizes. To leverage the FlashType engine in Flex 2, you had to create a SWF that embedded a particular font using the Flash authoring tool, and then embed that SWF file in your Flex application. With Flex 2.0.1, the mxmlc compiler can now embed a font using the FlashType engine directly, eliminating a step for many developers. So I'm back to running fast as long as I dont embed fonts via css, I'll reenable it when I need to publish a working version (or look into creating the SWF file on my own and not use CSS) On 1/16/07, Tom Chiverton [EMAIL PROTECTED] wrote: On Tuesday 16 January 2007 08:19, pauscato1 wrote: I have only one project running in my flex builder, this is realy anoing it uses 20% of my day. Have you got auto-compilation turned off ? -- Tom Chiverton Helping to heterogeneously incubate robust meta-services This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at St James's Court Brown Street Manchester M2 2JF. A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law Society. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it
[flexcoders] Launching FlexBuilder from multiple User accounts
Hi: I've got a MacBook Pro I've set up with a couple of User accounts for myself. I installed and launched the standalone version of FlexBuilder on my main account (I installed FB into an Applications directory above the level of the Users directory). Then I logged into the other account and tried to launch FB, but it won't launch, and generates an error message directing me to look at a log file. Examining the log, this is some of what I see: dhcp-98:/Volumes/Muninn/Applications fluid$ cat Adobe\ Flex\ Builder\ 2/ configuration/1168998280031.log !SESSION 2007-01-16 17:44:39.943 --- eclipse.buildId=unknown java.version=1.5.0_06 java.vendor=Apple Computer, Inc. BootLoader constants: OS=macosx, ARCH=x86, WS=carbon, NL=en_US Command-line arguments: -os macosx -ws carbon !ENTRY org.eclipse.osgi 4 0 2007-01-16 17:44:40.589 !MESSAGE An error occurred while automatically activating bundle org.eclipse.core.resources (19). !STACK 0 org.osgi.framework.BundleException: Exception in org.eclipse.core.internal.compatibility.PluginActivator.start() of bundle org.eclipse.core.resources. ... at org.eclipse.core.launcher.Main.main(Main.java:952) Caused by: java.lang.IllegalStateException: The platform metadata area could not be written: /Volumes/Muninn/Users/wruth/Documents/Flex Builder 2/.metadata. By default the platform writes its content under the current working directory when the platform is launched. Use the -data parameter to specify a different content area for the platform. Anyone else run into this? Is this some sort of licensing check? I though about trying to launch FB providing the -data flag -- how would I supply this arg to FB through the terminal? I'd like the ability to run FB from multiple accounts on my machine w/o having to install multiple instances of it... Thanks for any pointers! Ward
[flexcoders] Consulting Opportunity
We are seeking expressions of interest from Adobe Flex 2 professionals to act in a consulting/mentoring capacity for a team based in Melbourne, Australia. The engagement would involve an agreed number of consulting and mentoring hours per week. Contact would be mainly via phone and email, so applicants from other states are encouraged to apply. International coders are welcome, but preference will be given to Australia-based consultants. The project has already begun and is due to finish at the end of March, and the work would involve technical help with Flex 2 MXML/Actionscript, Javascript, PHP and MySQL. If you are interested in learning more, please send an email to [EMAIL PROTECTED], with a short outline of relevant skills/experience, hourly rates, availability between now and the end of March and any questions that you may have about the engagement. Regards, Irving Dekterev Future Technology Solutions - Customer Experience Chief Technology Office, Telstra
[flexcoders] Re: Scroll wheel doesn't work on Mac
I have noticed this as well. It would be really great if Adobe could get the scroll wheels / Scrolling Trackpad working on OS X especially if we can get both Horizontal and Vertical Scrolling. I've been meaning to submit a bug report / wish on it but haven't done so yet. Maybe if we can get a few people to lend their voices we can get this in the next update for Flash Player 9 Here is the form: http://www.adobe.com/cfusion/mmform/index.cfm?name=wishform --- In flexcoders@yahoogroups.com, tobiaspatton [EMAIL PROTECTED] wrote: Hello list; Has anyone else noticed that the mouse scroll wheel does not scroll lists on Mac OS X? I've tried in Safari and Firefox. Thanks. Tobias.
[flexcoders] Chat + Survey + Live Video Feed app
My client wants an application with a live chat, simultaneous survey and a live video feed all in one. This is my chance to use Flex! Aside from handing over a quite a chunk of change to Adobe, anyone can share some pointers on how to get started? I've put together this sort of thing in ASP.NET VB before... -Luis
[flexcoders] Window Charting
I need help on Showing Reports with charts. Suggest me some links available... Thanks\ Nitin - Heres a new way to find what you're looking for - Yahoo! Answers
[flexcoders] urgent
I want to leave the list, please exclude me….today, please
[flexcoders] Re: Code behind- do you use it?
I use code-behind on pages with lot of code, since I don't want a mess: On index.mxml I have the script block containing th epath to the actionscript file (not as class): mx:Script source=index.as / My question is: Why doesn't Flex Builder allow to name the .mxml and .as page using the same name? Does this happen only with files in subdirectories (?). Because the index.mxml -- index.as (in root) works ok, but some other files cause me problems, so I have to add some extra characters in it's name, e.g.: MainView.mxml -- MainView_.as Thanks.. Danko --- In flexcoders@yahoogroups.com, ben.clinkinbeard [EMAIL PROTECTED] wrote: I am undecided as to whether or not I want to use the code behind method for my MXML files and figured I would see what others are doing. I am currently just using Script blocks at the top of my files to do event handling, initialization, etc but some of them are getting pretty big. So what are others doing? No AS in your MXML files, no code behind, a mixture of the two? Thanks, Ben
[flexcoders] Re: how to draw over an image
--- In flexcoders@yahoogroups.com, dodger6135396 [EMAIL PROTECTED] wrote: Using ActionScript3.0 and Flex2.0.1 I want to display an image /photograph. Then I want to draw shapes on top of this image, but I dont want to alter the image. For example the image would be located at x=0, y=0, width = 320 and height = 240, then at a Z order higher above the image a transparent something located at the same coordinates would allow the user to highlight parts of the image. Please is this even possible?. Is there a technique for doing this?. Thanks in anticipation. Ok thanks for your help I am now able to create highlights except that the highlight gets hidden beneath the Image object I am trying to highlight how do I bring the highlights into the foreground ?. The order of objects is Application-Panel-HBox-VBox-Panel-Image.
[flexcoders] Weird behavior of mx:Effects on ViewStack
Hi, I'm using mx:Move effects on ViewStack as it's items showEffect and hideEffect. HideEffect moves the previous view off-screen; then the next view slides in. (btw these views are complex full-screen displays (containing TabNavigators, DataGrids and TileLists) First time when changing views, the effect plays properly - e.g. when switching from view 0 to view 1, or view 1-view 2 etc. everything works as expected: the first view moves out, the second one moves in. But: I've noticed a strange behaviour when returning to the ViewStack's view that was previously shown (created), for instance view 1 -view 0: for a blink of a second the object is displayed on it's final position (!); then it dissapears, the effect starts and object moves in as expected. Another thing I noticed is that previously created view's showEffect starts too early: it doesn't wait the hideEffect of the previous view to play it's part - they play at the SAME TIME. I've come to conclusion that this first time the effect plays right because objects aren't created yet (?). I tried to do the same thing with mx:States - nothing was improved, and the performance was drastically degraded - seems like States have problems (?). The questions are: - what am I supposed to do with Effects. Did I miss something? - do I have to destroy objects previously shown? - how do you destroy objects in Flex? - what's the problem with mx:States and performance? Thanks in advance! Danko
[flexcoders] Re: Code behind- do you use it?
Using the ARP framework @ http://osflash.org/ARP Once you get past a simple application a GUI framework is critical for maintainability. Takes a bit more to get going, but you end up reusing a lot of code.
[flexcoders] Precompiling with active web-tier compiler
Hi all.. I am trying to precompile the application which uses the FDS 2.0. Precompiling doest give me any errors. But the issue is Iam using RemoteObject in the client to access Java methods. So it need web- tier compiler. So when I wrote a html wrapper with the src=MyApp.swf I get the error couldn't establish a connection to MyService where MyService is the destination I referred to in the RemoteObject call.The destination poits to the service mentioned in the remote-config.xml. But when I give src=MyApp.mxml in the html wrapper the application works fine. Is it that it nullified the precompile I did?? Does it compile again when I specify MyApp.mxml iside the html wrapper If so is there a way out, without compromising the precompiling action? Can I deactivate the web-tier compiler? And which config I may use instead of remote-config.xml. Since when remote-config.xml is there then the web-tier compiler is activates as per the help doc. Does anyone have an answer for me? Thanks in advance Regards Hara --- In flexcoders@yahoogroups.com, haravallabhan [EMAIL PROTECTED] wrote: Thanks gr8 work clint... thanks a lot... it worked... I was searching for web-inf/flex/libs but it looks like it takes form the sdk framework thanks a lot clint. cheers Hara --- In flexcoders@yahoogroups.com, Clint Modien cmodien@ wrote: Sounds like you're missing the fds.swc . It's not included in the SDK. You can get the express version of FDS here: http://www.adobe.com/go/flex_trial On 1/12/07, haravallabhan haravallabhan@ wrote: Thanks Clint for the links.. Was useful. I have added ant tags to compile and build the Flex application manually with precompilation.But When I tried to complie the mxml file using the ant build file I get an error which I didnt get when I compile normally. The error says Interface IManaged not found and the ant says the build was Failed. Whats the error mean? I am using the exec tag to use the mxmlc.exe in the fsdk2/bin in the Flex Builder installed directory. Thanks regards Hara --- In flexcoders@yahoogroups.com flexcoders% 40yahoogroups.com, Clint Modien cmodien@ wrote: http://livedocs.flexsearch.org/index.shtml? cx=017079146949617508304% http://livedocs.flexsearch.org/index.shtml? cx=017079146949617508304%25 3Amv4wpsyofxucof=FORID%3A9q=mxmlc#1126 What you really want to do is setup ant to build it for you in flexbuilder 2. http://www.flex2ant.org/ Or setup ant from the command line. http://webddj.sys-con.com/read/309503.htm http://webddj.sys-con.com/read/310378.htm On 1/10/07, haravallabhan haravallabhan@ wrote: Hi Rob and Mod, Thanks for your itme guys. Rob I use FDS and there are no images loaded initally. I directly call the application which initially shows Vbox-- Hbox-a Logo-/Hbox applictionControlBar-- / viewStack -- first tab(visible first time) - 3 viewstack each has a chart and datagrid -- second tab - a tree, 2 data grid and a viewstack with a datagrid and a chart /viewstack /vbox Rob what do you mean by the controls in this context. Hi Mod where do I compile the files-- through FlexSDK folder??? Thanks regards Hara --- In flexcoders@yahoogroups.com flexcoders% 40yahoogroups.comflexcoders% 40yahoogroups.com, Clint Modien cmodien@ wrote: Ya... precompiling would definitely help. While your waiting for that minute. 90% of that time is probably compilation. Precompiling is in the docs... http://livedocs.flexsearch.org/index.shtml? cx=017079146949617508304% http://livedocs.flexsearch.org/index.shtml? cx=017079146949617508304%25 3Amv4wpsyofxucof=FORID%3A9q=precompiling#816 Which version of Flex is this? On 1/10/07, haravallabhan haravallabhan@ wrote: Hi guys, How to improve the startup performance of the flex application. That is before the application initializes a blank screen appears for over a minute after that a progress bar shows up.I want to minimize the time the blank page appears. I am using Tomcat server for running the application. Does the usage of containers play a role on such behaviour or is that a server problem. Will I be helped if the application is precompiled??.. If so how do I precompile the application :). Or is there any other way to improve the performance. I did try out ceratin links but they recommend using timer to check the initialization performance. But I need to improve the performance before initialization. I need to recommend flex for RIA development.But this thing is like a
[flexcoders] Query regarding multiple files upload using the FileReferenceList class
Hello Everybody, I have browsed multiple files using the FileReferenceList.browse() method but to actually upload the fles I have to iterate through the FileReferenceList.fileList array and individually upload each file using FileReference.upload() method. My question is, does this mean that for each file being uploaded an urlRequest is made and there is a server hit? Also, is there any other way to avoid multiple server hits but upload multiple files? Can we do a batch upload where we can send the filesReferenceList object instead of individual FileReference objects maintained in the FileReferenceList.fileList array? Please advise. Thanks and Regards, Paromita
[flexcoders] job offered: Web Application Developer (Flex/Flash/ColdFusion)
If you need more details, feel free to contact me... Web Application Developer #145294 Bellevue WA To apply, visit http://www.t-mobile.com/jobs and search for requisition number 145294 T-Mobile USA is a national provider of wireless voice, messaging, and data services capable of reaching over 268 million Americans where they live, work, and play. In a world full of busy and fragmented lives, we at T-Mobile USA, Inc. have the idea that wireless communications can help. The value of our plans, the breadth of our coverage, the reliability of our network, and the quality of our service are meant to do one thing; help you stick together with the people who make your life come alive. That's why we're here. The Application Developer will provide tangible business value by maintaining workflow, managing applications and sites while jointly developing, testing, and deploying mobile, computer-based, and web-based LD and performance improvement applications for internal and external customers. The candidate will be responsible for handling the day-to-day production of Learning Development web applications. Additional responsibilities will include maintaining business ownerships of assigned applications, developing relationships with business partners to ensure quality, integrity, continuity and streamlined messaging for impacted customers. He/she will assist in the training, deployment, testing, debugging and deployment of computer, mobile and web-based applications. Develop applications using industry standards, design patterns and processes. Engage in strategic planning to meet business requirements. Meet Service Level Agreement standards for production purposes, and comprehend any related reports to assess analytical behaviors from a functionality, efficiency and usability standpoint. Work at the highest technical level of all phases of application development with approved technologies. A willingness to travel as required. Potential candidate must provide portfolio of work. Duties and Responsibilities * Designs, develops, codes, tests, debugs and maintains interactive computer, mobile and web-based applications * Designs, develops, codes, tests, debugs and maintains multimedia applications, SOAP web services and RSS feeds * Develop and deliver database driven web, mobile and computer applications using FLEX or ColdFusion and FLEX as a presentation layer * Design and create SQL or Oracle databases for prospective applications using industry best practices * Assists in research and fact finding to develop, refresh or modify learning systems * Assists in preparing detailed specifications for programs * Facilitates storyboarding to develop visual imagery, navigation and functionality of applications and sites * Tests and debugs applications before release or delivery * Identifies, explores, and demonstrates new web, mobile and computer technologies that would be beneficial for use in the LD environment * Conduct an ongoing analysis of the organization's IT infrastructure to determine product and technology compatibility * Reports status of overall production to Management * Provide field support and training to end user applications * Model T-Mobile's values at all times * Other responsibilities as assigned by management Supervisory Responsibilities This position has no direct reports, but may manage others as part of assigned project work. Qualifications q Ability to work independently, as well as, in a team-oriented environment to achieve stated objectives q Ability to effectively communicate and interact with all departments q Strong work ethic q Ability to model values of the organization q Ability to manage multiple priorities q Superior interpersonal skills with the ability to develop strong working relationships q Strong organizational skills and attention to detail q High level of FLEXibility, creativity and dependability q Excellent oral and written communication skills q Proactive attitude q Ability to travel and work FLEXible hours, as required Education and Experience Ø Bachelor's degree in Information Technology, Computer Science or related field is preferred Ø Minimum three + years of professional experience in Internet Development/Information Technology Ø One + years demonstrated Project Management Skills required Knowledge and Skills * Thorough knowledge of the following programming or scripting languages: SQL, ColdFusion, FLEX, XML, XHTML, Flash, Actionscript versions 1,2 and 3, CSS, Flash Lite experience would be helpful but not required. * Thorough knowledge of and ability to program in the following authoring environments: Flash Professional, FLEX 1.5 and 2.0, Dreamweaver MX or other design and or developer-related applications * Strong verbal and written communication skills
[flexcoders] Re: [Flexunit] - How to test throwing errors?
Hi Olivier, that should indeed be the behavior, but the test also passes if I remove the throw Error() line in my Account constructor. This is probably because the fail() in the testcase is directly caught by the catch block underneath. I used to do it this way in AS2, but it seems like the try/catch behavior is different in AS3. Does anyone have any solution for this, or another way of testing throw statements? regards, Christophe --- In flexcoders@yahoogroups.com, Stembert Olivier (BIL) [EMAIL PROTECTED] wrote: Hi Christophe, It seems logic the fail() statement is not executed since it follows the new Account() statement which throws the exception. I'm not sure I understand what you mean... Regards, Olivier From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of herrodius Sent: Wednesday, January 17, 2007 11:53 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] [Flexunit] - How to test throwing errors? Hi all, sorry for this slightly OT message. I was wondering what the best way is to test for a method throwing an error. I have an Account class that takes a number:int and a name:String as constructor params. If an Account is instantiated with a null name, I want to throw an Error (IllegalArgumentException). In my test, I instantiate a new Account with a null name inside a try/catch and fail immediately after the instantiation. However this does not seem to work. The fail never executes and the test passes. See example: var errorMessage:String = Account constructor should throw IllegalArgumentException when passing 'null' name.; try { var a:Account = new Account(100, null); fail(errorMessage); } catch (e:Error) {} The only way I can get this to work, is to check if the errorMessage in the catch block is the same as the error message in my test and then call fail() again. var errorMessage:String = Account constructor should throw IllegalArgumentException when passing 'null' name.; try { var a:Account = new Account(100, null); fail(errorMessage); } catch(e:Error) { if (e.message == errorMessage) { fail(errorMessage); } } Seems a bit weird. The fail() in the try block is catched by the catch block. I thought this worked in AS2? Am I missing out on something or doing something wrong here? thx in advance. regards, Christophe - An electronic message is not binding on its sender. Any message referring to a binding engagement must be confirmed in writing and duly signed. - - An electronic message is not binding on its sender. Any message referring to a binding engagement must be confirmed in writing and duly signed. -
RE: [flexcoders] Cairngorm Duplicate Remote Object Return Events
Mark, I re-worked all my delegate classes as per your code sample, and yes, all the 'duplicate' result events have disappeared. Thanks again. Jeff -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Mark Doberenz Sent: Tuesday, January 16, 2007 3:27 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Cairngorm Duplicate Remote Object Return Events OK, I was able to finally get somewhere with this... Here's what I was using in my Delegate in the login method... var call:AsyncToken = service.login(username, password); service.addEventListener(ResultEvent.RESULT , responder.result); service.addEventListener(FaultEvent.FAULT, responder.fault); The problem was adding the event listeners to the service node... not a good idea, but like I said earlier, this is how Sam Shrefler was doing it on his tutorial. Here's what I changed it to... var call:AsyncToken = service.login(username, password); call.addResponder(responder); Now, I'm only getting one result every time I call the method. Hope this helps someone else. Mark On 1/16/07, Thijs Triemstra [EMAIL PROTECTED] wrote: I'm using Cairngorm 2.1 here so I don't think it's something that changed in the newest version.. :( Your idea of the UID sounds like it will work but I'd prefer not send extra data back and forth and it also won't clean up these redundant event notifications.. It seems that cairngorm creates new instances of the delegate/event listeners etc every time, maybe there is a way to find a unique reference for them that you can use to filter out the extra events? but I guess that still creates a memory problem and the application will get slow after a while, something that would easily happen in a chatroom application for example.. question is: how does someone kill these event listeners with cairngorm? Thijs Op 16-jan-2007, om 20:08 heeft Battershall, Jeff het volgende geschreven: Well using mx.utils.UIDUtil. createUID() to give each RO call a unique marker and then checking for a match on result is a way to go, biut it certainly feels kludgey. I'd like to see some input from the Adobe consulting folks - perhaps this has been addressed in Cairngorm 2.1 - I'm using 2.0. -Original Message- From: [EMAIL PROTECTED] ups.com http://ups.com [mailto:[EMAIL PROTECTED] com] On Behalf Of Mark Doberenz Sent: Tuesday, January 16, 2007 1:54 PM To: [EMAIL PROTECTED] ups.com http://ups.com Subject: Re: [flexcoders] Cairngorm Duplicate Remote Object Return Events You're right, I was just calling them duplicate events, but repeated ones from earlier events is a much better way to say it. I'm coding up a Fluorine app for the middleware... I'm not all that sure how to use CF :( I'm basing my Flex app off of Sam Shrefler's Flex 2, Cairngorm, Fluorine tutorial: http://blog. http://blog.shrefler.net/?p=10 shrefler.net/?p=10 Maybe his code needs to be tweaked for Flex 2.0.1 ?? Mark On 1/16/07, Battershall, Jeff [EMAIL PROTECTED] com mailto:[EMAIL PROTECTED] wrote: Mark, Interesting discussion - interesting problem. BTW, I don't think these return events are really 'duplicates' per se, but repeats of the earlier return events. LIke First invoke returns event1 Second invoke returns event1 then event2 etc. Out of curiosity, what middleware are you using? I'm using CFMX 7.02. Jeff -Original
RE: [flexcoders] Precompiling with active web-tier compiler
precompiling is the best option, your SWF will load in a split second. What you are missing is to specify the location of the services-config.xml (portion in red). Teh HTML wrapper shouldn't have anything to do with this. If you are using ant, it should look like this: exec executable=${FLEX2_COMPILER} dir=${BUILD_WEB} vmlauncher=false failonerror=true arg value=-incremental=true / arg value=-context-root=/billing/ arg value=-locale=en_US/ arg value=-source-path=WEB-INF/flex/locale/en_US/ arg value=-services=WEB-INF/flex/services-config.xml/ arg value=billing.mxml / /exec Dimitrios Gianninas RIA Developer Optimal Payments Inc. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of haravallabhan Sent: Wednesday, January 17, 2007 8:58 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Precompiling with active web-tier compiler Hi all.. I am trying to precompile the application which uses the FDS 2.0. Precompiling doest give me any errors. But the issue is Iam using RemoteObject in the client to access Java methods. So it need web- tier compiler. So when I wrote a html wrapper with the src=MyApp.swf I get the error couldn't establish a connection to MyService where MyService is the destination I referred to in the RemoteObject call.The destination poits to the service mentioned in the remote-config.xml. But when I give src=MyApp.mxml in the html wrapper the application works fine. Is it that it nullified the precompile I did?? Does it compile again when I specify MyApp.mxml iside the html wrapper If so is there a way out, without compromising the precompiling action? Can I deactivate the web-tier compiler? And which config I may use instead of remote-config.xml. Since when remote-config.xml is there then the web-tier compiler is activates as per the help doc. Does anyone have an answer for me? Thanks in advance Regards Hara --- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com , haravallabhan [EMAIL PROTECTED] wrote: Thanks gr8 work clint... thanks a lot... it worked... I was searching for web-inf/flex/libs but it looks like it takes form the sdk framework thanks a lot clint. cheers Hara --- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com , Clint Modien cmodien@ wrote: Sounds like you're missing the fds.swc . It's not included in the SDK. You can get the express version of FDS here: http://www.adobe.com/go/flex_trial http://www.adobe.com/go/flex_trial On 1/12/07, haravallabhan haravallabhan@ wrote: Thanks Clint for the links.. Was useful. I have added ant tags to compile and build the Flex application manually with precompilation.But When I tried to complie the mxml file using the ant build file I get an error which I didnt get when I compile normally. The error says Interface IManaged not found and the ant says the build was Failed. Whats the error mean? I am using the exec tag to use the mxmlc.exe in the fsdk2/bin in the Flex Builder installed directory. Thanks regards Hara --- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com flexcoders% 40yahoogroups.com, Clint Modien cmodien@ wrote: http://livedocs.flexsearch.org/index.shtml? http://livedocs.flexsearch.org/index.shtml? cx=017079146949617508304% http://livedocs.flexsearch.org/index.shtml? http://livedocs.flexsearch.org/index.shtml? cx=017079146949617508304%25 3Amv4wpsyofxucof=FORID%3A9q=mxmlc#1126 What you really want to do is setup ant to build it for you in flexbuilder 2. http://www.flex2ant.org/ http://www.flex2ant.org/ Or setup ant from the command line. http://webddj.sys-con.com/read/309503.htm http://webddj.sys-con.com/read/309503.htm http://webddj.sys-con.com/read/310378.htm http://webddj.sys-con.com/read/310378.htm On 1/10/07, haravallabhan haravallabhan@ wrote: Hi Rob and Mod, Thanks for your itme guys. Rob I use FDS and there are no images loaded initally. I directly call the application which initially shows Vbox-- Hbox-a Logo-/Hbox applictionControlBar-- / viewStack -- first tab(visible first time) - 3 viewstack each has a chart and datagrid -- second tab - a tree, 2 data grid and a viewstack with a datagrid and a chart /viewstack /vbox Rob what do you mean by the controls in this context. Hi Mod where do I compile the files-- through FlexSDK folder??? Thanks regards Hara --- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com flexcoders% 40yahoogroups.comflexcoders% 40yahoogroups.com, Clint Modien cmodien@ wrote: Ya... precompiling would definitely help. While your waiting for that minute. 90% of that time is
RE: [flexcoders] Re: Code behind- do you use it?
The .mxml files get translated into .as files of the same name. So basically you then have 2 index.as files... which obviously is going to give you problems. -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Danko Kozar Sent: Wednesday, January 17, 2007 4:50 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Code behind- do you use it? I use code-behind on pages with lot of code, since I don't want a mess: On index.mxml I have the script block containing th epath to the actionscript file (not as class): mx:Script source=index.as / My question is: Why doesn't Flex Builder allow to name the .mxml and .as page using the same name? Does this happen only with files in subdirectories (?). Because the index.mxml -- index.as (in root) works ok, but some other files cause me problems, so I have to add some extra characters in it's name, e.g.: MainView.mxml -- MainView_.as Thanks.. Danko --- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com , ben.clinkinbeard [EMAIL PROTECTED] wrote: I am undecided as to whether or not I want to use the code behind method for my MXML files and figured I would see what others are doing. I am currently just using Script blocks at the top of my files to do event handling, initialization, etc but some of them are getting pretty big. So what are others doing? No AS in your MXML files, no code behind, a mixture of the two? Thanks, Ben
[flexcoders] Re: Total used memory
it is well, but my application will have to run during approximately 8 Hours without close, for that reason I am worried --- In flexcoders@yahoogroups.com, Tom Chiverton [EMAIL PROTECTED] wrote: On Tuesday 16 January 2007 13:12, fliabrussa wrote: if somebody has some idea of as I can solve it or if it sees that I am making something bad, please help me since this the dream is clearing me. I wouldn't bother about it. When the browser (tab) is closed, it's all reclaimed, and computers these days have silly amounts of RAM. -- Tom Chiverton Helping to globally market cross-media designs This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at St James's Court Brown Street Manchester M2 2JF. A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law Society. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 8008. For more information about Halliwells LLP visit www.halliwells.com.
[flexcoders] Module Interface Problems
I'm having a problem passing variables from one module to another via an interface. I have an application that calls a module when it enters a specific state, which works fine. The module is loaded through mx:ModuleLoader id=modMyModule1 url=myModule1.swf and it works as expected. Within this module, I have a button that when pressed, calls a second module via a module loader, using an interface. I need an interface, as there is a variable that I need to pass between these two modules. Clicking the button runs a couple of functions, ending with: currentState='Results'; modMyModule2.url='myResults.swf; and the states look like: mx:states mx:State name=Results mx:AddChild mx:ModuleLoader id=modMyModule2 ready=readyModule(event) error=modErrorHandler(event) / /mx:AddChild /mx:State /mx:states So when the module is ready, the following code is invoked in modMyModule1: private function readyModule(evt:ModuleEvent):void { var ichild:* = modMyModule2.child as IResults; if(ichild != null) { ichild.searchResults = arrSearchResults; trace(NOT NULL); } else { trace(NULL!); } } modMyModule2 contains 'implements=IResults' in it's root module tag, and IResults is defined as follows: package { import flash.events.IEventDispatcher; import mx.collections.ArrayCollection; public interface IResults extends IEventDispatcher { function set searchResults(arrResults:ArrayCollection):void; function get searchResults():ArrayCollection; } } I have corresponding getter and setter functions in my modMyModule2, but they never seem to get called! For some reason, the interface is always failing, and therefore in my readyModule() function in the first module, it always traces NULL. I can access the required variable in the second module via parentApplication.modMyModule1.child.arrSearchResults, but I'd prefer to do it via the interface. I've gone through all the docs, but I can't see what I've done that's different from anything in them, except for the fact that I'm calling a module from a module via an interface. Can anyone shed some light on this at all? Cheers, K.
RE: [flexcoders] Re: Flex Builder 2.0.1 the update !
Rick, you might be able to still embed fonts without experiencing such a dramatic performance problem. Try embedding the fonts but disabling FlashType (it's enabled by default): @font-face { src: url(/assets/fonts/ARIAL.TTF); fontFamily: myArial; flashType: false; } hth, matt horn flex docs http://blogs.adobe.com/flexdoc/ -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Rick Schmitty Sent: Tuesday, January 16, 2007 12:10 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Re: Flex Builder 2.0.1 the update ! Do you have embeded fonts in your application? I was experiencing the same slowdown after upgrading to flex 2.0.1. I had 2.0 installed, updated to 2.0.1, then ran the clean command prior to opening flex. It was still slow. Saw the blog about closing projects, closed everything but the one I'm working on, still slow Deleted all projects and created a blank application, super fast. Ok... so must be something in my project... started hacking away at the files until I came down to the fonts. This took almost 20seconds (on my machine) to compile ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml http://www.adobe.com/2006/mxml mx:Style @font-face { src: url(/assets/fonts/ARIAL.TTF); fontFamily: myArial; } @font-face { src: url(/assets/fonts/BKANT.TTF); fontFamily: myBkant; } @font-face { src: url(/assets/fonts/TAHOMA.TTF); fontFamily: myTahoma; } @font-face { src: url(/assets/fonts/TIMES.TTF); fontFamily: myTimes; } @font-face { src: url(/assets/fonts/TREBUC.TTF); fontFamily: myTrebuc; } /mx:Style /mx:Application Deleting the style tag for a blank appliaction, it compiled immediately 1-1.5sec Here is what's going on (or so I think) FlashType support FlashType is the text rendering engine introduced in Flash Player 8. It improves the readability of text, especially at smaller font sizes. To leverage the FlashType engine in Flex 2, you had to create a SWF that embedded a particular font using the Flash authoring tool, and then embed that SWF file in your Flex application. With Flex 2.0.1, the mxmlc compiler can now embed a font using the FlashType engine directly, eliminating a step for many developers. So I'm back to running fast as long as I dont embed fonts via css, I'll reenable it when I need to publish a working version (or look into creating the SWF file on my own and not use CSS) On 1/16/07, Tom Chiverton [EMAIL PROTECTED] mailto:tom.chiverton%40halliwells.com wrote: On Tuesday 16 January 2007 08:19, pauscato1 wrote: I have only one project running in my flex builder, this is realy anoing it uses 20% of my day. Have you got auto-compilation turned off ? -- Tom Chiverton Helping to heterogeneously incubate robust meta-services This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at St James's Court Brown Street Manchester M2 2JF. A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law Society. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 8008. For more information about Halliwells LLP visit www.halliwells.com. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links
RE: [flexcoders] Precompiling with active web-tier compiler
Hi Hara, Specify the location of the services-config.xml file by using the services compiler argument. Regards, Olivier From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of haravallabhan Sent: Wednesday, January 17, 2007 2:58 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Precompiling with active web-tier compiler Hi all.. I am trying to precompile the application which uses the FDS 2.0. Precompiling doest give me any errors. But the issue is Iam using RemoteObject in the client to access Java methods. So it need web- tier compiler. So when I wrote a html wrapper with the src=MyApp.swf I get the error couldn't establish a connection to MyService where MyService is the destination I referred to in the RemoteObject call.The destination poits to the service mentioned in the remote-config.xml. But when I give src=MyApp.mxml in the html wrapper the application works fine. Is it that it nullified the precompile I did?? Does it compile again when I specify MyApp.mxml iside the html wrapper If so is there a way out, without compromising the precompiling action? Can I deactivate the web-tier compiler? And which config I may use instead of remote-config.xml. Since when remote-config.xml is there then the web-tier compiler is activates as per the help doc. Does anyone have an answer for me? Thanks in advance Regards Hara --- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com , haravallabhan [EMAIL PROTECTED] wrote: Thanks gr8 work clint... thanks a lot... it worked... I was searching for web-inf/flex/libs but it looks like it takes form the sdk framework thanks a lot clint. cheers Hara --- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com , Clint Modien cmodien@ wrote: Sounds like you're missing the fds.swc . It's not included in the SDK. You can get the express version of FDS here: http://www.adobe.com/go/flex_trial http://www.adobe.com/go/flex_trial On 1/12/07, haravallabhan haravallabhan@ wrote: Thanks Clint for the links.. Was useful. I have added ant tags to compile and build the Flex application manually with precompilation.But When I tried to complie the mxml file using the ant build file I get an error which I didnt get when I compile normally. The error says Interface IManaged not found and the ant says the build was Failed. Whats the error mean? I am using the exec tag to use the mxmlc.exe in the fsdk2/bin in the Flex Builder installed directory. Thanks regards Hara --- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com flexcoders% 40yahoogroups.com, Clint Modien cmodien@ wrote: http://livedocs.flexsearch.org/index.shtml? http://livedocs.flexsearch.org/index.shtml? cx=017079146949617508304% http://livedocs.flexsearch.org/index.shtml? http://livedocs.flexsearch.org/index.shtml? cx=017079146949617508304%25 3Amv4wpsyofxucof=FORID%3A9q=mxmlc#1126 What you really want to do is setup ant to build it for you in flexbuilder 2. http://www.flex2ant.org/ http://www.flex2ant.org/ Or setup ant from the command line. http://webddj.sys-con.com/read/309503.htm http://webddj.sys-con.com/read/309503.htm http://webddj.sys-con.com/read/310378.htm http://webddj.sys-con.com/read/310378.htm On 1/10/07, haravallabhan haravallabhan@ wrote: Hi Rob and Mod, Thanks for your itme guys. Rob I use FDS and there are no images loaded initally. I directly call the application which initially shows Vbox-- Hbox-a Logo-/Hbox applictionControlBar-- / viewStack -- first tab(visible first time) - 3 viewstack each has a chart and datagrid -- second tab - a tree, 2 data grid and a viewstack with a datagrid and a chart /viewstack /vbox Rob what do you mean by the controls in this context. Hi Mod where do I compile the files-- through FlexSDK folder??? Thanks regards Hara --- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com flexcoders% 40yahoogroups.comflexcoders% 40yahoogroups.com, Clint Modien cmodien@ wrote: Ya... precompiling would definitely help. While your waiting for that minute. 90% of that time is probably compilation. Precompiling is in the docs... http://livedocs.flexsearch.org/index.shtml? http://livedocs.flexsearch.org/index.shtml? cx=017079146949617508304% http://livedocs.flexsearch.org/index.shtml? http://livedocs.flexsearch.org/index.shtml? cx=017079146949617508304%25 3Amv4wpsyofxucof=FORID%3A9q=precompiling#816 Which version of Flex is this? On 1/10/07, haravallabhan haravallabhan@ wrote: Hi guys, How to improve the startup performance of the flex application.
[flexcoders] Re: Precompiling with active web-tier compiler
Is it not the God who replied me... You are no ordinary guy Sir. Though it might be very simple to you, it was a Mt Everest to me.You just stuck a pair of wings in me to cross it. Thanks that worked. But I oversaw some of the warnings like flex\locale\en_US', is a subdirectory of source path entry, which I feel its least important to me. But,can I know what exactly it is trying to warn me? And again how do you get to know all this things?Is it your experience? Amazing stuff. Thanks again Dimitrios Regards Hara --- In flexcoders@yahoogroups.com, Dimitrios Gianninas [EMAIL PROTECTED] wrote: precompiling is the best option, your SWF will load in a split second. What you are missing is to specify the location of the services-config.xml (portion in red). Teh HTML wrapper shouldn't have anything to do with this. If you are using ant, it should look like this: exec executable=${FLEX2_COMPILER} dir=${BUILD_WEB} vmlauncher=false failonerror=true arg value=-incremental=true / arg value=-context-root=/billing/ arg value=-locale=en_US/ arg value=-source-path=WEB-INF/flex/locale/en_US/ arg value=-services=WEB-INF/flex/services-config.xml/ arg value=billing.mxml / /exec Dimitrios Gianninas RIA Developer Optimal Payments Inc. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of haravallabhan Sent: Wednesday, January 17, 2007 8:58 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Precompiling with active web-tier compiler Hi all.. I am trying to precompile the application which uses the FDS 2.0. Precompiling doest give me any errors. But the issue is Iam using RemoteObject in the client to access Java methods. So it need web- tier compiler. So when I wrote a html wrapper with the src=MyApp.swf I get the error couldn't establish a connection to MyService where MyService is the destination I referred to in the RemoteObject call.The destination poits to the service mentioned in the remote-config.xml. But when I give src=MyApp.mxml in the html wrapper the application works fine. Is it that it nullified the precompile I did?? Does it compile again when I specify MyApp.mxml iside the html wrapper If so is there a way out, without compromising the precompiling action? Can I deactivate the web-tier compiler? And which config I may use instead of remote-config.xml. Since when remote-config.xml is there then the web-tier compiler is activates as per the help doc. Does anyone have an answer for me? Thanks in advance Regards Hara --- In flexcoders@yahoogroups.com mailto:flexcoders% 40yahoogroups.com , haravallabhan haravallabhan@ wrote: Thanks gr8 work clint... thanks a lot... it worked... I was searching for web-inf/flex/libs but it looks like it takes form the sdk framework thanks a lot clint. cheers Hara --- In flexcoders@yahoogroups.com mailto:flexcoders% 40yahoogroups.com , Clint Modien cmodien@ wrote: Sounds like you're missing the fds.swc . It's not included in the SDK. You can get the express version of FDS here: http://www.adobe.com/go/flex_trial http://www.adobe.com/go/flex_trial On 1/12/07, haravallabhan haravallabhan@ wrote: Thanks Clint for the links.. Was useful. I have added ant tags to compile and build the Flex application manually with precompilation.But When I tried to complie the mxml file using the ant build file I get an error which I didnt get when I compile normally. The error says Interface IManaged not found and the ant says the build was Failed. Whats the error mean? I am using the exec tag to use the mxmlc.exe in the fsdk2/bin in the Flex Builder installed directory. Thanks regards Hara --- In flexcoders@yahoogroups.com mailto:flexcoders% 40yahoogroups.com flexcoders% 40yahoogroups.com, Clint Modien cmodien@ wrote: http://livedocs.flexsearch.org/index.shtml? http://livedocs.flexsearch.org/index.shtml? cx=017079146949617508304% http://livedocs.flexsearch.org/index.shtml? http://livedocs.flexsearch.org/index.shtml? cx=017079146949617508304%25 3Amv4wpsyofxucof=FORID%3A9q=mxmlc#1126 What you really want to do is setup ant to build it for you in flexbuilder 2. http://www.flex2ant.org/ http://www.flex2ant.org/ Or setup ant from the command line. http://webddj.sys-con.com/read/309503.htm http://webddj.sys-con.com/read/309503.htm http://webddj.sys-con.com/read/310378.htm http://webddj.sys-con.com/read/310378.htm On 1/10/07, haravallabhan haravallabhan@ wrote: Hi Rob and Mod, Thanks for your itme guys. Rob I use FDS and there are no images loaded initally. I directly call the application which initially shows Vbox-- Hbox-a Logo-/Hbox
Re: [flexcoders] FlexPrintJob problem: application background colors showing in margins
Since there doesn't appear to be any follow-up to this topic, I'll provide an example. I recently started working with printing (using 2.0.1) and noticed this problem of the background colour bleeding through into the margin of the printed output. This might be printer/driver specific, though. It happens on my HP Photosmart 2575 printer, but doesn't happen when I print to a PDF using CutePDF Writer. A quick example follows below. It would be good to know if this happens with other people's printers, and hopefully someone has a workaround. ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; layout=absolute backgroundColor=0xff mx:Script ![CDATA[ import mx.printing.FlexPrintJobScaleType; import mx.printing.FlexPrintJob; private function doPrint(): void { var job: FlexPrintJob = new FlexPrintJob(); job.printAsBitmap = false; if (job.start()) { job.addObject(preview, FlexPrintJobScaleType.SHOW_ALL); job.send(); } } ]] /mx:Script mx:Button x=24 y=31 label=Print click=doPrint()/ mx:HBox id=preview x=24 y=61 backgroundColor=0xff paddingLeft=20 paddingRight=20 paddingTop=10 paddingBottom=0 mx:Canvas height=665 width=500 backgroundColor=0xff mx:DataGrid x=0 width=100% mx:columns mx:DataGridColumn headerText=Column 1 dataField=col1/ mx:DataGridColumn headerText=Column 2 dataField=col2/ mx:DataGridColumn headerText=Column 3 dataField=col3/ /mx:columns /mx:DataGrid /mx:Canvas /mx:HBox /mx:Application On 11/6/06, Samuel Reuben [EMAIL PROTECTED] wrote: can you send a the isolated printing code that you are seeing the problem in? Are you by any chance mentioning the corners that show the bg color, specially when the component has rounded corners? Thanks, -sam On 11/6/06, Tom Bray [EMAIL PROTECTED] wrote: The background color of my application is printing in the margins of the page when I print my component in landscape mode. In portrait mode, there's a tiny sliver of the bg color on each side. Is there a way to prevent that besides using a white background? It seems like a bug since I can't actually print my component in those areas (it gets cropped at the margins) but the background color shows anyway. Any thoughts? Thanks, Tom
[flexcoders] Re: Chat + Survey + Live Video Feed app
--- In flexcoders@yahoogroups.com, luisd22209 [EMAIL PROTECTED] wrote: My client wants an application with a live chat, simultaneous survey and a live video feed all in one. This is my chance to use Flex! Aside from handing over a quite a chunk of change to Adobe, anyone can share some pointers on how to get started? I've put together this sort of thing in ASP.NET VB before... -Luis Hi Luis, I am working on something very similar. How far are you along, and I have dozens of code examples for: Live video / audio / text chat. Did you want to compare coding examples and maybe work side by side as you develop yours I can develop mine and share our findings? Here are links for the video / audio / text chat: - http://renaun.com/flex2/fms/VideoConferenceWDDJ/ Mr. Renaun's web blog is at: http://renaun.com/blog/code-examples/ - http://www.flashcomguru.com/apps/flex/flexvideochat/ - The Flex based chat, of which there is a complete one with source at: http://coenraets.org/blog/2006/10/building-collaborative-applications-with-flex-data-services-and-flash-media-server/ - These are just a few links. Please let me know if we can work together. Also, I am assuming you shall need a login / registration, are you using ColdFusion with MySQL? Jon Alexander [EMAIL PROTECTED]
[flexcoders] Re: title window on app first run
Hi Tracy, Thank you for your reply. Shall post my code within the next 2 hours and shall be able to show my progress thus far. Thank you. Jon Alexander [EMAIL PROTECTED] --- In flexcoders@yahoogroups.com, Tracy Spratt [EMAIL PROTECTED] wrote: That is the standard behavior of a modal TitleWindow. What is not working? What have you tried? Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of jonalexander370 Sent: Sunday, January 14, 2007 9:53 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] title window on app first run Hello, Am very new to Flex am trying to have the first web page view being a primary login / registration TitleWindow with the main application as a fuzzy background. 1. Upon arrival at our web page at http://www.e-revenues.com http://www.e-revenues.com the first view would be a login / register page with an advertising Flash intro similar to Raymond Camden's Lemonade Stand Game at: http://ray.camdenfamily.com/index.cfm/2006/11/21/My-Thanksgiving-Flex-Ho mework http://ray.camdenfamily.com/index.cfm/2006/11/21/My-Thanksgiving-Flex-H omework and actual application at: http://ray.camdenfamily.com/demos/ls/main.html http://ray.camdenfamily.com/demos/ls/main.html 2. EXCEPT, I wish to have the main application background fuzzy'ed out, if you click the START GAME button you shall see the effect with the Instructions being forefront and the main application being fuzzy'ed out in the background. 3. To clarify, the main app would be in the background fuzzy'ed out with the login / registration being a TitleWindow in the foreground. Any and all suggestions would be greatly appreciated. Thank you. Jon Alexander
RE: [flexcoders] Re: Precompiling with active web-tier compiler
You are getting a warning because of these 2 lines (remove them): arg value=-locale=en_US/ arg value=-source-path=WEB-INF/flex/locale/en_US/ Those are there to specify the location of my resource bundles. I'm no God, I learn by trying, reading and hard work. I have my hurdles from time to time, got 2 this morning as a matter of fact. Dimitrios Gianninas RIA Developer Optimal Payments Inc. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of haravallabhan Sent: Wednesday, January 17, 2007 9:59 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Precompiling with active web-tier compiler Is it not the God who replied me... You are no ordinary guy Sir. Though it might be very simple to you, it was a Mt Everest to me.You just stuck a pair of wings in me to cross it. Thanks that worked. But I oversaw some of the warnings like flex\locale\en_US', is a subdirectory of source path entry, which I feel its least important to me. But,can I know what exactly it is trying to warn me? And again how do you get to know all this things?Is it your experience? Amazing stuff. Thanks again Dimitrios Regards Hara --- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com , Dimitrios Gianninas [EMAIL PROTECTED] wrote: precompiling is the best option, your SWF will load in a split second. What you are missing is to specify the location of the services-config.xml (portion in red). Teh HTML wrapper shouldn't have anything to do with this. If you are using ant, it should look like this: exec executable=${FLEX2_COMPILER} dir=${BUILD_WEB} vmlauncher=false failonerror=true arg value=-incremental=true / arg value=-context-root=/billing/ arg value=-locale=en_US/ arg value=-source-path=WEB-INF/flex/locale/en_US/ arg value=-services=WEB-INF/flex/services-config.xml/ arg value=billing.mxml / /exec Dimitrios Gianninas RIA Developer Optimal Payments Inc. From: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com [mailto:flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com ] On Behalf Of haravallabhan Sent: Wednesday, January 17, 2007 8:58 AM To: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com Subject: [flexcoders] Precompiling with active web-tier compiler Hi all.. I am trying to precompile the application which uses the FDS 2.0. Precompiling doest give me any errors. But the issue is Iam using RemoteObject in the client to access Java methods. So it need web- tier compiler. So when I wrote a html wrapper with the src=MyApp.swf I get the error couldn't establish a connection to MyService where MyService is the destination I referred to in the RemoteObject call.The destination poits to the service mentioned in the remote-config.xml. But when I give src=MyApp.mxml in the html wrapper the application works fine. Is it that it nullified the precompile I did?? Does it compile again when I specify MyApp.mxml iside the html wrapper If so is there a way out, without compromising the precompiling action? Can I deactivate the web-tier compiler? And which config I may use instead of remote-config.xml. Since when remote-config.xml is there then the web-tier compiler is activates as per the help doc. Does anyone have an answer for me? Thanks in advance Regards Hara --- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com mailto:flexcoders% 40yahoogroups.com , haravallabhan haravallabhan@ wrote: Thanks gr8 work clint... thanks a lot... it worked... I was searching for web-inf/flex/libs but it looks like it takes form the sdk framework thanks a lot clint. cheers Hara --- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com mailto:flexcoders% 40yahoogroups.com , Clint Modien cmodien@ wrote: Sounds like you're missing the fds.swc . It's not included in the SDK. You can get the express version of FDS here: http://www.adobe.com/go/flex_trial http://www.adobe.com/go/flex_trial http://www.adobe.com/go/flex_trial http://www.adobe.com/go/flex_trial On 1/12/07, haravallabhan haravallabhan@ wrote: Thanks Clint for the links.. Was useful. I have added ant tags to compile and build the Flex application manually with precompilation.But When I tried to complie the mxml file using the ant build file I get an error which I didnt get when I compile normally. The error says Interface IManaged not found and the ant says the build was Failed. Whats the error mean? I am using the exec tag to use the mxmlc.exe in the fsdk2/bin in the Flex Builder installed directory. Thanks regards Hara --- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com mailto:flexcoders% 40yahoogroups.com flexcoders% 40yahoogroups.com, Clint
Re: [flexcoders] AMFPHP Security
Amfphp is not inherently less secure than FDS. Anybody who wants to can spoof requests to FDS or amfphp, just like they can for HTTP POST. As a side-note, users don't have to bother to decompile your SWF; they can just sniff packets coming in or out of your movie using ServiceCapture or Charles. The rules for securing Remoting apps aren't any different than the rules for HTTP POST: don't trust data, secure sensitive methods (deleteEntireDatabase(), for example), use sessions to identify users, be wary of SQL injection, don't send SQL over the wire, use SSL when sending credit card/banking info, etc. Just common sense really. The only thing that you should be worried about that doesn't have an equivalent in HTTP POST is sending VOs. Since they are mapped automatically and VO types are uneforced, someone can spoof VOs and make them any type they want. For example, consider the service function: function deleteUser($userVO) { $userVO-delete(); } Well, you might expect that $userVO is a com.myPackage.UserVO, but it could also be a com.myPackage.PhotoVO, or a com.myPackage.AdminVO, or whatever. So you either have to make sure you do receive the VO type you expect, using instanceof or is_a, or you should only use dumb VOs which don't have any methods. This and the fact that assignments on a class for variables that not defined won't cause a warning unless using E_STRICT, which amfphp won't run in (as it's impossible to work in E_STRICT while supporting PHP4), means that using VOs in amfphp (and in PHP in general) is IMHO bad practice. VOs make a lot more sense in fully (runtime, not just compile-time) typed languages. Patrick Kevin a écrit : Is there any good information available on how to properly secure AMFPHP/Flex. It seems like a simple decompile of the swf file can expose a wealth of information which could allow a hacker to easily connect to the gateway and call any number of methods. Is there any information on available on how to lock down an AMFPHP/flex app properly? I have seen some discussions on the boad regarding FDS security, but not AMFPHP. Is AMFPHP inherently less secure OR more secure than any other data service technology. The app I am building requires as high a level of security as I can reasonably enable. Thanks, Kevin
RE: [flexcoders] AMFPHP Security
I was also researching AMFPHP and I found in AMFPHP's authentication documentation that they recommend having the user authenticate themselves via textfields from Flex and pass these credentials on to PHP service. Also, sending the information encrypted via the use of SSL/TLS should also help lock down security. Those were my thoughts anyway... :) -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Kevin Sent: Tuesday, January 16, 2007 11:09 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] AMFPHP Security Is there any good information available on how to properly secure AMFPHP/Flex. It seems like a simple decompile of the swf file can expose a wealth of information which could allow a hacker to easily connect to the gateway and call any number of methods. Is there any information on available on how to lock down an AMFPHP/flex app properly? I have seen some discussions on the boad regarding FDS security, but not AMFPHP. Is AMFPHP inherently less secure OR more secure than any other data service technology. The app I am building requires as high a level of security as I can reasonably enable. Thanks, Kevin
[flexcoders] timeOut
Hi Guys, Is there something like a timeout in AS3. Problem is following: I have a Canvas. When I call validateNow(), scrollbars change, but if immediately after I call validateNow() ask for the maxHorizontalScrollPosition, I get the old value from before the invalidate and not the new one... So do I have to wait a frame? Or is there a better way, because this is what annoys me in Flash, to solve something, often you need to wait a frame... Thx, Lieven Cardoen Lieven Cardoen Application developer indiegroup interactive digital experience engelse wandeling 2 k18 b8500 kortrijk
[flexcoders] player 9 security, crossdomain, permissions, local/network files, etc
Hi all, being a long time flash user, but pretty new to flex and more generally as3/player 9 features, I am having a pretty hard time working out the in and outs of the new security features of fp9... The docs are pretty exhaustive (51 pages pdf!), but pretty much very difficult to read imho, things went a long way since the basic can't load swf from domainA into domainB, but... :), and I am currently having many difficulties to fully understand how things now work, and how to allow what etc. Basically, in my case, I have a main SWF application, that loads local (flash 9) SWFs, that in turn load stuff externally : swf's, images, probably text and/or xml data later on, etc... My first question would be : how would one tune his development setup to allow for this to work without popping up security errors? My second question would be... has anyone here seen/written a comprehensive post/document on the matter, besides the official ones, that are truly difficult to follow :)? Anyway, if someone here has answers to bring to this post, i would be very grateful, and i tend to believe i won't be the only one :) Thanks a lot anyway, cheers, J.
RE: [flexcoders] Need primer on Events, from the List Gurus -
Thank you Dimitrios! Now it all makes sense to me - the key is using the Getters and Setters as the method for handling all the value assignments. Once you do that, you have all the CollectionEvents at your disposal. So I guess in some odd way, we are still using Event Broadcasting to accomplish my goals, but just not in the way that I envisioned doing it. Very nice :) Again, thanks for the wonderful advice - Mike From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Dimitrios Gianninas Sent: Sunday, January 14, 2007 11:29 AM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Need primer on Events, from the List Gurus - Ok here is how I would do it. Say the ArrayCollection held notes as an example. // in command ModelLocator.getInstance().notes.addItem( mynewnote ); // view is binded bla:MYView notes={ModelLocator.getInstance().notes}/ // inside the view public function set notes( values:ArrayCollection ):void { mygrid.dataProvider = values; values.addEventListener( CollectionEvent.COLLECTION_CHANGE, onCollectionChange ); } Now what will happen is the minute you add a new note to your model, the onCollectionChange method will be called and that will allow you to do any added operations you wish, hope that helps. Dimitrios Gianninas RIA Developer Optimal Payments Inc. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Mike Anderson Sent: Friday, January 12, 2007 11:03 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Need primer on Events, from the List Gurus - Hello Dimitrios, I was trying to keep my post as generic as possible - which is why I didn't post specifics. In this particular instance however, I want to broadcast a Custom Event to a DataGrid residing on a Panel Control - to Scroll to the very top, whenever I add a new record to an ArrayCollection (residing in the ModelLocater). This can happen ONLY when I add a new record - and this is why I want to create a Custom Event for this. I am pushing for a Custom Event, because I don't think there is a built-in Event native to the DataGrid, that I can count on 100% of the time, to fire off ONLY when New Records are being added. The catch is, I can't dispatch the Event until I get my onResult response from the ColdFusion Server - indicating that the Database Insert was in fact successful, and that it's now okay to update the Model's ArrayCollection with the new ValueObject. Since the onResult logic resides in a Cairngorm Command Class, this is where I need to dispatch the Event from. Or at least initiate the command to dispatch the Event, which can reside in the ModelLocater - and dispatch it from there. Since all of my primary Views containing the Model-bound Controls, have a reference to the ModelLocater, I am thinking that there must be a way to dispatch these Events from the Model - and have a way for these Views to respond accordingly. If you could help me out in this regard, I really would be truly grateful. My application development, has literally come to a screeching HALT, because of me not knowing how to handle all these issues. I am tracking down every Event Broadcaster and Listener Tutorial I can get my hands on, so that I can learn more about how all this works. But in all of the examples I download and dissect, they ALL have a common View, that centralizes the code - in which it's quite easy to tie everything together. In my case, I have Views and Controls scattered all over the place - and they can be instantiated (or not be for that matter) at any given moment. I just don't know how to write code to broadcast Events in such a manner, so that each component has no prior knowledge of any other component. I hope I'm explaining all this properly... Thanks in advance, Mike From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Dimitrios Gianninas Sent: Friday, January 12, 2007 3:01 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Need primer on Events, from the List Gurus - what other thing do u want to do? give an example and we can take it from there. Dimitrios Gianninas RIA Developer Optimal Payments Inc. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Mike Anderson Sent: Friday, January 12, 2007 1:53 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Need primer on Events, from the List Gurus - Hello All, This thread, directly relates to all the other ones I've posted recently - as I think one of my root problems, is truly understanding on how Events get propagated within an application. They say the Event model is so great, due to all the components being so loosely coupled. So either I am missing something really rudimentary here, or the Event model doesn't work the way I thought it
Re: [flexcoders] Re: Total used memory
On Wednesday 17 January 2007 14:31, fliabrussa wrote: it is well, but my application will have to run during approximately 8 Hours without close, for that reason I am worried And how much memoray is consumed during that time ? A few tens of meg ? Bear in mind O/S, browser or player may not actively free memoray unless there is pressure to do so from other process'. -- Tom Chiverton Helping to preemptively facilitate B2B CEOs This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at St James's Court Brown Street Manchester M2 2JF. A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law Society. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 8008. For more information about Halliwells LLP visit www.halliwells.com. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
RE: [flexcoders] Re: ObserveValue, and how to reference within AS3 Class File
Thanks Alex! With the help of Dimitrios, I was able to accomplish what I needed to. Still, using your cool little utility Class, it makes it really easy for somebody to listen for very particular changes in a variable. Since I am using Cairngorm, and the nature of Cairngorm centralizes everything in the Model, I was trying to Dispatch Custom Events, from my Commands (and failing miserably). Using the method I just learned (getters, setters, and events), this way is much cleaner. Again, thanks for your reply - Mike -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Alex Uhlmann Sent: Tuesday, January 16, 2007 11:52 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: ObserveValue, and how to reference within AS3 Class File Hi Mike, Observe and ObserveValue have been designed to work with MXML binding only. The curly braces in the source and handler properties are being treated differently by the MXML compiler than just simple ActionScript assingments as you do in your example. Therefore, the current implementation relies on the MXML compiler and cannot be used in ActionScript. However, I'd be intersted in why you want to use data binding in an ActionScript environment (for your ActionScript model or utility classes). In my experience, using a pure EventDispatcher is easier to write and most importantly to read (especially for other developer, potentially coming from other technologies). Just let your class dispatch a custom event when something important happens. Or if you cannot do that easily, listen to the propertyChange event of Bindable properties. Best, Alex --- In flexcoders@yahoogroups.com, Mike Anderson [EMAIL PROTECTED] wrote: Hello All, I am trying to figure out how to use the ObserveValue Component, when I use it inside of a Class File. In all the examples I've seen, they all utilize the Class File as a MXML Component - and when I use it in this manner, it works just fine. BUT, I really need to use this inside my Class Files - and as far as I can tell, I should be able to import the Class File, and create a new variable - casting it as an ObserveValue() - but when I use it this way, nothing happens. Per the examples, here is the proper use of the file: ac:ObserveValue id=valueObserver source={ model.myVarToBeWatched } handler=valueObserverHandler value=true/ Now, I'd like to use it using pure ActionScript - and here's what I got so far: (keep in mind, the AS Class File below, is extending the Control in which it belongs to - and rest assured, that I am placing all the appropriate code within all the proper Event Listeners, like onCreationComplete, etc.) I am just keeping it simple, for this particular post. package { import com.adobe.ac.*; class myClass extends Panel { private var myObserve:ObserveValue = new ObserveValue(); [Bindable] public var model:ApplicationModel = ApplicationModel.getInstance(); public function myClass():void { initObservers(); } private function initObservers():void { myObserve.source = model.myVarToBeWatched; myObserve.handler = valueObserverHandler; myObserve.value = true; } private function valueObserverHandler( event:Event ):void { trace( it worked ); } } } In my real code, I wait for the Creation Complete Event, before I initialize all of my Event Listeners, etc. So you can assume that my real code, is properly setup. My real question here is, when creating component written purely in AS3, can they be used either way - like as an inline Component in MXML, or if you choose, referenced within an AS3 Package? I don't see why not, since MXML Controls are all just Class Files anyway... So I just wanted to know if somebody could shed some light on what I'm doing wrong, or if the ObserveValue Class just wasn't designed to be used in this manner. Thanks in advance for all your help, Mike -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links
[flexcoders] Re: Cairngorm support for Flex 2.0.1 modules?
Thanks so much for the replies! I'm already in the process of implementing my own solution as our timeframe is quite rushed. Your info that I duplicated below was particularly valuable as it was a problem I hadn't thought about yet. Your solution will undoubtedly save me a lot of time --- In flexcoders@yahoogroups.com, Derrick Grigg [EMAIL PROTECTED] wrote: My team is currently in the process of developing a large modular Flex application that is based on Cairngorm and uses the mx:Modules. ... The one thing that was quite tricky was uncoupling binding from the ModelLocator during module unloads. ... Instead we had to use the BindingUtils and then call a method just before unloading a module to remove the bindings, then the module could be properly unloaded and garbage collected. Also we had to make sure we used weak reference event listeners in order to ensure garbage collection would properly occur on the unloaded modules.
Re: [flexcoders] Re: Code behind- do you use it?
I used to use code behind when I first started with the alpha of Flex 2 but then switched to using helper classes instead. I found code behind simply added to the huge number of properties and methods that are already available in a UI component, plus it meant I could introduce an interface for the UI that I pass to the helper class - then I could reengineer the look without playing (too much) with the helper class. Having said that, since Cairngorm came out for Flex 2 I've not used code behind or dedicated helper classes much at all. That's my take. Oliver Tupman On 17/01/07, Robert Chyko [EMAIL PROTECTED] wrote: The .mxml files get translated into .as files of the same name. So basically you then have 2 index.as files... which obviously is going to give you problems. -Original Message- *From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On Behalf Of *Danko Kozar *Sent:* Wednesday, January 17, 2007 4:50 AM *To:* flexcoders@yahoogroups.com *Subject:* [flexcoders] Re: Code behind- do you use it? I use code-behind on pages with lot of code, since I don't want a mess: On index.mxml I have the script block containing th epath to the actionscript file (not as class): mx:Script source=index.as / My question is: Why doesn't Flex Builder allow to name the .mxml and .as page using the same name? Does this happen only with files in subdirectories (?). Because the index.mxml -- index.as (in root) works ok, but some other files cause me problems, so I have to add some extra characters in it's name, e.g.: MainView.mxml -- MainView_.as Thanks.. Danko --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, ben.clinkinbeard [EMAIL PROTECTED] wrote: I am undecided as to whether or not I want to use the code behind method for my MXML files and figured I would see what others are doing. I am currently just using Script blocks at the top of my files to do event handling, initialization, etc but some of them are getting pretty big. So what are others doing? No AS in your MXML files, no code behind, a mixture of the two? Thanks, Ben
Re: [flexcoders] Filter An ArrayCollection By Multiple ArrayCollections (selectedItems)
Hard to understand what exactly do you need. However if I understood correctly maybe this http://tech.groups.yahoo.com/group/flexcoders/message/60145 thread will help you. R. On 1/13/07, m_ollman [EMAIL PROTECTED] wrote: I'm trying to think of the best way to approach this. I have 3 main arrayCollections - store, store_category and 6 X categories (categories filtered into groupings). A user would select several items from the cats AC's that would filter store_cats AC (the mappings). Then the stores with matches are filtered from the stores AC. I have a filter function in place but can only figure out out to feed it one value - not an array of selected values from several DataGrids. public function addMapping():void { ac.addItem({dg1:selectedItem.text}); } Any thoughts throbbing Flex Brain? Great example by Bruce Phillips http://www.brucephillips.name/blog/index.cfm/2006/11/23/Sort-An- ArrayCollection-By-Multiple-Fields-and-Filter-An-ArrayCollection-By- Multiple-Fields-In-Flex
RE : [flexcoders] Re: Chat + Survey + Live Video Feed app
I'm on the drawing board right now, and I'm using asp.net backend. thanks for your response I will keep you posted! -Luis jonalexander370 [EMAIL PROTECTED] a écrit : --- In flexcoders@yahoogroups.com, luisd22209 [EMAIL PROTECTED] wrote: My client wants an application with a live chat, simultaneous survey and a live video feed all in one. This is my chance to use Flex! Aside from handing over a quite a chunk of change to Adobe, anyone can share some pointers on how to get started? I've put together this sort of thing in ASP.NET VB before... -Luis Hi Luis, I am working on something very similar. How far are you along, and I have dozens of code examples for: Live video / audio / text chat. Did you want to compare coding examples and maybe work side by side as you develop yours I can develop mine and share our findings? Here are links for the video / audio / text chat: - http://renaun.com/flex2/fms/VideoConferenceWDDJ/ Mr. Renaun's web blog is at: http://renaun.com/blog/code-examples/ - http://www.flashcomguru.com/apps/flex/flexvideochat/ - The Flex based chat, of which there is a complete one with source at: http://coenraets.org/blog/2006/10/building-collaborative-applications-with-flex-data-services-and-flash-media-server/ - These are just a few links. Please let me know if we can work together. Also, I am assuming you shall need a login / registration, are you using ColdFusion with MySQL? Jon Alexander [EMAIL PROTECTED] - Découvrez une nouvelle façon d'obtenir des réponses à toutes vos questions ! Profitez des connaissances, des opinions et des expériences des internautes sur Yahoo! Questions/Réponses.
Re: [flexcoders] player 9 security, crossdomain, permissions, local/network files, etc
On Wednesday 17 January 2007 15:39, jerome_cordiez wrote: Basically, in my case, I have a main SWF application, that loads local (flash 9) SWFs, that in turn load stuff externally : swf's, images, probably text and/or xml data later on, etc... Mixing local and remote access ? I think you need a 'trust' file, if that helps you local the right section of the PDF. I agree it's daunting :-) -- Tom Chiverton Helping to widespreadedly create professional infomediaries This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at St James's Court Brown Street Manchester M2 2JF. A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law Society. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 8008. For more information about Halliwells LLP visit www.halliwells.com. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] Applying actionscript to mx:Image
How do I access the sprite/movieClip instance (not sure which it is in the image class) of an image loaded into image tag and then pass that to an actionscript method? Basically, I have a repeater that loads dynamic images (based on XML data) into an mx:Image tag. That works fine. I also have a Reflection class (I'm making it AS 3.0 compliant) which applys a reflection effect to a movie clip's bitmap data, which also works fine outside of Flex . However in Flex, I know how to import the class, but not how to tie the rendering of the different dynamic images in my MXML with the Reflection class. I read the help docs on mx.controls.image, and it seems like the image might be loaded into a sprite instance, but how to I send that sprite instance to my actionscript method right after the image loads? Any ideas? Thanks. Jason Merrill Bank of America Learning Organizational Effectiveness
Re: [flexcoders] Re: Chat + Survey + Live Video Feed app
Have you considered using Breeze I mean Acrobat Connect? http://www.adobe.com/products/acrobatconnect/ It appears to be using Flex, and at $39/mo, it's probably far more cost effective than building one from scratch. Shan jonalexander370 wrote: --- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com, luisd22209 [EMAIL PROTECTED] wrote: My client wants an application with a live chat, simultaneous survey and a live video feed all in one. This is my chance to use Flex! Aside from handing over a quite a chunk of change to Adobe, anyone can share some pointers on how to get started? I've put together this sort of thing in ASP.NET VB before... -Luis Hi Luis, I am working on something very similar. How far are you along, and I have dozens of code examples for: Live video / audio / text chat. Did you want to compare coding examples and maybe work side by side as you develop yours I can develop mine and share our findings? Here are links for the video / audio / text chat: - http://renaun.com/flex2/fms/VideoConferenceWDDJ/ http://renaun.com/flex2/fms/VideoConferenceWDDJ/ Mr. Renaun's web blog is at: http://renaun.com/blog/code-examples/ http://renaun.com/blog/code-examples/ - http://www.flashcomguru.com/apps/flex/flexvideochat/ http://www.flashcomguru.com/apps/flex/flexvideochat/ - The Flex based chat, of which there is a complete one with source at: http://coenraets.org/blog/2006/10/building-collaborative-applications-with-flex-data-services-and-flash-media-server/ http://coenraets.org/blog/2006/10/building-collaborative-applications-with-flex-data-services-and-flash-media-server/ - These are just a few links. Please let me know if we can work together. Also, I am assuming you shall need a login / registration, are you using ColdFusion with MySQL? Jon Alexander [EMAIL PROTECTED] mailto:sales%40e-revenues.com
Re: [flexcoders] Re: Code behind- do you use it?
On Wednesday 17 January 2007 09:49, Danko Kozar wrote: Why doesn't Flex Builder allow to name the .mxml and .as page using the same name? Does this happen only with files in subdirectories (?). Because it builds down the MXML to an AS class. Guess how it picks the name for that class :-) There is a 'keep classes' compiler option if you are curious. -- Tom Chiverton Helping to continually pursue exceptional e-services This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at St James's Court Brown Street Manchester M2 2JF. A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law Society. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 8008. For more information about Halliwells LLP visit www.halliwells.com. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] flexcoders mail-archive search
I'd check to see if anyone has written in about this issue yet but unfortunately I can't search the archives, hence my issue... Is anyone able to search the flexcoders' mail-archive website? No matter what I've tried for the last 2 weeks or so, searching the mail-archive for flexcoders results in a custom 404 Page Not Found error page...is this being looked into? Does anyone know how to get in touch with them to see what's going on? Sorry if this has been rehashed a thousand times but Yahoo's search takes eons to find anything any I purge my Flexcoders folder in Outlook every couple of days and haven't seen anyone posting anything about this recently... Anyone? robert l. brueckmann vice president merlin securities 712 fifth avenue new york, ny 10019 p: 212.822.4821 f: 212.822.4820 -- This message has been scanned for viruses and dangerous content by MailScanner http://www.mailscanner.info/ , and is believed to be clean. This message contains information from Merlin Securities, LLC, or from one of its affiliates, that may be confidential and privileged. If you are not an intended recipient, please refrain from any disclosure, copying, distribution or use of this information and note that such actions are prohibited. If you have received this transmission in error, please notify the sender immediately by telephone or by replying to this transmission. Merlin Securities, LLC is a registered broker-dealer. Services offered through Merlin Securities, LLC are not insured by the FDIC or any other Federal Government Agency, are not deposits of or guaranteed by Merlin Securities, LLC and may lose value. Nothing in this communication shall constitute a solicitation or recommendation to buy or sell a particular security.
[flexcoders] Embed statement and relative paths
hye ppl! I've stubled upon problem that appears when I try to Embed some assets in
[flexcoders] Re: urgent
Go to http://tech.groups.yahoo.com/group/flexcoders and unsubscribe The list is automated. Nobody has administered mailing lists by hand for about 8 years now ;-) --- In flexcoders@yahoogroups.com, Flávio Santos [EMAIL PROTECTED] wrote: I want to leave the list, please exclude meâ¦.today, please
[flexcoders] Embed statement and relative paths
Ignore previous message, accidentally pressed Send button to early So the problem is: I've stumbled upon problem that appears when I try to Embed some assets in class Flex doesnt accept relative paths. Somehow I thought it should threat project root as root path for any embedding but it seems it doesnt. Guess I tried everything and only full path starting from C:/ worked. Is this normal behavior or this is bug? Janis
[flexcoders] Re: .Net webservice and datagrid
Beautiful!! This worked wonderfully and will save hours of recoding time. I was ok up to 'use namespace' but had never heard of the qName. Thanks! Bruce --- In flexcoders@yahoogroups.com, ben.clinkinbeard [EMAIL PROTECTED] wrote: Yep, you have to specifically address the namespace. The easiest way is the use namespace directive. More detailed explanation here: http://www.returnundefined.com/2006/07/datagrid-labelfunction-and- namespaces/ HTH, Ben --- In flexcoders@yahoogroups.com, btkracker bthornbury@ wrote: I'm trying to receive XML data from a .Net webservice and populate a datagrid. I'm able to receive the XML data ok but I can't see anything in the datagrid. I attempted to manually duplicate the data returned and found that it has something to do with the moniker returned. Here is the XML returned from the webservice: searchCriteriaResult xmlns=http://mysite.com/; XrefData bukey1/bukey prKey14/prKey moKey-1/moKey spKey73/spKey tdKey47/tdKey /XrefData XrefData bukey1/bukey prKey14/prKey moKey15/moKey spKey73/spKey tdKey47/tdKey /XrefData /searchCriteriaResult If I manually create an XML object and bind it to my datagrid, I get the same result...nothing. However, if I remove the 'xmlns' attribute _or_ add a moniker (such as 'xmlns:Test=http://mysite.com;') it works fine. Anyone have any ideas? I'm completely stumped!!
Re: [flexcoders] Re: Flex Builder 2.0.1 the update !
Thanks Matt, that indeed helped quite a bit! down to 3-4sec now from 20sec. On 1/17/07, Matt Horn [EMAIL PROTECTED] wrote: Rick, you might be able to still embed fonts without experiencing such a dramatic performance problem. Try embedding the fonts but disabling FlashType (it's enabled by default): @font-face { src: url(/assets/fonts/ARIAL.TTF); fontFamily: myArial; flashType: false; } hth, matt horn flex docs http://blogs.adobe.com/flexdoc/ -Original Message- From: flexcoders@yahoogroups.com flexcoders%40yahoogroups.com [mailto:flexcoders@yahoogroups.com flexcoders%40yahoogroups.com] On Behalf Of Rick Schmitty Sent: Tuesday, January 16, 2007 12:10 PM To: flexcoders@yahoogroups.com flexcoders%40yahoogroups.com Subject: Re: [flexcoders] Re: Flex Builder 2.0.1 the update ! Do you have embeded fonts in your application? I was experiencing the same slowdown after upgrading to flex 2.0.1. I had 2.0 installed, updated to 2.0.1, then ran the clean command prior to opening flex. It was still slow. Saw the blog about closing projects, closed everything but the one I'm working on, still slow Deleted all projects and created a blank application, super fast. Ok... so must be something in my project... started hacking away at the files until I came down to the fonts. This took almost 20seconds (on my machine) to compile ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml http://www.adobe.com/2006/mxml mx:Style @font-face { src: url(/assets/fonts/ARIAL.TTF); fontFamily: myArial; } @font-face { src: url(/assets/fonts/BKANT.TTF); fontFamily: myBkant; } @font-face { src: url(/assets/fonts/TAHOMA.TTF); fontFamily: myTahoma; } @font-face { src: url(/assets/fonts/TIMES.TTF); fontFamily: myTimes; } @font-face { src: url(/assets/fonts/TREBUC.TTF); fontFamily: myTrebuc; } /mx:Style /mx:Application Deleting the style tag for a blank appliaction, it compiled immediately 1-1.5sec Here is what's going on (or so I think) FlashType support FlashType is the text rendering engine introduced in Flash Player 8. It improves the readability of text, especially at smaller font sizes. To leverage the FlashType engine in Flex 2, you had to create a SWF that embedded a particular font using the Flash authoring tool, and then embed that SWF file in your Flex application. With Flex 2.0.1, the mxmlc compiler can now embed a font using the FlashType engine directly, eliminating a step for many developers. So I'm back to running fast as long as I dont embed fonts via css, I'll reenable it when I need to publish a working version (or look into creating the SWF file on my own and not use CSS) On 1/16/07, Tom Chiverton [EMAIL PROTECTED]tom.chiverton%40halliwells.com mailto:tom.chiverton%40halliwells.com wrote: On Tuesday 16 January 2007 08:19, pauscato1 wrote: I have only one project running in my flex builder, this is realy anoing it uses 20% of my day. Have you got auto-compilation turned off ? -- Tom Chiverton Helping to heterogeneously incubate robust meta-services This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at St James's Court Brown Street Manchester M2 2JF. A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law Society. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 8008. For more information about Halliwells LLP visit www.halliwells.com. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links
[flexcoders] Tree Multiple Drag and Drop (Sorting ?)
When dragging multiple items in the tree control the array is being sorted or reversed (depends on its mood I suppose). I fully understand the reason behind building the array in the order selected by the user when using ctrl, but if I select top to bottom or bottom to top with shift; it's being sorted... This kind of makes it difficult to keep a backend version of the tree up to date properly. I.e. sending updates as they happen as opposed to sending the entire structure. Im using a XMLListCollection here so that could be related. Any trick to turn this off/override it, without delving into the deepest inner workings of the tree control? There are several other problems Im encountering with this control, which I ll post about when Ive figured out a bit what is happening. Has anyone managed to get this baby working flawlessly. Thanks Jason
[flexcoders] Re: Total used memory
http://www.managernet.com.ar/MemoryNav/MemoryNavigator.html You can see it your. Click on the button COMPONENT WITHNAVIGATOR and see that the memory grows much and never it lowers. If beams click in SIMPLE COMPONENT you see that one becomes stabilized :( --- In flexcoders@yahoogroups.com, Tom Chiverton [EMAIL PROTECTED] wrote: On Wednesday 17 January 2007 14:31, fliabrussa wrote: it is well, but my application will have to run during approximately 8 Hours without close, for that reason I am worried And how much memoray is consumed during that time ? A few tens of meg ? Bear in mind O/S, browser or player may not actively free memoray unless there is pressure to do so from other process'. -- Tom Chiverton Helping to preemptively facilitate B2B CEOs This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at St James's Court Brown Street Manchester M2 2JF. A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law Society. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 8008. For more information about Halliwells LLP visit www.halliwells.com.
Re: [flexcoders] Re: urgent
You could also click the unsubscribe link at the bottom of every email. superstella_uk wrote: Go to http://tech.groups.yahoo.com/group/flexcoders http://tech.groups.yahoo.com/group/flexcoders and unsubscribe The list is automated. Nobody has administered mailing lists by hand for about 8 years now ;-) --- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com, Flávio Santos [EMAIL PROTECTED] wrote: I want to leave the list, please exclude meâEUR¦.today, please
[flexcoders] Flex SDK - /* @copy mx.core.UIComponent ??
Just wondering what the terminology means when you see the following UITextField.as //-- // percentWidth //-- /** * @copy mx.core.UIComponent#percentWidth */ public function get percentWidth():Number { return NaN; } /** * @private */ public function set percentWidth(value:Number):void { } Does that copy the functionality from UIComponent or is that something that is to be done still?
Re: [flexcoders] Embed statement and relative paths
Relative paths, strangely, are relative to the *file* that you are embedding assets in. So what I assume is that you are embedding in an MXML or CSS file some ways down in your project hierarchy. My solution to this was to create an EmbedRegistry class which is the sole location of embed statements throughout my (medium sized) project. /** Truncated version of the Embed registry. **/ public class EmbedRegistry { [Embed(source='../../../../assets/static_assets.swf', symbol='scene_icon')] public static const sceneIcon : Class; [Embed(source='../../../../assets/static_assets.swf', symbol='presentation_icon')] public static const presentationIcon : Class; } Then, I can use the classes like such: mx:Button icon={ EmbedRegistry.sceneIcon } / Hope that helps! -D Janis Radins wrote: Ignore previous message, accidentally pressed Send button to early So the problem is: I've stumbled upon problem that appears when I try to Embed some assets in class Flex doesnt accept relative paths. Somehow I thought it should threat project root as root path for any embedding but it seems it doesnt. Guess I tried everything and only full path starting from C:/ worked. Is this normal behavior or this is bug? Janis
RE: [flexcoders] flexcoders mail-archive search
I've been able to successfully search via logging into groups.yahoo.com, which has messages from March 2004. -b -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Robert Brueckmann Sent: Wednesday, January 17, 2007 11:43 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] flexcoders mail-archive search I'd check to see if anyone has written in about this issue yet but unfortunately I can't search the archives, hence my issue. Is anyone able to search the flexcoders' mail-archive website? No matter what I've tried for the last 2 weeks or so, searching the mail-archive for flexcoders results in a custom 404 Page Not Found error page.is this being looked into? Does anyone know how to get in touch with them to see what's going on? Sorry if this has been rehashed a thousand times but Yahoo's search takes eons to find anything any I purge my Flexcoders folder in Outlook every couple of days and haven't seen anyone posting anything about this recently. Anyone? robert l. brueckmann vice president merlin securities 712 fifth avenue new york, ny 10019 p: 212.822.4821 f: 212.822.4820 -- This message has been scanned for viruses and dangerous content by http://www.mailscanner.info/ MailScanner, and is believed to be clean. _ This message contains information from Merlin Securities, LLC, or from one of its affiliates, that may be confidential and privileged. If you are not an intended recipient, please refrain from any disclosure, copying, distribution or use of this information and note that such actions are prohibited. If you have received this transmission in error, please notify the sender immediately by telephone or by replying to this transmission. Merlin Securities, LLC is a registered broker-dealer. Services offered through Merlin Securities, LLC are not insured by the FDIC or any other Federal Government Agency, are not deposits of or guaranteed by Merlin Securities, LLC and may lose value. Nothing in this communication shall constitute a solicitation or recommendation to buy or sell a particular security.
[flexcoders] Re: Embed statement and relative paths
Beginning the embed path with a slash is interpreted as the root of your project. [Embed(source='/assets/static_assets.swf', symbol='scene_icon')] HTH, Ben --- In flexcoders@yahoogroups.com, Janis Radins [EMAIL PROTECTED] wrote: Ignore previous message, accidentally pressed Send button to early So the problem is: I've stumbled upon problem that appears when I try to Embed some assets in class Flex doesnt accept relative paths. Somehow I thought it should threat project root as root path for any embedding but it seems it doesnt. Guess I tried everything and only full path starting from C:/ worked. Is this normal behavior or this is bug? Janis
Re: [flexcoders] Re: Embed statement and relative paths
I swear that didn't work in 2.0 ... Thanks for the tip! ben.clinkinbeard wrote: Beginning the embed path with a slash is interpreted as the root of your project. [Embed(source='/assets/static_assets.swf', symbol='scene_icon')] HTH, Ben --- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com, Janis Radins [EMAIL PROTECTED] wrote: Ignore previous message, accidentally pressed Send button to early So the problem is: I've stumbled upon problem that appears when I try to Embed some assets in class Flex doesnt accept relative paths. Somehow I thought it should threat project root as root path for any embedding but it seems it doesnt. Guess I tried everything and only full path starting from C:/ worked. Is this normal behavior or this is bug? Janis
RE: [flexcoders] Flex SDK - /* @copy mx.core.UIComponent ??
Nope, it means to copy the ASDoc comment from the referenced location... per the ASDoc description of the @copy tag. :) http://labs.adobe.com/wiki/index.php/ASDoc:Creating_ASDoc_Comments#ASDoc_Tag s -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Rick Schmitty Sent: Wednesday, January 17, 2007 12:48 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Flex SDK - /* @copy mx.core.UIComponent ?? Just wondering what the terminology means when you see the following UITextField.as //-- // percentWidth //-- /** * @copy mx.core.UIComponent#percentWidth */ public function get percentWidth():Number { return NaN; } /** * @private */ public function set percentWidth(value:Number):void { } Does that copy the functionality from UIComponent or is that something that is to be done still?
[flexcoders] HTML template used for FDS app
Hi all, I know that for a basic Flex Builder project, the folder /html-template contains the wrapper HTML for the generated app. Where does the Flex compiler get the HTML wrapper code when you access the application MXML file directly off the application server? eg. If I invoke http://localhost:8700/MyApp.mxml and view source in the browser, I can see the HTML surrounding the object tag. Where does this HTML come from and is it editable? Cheers, Oliver
RE: [flexcoders] Module Interface Problems
For what its worth, it appears at first glance that your code should work. Have you tried strong typing rather than using *? var results:IResults= IResults(modMyModule2.child) Not sure why it isn't working though, sorry. -rg From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of kristian_wright2002 Sent: Wednesday, January 17, 2007 6:36 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Module Interface Problems I'm having a problem passing variables from one module to another via an interface. I have an application that calls a module when it enters a specific state, which works fine. The module is loaded through mx:ModuleLoader id=modMyModule1 url=myModule1.swf and it works as expected. Within this module, I have a button that when pressed, calls a second module via a module loader, using an interface. I need an interface, as there is a variable that I need to pass between these two modules. Clicking the button runs a couple of functions, ending with: currentState='Results'; modMyModule2.url='myResults.swf; and the states look like: mx:states mx:State name=Results mx:AddChild mx:ModuleLoader id=modMyModule2 ready=readyModule(event) error=modErrorHandler(event) / /mx:AddChild /mx:State /mx:states So when the module is ready, the following code is invoked in modMyModule1: private function readyModule(evt:ModuleEvent):void { var ichild:* = modMyModule2.child as IResults; if(ichild != null) { ichild.searchResults = arrSearchResults; trace(NOT NULL); } else { trace(NULL!); } } modMyModule2 contains 'implements=IResults' in it's root module tag, and IResults is defined as follows: package { import flash.events.IEventDispatcher; import mx.collections.ArrayCollection; public interface IResults extends IEventDispatcher { function set searchResults(arrResults:ArrayCollection):void; function get searchResults():ArrayCollection; } } I have corresponding getter and setter functions in my modMyModule2, but they never seem to get called! For some reason, the interface is always failing, and therefore in my readyModule() function in the first module, it always traces NULL. I can access the required variable in the second module via parentApplication.modMyModule1.child.arrSearchResults, but I'd prefer to do it via the interface. I've gone through all the docs, but I can't see what I've done that's different from anything in them, except for the fact that I'm calling a module from a module via an interface. Can anyone shed some light on this at all? Cheers, K.
[flexcoders] Binding a DataGrid to an Array
Using Cairngorm 2 I have a datagrid in my view that is bound to an array in my model object. My app adds a new item to the array, but the datagrid is not updated. I see that this may not be possible using arrays and that arraycollections are recommended. What is the best way to bind (something) to this array and get the datagrid to update? Any advice? FYI... The property is an array because it is linked to a ColdFusion component array property. I tried using Array Collection on my model object, but it would not convert. Thanks in advance, Steve
[flexcoders] Re: Embed statement and relative paths
Actually it did :) Either way, glad I could help. Ben --- In flexcoders@yahoogroups.com, Daniel Wabyick [EMAIL PROTECTED] wrote: I swear that didn't work in 2.0 ... Thanks for the tip! ben.clinkinbeard wrote: Beginning the embed path with a slash is interpreted as the root of your project. [Embed(source='/assets/static_assets.swf', symbol='scene_icon')] HTH, Ben --- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com, Janis Radins chiekurs@ wrote: Ignore previous message, accidentally pressed Send button to early So the problem is: I've stumbled upon problem that appears when I try to Embed some assets in class Flex doesnt accept relative paths. Somehow I thought it should threat project root as root path for any embedding but it seems it doesnt. Guess I tried everything and only full path starting from C:/ worked. Is this normal behavior or this is bug? Janis
Re: [flexcoders] FlexPrintJob problem: application background colors showing in margins
Hi, I'm having a similar problem. The effect that i'm getting is that it prints a line depending on the fit done when the component is rendered. As i'm using FlexPrintJobScaleType.SHOW_ALL, some reports are scaled with MATCH_HEIGHT and others with MATCH_WIDTH. When the print job is scaled to fit the width, a vertical line is printed at the right of the paper, and when the job is scaled to height the line is printed horizontally at the bottom of the page. I assume that this line is the background as it haves the same width or height than the printed component. Any clue? thanks for the info Luciano On 11/5/06, Tom Bray [EMAIL PROTECTED] wrote: The background color of my application is printing in the margins of the page when I print my component in landscape mode. In portrait mode, there's a tiny sliver of the bg color on each side. Is there a way to prevent that besides using a white background? It seems like a bug since I can't actually print my component in those areas (it gets cropped at the margins) but the background color shows anyway. Any thoughts? Thanks, Tom
Re: [flexcoders] Embed statement and relative paths
you can also go to the project root by starting the path with / Daniel Wabyick wrote: Relative paths, strangely, are relative to the *file* that you are embedding assets in. So what I assume is that you are embedding in an MXML or CSS file some ways down in your project hierarchy. My solution to this was to create an EmbedRegistry class which is the sole location of embed statements throughout my (medium sized) project. /** Truncated version of the Embed registry. **/ public class EmbedRegistry { [Embed(source='../../../../assets/static_assets.swf', symbol='scene_icon')] public static const sceneIcon : Class; [Embed(source='../../../../assets/static_assets.swf', symbol='presentation_icon')] public static const presentationIcon : Class; } Then, I can use the classes like such: mx:Button icon={ EmbedRegistry.sceneIcon } / Hope that helps! -D Janis Radins wrote: Ignore previous message, accidentally pressed Send button to early So the problem is: I've stumbled upon problem that appears when I try to Embed some assets in class Flex doesnt accept relative paths. Somehow I thought it should threat project root as root path for any embedding but it seems it doesnt. Guess I tried everything and only full path starting from C:/ worked. Is this normal behavior or this is bug? Janis
[flexcoders] Re: Binding a DataGrid to an Array
Not sure but this may help: Try to execute data bindings manually. // say at this point the array has been updated, then: var dupArray : Array = origArray as Array; /*basically create a new reference*/ gird.dataProvider = dupArray; This should rebind the data in the grid. OR you can just do this: // say at this point the array has been updated, then: grid.executeBindings(false); Cheers, Sandeep --- In flexcoders@yahoogroups.com, stevehousefl [EMAIL PROTECTED] wrote: Using Cairngorm 2 I have a datagrid in my view that is bound to an array in my model object. My app adds a new item to the array, but the datagrid is not updated. I see that this may not be possible using arrays and that arraycollections are recommended. What is the best way to bind (something) to this array and get the datagrid to update? Any advice? FYI... The property is an array because it is linked to a ColdFusion component array property. I tried using Array Collection on my model object, but it would not convert. Thanks in advance, Steve
Re: [flexcoders] Binding a DataGrid to an Array
you can push your array into an ArrayCollection and bind that to your grid On 1/17/07, stevehousefl [EMAIL PROTECTED] wrote: Using Cairngorm 2 I have a datagrid in my view that is bound to an array in my model object. My app adds a new item to the array, but the datagrid is not updated. I see that this may not be possible using arrays and that arraycollections are recommended. What is the best way to bind (something) to this array and get the datagrid to update? Any advice? FYI... The property is an array because it is linked to a ColdFusion component array property. I tried using Array Collection on my model object, but it would not convert. Thanks in advance, Steve -- http://indeegrumpee.spaces.live.com/
[flexcoders] Re: Chart Series added programmatically don't display
It turned out to be a null value that I was setting for the offset field. Does charting throw an exception in cases like this? --- In flexcoders@yahoogroups.com, Ely Greenfield [EMAIL PROTECTED] wrote: That's usually an indiciation that the chart is correctly using the series, but for some reason the series isn't part of the chart's display tree. The most common case for this is if you try and put the same series in two different charts. They'll both behave like they contain the series, but flash only allows a DisplayObject to appear in a single spot in the tree, so it will only show up in one of the two charts. Ely. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of graysonpierce Sent: Monday, January 15, 2007 11:11 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Chart Series added programmatically don't display Hello, I was wondering if anyone knows why series added through AS to a CartesianChart wouldn't draw. The strange thing is that I can see tooltips (next to the vertical axis) when I mouse-over where the columns normally would be indicating the values in the dataprovider however the actual bars aren't displaying. I've tried calling a variety of invalidators to no avail. chart.series = arSeries; chart.invalidateDisplayList(); chart.invalidateProperties(); chart.invalidateSeriesStyles(); chart.invalidateSize(); GP
Re: [flexcoders] Binding a DataGrid to an Array
Steve, why not use an ArrayCollection? in your result function do something like this function result(data:Object):void{ var myModel : ModelLocator : ModelLocator.getInstance(); myModel.myArrayCollection = new ArrayCollection(data.result); } You should be able to add Items to your ArrayCollection and see your datagrid updated. João Fernandes On 17/01/07, stevehousefl [EMAIL PROTECTED] wrote: Using Cairngorm 2 I have a datagrid in my view that is bound to an array in my model object. My app adds a new item to the array, but the datagrid is not updated. I see that this may not be possible using arrays and that arraycollections are recommended. What is the best way to bind (something) to this array and get the datagrid to update? Any advice? FYI... The property is an array because it is linked to a ColdFusion component array property. I tried using Array Collection on my model object, but it would not convert. Thanks in advance, Steve -- João Fernandes
RE : [flexcoders] Re: Chat + Survey + Live Video Feed app
Hi Luis, asp.net for what? Drawing Board for layout? Why not just port over 100% to Flex and ColdFusion, and you shall need FMS and FDS for this kind of application. The code is readily available, as with me, I just need to learn how to programming in MXML and ActionScript 3.0. Please reply. Jon Alexander [EMAIL PROTECTED] --- In flexcoders@yahoogroups.com, Luis Rodriguez [EMAIL PROTECTED] wrote: I'm on the drawing board right now, and I'm using asp.net backend. thanks for your response I will keep you posted! -Luis jonalexander370 [EMAIL PROTECTED] a écrit : --- In flexcoders@yahoogroups.com, luisd22209 luisd22209@ wrote: My client wants an application with a live chat, simultaneous survey and a live video feed all in one. This is my chance to use Flex! Aside from handing over a quite a chunk of change to Adobe, anyone can share some pointers on how to get started? I've put together this sort of thing in ASP.NET VB before... -Luis Hi Luis, I am working on something very similar. How far are you along, and I have dozens of code examples for: Live video / audio / text chat. Did you want to compare coding examples and maybe work side by side as you develop yours I can develop mine and share our findings? Here are links for the video / audio / text chat: - http://renaun.com/flex2/fms/VideoConferenceWDDJ/ Mr. Renaun's web blog is at: http://renaun.com/blog/code-examples/ - http://www.flashcomguru.com/apps/flex/flexvideochat/ - The Flex based chat, of which there is a complete one with source at: http://coenraets.org/blog/2006/10/building-collaborative-applications-with-flex-data-services-and-flash-media-server/ - These are just a few links. Please let me know if we can work together. Also, I am assuming you shall need a login / registration, are you using ColdFusion with MySQL? Jon Alexander [EMAIL PROTECTED] - Découvrez une nouvelle façon d'obtenir des réponses à toutes vos questions ! Profitez des connaissances, des opinions et des expériences des internautes sur Yahoo! Questions/Réponses.
[flexcoders] Slightly OT - The Limitations of CFMX 7.02
I've been using CFMX 7.02's ability translate CFCs to AS objects but have noticed the following limitation: If I have an array of objects (like CFCs) in my CFC/AS class def - these will not translate over the wire and I'm forced to pull over the array as a separate remoting request. Example: Catalog.cfc has an attribute products of type Product.cfc array. cfproperty name=Products type=Product[]/ Catalog.as has an ArrayCollection of Product objects, i.e., public var Products:ArrayCollection. The rest of the CFC translates perfectly to my AS object instance, but the ArrayCollection remains null and unpopulated, requiring a second round trip to retreive the items. Now I know I might be asking a lot to want direct and complete translation including nested objects and such and possibly I'm not understnding how to accomplish this currently - other than to work around it as above. Any input appreciated... Jeff Battershall Application Architect Dow Jones Indexes [EMAIL PROTECTED] (609) 520-5637 (p) (484) 477-9900 (c)
[flexcoders] Re: title window on app first run
Hello, as I am having great difficulty completing this task, CAN ANYONE STEP IN and help, please, I am offering a cash payment of $100 for anyone to complete the initial coding with extensive commenting of the code so I can learn from it, please. Jon Alexander [EMAIL PROTECTED] --- In flexcoders@yahoogroups.com, jonalexander370 [EMAIL PROTECTED] wrote: Hello, Am very new to Flex am trying to have the first web page view being a primary login / registration TitleWindow with the main application as a fuzzy background. 1. Upon arrival at our web page at http://www.e-revenues.com the first view would be a login / register page with an advertising Flash intro similar to Raymond Camden's Lemonade Stand Game at: http://ray.camdenfamily.com/index.cfm/2006/11/21/My-Thanksgiving-Flex-Homework and actual application at: http://ray.camdenfamily.com/demos/ls/main.html 2.EXCEPT, I wish to have the main application background fuzzy'ed out, if you click the START GAME button you shall see the effect with the Instructions being forefront and the main application being fuzzy'ed out in the background. 3.To clarify, the main app would be in the background fuzzy'ed out with the login / registration being a TitleWindow in the foreground. Any and all suggestions would be greatly appreciated. Thank you. Jon Alexander
[flexcoders] Why does modifying an ArrayColleciton DataProvider reset headerRenderer?
Hey guys, I have this issue, I just got stopped by one of the people here and they didn't like the way I implemented a combobox in a custom headerRenderer. The issue is that, when you change the ArrayCollection that's binded to the dataGrid, it resets the combobox, as if it gets reinitialized. So the problem is I want to show the data of This Week by default, when the data is changed, this property changes, drops back to the first value of the combobox... So, I had to set a When in my combobox, but I don't want to do that it's not user friendly, I want to set this so the user can see the value of time, Week,Month etc. I'm using an example based on Ben Clinkinbeard's blog. Can anyone please explain how to avoid this? Why does this work this way? Any Help, this is something others have noted too... Patrick Lemiuex Like sands through the hourglass, these are the times of our compile.
RE: [flexcoders] Re: title window on app first run
Don't have time to write the code for you - but I will give you the following hints: 1) Your TitleWindow would be a separate MXML component, i.e., LoginWindow.mxml. 2) Your app has a 'creationComplete' event which should fire a private function to popup your TitleWindow. You can build off the sample code in the Flex docs. Maybe someone else can help more... Jeff -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of jonalexander370 Sent: Wednesday, January 17, 2007 3:28 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: title window on app first run Hello, as I am having great difficulty completing this task, CAN ANYONE STEP IN and help, please, I am offering a cash payment of $100 for anyone to complete the initial coding with extensive commenting of the code so I can learn from it, please. Jon Alexander [EMAIL PROTECTED] --- In flexcoders@yahoogroups.com, jonalexander370 [EMAIL PROTECTED] wrote: Hello, Am very new to Flex am trying to have the first web page view being a primary login / registration TitleWindow with the main application as a fuzzy background. 1. Upon arrival at our web page at http://www.e-revenues.com the first view would be a login / register page with an advertising Flash intro similar to Raymond Camden's Lemonade Stand Game at: http://ray.camdenfamily.com/index.cfm/2006/11/21/My-Thanksgiving-Flex-Ho mework and actual application at: http://ray.camdenfamily.com/demos/ls/main.html 2.EXCEPT, I wish to have the main application background fuzzy'ed out, if you click the START GAME button you shall see the effect with the Instructions being forefront and the main application being fuzzy'ed out in the background. 3.To clarify, the main app would be in the background fuzzy'ed out with the login / registration being a TitleWindow in the foreground. Any and all suggestions would be greatly appreciated. Thank you. Jon Alexander -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links
[flexcoders] Re: title window on app first run
Hi Jeff, Thank you for your reply. What sample code in the Flex docs? I am studying via www.lynda.com. If you could provide a URL to the Flex docs sample code, this would most greatly appreciated. Jon Alexander [EMAIL PROTECTED] --- In flexcoders@yahoogroups.com, Battershall, Jeff [EMAIL PROTECTED] wrote: Don't have time to write the code for you - but I will give you the following hints: 1) Your TitleWindow would be a separate MXML component, i.e., LoginWindow.mxml. 2) Your app has a 'creationComplete' event which should fire a private function to popup your TitleWindow. You can build off the sample code in the Flex docs. Maybe someone else can help more... Jeff -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of jonalexander370 Sent: Wednesday, January 17, 2007 3:28 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: title window on app first run Hello, as I am having great difficulty completing this task, CAN ANYONE STEP IN and help, please, I am offering a cash payment of $100 for anyone to complete the initial coding with extensive commenting of the code so I can learn from it, please. Jon Alexander [EMAIL PROTECTED] --- In flexcoders@yahoogroups.com, jonalexander370 jonalexander370@ wrote: Hello, Am very new to Flex am trying to have the first web page view being a primary login / registration TitleWindow with the main application as a fuzzy background. 1. Upon arrival at our web page at http://www.e-revenues.com the first view would be a login / register page with an advertising Flash intro similar to Raymond Camden's Lemonade Stand Game at: http://ray.camdenfamily.com/index.cfm/2006/11/21/My-Thanksgiving-Flex-Ho mework and actual application at: http://ray.camdenfamily.com/demos/ls/main.html 2. EXCEPT, I wish to have the main application background fuzzy'ed out, if you click the START GAME button you shall see the effect with the Instructions being forefront and the main application being fuzzy'ed out in the background. 3. To clarify, the main app would be in the background fuzzy'ed out with the login / registration being a TitleWindow in the foreground. Any and all suggestions would be greatly appreciated. Thank you. Jon Alexander -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links
Re: [flexcoders] Slightly OT - The Limitations of CFMX 7.02
Try to set a break point in your remote call result event and see what is returned. If you run in debugger you might see some information like someobject[] could not be converted to an ArrayCollection. Also define your Products property in you AS class as Array and not ArrayCollection. João Fernandes On 17/01/07, Battershall, Jeff [EMAIL PROTECTED] wrote: I've been using CFMX 7.02's ability translate CFCs to AS objects but have noticed the following limitation: If I have an array of objects (like CFCs) in my CFC/AS class def - these will not translate over the wire and I'm forced to pull over the array as a separate remoting request. Example: Catalog.cfc has an attribute products of type Product.cfc array. cfproperty name=Products type=Product[]/ Catalog.as has an ArrayCollection of Product objects, i.e., public var Products:ArrayCollection. The rest of the CFC translates perfectly to my AS object instance, but the ArrayCollection remains null and unpopulated, requiring a second round trip to retreive the items. Now I know I might be asking a lot to want direct and complete translation including nested objects and such and possibly I'm not understnding how to accomplish this currently - other than to work around it as above. Any input appreciated... Jeff Battershall Application Architect Dow Jones Indexes [EMAIL PROTECTED] jeff.battershall%40dowjones.com (609) 520-5637 (p) (484) 477-9900 (c) -- João Fernandes
RE : [flexcoders] Re: Chat + Survey + Live Video Feed app
thanks for the feedback! They already have 2 asp.net servers, it's their preference, we'll see... -Luis jonalexander370 [EMAIL PROTECTED] a écrit : Hi Luis, asp.net for what? Drawing Board for layout? Why not just port over 100% to Flex and ColdFusion, and you shall need FMS and FDS for this kind of application. The code is readily available, as with me, I just need to learn how to programming in MXML and ActionScript 3.0. Please reply. Jon Alexander [EMAIL PROTECTED] --- In flexcoders@yahoogroups.com, Luis Rodriguez [EMAIL PROTECTED] wrote: I'm on the drawing board right now, and I'm using asp.net backend. thanks for your response I will keep you posted! -Luis jonalexander370 [EMAIL PROTECTED] a écrit : --- In flexcoders@yahoogroups.com, luisd22209 luisd22209@ wrote: My client wants an application with a live chat, simultaneous survey and a live video feed all in one. This is my chance to use Flex! Aside from handing over a quite a chunk of change to Adobe, anyone can share some pointers on how to get started? I've put together this sort of thing in ASP.NET VB before... -Luis Hi Luis, I am working on something very similar. How far are you along, and I have dozens of code examples for: Live video / audio / text chat. Did you want to compare coding examples and maybe work side by side as you develop yours I can develop mine and share our findings? Here are links for the video / audio / text chat: - http://renaun.com/flex2/fms/VideoConferenceWDDJ/ Mr. Renaun's web blog is at: http://renaun.com/blog/code-examples/ - http://www.flashcomguru.com/apps/flex/flexvideochat/ - The Flex based chat, of which there is a complete one with source at: http://coenraets.org/blog/2006/10/building-collaborative-applications-with-flex-data-services-and-flash-media-server/ - These are just a few links. Please let me know if we can work together. Also, I am assuming you shall need a login / registration, are you using ColdFusion with MySQL? Jon Alexander [EMAIL PROTECTED] - Découvrez une nouvelle façon d'obtenir des réponses à toutes vos questions ! Profitez des connaissances, des opinions et des expériences des internautes sur Yahoo! Questions/Réponses. - Découvrez une nouvelle façon d'obtenir des réponses à toutes vos questions ! Profitez des connaissances, des opinions et des expériences des internautes sur Yahoo! Questions/Réponses.
RE: [flexcoders] urgent
Every email from this list should have an Unsubscribe link. Did you try it? - Gordon From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Flávio Santos Sent: Wednesday, January 17, 2007 4:10 AM To: [EMAIL PROTECTED]; flexcoders@yahoogroups.com Subject: [flexcoders] urgent I want to leave the list, please exclude metoday, please
Re: [flexcoders] Re: title window on app first run
Wow, such intensity for this post. You've got a click event specified for that button that you have on stage that says Login or Register. That click event calls some function that calls PopupManager.createPopup, which creates a modal popup. All you need to change is to use the creationComplete event of the Application, as opposed to the click event of the Button. So you've got something like mx:Button label=Login or Register click=launchPopup(event) / and just take out the click event and make the application tag look something like mx:Application creationComplete=launchPopup(event) / Cool? Easiest $100 ever made. jonalexander370 wrote: Hi Jeff, Thank you for your reply. What sample code in the Flex docs? I am studying via www.lynda.com. If you could provide a URL to the Flex docs sample code, this would most greatly appreciated. Jon Alexander [EMAIL PROTECTED] mailto:sales%40e-revenues.com --- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com, Battershall, Jeff [EMAIL PROTECTED] wrote: Don't have time to write the code for you - but I will give you the following hints: 1) Your TitleWindow would be a separate MXML component, i.e., LoginWindow.mxml. 2) Your app has a 'creationComplete' event which should fire a private function to popup your TitleWindow. You can build off the sample code in the Flex docs. Maybe someone else can help more... Jeff -Original Message- From: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com [mailto:flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com] On Behalf Of jonalexander370 Sent: Wednesday, January 17, 2007 3:28 PM To: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com Subject: [flexcoders] Re: title window on app first run Hello, as I am having great difficulty completing this task, CAN ANYONE STEP IN and help, please, I am offering a cash payment of $100 for anyone to complete the initial coding with extensive commenting of the code so I can learn from it, please. Jon Alexander [EMAIL PROTECTED] --- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com, jonalexander370 jonalexander370@ wrote: Hello, Am very new to Flex am trying to have the first web page view being a primary login / registration TitleWindow with the main application as a fuzzy background. 1. Upon arrival at our web page at http://www.e-revenues.com http://www.e-revenues.com the first view would be a login / register page with an advertising Flash intro similar to Raymond Camden's Lemonade Stand Game at: http://ray.camdenfamily.com/index.cfm/2006/11/21/My-Thanksgiving-Flex-Ho http://ray.camdenfamily.com/index.cfm/2006/11/21/My-Thanksgiving-Flex-Ho mework and actual application at: http://ray.camdenfamily.com/demos/ls/main.html http://ray.camdenfamily.com/demos/ls/main.html 2. EXCEPT, I wish to have the main application background fuzzy'ed out, if you click the START GAME button you shall see the effect with the Instructions being forefront and the main application being fuzzy'ed out in the background. 3. To clarify, the main app would be in the background fuzzy'ed out with the login / registration being a TitleWindow in the foreground. Any and all suggestions would be greatly appreciated. Thank you. Jon Alexander -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links
[flexcoders] Making a Hover menu with Flex
Hello, I am new to Flex and need a little guidance. I am not sure where to look for this, so a little info or pointing my into the right direction (look in this package/class) would help. I need to make a hover menu in a Flex App. Sort of a floating menu that lets you choose some options, and, if the mouse leaves the area, disappears. (Look at the See all 36 Product Categories tab or the Find Gifts button at www.amazon.com if you don't know what I mean.) In CSS/Javascript I can accomplish this by using absolute positioning of an element, making it totally out of the flow of the layout, and using Z-index, as well as a couple event handlers. In Flex, well, I don't know where to start. I have done some tutorials and searches, but don't see how to have a Canvas be positioned on a layer above the rest of the document, for instance. Can someone give me some ideas? Thanks, Ann
[flexcoders] source code management and FlexBuilder
Ok, we are using CVS to store our code base, ANT to push builds. yeehaw! But its a PITA to share code! I can't get a whole team of developers to use exactly the same path for their workspace and exactly the same path for Flex SDK, etc. FB uses absolute paths in its project config files. Anyone work around this any yet unsuccessfully? -- Douglas Knudsen http://www.cubicleman.com this is my signature, like it?
[flexcoders] Colspans in Datagrid
Hello, I know DHTML and am learning Flex, trying to port some of our Web Apps over to a Flex environment. Many of the HTML tables we use to display data have irregular headers, where 3 Headings might themselves be under one heading (using colspan=3), for instance, and various other non-standard groupings. If need be I can provide a link to illustrate. How would this be accomplished using a Datagrid? (Or is there another data table component I should be using?) I love how easy it is to tie a Datagrid to XML and have Flex do all the work for me, but sometimes I need to format the headers (and even a column or two) in an non-standard manner. Thanks for any insight you can give. :) Sincerely, Ann
[flexcoders] Re: Display Object BUG?
Wish this would have been fixed in 2.0.1, I can't turn in projects when they are showing a glaring bug like this. Anyone else have any input? Jason In flexcoders@yahoogroups.com, wayne_badu_johnson [EMAIL PROTECTED] wrote: Hi Jason You are not alone, I have experienced this as well. sorry no workarounds to give you though. Cheers Wayne --- In flexcoders@yahoogroups.com, jnewport jason_newport@ wrote: Wondering if anyone else has seen this issue? Whenever you scroll in a datagrid it shows information outside or above the datagrid container. See example here: http://www.adhder.com/test/DBone.jpg Scroll to the bottom to see the BUG. This datagrid contains item renders, but it has happened in normal datagrids as well.
Re: [flexcoders] source code management and FlexBuilder
I have had some luck with this by setting up Linked Resources ( Windows - Preferences -General - Workspace - Linked Resources ), and then using these paths in my Flex Project source path For example, create a Linked Resource MYPROJECT_SDK, and then add it to the Flex project source Path: ${MYPROJECT_SDK}. This will allow you to check in .project files with no relative paths. Hope this helps! -D Douglas Knudsen wrote: Ok, we are using CVS to store our code base, ANT to push builds. yeehaw! But its a PITA to share code! I can't get a whole team of developers to use exactly the same path for their workspace and exactly the same path for Flex SDK, etc. FB uses absolute paths in its project config files. Anyone work around this any yet unsuccessfully? -- Douglas Knudsen http://www.cubicleman.com http://www.cubicleman.com this is my signature, like it?
RE : [flexcoders] Re: Chat + Survey + Live Video Feed app
They will have to change. I am searching myself for an all-in-one. But currently I am using hostmysite.com for ColdFusion and influxis.com for FMS, am searching for a host provider that offers all three: ColdFusion FMS FDS Jon Alexander [EMAIL PROTECTED] --- In flexcoders@yahoogroups.com, Luis Rodriguez [EMAIL PROTECTED] wrote: thanks for the feedback! They already have 2 asp.net servers, it's their preference, we'll see... -Luis jonalexander370 [EMAIL PROTECTED] a écrit : Hi Luis, asp.net for what? Drawing Board for layout? Why not just port over 100% to Flex and ColdFusion, and you shall need FMS and FDS for this kind of application. The code is readily available, as with me, I just need to learn how to programming in MXML and ActionScript 3.0. Please reply. Jon Alexander [EMAIL PROTECTED] --- In flexcoders@yahoogroups.com, Luis Rodriguez luisd22209@ wrote: I'm on the drawing board right now, and I'm using asp.net backend. thanks for your response I will keep you posted! -Luis jonalexander370 jonalexander370@ a écrit : --- In flexcoders@yahoogroups.com, luisd22209 luisd22209@ wrote: My client wants an application with a live chat, simultaneous survey and a live video feed all in one. This is my chance to use Flex! Aside from handing over a quite a chunk of change to Adobe, anyone can share some pointers on how to get started? I've put together this sort of thing in ASP.NET VB before... -Luis Hi Luis, I am working on something very similar. How far are you along, and I have dozens of code examples for: Live video / audio / text chat. Did you want to compare coding examples and maybe work side by side as you develop yours I can develop mine and share our findings? Here are links for the video / audio / text chat: - http://renaun.com/flex2/fms/VideoConferenceWDDJ/ Mr. Renaun's web blog is at: http://renaun.com/blog/code-examples/ - http://www.flashcomguru.com/apps/flex/flexvideochat/ - The Flex based chat, of which there is a complete one with source at: http://coenraets.org/blog/2006/10/building-collaborative-applications-with-flex-data-services-and-flash-media-server/ - These are just a few links. Please let me know if we can work together. Also, I am assuming you shall need a login / registration, are you using ColdFusion with MySQL? Jon Alexander sales@ - Découvrez une nouvelle façon d'obtenir des réponses à toutes vos questions ! Profitez des connaissances, des opinions et des expériences des internautes sur Yahoo! Questions/Réponses. - Découvrez une nouvelle façon d'obtenir des réponses à toutes vos questions ! Profitez des connaissances, des opinions et des expériences des internautes sur Yahoo! Questions/Réponses.