RE: [flexcoders] View State - How to call a function on a custom component???
I don't believe there is a way to do this. Is your function something that you could turn into a setter? -Sho From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of paulwelling Sent: Wednesday, February 07, 2007 6:50 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] View State - How to call a function on a custom component??? Hello, I would like to be able to call a function on a custom component when adding a child to a View State. There is a setProperty tag. Any way of call a function on that component from within the AddChild tag of a View State??? Thanks, Paul
RE: [flexcoders] Returning 'this' from an overridden method?
The short answer is that there is no way to do what you want for the time being. What you are looking for is a language feature called covariant return types. In certain languages (C++, Java) you can have your subclass redefine the type that is returned by a method. This would be a great thing to get into the AS language, but it is not there now. There are further wrinkles when you consider how you would extend properties in a similar way (I wrote about the issues at http://kuwamoto.org/2007/01/22/covariant-property-types/). Cheers, -Sho From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of David_Stafford Sent: Tuesday, February 06, 2007 6:13 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Returning 'this' from an overridden method? Please pardon this simple-minded question from an AS3 novice. My base class often returns 'this' from methods which makes it convenient to write code like: camera.move( 10, 12 ).rotateX( 45 ).rotateY( 90 ); The problem comes when code extends the base class and overrides one of these functions. The compiler insists, correctly, that the return type of an overriding function must match the one in the base class. What I want to do is return the 'this' object that is of the type of the derived class. Is this possible? The following is a contrived example to demonstrate. It won't compile because the overridden function in the derived class wants to return a type of MyCamera rather than Camera: public class Camera { var x:int = 0; var y:int = 0; public function move( x:int, y:int ) :Camera { this.x += x; this.y += y; return( this ); } } public class MyCamera extends Camera { override public function move( x:int, y:int ) :MyCamera { super.move( x, y ); if( x 0 ) x = 0; if( y 0 ) y = 0; return( this ); } }
RE: [flexcoders] Returning 'this' from an overridden method?
Well, it really depends on the ECMA working group. I would like to get it in, and I will push for it, and I imagine that others will as well. -Sho From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Ralf Bokelberg Sent: Wednesday, February 07, 2007 11:10 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Returning 'this' from an overridden method? Nice to know the name of this feature. Just lately somebody asked me the same question. He also came from a Java background. Any chance we will see it in the future? Cheers, Ralf. On 2/7/07, Sho Kuwamoto [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: The short answer is that there is no way to do what you want for the time being. What you are looking for is a language feature called covariant return types. In certain languages (C++, Java) you can have your subclass redefine the type that is returned by a method. This would be a great thing to get into the AS language, but it is not there now. There are further wrinkles when you consider how you would extend properties in a similar way (I wrote about the issues at http://kuwamoto.org/2007/01/22/covariant-property-types/ http://kuwamoto.org/2007/01/22/covariant-property-types/ ). Cheers, -Sho From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com http://yahoogroups.com ] On Behalf Of David_Stafford Sent: Tuesday, February 06, 2007 6:13 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Returning 'this' from an overridden method? Please pardon this simple-minded question from an AS3 novice. My base class often returns 'this' from methods which makes it convenient to write code like: camera.move( 10, 12 ).rotateX( 45 ).rotateY( 90 ); The problem comes when code extends the base class and overrides one of these functions. The compiler insists, correctly, that the return type of an overriding function must match the one in the base class. What I want to do is return the 'this' object that is of the type of the derived class. Is this possible? The following is a contrived example to demonstrate. It won't compile because the overridden function in the derived class wants to return a type of MyCamera rather than Camera: public class Camera { var x:int = 0; var y:int = 0; public function move( x:int, y:int ) :Camera { this.x += x; this.y += y; return( this ); } } public class MyCamera extends Camera { override public function move( x:int, y:int ) :MyCamera { super.move( x, y ); if( x 0 ) x = 0; if( y 0 ) y = 0; return( this ); } } -- Ralf Bokelberg [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] Flex Flash Consultant based in Cologne/Germany Phone +49 (0) 221 530 15 35
RE: [flexcoders] Re: Flex Builder 2.0.1 the update !
One word of warning about turning off flashType. The difference in the quality of the embedded fonts is night and day with flashType. It's fine to turn this off during development, but you should really turn it back on when you finally go into production. -Sho http://geo.yahoo.com/serv?s=97359714/grpId=12286167/grpspId=1705007207/ msgId=61694/stime=1169053162/nc1=3848641/nc2=2/nc3=3
RE: [flexcoders] TextArea as Console: Controlling cursor position and intercepting arrow keys
I believe that the text events for arrow keys are not cancelable, unfortunately. I ran into this when trying to write an autocomplete control. -Sho From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Darron J. Schall Sent: Thursday, December 07, 2006 8:05 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] TextArea as Console: Controlling cursor position and intercepting arrow keys Since TextEvents are cancellable, you can also look at using event.preventDefault(); in the TEXT_INPUT event handler to stop the Flash Player from automatically moving the cursor when the up key is pressed. -d Daniel Freiman wrote: What you're looking for is setSelection() to set the cursor position. Simply put the same value in for the start and end value to place the caret instead of the selection. However I'm not sure this is going to be as responsive as you like. You may want to consider using a different design such as having the history in a textarea and having the user input in a textinput to simplify this problem. - Dan On 12/7/06, *chuvakgu* [EMAIL PROTECTED] mailto:Grisha%40alum.mit.edu mailto:[EMAIL PROTECTED] mailto:Grisha%40alum.mit.edu wrote: Hi all, How does one control position of the cursor inside a mx:TextArea? What I am really trying to do is create a console out of a TextArea. A user would enter commands at a prompt, and at some point they would be sent to the server for evaluation. I looked for something like this but didn't find... So, control of cursor will come in a case such as: I want to use up-arrow as history, for example, but while I can intercept the up-arrow on a keyDown or keyUp event and show the item from history, the cursor still moves. In this case, maybe intercepting the arrow's defautl behavior is good enough, but in another case (e.g., if a line ends with \, the next line is indented - but the cursor by default is in the first column, but whne I mouse click on the area, it ends up in the proper place). Thanks.
RE: [flexcoders] Overall consensus of using the this keyword
The "this" keyword refers to the outermost tag that is used in the mxml file. It doesn't matter where in the file you say "this". If you use it on an event handler on a button inside an application called foo.mxml, "this" refers to the application tag. The only exception to this is if you use the Component tag. In that case, the "this" keyword refers to the embedded component whenever you are inside the Component tag. Except for the component issue, details can be found here: http://kuwamoto.org/2006/07/14/flex-tags-and-as-classes-the-simple-version/ http://kuwamoto.org/2006/07/18/flex-tags-and-as-classes-continued/ -Sho From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Mike AndersonSent: Thursday, August 10, 2006 3:14 PMTo: flexcoders@yahoogroups.comSubject: [flexcoders] Overall consensus of using the "this" keyword Hello All,I am curious about the "this" keyword, as it relates to .MXML files.As far as I know, you don't treat ActionScript any differently when it'scontained within .MXML files. But when it comes to using "this", I am alittle fuzzy - because I am seeing mixed examples of coding styles, andall these examples are from well-known Flash/Flex Gurus...When talking about an ActionScript Class - "this" is used of course,when referring to Variables that were declared in the main constructor -and helps keep those Variables separate from other Variables(potentially with the same name) that are local to functions.My question is, do all these same rules apply, to ActionScript that iscontained within .MXML files?I know this may sound like a goofy topic, but I would love to have itclarified - so I can continue to write quality code, that conforms tothe latest coding standards/techniques.Thanks in advance,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 Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
RE: [flexcoders] better to use mxml or actionscript for new component?
My guess is that the AS version is more efficient, although I haven't checked this. To see what the compiler is doing, you can use the -keep flag on the compiler, which will allow you to see the generated ActionScript for any particular MXML file. -Sho From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Pan TroglodytesSent: Friday, July 21, 2006 8:50 AMTo: flexcodersSubject: [flexcoders] better to use mxml or actionscript for new component? Just curious, is it actually more efficient to use AS instead of MXML (or vice versa) when deriving new components? I'm talking about where it's just as easy to code it either way. I'm just wondering about how the guts of the compiler work. For example, take these two:package nes { import mx.controls.Label; import mx.controls.dataGridClasses.DataGridListData; import flash.display.Graphics; import mx.controls.DataGrid; public class DetailBgColorRenderer extends Label { override protected function updateDisplayList(unscaledWidth:Number, unscaledHeight:Number):void { super.updateDisplayList(unscaledWidth, unscaledHeight); var g:Graphics = graphics; if (data != null) { if (data.backgroundColor != 0) { var grid:DataGrid = DataGrid(DataGridListData(listData).owner); g.beginFill(data.backgroundColor); g.drawRect(0, 0, unscaledWidth, unscaledHeight); g.endFill(); } else g.clear(); } } }}?xml version="1.0" encoding="utf-8"? mx:Label xmlns:mx="http://www.adobe.com/2006/mxml" mx:Script ![CDATA[ override protected function updateDisplayList(unscaledWidth:Number, unscaledHeight:Number):void { super.updateDisplayList(unscaledWidth, unscaledHeight); var g:Graphics = graphics; if (data != null) { if (data.backgroundColor != 0) { var grid:DataGrid = DataGrid(DataGridListData(listData).owner); g.beginFill(data.backgroundColor); g.drawRect(0, 0, unscaledWidth, unscaledHeight); g.endFill(); } else g.clear(); } } ]] /mx:Script/mx:Label-- Jason __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
RE: [flexcoders] undelete/move to trash options for builder
While there is no way to get Flex Builder to delete things the "kind and gentle" way, there is a really great workaround. Right click on the project and choose "Restore from local history". Eclipse (and therefore Flex Builder) keeps a local version of all changes you have made, so you can undelete files, or even revert to earlier saved versions of a particular file! -Sho From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Pan TroglodytesSent: Friday, July 21, 2006 8:51 AMTo: flexcodersSubject: [flexcoders] undelete/move to trash options for builder Is it possible to tell Flex Builder to do file deletions the "kind and gentle" way by moving them to the trash?Second, is it possible to undelete items from Flex Builder, or does it actually use a filesystem delete call? Almost got bit by this just now and would like a way to avoid shooting myself in the foot.-- Jason __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
RE: [flexcoders] Getting Data Out of Rollovers in TileLists
I believe what you need to do is to trap ListEvent.ITEM_ROLL_OVER and look at event.columnIndex and event.rowIndex. have you tried this? The easiest way to tell what is going on would be to put a breakpoint on your event handler and to look at the event object in the debugger. -Sho From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Ethan MillerSent: Wednesday, July 19, 2006 10:44 AMTo: flexcoders@yahoogroups.comSubject: Re: [flexcoders] Getting Data Out of Rollovers in TileLists I've tried both. Either works for sending the event to the showInfo function (the Alert triggers, etc.). The problem is how to reference the various fields of data of the rolled over item, ie I need the rollover equivalent of selectedItem (something like rolledOverItem, which doesn't exist)...cheers, ethan You said you tried itemRollOver, but in the code, you are using rollOver, not itemRollOver as the event for TileList. - Original Message - From: "Ethan Miller" [EMAIL PROTECTED]com To: [EMAIL PROTECTED]ups.com Sent: Wednesday, July 19, 2006 12:58 PM Subject: Re: [flexcoders] Getting Data Out of Rollovers in TileLists selectedItem doesn't work because no item is selected, it was only rolled over. Surely there's a way to catch the data of a rolled over item? Anyone? cheers, ethan Maybe event.target.selectedItem? - Original Message - From: "Ethan Miller" [EMAIL PROTECTED]com To: [EMAIL PROTECTED]ups.com Sent: Tuesday, July 18, 2006 6:10 PM Subject: [flexcoders] Getting Data Out of Rollovers in TileLists Greetings - I'm trying to get data out of a dataProvider (the 'orientation' field) used by a tileList, on rollover, not on selection. But, as there's no "selectedItem" in the returned event I'm not sure how to reference the rolled over item. The docs suggest using itemRollOver but the compiler claims not to know about it... Here's some sample code (using an alert to see if the data is being caught), my question is how to refernce the fields in the dataProvider (of the rolled over item) after e.currentTarget ... mx:Script ![CDATA[ import mx.controls.Alert; import flash.events.Event; import mx.events.ListEvent; private function showInfo(e:Event):void { Alert.show(e.currentTarget.itemRollOver.orientation, "Data Found...", Alert.OK); } ]] /mx:Script mx:ArrayCollection id="mediaLibraryDP" mx:Object orientation="landscape" space="RGB" date="07/18//2006" source="Apps/Content/Images/back.png"/ mx:Object orientation="landscape" space="RGB" date="07/18//2006" source="Apps/Content/Images/side.png"/ mx:Object orientation="landscape" space="RGB" date="07/18//2006" source="Apps/Content/Images/stomach.png"/ mx:Object orientation="landscape" space="RGB" date="07/18//2006" source="Apps/Content/Images/couple.png"/ /mx:ArrayCollection mx:TileList dataProvider="{mediaLibraryDP}" rollOver="showInfo(event)" rollOut="hideInfo()" mx:itemRenderer mx:Component mx:Image source="{data.source}"/ /mx:Component /mx:itemRenderer /mx:TileList Thanks! ethan -- 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 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 Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
RE: [flexcoders] Flex Builder flakiness
The issue about not resolving errors upon saving a file is troubling. If you can isolate the bug any further, it would help us solve it. The "smart home" approach is not something we had time to implement for FB 2.0. Sorry! -Sho From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of ben.clinkinbeardSent: Tuesday, July 18, 2006 1:55 PMTo: flexcoders@yahoogroups.comSubject: [flexcoders] Flex Builder flakiness FB seems to behave very unpredictably for me. On my machine at work itwill not find or resolve any errors upon saving a file. To do eitherof those things I must actually build/launch the app.On my home machine, FB doesn't use the 'smart home' approach wherepressing the Home key takes you to the first non-whitespace character.It takes you all the way home, disregarding any existing tabs.Can anyone tell me how to resolve these issues?Thanks,Ben __._,_.___ -- 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 Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
RE: [flexcoders] [Flex2 final release] FlexBuilder 2 install Flash Player 9.0.15??
Hi folks. Flex Builder installs the version of the player that allows the debugger to work. The correct version for the debugger player is 9.0.15. The discrepancy between the debugger and standard version numbers occurred because we fixed some last minute player bugs that didn't need to be fixed in the debugger version of the player. -Sho From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Carlos RoviraSent: Wednesday, June 28, 2006 10:55 AMTo: flexcoders@yahoogroups.comSubject: [flexcoders] [Flex2 final release] FlexBuilder 2 install Flash Player 9.0.15?? Hi,I Think this is a clear bug in the Flex Builder 2 installer.The final version is 9.0.16, but Flex Builder 2 is installing 9.0.15?Please, could someone at Adobe confirm this?(Another point is that someone told me about AMF0 not working again, I proced to test it asap and confirm to this list) -- ::| Carlos Rovira::| http://www.carlosrovira.com __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
RE: [flexcoders] Release date? Maybe 15th
Why am I reminded of the unexpected hanging paradox? http://en.wikipedia.org/wiki/Unexpected_hanging_paradox -Sho From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Michael SchmalleSent: Tuesday, June 06, 2006 2:36 PMTo: flexcoders@yahoogroups.comSubject: Re: [flexcoders] Release date? Maybe 15th If you have kids, this list is starting to sound like an"ARE WE THERE YET" trip ;-)Peace, Mike On 6/6/06, Matt Chotin [EMAIL PROTECTED] wrote: Not that soon. We can't announce the exact date yet. We are still aiming for "first half of 2006" which you can interpret as June. Aiming being a key word Matt From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Robert ThompsonSent: Tuesday, June 06, 2006 12:20 PMTo: flexcoders@yahoogroups.comSubject: [flexcoders] Release date? Maybe 15th Release date?Just wondering. __Do You Yahoo!?Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com -- What goes up, does come down. __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
RE: [flexcoders] Re: Referencing States from Custom Components
Hi Ethan. The short answer to your question is that parent.currentState = 'touchOptions' would work (but see caveats below). If you're just doing a quick and dirty prototype, this might be enough. The long answer to your question is that if you want to build a large scale app, you probably don't want the menu directly setting the current state of its parent, because it would be fragile. For example, if you decided to put the sidebar menu inside of a VBox for layout reasons, the code above would break. For the real answer, you probably want to send an event from the sidebar menu, which is then caught by the parent, which should change its current state in response to that. I don't have time to write working code right now, as I have to meet people for dinner (east coast time.. working in Boston this week), but it would look something like this: SendSidebarMenu.mxml -- Script public function sendNavigateMessage(var where : String) { var event : Event = new Event(navigate); event.where = where; // might need to cast to Object here to avoid compiler warning. dispatchEvent(event); } /Script ...LinkButton click=dispatchEvent(new Event(navigate) SendStates.mxml -- HBox initialize=onInit() Script public function onInit() { sendMenu.addEventListener(navigate, onNavigate); } public funciton onNavigate(event: Event) : void { currentState = event.where; // might need to cast to Object here. } /Script /HBox -Sho -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Ethan Miller Sent: Tuesday, May 23, 2006 1:05 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Re: Referencing States from Custom Components On May 23, 2006, at 12:47 PM, Tim Hoff wrote: Can you provide code? Yes, and thanks for the help! Attached are two files: SendStates.mxml This file defines the various view states. This file sources in the second file using the tag nf:SendSidebarMenu (note the custon nf name space). SendSidebarMenu.mxml ThIs file includes linkButtons which attempt to load various stats in SendStates.mxml As reminder, I've tried the following in the click handlers. parentDocument.touchOptions outerDocument.touchOptions SendStates.touchOptions (touchOptions being one of the named states in SendStates.mxml) cheers, ethan -- 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 Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
RE: [flexcoders] minor FlexBuilder bug with automatic import statement insertion
Ack! I'm seeing the bug as well. Thanks for alerting us to this. I'll file a bug. -Sho From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Tom BraySent: Friday, May 19, 2006 5:37 PMTo: flexcoders@yahoogroups.comSubject: [flexcoders] minor FlexBuilder bug with automatic import statement insertion if you type the following line:private var myPanel:then FlexBuilder automatically inserts the import statement for Panel:import mx.containers.Panel;which is not the type I was about to specify after the colon, so I'd say that feature is a little trigger happy. Obviously, the same thing happens for a lot of classes: myButton, redBox, etc. -Tom -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
RE: [flexcoders] Flex 2.0 Feature Request - Code view splitter
Hi Graham. If you follow my steps, you do get multiple views on the same file which update in real time as you type. This is the way that Eclipse is designed to work. If you like, you can also tear off the view and As far as I know, Eclipse does not support split views out of the box, and while we could add it, there would be significant work involved, which is why we decided to wait untila later version to tackle this. Thanks, -Sho From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Graham WeldonSent: Tuesday, May 09, 2006 6:16 PMTo: flexcoders@yahoogroups.comSubject: Re: [flexcoders] Flex 2.0 Feature Request - Code view splitter Thanks for that Sho,Ideally, I would like to to operate as 2 separate views on the same file.This would allow me to make changes in working memory, and see the changes in both panes. I feel that if I attempted your approach, only one of the panes would represent the current working copy, and hence would become out of date very quickly as code is edited.For the moment, I am using dual monitors, with a plain text editor "EditPlus" to view the second instance of the code, as it prompts me to refresh when the code has been changed externally to EditPlus.Is the lack of this feature something that is imposed by the Eclipse base?Thanks.RegardsGraham WeldonSho Kuwamoto wrote: Hi Graham.This isn't a perfect solution, but you can open up two separate editor windows if you like.1) Right click on the document tab and choose "New Editor"2) Drag the tab of the newly created editor above (or below) the editor area. You should get visual feedback that indicates that it will be docked in a separate area.Voila! Two views of the same document that can be scrolled separately.-Sho -Original Message-From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Graham WeldonSent: Tuesday, May 09, 2006 5:42 PMTo: flexcoders@yahoogroups.comSubject: [flexcoders] Flex 2.0 Feature Request - Code view splitterHi all,Not sure where to put this, so I'm posting to the group in the hope that someone will intercept it.I'm hoping that Flex Builder will eventually come with a code window splitter, allowing you to view two parts of the same code file, in separate "split" windows. This feature exists on applications like MS Word, EditPlus, and a whole range of other applications that have a window into the content being edited. This would be really useful especially with a large caringorm framework, all your events defined at the top, and the command initialization at the bottom, its a pain to have to scroll up and down constantly to recall the event names.Thanks.Regards,Graham Weldon--Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
RE: [flexcoders] Will there be a Part II to Sho K's Flickr Tutorial (i.e. more indepth on schemas)
Thanks for the feedback. We'll try to pull together more material around pulling in data. Glad you found the video helpful! -Sho From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Robert ThompsonSent: Sunday, April 16, 2006 11:25 PMTo: flexcoders@yahoogroups.comSubject: [flexcoders] Will there be a Part II to Sho K's Flickr Tutorial (i.e. more indepth on schemas) I've watched all the tutorials and worked with quick starts and they are enormously helpful.I was wondering though, Sho kind of glosses over the end of his Flickr tutorial on his Thumbnail and a customize interpretation of Flickr.Although I am not necessary suggesting a full Xmethods.com SOAP WSDL (his is REST which I prefer), I was wondering if he can present methods for using any service out there that provides a schema of the return [object] so that a more dynamic approach can be used to, for example, hooking up his "find" to virtualy _any_ service that may return media of any time.His Vieo still one of the best yet; the others are Flex Data Service or highly IDE based.-r Yahoo! Messenger with Voice. PC-to-Phone calls for ridiculously low rates. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
RE: [flexcoders] compiler errors, runtime errors, requests for enhancement (Flex 2 beta)
Hi Ray. Sorry for your frustration. We haven't done a very good job recently of manning the public beta forums. I'll look into getting this fixed. In the meantime, it would be great to have some test files to track down the compiler bugs you're seeing. I'll contact you off list about this. -Sho From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of loftlingSent: Wednesday, March 29, 2006 11:05 AMTo: flexcoders@yahoogroups.comSubject: [flexcoders] compiler errors, runtime errors, requests for enhancement (Flex 2 beta) I'm posting this here in the hopes that some of the Adobe engineers active on this group will read the messages I've been posting to their own forums. I've been having a lot of problems that other haven't, and I'd love some responses.A NullPointerException in the compiler prevents me from using Beta 2Another compiler bug causes classes to be 'imported' into the namespace even when not importedSome bugs/limitations I've found with describeType(): one twoIn addition, I've written a few whingey posts about the design of the language, but the ones listed above are actual bugs. I'd love to engage with Adobe engineers on these problems and others, I was hoping that the beta forums were the place to do that. -- 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 Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
RE: [flexcoders] What happened to mx.utils.Deletage?
Hi Chris. Roughly speaking, you do something like this: myService.someMethod(arg1, arg2); myService.addEventListener(result, resultMethod); Of course, as you illustrate, this will not work if you are calling multiple methods on myService, because you need a way of figuring out which method you are getting the result for. As far as I know, you need to do some of your own plumbing to make this happen. Here is one way to do it: function initializeStuff() : void { myService.addEventListener(result, resultHandler); } function doStuff() : void { var call = myService.someMethod(arg1, arg2); call.resultHandler = actualResultHandler; } function resultHandler(event: ResultEvent) : void { var call : Object = event.call; if (call.resultHandler != null) { call.resultHandler.call(null, event) } } function actualResultHandler(event: ResultEvent) : void { } -Sho -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Chris Scott Sent: Friday, March 24, 2006 8:09 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] What happened to mx.utils.Deletage? Hi, long time reader first time poster. OK, just started reading yesterday, but anyway. First off, I am working with Flex 2 Beta 2 I'm trying to add resultHandlers to async method calls at method invocation time (this approach is outlined in the 'Developing Rich Clients with Flex' book). I have also done a very similar approach with Flash and Remoting. So code that used to work is like this: var pendingCall = myService.someMehtod(arg:Type, arg2:Type); pendingCall.resultHandler = mx.utils.Delegate.create(this, resultMethod); with result method being some local method. Anyway, now I can't locate the mx.utils.Delegate class for one thing. I did, through viewing errors, find that the pendingCall object with be of type 'mx.rpc.AsyncToken', I tried to addEventListener, but I still got an error that resultHandler was not set on the pendingCall. Anyone have any good ideas here? How do I properly attach a resultHandler to an AsyncToken in Flex 2 Beta 2? Thanks for the help! Chris Scott [EMAIL PROTECTED] http://cdscott.blogspot.com/ http://www.coldspringframework.org/ -- 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 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/ * 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] What happened to mx.utils.Deletage?
Not exactly sure what you mean by multicasts. Do you mean multicasting for events? If so, that already exists. myService.addEventListener("result", resultHandler1); myService.addEventListener("result", resultHandler2); // both of these will be called. myService.myMethod(); The problem I was talking about occurs when you call multiple methods on the same service object. function callStuff() { myService.myFirstMethod(); myService.addEventListenter("result", myFirstHandler); myService.mySecondMethod(); myService.addEventListener("result", mySecondHandler); } function myFirstHandler(event: Event) { // this gets called when either myFirstMethod() or mySecondMethod() returns a result. } function mySecondHandler(event: Event) { // this gets called when either myFirstMethod() or mySecondMethod() returns a result. } There may be a way that multicasts can help here, but I can't figure it out... -Sho From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Richard LeggettSent: Friday, March 24, 2006 9:31 AMTo: flexcoders@yahoogroups.comSubject: RE: [flexcoders] What happened to mx.utils.Deletage? Of course, as you illustrate, this will not work if you are callingmultiple methods on myService Any clues as to whether multicasts are in the spec for AS? Thanks, Rich From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Sho KuwamotoSent: 24 March 2006 17:25To: flexcoders@yahoogroups.comSubject: RE: [flexcoders] What happened to mx.utils.Deletage? Hi Chris.Roughly speaking, you do something like this:myService.someMethod(arg1, arg2);myService.addEventListener("result", resultMethod);Of course, as you illustrate, this will not work if you are callingmultiple methods on myService, because you need a way of figuring outwhich method you are getting the result for. As far as I know, you needto do some of your own plumbing to make this happen. Here is one way to do it:function initializeStuff() : void{ myService.addEventListener("result", resultHandler);}function doStuff() : void{ var call = myService.someMethod(arg1, arg2); call.resultHandler = actualResultHandler;}function resultHandler(event: ResultEvent) : void{ var call : Object = event.call; if (call.resultHandler != null) { call.resultHandler.call(null, event) }}function actualResultHandler(event: ResultEvent) : void{}-Sho -- 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 Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
RE: [flexcoders] Adobe Videos
Hi all. I've talked to Glenn, and he says that because of an unfortunate late breaking bug that was introduced right before beta 1, two of the three demos he did on the video don't actually work on beta 1. His plan is to get the bugs fixed and to post the source in time for beta 2. Don't shoot me. I'm just the messenger! -Sho From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Jonathan MirandaSent: Thursday, February 23, 2006 9:31 AMTo: flexcoders@yahoogroups.comSubject: RE: [flexcoders] Adobe Videos That or someone knows Glenn and can toss a note into his cube J _ Jonathan Miranda Flexible Master of the Web "In the game of chess, it's important to never let your opponent see your pieces." HealthGrades: Guiding America to Better Healthcare NASDAQ: HGRD w (720) 963-3832 c (707) 761-0868 [EMAIL PROTECTED] _ The message contains confidential and/or legally privileged information and is intended for use only by the indicated addressee. If you are not the named addressee you should not disseminate, distribute, or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmissions cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed,arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message which arise as a result of e-mail transmission. If verification is required please request a hard-copy version. From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Jonas WindeySent: Thursday, February 23, 2006 10:17 AMTo: flexcoders@yahoogroups.comSubject: RE: [flexcoders] Adobe Videos Id like to know that too! Lets hope Glenn Ruehle is reading this and would be so kind to post his example ;) From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Jonathan MirandaSent: dinsdag 21 februari 2006 17:45To: flexcoders@yahoogroups.comSubject: [flexcoders] Adobe Videos http://labs..macromedia.com/flexproductline/videos/#/ Anyone find out if they posted the Transition code somewhere? _ Jonathan Miranda Flexible Master of the Web "In the game of chess, it's important to never let your opponent see your pieces." -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
RE: [flexcoders] FlexBuilder on Mac
Hi folks. I think don't hold your breath is a bit strong... We're planning on releasing a Mac version of Flex Builder. Just not simultaneously with the Windows release. Thanks, -Sho -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Rob Rusher Sent: Thursday, January 26, 2006 7:28 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] FlexBuilder on Mac Neither the current version nor the upcoming Flex Builder 2 will work on a Mac. There is talk about maybe supporting a Mac in the future, but I wouldn't hold your breath. Rob Rusher RIA Consultant Macromedia Certified Flex Instructor e:[EMAIL PROTECTED] c:303.885.7044 im:robrusher -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of tobiaspatton Sent: Thursday, January 26, 2006 5:20 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] FlexBuilder on Mac Anyone get this to work? I installed Eclipse 3.1 on my Mac and copied over the features, plugins, etc. from a Windows install of FlexBuilder. The IDE launches but will not open the MXML editor. The following exception is logged to console: java.lang.NullPointerException at zorn.editors.mxml.MXMLEditor.init(MXMLEditor.java:165) A couple things I've noticed: in the About Eclipse dialog (under the Help menu), the Flex logo does not appear alongside the Eclipse logo. Also, under installed features, none of the zorn.* features appear. Worst of all, the zorn features xml files have the following lines at the top: os=win32 ws=win32 Anyone know if it will ever be possible to run FlexBuilder on a Mac? Thanks. Tobias. -- 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 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 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/ * 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] Flex2:Need quick answer
There is no restriction in how SWFs are deployed. However, there are security issues in the player which can trip you up if you are not careful. To make sure you are running things in exactly the same way: 1) Open up your run configration by clicking on the triangle menu next to the Run button and choosing Run... from the menu. 2) Click on the application you are trying to run and look for the section called URL or path to launch. 3) Make sure you are running the SWF or HTML file at the same path as specified. If the path is a URL, make sure you are using the same URL to run the application. 4) You may also want to make sure that you are using the same browser when running from FB and outside of FB. After these steps, if you are still not seeing the same results, then you have found a mysterious bug. -Sho -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Greg Johnson Sent: Monday, October 31, 2005 6:05 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Flex2:Need quick answer I knowtice that if I just try to run the html/swf directly I don't get any of the data, iow I get my initial drop box, but without anything in it. It appears to not work. However if I click run in the builder it comes up fine. Is the alpha designed so you can't deploy the compiled SWF (which I could understand) or am I just doing something wrong? Thanks Greg -- 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 Yahoo! Groups Sponsor ~-- Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life. http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/nhFolB/TM ~- -- 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/ * 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: Web-services giving hell to implement
One more thing. You can write your own proxy. Depending on which server language you are using, and whether you need to deal with authentication or not, it can be as simple as two lines of code. Please see: http://labs.macromedia.com/wiki/index.php/Flex:Accessing_Data -Sho -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Dave Wolf Sent: Tuesday, October 25, 2005 8:44 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Web-services giving hell to implement The model actually hasnt changed. In Flex 1.5 you could also use the crossdomain.xml solution to allow the player to connect to a web service on a different host then it was downloaded from. Now in Flex1.5 you had the flexproxy servlet which would act as a proxy and redirect those calls tot he third party. You wouldnt need crossdomain.xml then. However, you could bypass the proxy and then use crossdomain.xml. All youre choice. In Flex2 you will need the enterprise data services to have access to the proxy. So to do what you want, and not rely on crossdomain.xml in Flex2 you need the more expensive (in line with Flex 1.5) version. The difference is for the much lower price you can skip needing the proxy *if* you own the service and can use crossdomain.xml. If you dont, you need the enterprise version. Make sense? -- Dave Wolf Cynergy Systems, Inc. Macromedia Flex Alliance Partner http://www.cynergysystems.com Email: [EMAIL PROTECTED] Office: 866-CYNERGY x85 - In flexcoders@yahoogroups.com, knly browne [EMAIL PROTECTED] wrote: Good day awll... I have a little quirk with connecting to web-services in Flex 2.0. In flex 1.x you simply configured the service file that resides on the server and then you add you web-service object to you applications configure the wsdl and you good to go.. For flex 2.0 i see that the model had changed dramatically...now there is the advent of the crossdomain.xml that must be placed in the root directory of the server that you are trying to get the service from, so the Question now becomes if the server resides half way around the world..how in gods name do i place a config file on that server... now the server that give me the web-service is implemented using rem-objects for delphi.. so its not a java server its a delphi program..how do i install a crossdomain.xml file on that appication.. Flex 2.0 doesn't come with any web-services example... As of present i have no idea of how to use web-services in Flex 2.0 can anyone out there assist me..? Thanks -- Kenlie Browne Software Developer -- 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 Yahoo! Groups Sponsor ~-- Most low income households are not online. Help bridge the digital divide today! http://us.click.yahoo.com/cd_AJB/QnQLAA/TtwFAA/nhFolB/TM ~- -- 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/ * 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] [Flex2] State and size
There are currently some bugs in the state feature when it comes to percentage widths/heights, as well as widths and heights that are not explicitly set. We are planning on fixing these before release. -Sho -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Stephane De Jonckheere Sent: Tuesday, October 25, 2005 12:12 AM To: 'flexcoders@yahoogroups.com' Subject: [flexcoders] [Flex2] State and size Hi all, I'm currently trying Flex 2 and the new State feature. I'd like to do some kind of fullscreen button. I managed to do that in Flex 2 but I have some problems. First of all I need to set the width and height back in a new State. Switching back to the Base State (setting currentState to null) is not working 'cause the panel keep the width and height of the fullscreen state. That's why I'm using the restore state. Ain't it a bug in the state feature? Or is there something I am not doing correctly? See code below. Regards, Stephane ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.macromedia.com/2005/mxml; xmlns=* mx:states mx:State name=FullScreen mx:RemoveChild child={searchPanel}/ mx:RemoveChild child={mainBox}/ mx:AddChild target={appCanvas} child={searchPanel}/ /mx:State mx:State name=Restore mx:PropertyOverride target={appCanvas} property=height value=100%/ mx:PropertyOverride target={appCanvas} property=width value=100%/ mx:PropertyOverride target={mainBox} property=height value=100%/ mx:PropertyOverride target={mainBox} property=width value=100%/ mx:PropertyOverride target={menuPanel} property=height value=100%/ mx:PropertyOverride target={menuPanel} property=width value=25%/ mx:PropertyOverride target={contentBox} property=height value=100%/ mx:PropertyOverride target={contentBox} property=width value=75%/ mx:PropertyOverride target={searchPanel} property=height value=100%/ mx:PropertyOverride target={searchPanel} property=width value=100%/ mx:PropertyOverride target={resultPanel} property=height value=100%/ mx:PropertyOverride target={resultPanel} property=width value=100%/ /mx:State /mx:states mx:Script static var fullscreen:Boolean=false; /mx:Script mx:Canvas id=appCanvas width=100% height=100% mx:HDividedBox id=mainBox width=100% height=100% mx:Panel id=menuPanel height=100% width=25% mx:Canvas height=100% width=100%/ /mx:Panel mx:VBox id=contentBox height=100% width=75% hScrollPolicy=off vScrollPolicy=off mx:Panel id=searchPanel height=100% width=100% resizeEffect=Resize mx:Canvas height=100% width=100% id=canvas1 mx:Button x=275 y=116 label=Switch click=currentState=(fullscreen?'Restore':'FullScreen');fullscreen=!full scre en; id=button1/ mx:Button x=275 y=156 label=getState click=if (currentState!=null) { mx.controls.Alert.show(currentState.toString()); } else { mx.controls.Alert.show('Base State'); } id=button2/ /mx:Canvas /mx:Panel mx:Panel id=resultPanel height=100% width=100% mx:Canvas height=100% width=100%/ /mx:Panel /mx:VBox /mx:HDividedBox /mx:Canvas /mx:Application *** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager to [EMAIL PROTECTED] *** -- 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 Yahoo! Groups Sponsor ~-- Most low income households are not online. Help bridge the digital divide today! http://us.click.yahoo.com/cd_AJB/QnQLAA/TtwFAA/nhFolB/TM ~- -- Flexcoders Mailing List FAQ:
RE: [flexcoders] Flex 2.0 web-service driving me up the wall
Hi Kenlie. You are almost there! You have three choices: 1) Add a crossdomain.xml file to the server. 2) Request the HTML file from a web server on the same domain as your server (in this case, localhost). 3) Create a proxy. You can find documentation on this here: http://labs.macromedia.com/wiki/index.php/Flex:Accessing_Data I understand your question about things getting harder, but I'm afraid there's nothing we can do about it at this point. The security rules are no different than in Flex 1.0 or Flex 1.5. The security rules need to be there to prevent malicious websites from creating Flex applications that do bad things, such as collecting private information. The reason you never noticed the security rules in Flex 1.0/1.5 is that the server automatically creates proxies for you. The reason we can't do that in Flex Builder 2.0 is that proxies *must* run on the server, and Flex Builder 2.0 doesn't have a server component. Later, when Flex Enterprise Services 2.0 is available, you will be able to do things the way that you were used to doing them in Flex 1.0/1.5. -Sho From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of knly browneSent: Tuesday, October 25, 2005 11:36 AMTo: flexcoders@yahoogroups.comSubject: [flexcoders] Flex 2.0 web-service driving me up the wall Good day again..So..i got a copy of the server from the server engineer and started it up on my machine.. Created a web-service object in my project and compiled my app as it loads up i give me a security violation telling my that i can't acces the URL...now the port for the server is http://localhost:8099/soap thats the address to the server on my machine.. so i know that you have to alow the security to access the URL, so in my flex application i create a method and call it on the initialize method for the Application:I tried Security.allowDomain('http://localhost:8099/soap') doesn't workI tried Security.allowDomain('*'); still doesn't work..So maybe am doing something wrong if that is the case could someone be kind enough to point me in the right directionFirst of all my application isn't being delivered by a server such as jboss or Apache, i just have it on my desktop and i launch it by double clicking on the htm file.. cause as we all know its standalone swfs.Even if i allowed the domains nothing changed.. i need some answers.. examples something cause I personally don't know why and when using web-services became so difficult..Thanks in Advance-- Kenlie BrowneSoftware Developer -- 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 Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
RE: [flexcoders] Macromedia's Sho Kuwamoto says he put sample code on flex2 site but it's not there
Great point, Robert. BTW, the Flickr sample that was on the page that Muzak pointed to is an entirely different application than the one I showed on the demo. :-) I agree that we should post more source. We're working on it! -Sho -Original Message- From: Robert Thompson [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 19, 2005 5:31 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Macromedia's Sho Kuwamoto says he put sample code on flex2 site but it's not there Thanks Sho. But just so you know, my original question on the post was in regards to the other show case demos not having a link to source code, while your demo already included a link to the code. Any chance of seeing the others? I couldn't see why not as exemplar samples like these are exactly the kinds of things one needs to examine in order to understand the full exploits of F2. p.s. The videos, especially yours, are also great learning tools. -r --- Sho Kuwamoto [EMAIL PROTECTED] wrote: Source code has been posted here: http://labs.macromedia.com/wiki/index.php/Flex_Framework:samples:photode mo It will be linked from the main Labs site the next time the website is refreshed. -Sho -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Sho Kuwamoto Sent: Wednesday, October 19, 2005 7:42 AM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Macromedia's Sho Kuwamoto says he put sample code on flex2 site but it's not there Hi all. We are all pretty busy at MAX. I will make sure the source gets on the Labs site when we get back to the office. Thanks! -Sho -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Robert Thompson Sent: Tuesday, October 18, 2005 10:36 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Macromedia's Sho Kuwamoto says he put sample code on flex2 site but it's not there Thanks Muzak. I noticed the other showcase examples don't have source of the example. Do you happen to know if they are avail. or if there are like examples somewhere on the install of the shopping cart, chat, examples etc. --- Muzak [EMAIL PROTECTED] wrote: If you're referring to the Flickr demo, the source is at the bottom of this page: http://labs.macromedia.com/wiki/index.php/Showcase Muzak - Original Message - From: Robert Thompson [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Wednesday, October 19, 2005 4:26 AM Subject: [flexcoders] Macromedia's Sho Kuwamoto says he put sample code on flex2 site but it's not there Sho Kuwamoto, from Macromedia, gives a great intro. to Flex Buildeer 2 in his demo and says at the end he put the demo code on the site, but it's not anywhere to be found as far as I can see. I think his demo is just excellent as an intro. as a quick starter for FB2. If anyone knows where that sample code is, and/or if anyone else is working with the Flickr API, I'd be very interested in seeing sample code as I'm focusing on Flex2 for my skills. Ordered Studio 8 today and am working with the Alpha now. __ Yahoo! Music Unlimited Access over 1 million songs. Try it free. http://music.yahoo.com/unlimited/ -- 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 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 __ Yahoo! Mail - PC Magazine Editors' Choice 2005 http://mail.yahoo.com Yahoo! Groups Sponsor ~-- Fair play? Video games influencing politics. Click and talk back! http://us.click.yahoo.com/T8sf5C/tzNLAA/TtwFAA/nhFolB/TM ~- -- 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/ * 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] Presentation url (how many it costs flex server)
The transitions that we did for the demo that Kevin / I did are very basic. More complex choreography will be available post-alpha. -Sho From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Peter ElstSent: Thursday, October 20, 2005 3:23 AMTo: flexcoders@yahoogroups.comSubject: Re: [flexcoders] Presentation url (how many it costs "flex server") Matt mentions in his Breezo that post-alpha we'll be able to do transitions between states -- though I think Kevin Lynch already showed that at his web 2.0 presentation. Is it not yet in there?Waldo Smeets also has his presentation on Flex available:http://macromedia-v5.emea.breezecentral.com/ra214w/- Peter -- 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 Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
RE: [flexcoders] Macromedia's Sho Kuwamoto says he put sample code on flex2 site but it's not there
I don't know. I haven't personally used the file upload functionality in FP8 yet. Meanwhile, I believe that some folks from our developer relations team are cooking up a Flickr API. I'll try to find out if/when this is happening and get back to you. -Sho -Original Message- From: Robert Thompson [mailto:[EMAIL PROTECTED] Sent: Thursday, October 20, 2005 7:52 AM To: Sho Kuwamoto; flexcoders@yahoogroups.com Subject: RE: [flexcoders] Macromedia's Sho Kuwamoto says he put sample code on flex2 site but it's not there Thanks Sho...btw, I want to begin looking into implementing the Flickr File Upload API; is there any particular caveat in FLEX 2.0 to look out for when doing RFC Upload File Posts? I mean is it as simple as a input type=file and name=file1 etc. as in HTML RFC Posting? -r --- Sho Kuwamoto [EMAIL PROTECTED] wrote: Great point, Robert. BTW, the Flickr sample that was on the page that Muzak pointed to is an entirely different application than the one I showed on the demo. :-) I agree that we should post more source. We're working on it! -Sho -Original Message- From: Robert Thompson [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 19, 2005 5:31 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Macromedia's Sho Kuwamoto says he put sample code on flex2 site but it's not there Thanks Sho. But just so you know, my original question on the post was in regards to the other show case demos not having a link to source code, while your demo already included a link to the code. Any chance of seeing the others? I couldn't see why not as exemplar samples like these are exactly the kinds of things one needs to examine in order to understand the full exploits of F2. p.s. The videos, especially yours, are also great learning tools. -r --- Sho Kuwamoto [EMAIL PROTECTED] wrote: Source code has been posted here: http://labs.macromedia.com/wiki/index.php/Flex_Framework:samples:photode mo It will be linked from the main Labs site the next time the website is refreshed. -Sho -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Sho Kuwamoto Sent: Wednesday, October 19, 2005 7:42 AM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Macromedia's Sho Kuwamoto says he put sample code on flex2 site but it's not there Hi all. We are all pretty busy at MAX. I will make sure the source gets on the Labs site when we get back to the office. Thanks! -Sho -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Robert Thompson Sent: Tuesday, October 18, 2005 10:36 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Macromedia's Sho Kuwamoto says he put sample code on flex2 site but it's not there Thanks Muzak. I noticed the other showcase examples don't have source of the example. Do you happen to know if they are avail. or if there are like examples somewhere on the install of the shopping cart, chat, examples etc. --- Muzak [EMAIL PROTECTED] wrote: If you're referring to the Flickr demo, the source is at the bottom of this page: http://labs.macromedia.com/wiki/index.php/Showcase Muzak - Original Message - From: Robert Thompson [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Wednesday, October 19, 2005 4:26 AM Subject: [flexcoders] Macromedia's Sho Kuwamoto says he put sample code on flex2 site but it's not there Sho Kuwamoto, from Macromedia, gives a great intro. to Flex Buildeer 2 in his demo and says at the end he put the demo code on the site, but it's not anywhere to be found as far as I can see. I think his demo is just excellent as an intro. as a quick starter for FB2. If anyone knows where that sample code is, and/or if anyone else is working with the Flickr API, I'd be very interested in seeing sample code as I'm focusing on Flex2 for my skills. Ordered Studio 8 today and am working with the Alpha now. __ Yahoo! Music Unlimited Access over 1 million songs. Try it free. http://music.yahoo.com/unlimited/ -- 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 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 === message truncated
RE: [flexcoders] Macromedia's Sho Kuwamoto says he put sample code on flex2 site but it's not there
Hi all. We are all pretty busy at MAX. I will make sure the source gets on the Labs site when we get back to the office. Thanks! -Sho -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Robert Thompson Sent: Tuesday, October 18, 2005 10:36 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Macromedia's Sho Kuwamoto says he put sample code on flex2 site but it's not there Thanks Muzak. I noticed the other showcase examples don't have source of the example. Do you happen to know if they are avail. or if there are like examples somewhere on the install of the shopping cart, chat, examples etc. --- Muzak [EMAIL PROTECTED] wrote: If you're referring to the Flickr demo, the source is at the bottom of this page: http://labs.macromedia.com/wiki/index.php/Showcase Muzak - Original Message - From: Robert Thompson [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Wednesday, October 19, 2005 4:26 AM Subject: [flexcoders] Macromedia's Sho Kuwamoto says he put sample code on flex2 site but it's not there Sho Kuwamoto, from Macromedia, gives a great intro. to Flex Buildeer 2 in his demo and says at the end he put the demo code on the site, but it's not anywhere to be found as far as I can see. I think his demo is just excellent as an intro. as a quick starter for FB2. If anyone knows where that sample code is, and/or if anyone else is working with the Flickr API, I'd be very interested in seeing sample code as I'm focusing on Flex2 for my skills. Ordered Studio 8 today and am working with the Alpha now. __ Yahoo! Music Unlimited Access over 1 million songs. Try it free. http://music.yahoo.com/unlimited/ -- 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 Yahoo! Groups Sponsor ~-- Most low income households are not online. Help bridge the digital divide today! http://us.click.yahoo.com/cd_AJB/QnQLAA/TtwFAA/nhFolB/TM ~- -- 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/ * 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] Macromedia's Sho Kuwamoto says he put sample code on flex2 site but it's not there
Source code has been posted here: http://labs.macromedia.com/wiki/index.php/Flex_Framework:samples:photode mo It will be linked from the main Labs site the next time the website is refreshed. -Sho -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Sho Kuwamoto Sent: Wednesday, October 19, 2005 7:42 AM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Macromedia's Sho Kuwamoto says he put sample code on flex2 site but it's not there Hi all. We are all pretty busy at MAX. I will make sure the source gets on the Labs site when we get back to the office. Thanks! -Sho -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Robert Thompson Sent: Tuesday, October 18, 2005 10:36 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Macromedia's Sho Kuwamoto says he put sample code on flex2 site but it's not there Thanks Muzak. I noticed the other showcase examples don't have source of the example. Do you happen to know if they are avail. or if there are like examples somewhere on the install of the shopping cart, chat, examples etc. --- Muzak [EMAIL PROTECTED] wrote: If you're referring to the Flickr demo, the source is at the bottom of this page: http://labs.macromedia.com/wiki/index.php/Showcase Muzak - Original Message - From: Robert Thompson [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Wednesday, October 19, 2005 4:26 AM Subject: [flexcoders] Macromedia's Sho Kuwamoto says he put sample code on flex2 site but it's not there Sho Kuwamoto, from Macromedia, gives a great intro. to Flex Buildeer 2 in his demo and says at the end he put the demo code on the site, but it's not anywhere to be found as far as I can see. I think his demo is just excellent as an intro. as a quick starter for FB2. If anyone knows where that sample code is, and/or if anyone else is working with the Flickr API, I'd be very interested in seeing sample code as I'm focusing on Flex2 for my skills. Ordered Studio 8 today and am working with the Alpha now. __ Yahoo! Music Unlimited Access over 1 million songs. Try it free. http://music.yahoo.com/unlimited/ -- 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 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 Yahoo! Groups Sponsor ~-- Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life. http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/nhFolB/TM ~- -- 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/ * 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] how many it costs flex server
To be clear... a) We are working on an updated server product that has significant new functionality, but we are not at a point where we can talk about that as freely as we can with the tool. b) As you know from our recent announcements, we are getting ready to introduce a public alpha of Flex, Flex Builder, and Flash Player. However, these are alphas, and will not be suitable for production environments, so depending on your situation, very soon you may not need one might be overstating it a bit. :-) -Sho -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Manish Jethani Sent: Friday, October 07, 2005 11:41 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] how many it costs flex server On 10/7/05, andrehfraga [EMAIL PROTECTED] wrote: how many it costs flex server? Lots :) ... but very soon you may not need one. -- 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 Yahoo! Groups Sponsor ~-- Most low income households are not online. Help bridge the digital divide today! http://us.click.yahoo.com/cd_AJB/QnQLAA/TtwFAA/nhFolB/TM ~- -- 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/ * 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] How to load a .mdb from a flex application?
In general, you cannot launch arbitrary applications from Flex for the same reason that you cannot launch arbitrary applications from HTML: security. If you need to execute server-side code, it needs to happen through a web server, such as .Net, PHP, CF, or any J2EE server. If you need to execute client-side code, you need to create an ActiveX control or find some other way to get the browser to execute the code for you. -Sho From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of nithya karthikSent: Thursday, May 12, 2005 4:54 AMTo: flexcoders@yahoogroups.comSubject: RE: [flexcoders] How to load a .mdb from a flex application? Hai, I tried using the getURL(), but it didnt work.. I need to open an MS Access application with the particular .mdb file opened on click of a button or something... please help me with the code thanks, nithyaAbdul Qabiz [EMAIL PROTECTED] wrote: Hi, I guess, you can try to open .mdb file using getURL(..), user would be prompted to save or open the file. File would be opened with default application to open .mdb, which is MS Access if someone has not changed it to Open Office :)try this: getURL("my.mdb", "_blank"); -abdul From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of nithya karthikSent: Thursday, May 12, 2005 4:44 PMTo: flexcoders@yahoogroups.comSubject: RE: [flexcoders] How to load a .mdb from a flex application? Is there any possibility to run an EXE on click of a button( i'd like to open an MS Access application) regards, nithyaSteven Webster [EMAIL PROTECTED] wrote: Do you mean how to do you connect Flex to an access database ?!? Flex doesn't connect directly to a database; you would have some middleware perform your database integration (eg j2EE code, or some C# code exposed as a web service) and them use one of the Flex Data Service APIs (eg RemoteObject or WebService tag) to invoke methods on your middleware that are responsible for interrogating your database. Steven -- Steven WebsterTechnical Director iteration::two This e-mail and any associated attachments transmitted with it may contain confidential information and must not be copied, or disclosed, or used by anyone other than the intended recipient(s). If you are not the intended recipient(s) please destroy this e-mail, and any copies of it, immediately.Please also note that while software systems have been used to try to ensure that this e-mail has been swept for viruses, iteration::two do not accept responsibility for any damage or loss caused in respect of any viruses transmitted by the e-mail. Please ensure your own checks are carried out before any attachments are opened. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of nithya karthikSent: 12 May 2005 11:24To: flexcodersSubject: [flexcoders] How to load a .mdb from a flex application? hai, How to load a .mdb file from a flex application either on click of a button or somehow? thanks, nithya Yahoo! Messenger - Communicate instantly..."Ping" your friends today! Download Messenger Now Yahoo! Messenger - Communicate instantly..."Ping" your friends today! Download Messenger Now Yahoo! Messenger - Communicate instantly..."Ping" your friends today! Download Messenger Now Yahoo! Groups Links To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/ To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
RE: [flexcoders] Re: Setting percentage value by setValue
I believe the problem is that you didn't set maintainAspectRatio="false" on the image. Try this: ?xml version="1.0" encoding="utf-8"?mx:Canvas xmlns:mx="http://www.macromedia.com/2003/mxml" width="100%" xmlns="*"mx:Script![CDATA[function setValue(str:String,obj:Object) { colorBar.width =str+"%"; }]]/mx:Scriptmx:Image id="colorBar"maintainAspectRatio="false" //mx:Canvas From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of sreejithunniSent: Thursday, May 12, 2005 2:58 AMTo: flexcoders@yahoogroups.comSubject: [flexcoders] Re: Setting percentage value by setValue Manish, I did try that ...For example, in the CellRenderer if I use a mx:Text it displays the % value but does not work for anything else such as mx:Image or mx:HBox.?xml version="1.0" encoding="utf-8"?mx:Canvas xmlns:mx="http://www.macromedia.com/2003/mxml" width="100%" xmlns="*"mx:Script![CDATA[function setValue(str:String,obj:Object) { var theRank = str+"%"; rankBar.text = theRank;// This does not :-(// colorBar.width = theRank; }]]/mx:Scriptmx:Text id="rankBar" /mx:Image id="colorBar" //mx:Canvas--- In flexcoders@yahoogroups.com, Manish Jethani [EMAIL PROTECTED] wrote: On 5/12/05, sreejithunni [EMAIL PROTECTED] wrote: The "str" is a variable! that gets passed on to the cellRenderer from the dataprovider of the datagrid. If, the value passed on is x, I want to set the width of the image to x%. So why not do the following? colorBar.width = str + "%"; Yahoo! Groups Links To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/ To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
RE: [flexcoders] Newby: How to use Manage Sites
I asked some of the folks from the Flex Builder team, and here's what I found out: * You should define a site for each "server", such as http://localhost:8700/flex/, or http://localhost:8700/samples/ * If you have multiple projects on each server, (i.e., multiple flex apps within /flex/ or /samples/), do NOT create new sites for each one. The reason is that Flex Builder needs to have access to WEB-INF, which must be at the top level of your site. Also, if you are flipping back and forth between a local server and a remote testing server, set up a testing server in your site definition. Hope this helps! -Sho From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 27, 2005 5:28 AMTo: flexcoders@yahoogroups.comSubject: [flexcoders] Newby: How to use "Manage Sites" I'm new to Flex and keep having trouble with theManage Sites thing in flexbuilder, so I was hopingsomeone could explain how MM intended for it to beused. I am doing flex tutorials and for each newtutorial, I am forced to create a new site. Then fbdoesn't seem to remember it the next time I open thetutorial. I am running flex and java on my local pc aswell as saving/running my flex files on a remote javaserver.I was expecting that I could create a site on eachmachine, then choose which one to use for each newmxml file I create. Or, switch back and forth betweensites wile testing the same files. How is it reallysupposed to be used?Thanks,Libby __ Do you Yahoo!? Yahoo! Mail - 250MB free storage. Do more. Manage less. http://info.mail.yahoo.com/mail_250 Yahoo! Groups Links To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/ To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.