Re: [flexcoders] Re: I need to be able to disconnect a client from FDS on the server-side using t
why not stick with fms.Our apps get enourmous amounts of usage (MySpace is one of our clients) and we were hoping FDS would scale better. Using Java instead of single-threaded _javascript_ for our server-side logic should improve things significantly. If we can support the same features and it scales better, it might end up being cheaper for us than FMS. Plus, since FMS and FDS have some redundant features and FMS hasn't exactly had an enthusiastic commitment from Macromedia/Adobe over the years, we're somewhat hesitant to build new, even-higher-usage apps on a platform that's being put out to pasture. I see things like this in the FDS API docs: http://livedocs.macromedia.com/flex/2/fds2javadoc/flex/management/runtime/messaging/endpoints/rtmp/RTMPServerControlMBean.html#removeConnection(java.lang.String)and it makes me think there's a lot under the hood that isn't documented well and that might suit our needs. But I can't get an answer even from our direct contacts at Adobe. I guess I don't know the magic words. -TomOn 7/23/06, hank williams [EMAIL PROTECTED] wrote: hmmm...The fact that all anyone can really think of are theories suggests to me that FDS may not really be an optimal platform where centralized intelligence is required. It sounds like FMS really still has a strong position for these kinds of apps. Of course FDS does have some nice benefits as it relates to database integration, but for messaging, why not stick with fms. Cheaper too! RegardsHankOn 7/23/06, Dave Wolf [EMAIL PROTECTED] wrote: Ah, a slightly different use-case for sure.I haven't tried it, but I would think I could do this in a filter.When the user should get banned, place a message onto say your JMSbus.The filter is subscribed to ban messages where the userid = the current userid.Now inside the filter I simply get a reference to thesession and call session.invalidate().A bit of theory but feasable, and would work not only for FDS calls,but any call from that client credential. --Dave WolfCynergy Systems, Inc.Adobe Flex Alliance Partner http://www.cynergysystems.comhttp://www.cynergysystems.com/blogs Email:[EMAIL PROTECTED]Office: 866-CYNERGY --- In flexcoders@yahoogroups.com, Tom Bray [EMAIL PROTECTED] wrote: The most common reason we need to disconnect a client is because theuser has been banned from the chat by an administrator for behaving inappropriately.We're an ASP that hosts chat and im apps and we let our clients configure timeouts on a per-user basis.We have to have away to manage clients on the server like we do in FMS. -Tom On 7/22/06, Dave Wolf [EMAIL PROTECTED] wrote: clueless insight Placing a J2EE security constraint on the assets in FDS and then setting a timout on the J2EE session isnt sufficient? /clueless insight -- Dave Wolf Cynergy Systems, Inc. Adobe Flex Alliance Partner http://www.cynergysystems.com http://www.cynergysystems.com/blogs Email: [EMAIL PROTECTED] dave.wolf%40cynergysystems.com Office: 866-CYNERGY --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, JesterXL jesterxl@ wrote: No good answers here Tom, but this page: Current page: http://livedocs.macromedia.com/flex/2/docs/1182.html Says to extend the ServiceAdapter. It apparently calls methods on a MessageService instance. If you look at MessageService, you'll see some familiar looking methods, but nothing to disconnect a client. Go here: http://livedocs.macromedia.com/flex/2/fds2javadoc/ And then click on the last entry in the top left frame, and then in the bottom left frame, click on MessageService, and look at themethods. I, like you, have yet to see a comparable client management API like FMS, but I have a feeling I'm either looking for the wrong thing or looking in the wrong place. Either way, post if you find anything. - Original Message - From: Tom Bray To: flexcoders@yahoogroups.com flexcoders%40yahoogroups.com Sent: Saturday, July 22, 2006 5:32 PM Subject: [flexcoders] I need to be able to disconnect a client from FDS on the server-side using the Java API. We do this all the time with our FMS2 apps if a client is inactive for a certain period of time or an administrator wants to ban them. We can't trust the SWF because we've had people hack them. Thanks, Tom Yahoo! Groups Sponsor ~--Yahoo! Groups gets a make over. See the new email design. http://us.click.yahoo.com/XISQkA/lOaOAA/yQLSAA/nhFolB/TM~---Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! 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
Re: [flexcoders] FDS: Can I disconnect a specific client from the server?
That would work if we could trust that our SWF hasn't been hacked. We have people trying to hack our clients all the time and they're often the ones we want to disconnect in the first place. If we relied on the client to disconnect itself, these guys would prevent that message from getting through. -TomOn 7/23/06, James Ward [EMAIL PROTECTED] wrote: I can't find anything in the api: http://livedocs.macromedia.com/flex/2/fds2javadoc/index.html However, this could be easily achived my sending a message to the flex client (via messaging) which told the flex app to disconnect. -James On Sat, 2006-07-22 at 14:28 -0700, Tom Bray wrote: No, I'm talking about disconnecting on the server-side with Java. In other words, getting a reference to the server-side client object using the FDS API and disconnecting it. -Tom On 7/22/06, James Ward [EMAIL PROTECTED] wrote: Yup. Look into the disconnect() method on Consumer and DataService objects. http://livedocs.macromedia.com/flex/2/langref/mx/messaging/Consumer.html#disconnect() http://livedocs.macromedia.com/flex/2/langref/mx/data/DataService.html#disconnect() -James On Fri, 2006-07-21 at 14:07 -0700, Tom Bray wrote: I'm coming to FDS from FMS2 where I have the ability to disconnect any client for any reason -- say after a period of inactivity or because an administrator of the chat has banned a user. Can I do this in FDS? Thanks, 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. __,_._,___
[flexcoders] TypeError when using removedEffect on custom component within Repeater
Flex 2 Player r15 (debug version installed by builder) A repeater is bound to an ArrayCollection. The ArrayCollection is dynamically updated. Objects are added and removed at runtime. This works satisfactory. Now I want the removal of an object to trigger an effect which is much nicer than just removing an item from the screen with the blink of an eye. So I use the removedEffect in my custom component. The code looks something like this. My custom component (just the bits that are relevant): mx:Canvas xmlns:mx=http://www.adobe.com/2006/mxml; creationComplete=initApp() currentState={assistant.availability} horizontalScrollPolicy=off verticalScrollPolicy=off creationCompleteEffect={appear} removedEffect={disappear} mx:Parallel id=appear mx:Fade alphaFrom=0 duration=1000/ /mx:Parallel mx:Parallel id=disappear mx:Fade alphaTo=0 duration=1000 / /mx:Parallel /mx:Canvas ow the main application with the repeater (again just the relevant bits): mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; pageTitle=SNS Bank layout=absolute horizontalAlign=center verticalAlign=middle width=800 height=600 creationComplete=initApp() xmlns:local=* mx:Script ![CDATA[ [Bindable] private var assistants:ArrayCollection = new ArrayCollection(); /mx:Script mx:Tile height=245 top=29 borderStyle=none dropShadowEnabled=false width=350 horizontalCenter=0 backgroundColor=#FAA54C backgroundAlpha=0.05 mx:Repeater id=rp1 dataProvider={assistants} recycleChildren=true removed={disappear} local:AssistantRepresentationPanel id=assistantPanel assistant={rp1.currentItem}/ /mx:Repeater /mx:Tile /mx:Canvas When the removedEffect is defined on the custom component repeated within the Repeater and an element is removed from the ArrayCollection the Repeater is bound to, the error with stack trace occurs: TypeError: Error #1009: Cannot access a property or method of a null object reference. at mx.effects::EffectManager$/http://www.adobe.com/2006/flex/mx/internal::eventHandler()[C:\dev\GMC\sdk\frameworks\mx\effects\EffectManager.as:547] at flash.display::DisplayObjectContainer/removeChild() at mx.core::UIComponent/http://www.adobe.com/2006/flex/mx/internal::$removeChild()[C:\dev\GMC\sdk\frameworks\mx\core\UIComponent.as:4616] at mx.core::Container/removeChild()[C:\dev\GMC\sdk\frameworks\mx\core\Container.as:2324] at mx.core::Repeater/mx.core:Repeater::recycle()[C:\dev\GMC\sdk\frameworks\mx\core\Repeater.as:1049] at mx.core::Repeater/mx.core:Repeater::execute()[C:\dev\GMC\sdk\frameworks\mx\core\Repeater.as:1097] at mx.core::Repeater/mx.core:Repeater::collectionChangedHandler()[C:\dev\GMC\sdk\frameworks\mx\core\Repeater.as:1118] at flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEventFunction() at flash.events::EventDispatcher/dispatchEvent() at mx.collections::ListCollectionView/dispatchEvent()[C:\dev\GMC\sdk\frameworks\mx\collections\ListCollectionView.as:833] at mx.collections::ListCollectionView/mx.collections:ListCollectionView::removeItemsFromView()[C:\dev\GMC\sdk\frameworks\mx\collections\ListCollectionView.as:1367] at mx.collections::ListCollectionView/mx.collections:ListCollectionView::listChangeHandler()[C:\dev\GMC\sdk\frameworks\mx\collections\ListCollectionView.as:1022] at flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEventFunction() at flash.events::EventDispatcher/dispatchEvent() at mx.collections::ArrayList/mx.collections:ArrayList::internalDispatchEvent()[C:\dev\GMC\sdk\frameworks\mx\collections\ArrayList.as:518] at mx.collections::ArrayList/removeItemAt()[C:\dev\GMC\sdk\frameworks\mx\collections\ArrayList.as:371] at mx.collections::ListCollectionView/removeItemAt()[C:\dev\GMC\sdk\frameworks\mx\collections\ListCollectionView.as:596] at ProspectCenter/ProspectCenter::removeAssistant()[C:\fds2\jrun4\servers\dev\sns\ProspectCenter.mxml:187] at ProspectCenter/assistantStatusChangeHandler()[C:\fds2\jrun4\servers\dev\sns\ProspectCenter.mxml:144] at ProspectCenter/__assistantStatusConsumer_message()[C:\fds2\jrun4\servers\dev\sns\ProspectCenter.mxml:35] at flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEventFunction() at flash.events::EventDispatcher/dispatchEvent() at mx.messaging::Consumer/mx.messaging:Consumer::messageHandler()[C:\dev\enterprise_gmc\frameworks\mx\messaging\Consumer.as:943] at flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEventFunction() at
[flexcoders] Re: complex object in cairngorm
Hi Robert, On the server side you can design your data model as a relational database. In your case, the flat tables would be: Group: groupId, groupName Product: productId, groupId, productName, imageURL, price Model: modelId, productId, color This is a similar structure to the VO, but isn't limited to one VO definition.Youcan construct and deconstruct the VO's sent and receivedfrom the application with either SQL queries, stored procedures, CFC's, or whatever method your server side technolgy uses. This is just one approach; java-based back-ends can be a little more integrated. But, by keeping the server-side data in relational tables, you add a little more flexibility for future needs. -TH--- In flexcoders@yahoogroups.com, Robert WÄ s [EMAIL PROTECTED] wrote: In the examples that i know i not found solution how persist complex objects in server side (for me sql) storage. For example following structure: Group -name Product -name -imageURL -price Model -color Group has 1...n Products, Product has 1...n Models Temporary i have VO for every objects, but VO are bloated if i use it in different context, for example sometimes my Product should has image I manage that structure view in swf but if i want persist them that should i do - just send whole tree to server via VO and create sql queries? I use cairngorm, amfphp. -- Robert Was __._,_.___ -- 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. __,_._,___
[flexcoders] Fwd: ComboBox dropdown size doesn't change with new dataProvider in state
Any ideas on this issue? I would like to find workaround or point me at my mistake... -- Forwarded message -- From: Sergey Kovalyov [EMAIL PROTECTED] Date: Jul 21, 2006 11:46 PM Subject: ComboBox dropdown size doesn't change with new dataProvider in state To: flexcoders@yahoogroups.com Hi All! I have ComboBox in state and when I change its dataProvider, where labels are longer, its dropdown size doesn't change. I attached two application files and you can also find their source below. Click Edit button first, then Cancel and Edit again. Dropdown is so thin. Test.mxml: ?xml version=1.0 encoding=utf-8? TestBase xmlns:mx=http://www.adobe.com/2006/mxml; xmlns=* currentState=viewState states mx:State name={VIEW_STATE} mx:AddChild relativeTo={myHBox} position=lastChild mx:target mx:Button label=Edit click=onEditButtonClick() / /mx:target /mx:AddChild /mx:State mx:State name={EDIT_STATE} enterState=onEditStateEnter() mx:AddChild relativeTo={myHBox} position=lastChild mx:target mx:ComboBox id=myComboBox dataProvider={[1, 2, 3]} / /mx:target /mx:AddChild mx:AddChild relativeTo={myHBox} position=lastChild mx:target mx:Button label=Cancel click=onCancelButtonClick() / /mx:target /mx:AddChild /mx:State /states mx:HBox id=myHBox / /TestBase TestBase.as: package { import mx.controls.ComboBox; import mx.core.Application; import mx.events.FlexEvent; public class TestBase extends Application { public var myComboBox : ComboBox; public static const VIEW_STATE : String = viewState; public static const EDIT_STATE : String = editState; public function TestBase() { } protected function onEditButtonClick() : void { currentState = EDIT_STATE; } protected function onCancelButtonClick() : void { currentState = VIEW_STATE; myComboBox.dataProvider = [Italy, France, Germany]; } protected function onEditStateEnter() : void { if (myComboBox.initialized) { onEditState(); } else { myComboBox.addEventListener(FlexEvent.CREATION_COMPLETE, onMyComboBoxCreationComplete); } } private function onEditState() : void { myComboBox.open(); } private function onMyComboBoxCreationComplete(event : FlexEvent) : void { onEditState(); } } } Thank you in advance! Regards, Sergey. Yahoo! Groups Sponsor ~-- Something is new at Yahoo! Groups. Check out the enhanced email design. http://us.click.yahoo.com/SISQkA/gOaOAA/yQLSAA/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/ Test.mxml Description: Binary data TestBase.as Description: Binary data
Re: [flexcoders] Including a CFReport swf in a Flex App
Use the SWFLoader Good luck, Michael Hi, I want to include a Flash generated Report from CF, into a Window of a Flex 2 App, Please Help me, Thanks in advance. Yahoo! Groups Sponsor ~-- Check out the new improvements in Yahoo! Groups email. http://us.click.yahoo.com/6pRQfA/fOaOAA/yQLSAA/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] TypeError when using removedEffect on custom component within Repeater
The solution to this issue is to move the effect definitions from the custom component to the same container which contains the Repeater statement and add the effect triggers to the repeated component within the Repeater statement. - Original Message From: m88e24 [EMAIL PROTECTED]To: flexcoders@yahoogroups.comSent: Monday, 24 July, 2006 8:30:20 AMSubject: [flexcoders] TypeError when using removedEffect on custom component within Repeater Flex 2 Player r15 (debug version installed by builder) A repeater is bound to an ArrayCollection. The ArrayCollection is dynamically updated. Objects are added and removed at runtime. This works satisfactory. Now I want the removal of an object to trigger an effect which is much nicer than just removing an item from the screen with the blink of an eye. So I use the removedEffect in my custom component. The code looks something like this. My custom component (just the bits that are relevant): mx:Canvas xmlns:mx="http://www.adobe. com/2006/ mxml" creationComplete= "initApp( )" currentState= "{assistant. availability} " horizontalScrollPol icy="off" verticalScrollPolic y="off" creationCompleteEff ect="{appear} " removedEffect= "{disappear} " mx:Parallel id="appear" mx:Fade alphaFrom="0" duration="1000" / /mx:Parallel mx:Parallel id="disappear" mx:Fade alphaTo="0" duration="1000" / /mx:Parallel /mx:Canvas ow the main application with the repeater (again just the relevant bits): mx:Application xmlns:mx="http://www.adobe. com/2006/ mxml" pageTitle="SNS Bank" layout="absolute" horizontalAlign= "center" verticalAlign= "middle" width="800" height="600" creationComplete= "initApp( )" xmlns:local= "*" mx:Script ![CDATA[ [Bindable] private var assistants:ArrayCol lection = new ArrayCollection( ); /mx:Script mx:Tile height="245" top="29" borderStyle= "none" dropShadowEnabled= "false" width="350" horizontalCenter= "0" backgroundColor= "#FAA54C" backgroundAlpha= "0.05" mx:Repeater id="rp1" dataProvider= "{assistants} " recycleChildren= "true" removed="{disappear }" local:AssistantRep resentationPanel id="assistantPanel" assistant="{ rp1.currentItem} "/ /mx:Repeater /mx:Tile /mx:Canvas When the removedEffect is defined on the custom component repeated within the Repeater and an element is removed from the ArrayCollection the Repeater is bound to, the error with stack trace occurs: TypeError: Error #1009: Cannot access a property or method of a null object reference. at mx.effects:: EffectManager$ /http://www.adobe. com/2006/ flex/mx/internal ::eventHandler()[C:\dev\GMC\ sdk\frameworks\ mx\effects\ EffectManager. as:547] at flash.display: :DisplayObjectCo ntainer/removeCh ild() at mx.core::UIComponen t/http://www.adobe. com/2006/ flex/mx/internal ::$removeChild()[C:\dev\GMC\ sdk\frameworks\ mx\core\UICompon ent.as:4616] at mx.core::Container/ removeChild( )[C:\dev\ GMC\sdk\framewor ks\mx\core\ Container. as:2324] at mx.core::Repeater/ mx.core:Repeater ::recycle( )[C:\dev\ GMC\sdk\framewor ks\mx\core\ Repeater. as:1049] at mx.core::Repeater/ mx.core:Repeater ::execute( )[C:\dev\ GMC\sdk\framewor ks\mx\core\ Repeater. as:1097] at mx.core::Repeater/ mx.core:Repeater ::collectionChan gedHandler( )[C:\dev\ GMC\sdk\framewor ks\mx\core\ Repeater. as:1118] at flash.events: :EventDispatcher /flash.events: EventDispatcher: :dispatchEventFu nction() at flash.events: :EventDispatcher /dispatchEvent( ) at mx.collections: :ListCollectionV iew/dispatchEven t()[C:\dev\ GMC\sdk\framewor ks\mx\collection s\ListCollection View.as:833] at mx.collections: :ListCollectionV iew/mx.collectio ns:ListCollectio nView::removeIte msFromView( )[C:\dev\ GMC\sdk\framewor ks\mx\collection s\ListCollection View.as:1367] at mx.collections: :ListCollectionV iew/mx.collectio ns:ListCollectio nView::listChang eHandler( )[C:\dev\ GMC\sdk\framewor ks\mx\collection s\ListCollection View.as:1022] at flash.events: :EventDispatcher /flash.events: EventDispatcher: :dispatchEventFu nction() at flash.events: :EventDispatcher /dispatchEvent( ) at mx.collections: :ArrayList/ mx.collections: ArrayList: :internalDispatc hEvent()[ C:\dev\GMC\ sdk\frameworks\ mx\collections\ ArrayList. as:518] at mx.collections: :ArrayList/ removeItemAt( )[C:\dev\ GMC\sdk\framewor ks\mx\collection s\ArrayList. as:371] at mx.collections: :ListCollectionV iew/removeItemAt ()[C:\dev\ GMC\sdk\framewor ks\mx\collection s\ListCollection View.as:596] at ProspectCenter/ ProspectCenter: :removeAssistant ()[C:\fds2\ jrun4\servers\ dev\sns\Prospect Center.mxml: 187] at ProspectCenter/ assistantStatusC hangeHandler( )[C:\fds2\ jrun4\servers\ dev\sns\Prospect Center.mxml: 144] at ProspectCenter/ __assistantStatu sConsumer_ message() [C:\fds2\ jrun4\servers\ dev\sns\Prospect Center.mxml: 35] at flash.events: :EventDispatcher /flash.events: EventDispatcher: :dispatchEventFu nction() at flash.events: :EventDispatcher /dispatchEvent( ) at mx.messaging:
Re: [flexcoders] Flex AMFPHP and VOs
Private email is on the way. Andi Dima Ulich wrote: could you share the code with me too, I couldn't map vos either thank in advance Dmitriy - Original Message From: Andrea Varga [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Sunday, July 23, 2006 9:00:04 PM Subject: Re: [flexcoders] Flex AMFPHP and VOs I just sent a private mail to you with the code. Oriol Gual wrote: I'd love to get some code :D 2006/7/22, Andrea Varga [EMAIL PROTECTED] t.com mailto:andi%40spindevelopment.com mailto:[EMAIL PROTECTED] t.com mailto:andi%40spindevelopment.com: Hi, I've managed to make it work once, in both directions, also with Renaun's RemoteObjectAMF0. As I remember, I had to change something in the AMFPHP code to make it work from PHP to Flex, but maybe I did something wrong, and it should have been worked without those changes. I can send you some code if you still need them. Andi Oriol Gual wrote: Well, it wasn't PHP 4, it was my fault. But, I still receive a plain Object, not an object of my class. I'm using Renaun's solution to connect to amfphp, what are you using? Thanks. -- 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] Updates for Flex 2.0?
On Monday 24 July 2006 01:17, Matt Chotin wrote: Linux player support before we can move in that direction. I'm curious how many of you guys who use Linux would be willing to pay for such a version? Pay for a linux Flash player ? Err, no, not unless we're talking very small sums of money. If you meant Linux FlexBuilder support, I would expect licenses to be transferable betwen O/Ss i.e. we already have X Windows FlexBuilder's, that should allow us upto X Linux ones too, as long as we don't use the same licence twice at once.. -- Tom Chiverton 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/ * 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] Python / Flex solution
Umm... if the data is read-write to the server (which I'm assuming it is since you asked about fds)I'd use value objects and a webservce.The closest thing I've seen to an amf solution is Flashticle and I don't think they've upgraded to AMF3 yet. Technically the AMF3 spec isn't out till sometime this fall so you might look for a Python AMF3 implementation sometime then? Unless someone reverse engineers the protocol... *laughs* I just did a search for who I though might reveng it... Kevin Langdon... and yup... he's done it so who knows... an am3 solution for python might be around the corner. But for now... I'm pretty sure you should go with passing objects via a web service. Hope that helps.On 7/22/06, matt wicks [EMAIL PROTECTED] wrote: Hi all, What would any python expert out there advise as the best solution for integrating Flex with Python? Or even better FDS with Python? I', pretty savvy about flsh / flex/cold fusion / asp but know not a nthing about python so advice v. gratefully received Matt __._,_.___ -- 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. __,_._,___
[flexcoders] how do Idempotent Services fit into Cairngorm?
Hi, Maybe this is not a proper namig. By Idempotent Services I mean services that can detect when they are called more than once with the same parameter and prevent calling the server when there is no need. How would be best to implement such a service in Cairngorm? Should Commands or Business Delegates take care of this? How? Andi -- 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] setting value on cfc invoke another method on cfc
On Thursday 20 July 2006 23:01, Doug Arthur wrote: How would you invoke one method on a cfc from flex, then call another method on the same cfc and the cfc maintain the values from the first invoke? Write a service-layer wrapper that does both 'internal' calls for you. -- Tom Chiverton 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. Yahoo! Groups Sponsor ~-- See what's inside the new Yahoo! Groups email. http://us.click.yahoo.com/2pRQfA/bOaOAA/yQLSAA/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/
[flexcoders] Re: Flex work in the UK
have u checked the jobserve web site. they have a few listings in there --- In flexcoders@yahoogroups.com, jamiebadman [EMAIL PROTECTED] wrote: Hi, I've been working with Flex application development for a good while now and am looking for a new role. Can anyone recommend either companies that might be seeking Flex app designers/developers or recruitment agencies that are well placed for such roles, in the UK ? Apologies if this post is inappropriate but it seems to be the largest group of 'FlexHeads' on the internet and I've been hanging around here for a while! Thanks in advance (or apologies if required!), Jamie. Yahoo! Groups Sponsor ~-- Great things are happening at Yahoo! Groups. See the new email design. http://us.click.yahoo.com/TISQkA/hOaOAA/yQLSAA/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/
[flexcoders] delete a xml node
Title: Mensaje Hi, I have a XML which really is some xhtml. I want to delete come nodes but but I can't find the right way: var temp:XML; delete temp..A.(@HREF == id); This reports error: delete operand cand not be used with xmllist operand (more or less) And this way: var allTags: XMLList = temp..A.(@HREF == id);var item:XML;for each(item in allTags) {delete item; } Reports: Attempt to delete the fixed property item. Only dynamically defined properties can be deleted.TextEditorNuevaImagen.mxmlgrupochs.comline 9624 de julio de 2006 12:26:48728 I can delete all subnodes and all attributes, but A node stays empty. I want to remove the whole A node. Thanks. Jesús IglesiasAlvento Soluciones MóvilesPoeta Querol, 5 - 246002 Valencia (España)[tel]: (+34) 96.353.02.15[fax]: (+34) 96.353.08.09[e-mail]: [EMAIL PROTECTED][web]: www.alvento.com Este correo electrónico y, en su caso, cualquier fichero anexo al mismo, contiene información de carácter confidencial exclusivamente dirigida a su destinatario o destinatarios y propiedad de Alvento Soluciones S.A. Queda prohibida su divulgación, copia o distribución a terceros sin la previa autorización escrita de Alvento Soluciones S.A., en virtud de la legislación vigente. En el caso de haber recibido este correo electrónico por error, se ruega notificar inmediatamente esta circunstancia mediante reenvío a la dirección electrónica del remitente y la destrucción del mismo. The information in this e-mail and in any attachments is classified as Alvento Soluciones S.A. Confidential and Proprietary Information and solely for the attention and use of the named addressee(s). You are hereby notified that any dissemination, distribution or copy of this communication is prohibited without the prior written consent of Alvento Soluciones S.A. and it is strictly prohibited by law. If you have received this communication by error, please, notify the sender by replying e-mail. __._,_.___ -- 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. __,_._,___
[flexcoders] Re: FDS: Can I disconnect a specific client from the server?
More reason to simply destroy their J2EE session which would let the container enforce the ban. -- Dave Wolf Cynergy Systems, Inc. Adobe Flex Alliance Partner http://www.cynergysystems.com http://www.cynergysystems.com/blogs Email: [EMAIL PROTECTED] Office: 866-CYNERGY --- In flexcoders@yahoogroups.com, Tom Bray [EMAIL PROTECTED] wrote: That would work if we could trust that our SWF hasn't been hacked. We have people trying to hack our clients all the time and they're often the ones we want to disconnect in the first place. If we relied on the client to disconnect itself, these guys would prevent that message from getting through. -Tom On 7/23/06, James Ward [EMAIL PROTECTED] wrote: I can't find anything in the api: http://livedocs.macromedia.com/flex/2/fds2javadoc/index.html However, this could be easily achived my sending a message to the flex client (via messaging) which told the flex app to disconnect. -James On Sat, 2006-07-22 at 14:28 -0700, Tom Bray wrote: No, I'm talking about disconnecting on the server-side with Java. In other words, getting a reference to the server-side client object using the FDS API and disconnecting it. -Tom On 7/22/06, James Ward [EMAIL PROTECTED] jamesw%40cayambe.com wrote: Yup. Look into the disconnect() method on Consumer and DataService objects. http://livedocs.macromedia.com/flex/2/langref/mx/messaging/Consumer.html#disconnect () http://livedocs.macromedia.com/flex/2/langref/mx/data/DataService.html#disconnect () -James On Fri, 2006-07-21 at 14:07 -0700, Tom Bray wrote: I'm coming to FDS from FMS2 where I have the ability to disconnect any client for any reason -- say after a period of inactivity or because an administrator of the chat has banned a user. Can I do this in FDS? Thanks, Tom -- 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/
[flexcoders] Re: QuickDateFormatter - how can I make it MXML enabled?
OK, I've made a modified version more suitable for MXML and would love to get feedback from everyone. Ideally I would be able to bind a field or label directly to the formatted output and would not require a click to 'reset' the field that is bound to the formatted value. How would I accomplish that? (I tried but was unsuccessful.) Here is the modified class: public class QuickDateFormatter extends DateFormatter { public var str_dateString:String; public var str_dateFormat:String; [Bindable] public var str_formattedDate:String; public function getFormattedDate():void { var f:DateFormatter = new DateFormatter(); f.formatString = str_dateFormat; str_formattedDate = f.format(DateFormatter.parseDateString(str_dateString)); } } and a sample usage: ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; layout=absolute xmlns:local=* local:QuickDateFormatter id=qdf str_dateString={d.text} str_dateFormat={f.text} / mx:Label text={qdf.str_formattedDate} x=72 y=168/ mx:TextInput x=72 y=117 width=133 id=d/ mx:TextInput x=222 y=117 width=91 id=f/ mx:Label x=72 y=91 text=Date/ mx:Label x=222 y=91 text=Format/ mx:Button x=341 y=117 label=Go click=qdf.getFormattedDate();/ /mx:Application Thanks, Ben http://www.returnundefined.com --- In flexcoders@yahoogroups.com, gotgoose09 [EMAIL PROTECTED] wrote: All you have to do is add public properties like this: [Bindable] public var str_dateFormat:String; [Bindable] public var str_dateString:String; --- In flexcoders@yahoogroups.com, ben.clinkinbeard ben.clinkinbeard@ wrote: Yea, what I am looking for is some help on what changes would need to be made to the class to allow it to be used in a format similar to this: utils:QuickDateFormatter id=qdf str_dateString={model.someDate} str_dateFormat=MM/DD/YY / mx:Label text={qdf} / Thanks, Ben Yahoo! Groups Sponsor ~-- See what's inside the new Yahoo! Groups email. http://us.click.yahoo.com/2pRQfA/bOaOAA/yQLSAA/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] where do I get a good countries list
On Friday 21 July 2006 16:55, hank williams wrote: this, but I dont know. I am not a geopolitical expert and I dont want to study this. I'd just like one good web ready answer. What do others do? Use Yahoo's list :-) -- Tom Chiverton 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/ * 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] Flex 2 FDS pricing for clustered solution
Hello flexcodersI found no info on the Adobe site about pricing, from the threads I understood that FDS is priced 20K$ per CPU for unlimited concurrent amount of users. We are building the solution that will require support thousands of simultaneous users on the site and will require up to 100 application servers as we grow. I know that Adove guys are reading this list so I have a questions first of all to them and to those who have some relevant info about this- Is it true about pricing 20K$/per CPU for unlimited users?- Do you have some discounts policy for such cases as described above? - How much will it cost us to license FDS for 100 dual CPU servers?- Can we license only AMF gateway without any client pushes etc with discount?The problem is that we simply need amf gateway on that 100 servers and paying 4M$ just for gateway is too kewl as for me. I'd better develop one on my own :) We are investigating alternatives such as OpenAMF but we want to know the amount of money we need to spent on original Adobe solution.Thanks in advance for any comments.-- WBR, Mykola __._,_.___ -- 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. __,_._,___
[flexcoders] Re: ComboBox dropdown size doesn't change with new dataProvider in state
Very similar weird things happen when using DateField that is also inherited from ComboBase... On 7/24/06, Sergey Kovalyov [EMAIL PROTECTED] wrote: Any ideas on this issue? I would like to find workaround or point me at my mistake... -- Forwarded message -- From: Sergey Kovalyov [EMAIL PROTECTED] Date: Jul 21, 2006 11:46 PM Subject: ComboBox dropdown size doesn't change with new dataProvider in state To: flexcoders@yahoogroups.com Hi All! I have ComboBox in state and when I change its dataProvider, where labels are longer, its dropdown size doesn't change. I attached two application files and you can also find their source below. Click Edit button first, then Cancel and Edit again. Dropdown is so thin. Test.mxml: ?xml version=1.0 encoding=utf-8? TestBase xmlns:mx=http://www.adobe.com/2006/mxml; xmlns=* currentState=viewState states mx:State name={VIEW_STATE} mx:AddChild relativeTo={myHBox} position=lastChild mx:target mx:Button label=Edit click=onEditButtonClick() / /mx:target /mx:AddChild /mx:State mx:State name={EDIT_STATE} enterState=onEditStateEnter() mx:AddChild relativeTo={myHBox} position=lastChild mx:target mx:ComboBox id=myComboBox dataProvider={[1, 2, 3]} / /mx:target /mx:AddChild mx:AddChild relativeTo={myHBox} position=lastChild mx:target mx:Button label=Cancel click=onCancelButtonClick() / /mx:target /mx:AddChild /mx:State /states mx:HBox id=myHBox / /TestBase TestBase.as: package { import mx.controls.ComboBox; import mx.core.Application; import mx.events.FlexEvent; public class TestBase extends Application { public var myComboBox : ComboBox; public static const VIEW_STATE : String = viewState; public static const EDIT_STATE : String = editState; public function TestBase() { } protected function onEditButtonClick() : void { currentState = EDIT_STATE; } protected function onCancelButtonClick() : void { currentState = VIEW_STATE; myComboBox.dataProvider = [Italy, France, Germany]; } protected function onEditStateEnter() : void { if (myComboBox.initialized) { onEditState(); } else { myComboBox.addEventListener(FlexEvent.CREATION_COMPLETE, onMyComboBoxCreationComplete); } } private function onEditState() : void { myComboBox.open(); } private function onMyComboBoxCreationComplete(event : FlexEvent) : void { onEditState(); } } } Thank you in advance! Regards, Sergey. -- 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] Python / Flex solution
Matt, There are many ways to do this: FDS can run JYTHON code. JYTHON is the Python interpreter running in 100% Java. It is a handy way to author FDS application backends for RPC, Messaging(JMS), and Data Management. Create a CPython service using Twisted and expose it via RPC or JMS. http://www.twistedmatrix.org There is a Module for Python for communicating with JMS directly in either pub/sub. http://mail.python.org/pipermail/python-list/2004-November/249578.html I think your best bet is Jython. They have ported every CPython library to Jython and you can use any existing Java library as well. Also you can develop using the interpreter and then compile to static java for performance. Jython is an implementation of the high-level, dynamic, object-oriented language Python written in 100% Pure Java, and seamlessly integrated with the Java platform. It thus allows you to run Python on any Java platform. http://www.jython.org Cheers, Ted Patrick Flex Evangelist Adobe Systems Incorporated From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of matt wicks Sent: Saturday, July 22, 2006 6:31 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Python / Flex solution Hi all, What would any python expert out there advise as the best solution for integrating Flex with Python? Or even better FDS with Python? I, pretty savvy about flsh / flex/cold fusion / asp but know not a nthing about python so advice v. gratefully received Matt __._,_.___ -- 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. __,_._,___
[flexcoders] Re: Acegi/Spring/Flex authentication
Any tips here? Is it possible to use acegi with Flex? Thanks. --- In flexcoders@yahoogroups.com, flxcoder [EMAIL PROTECTED] wrote: Hi all. Maybe not a flex question but relevant. I am trying to authenticate flex into my middle tier by using acegi. I am moderately familiar with acegi and the saying goes that the filter checks the entry point as bean id=authenticationProcessingFilterEntryPoint class=org.acegisecurity.ui.webapp.AuthenticationProcessingFilterEntryPoint property name=loginFormUrlvalue/acegilogin.jsp/value/ property property name=forceHttpsvaluefalse/value/property /bean Question is then, has anyone integrated acegi with flex because in the above case maybe the loginFormUrl can be /acegiLogin.jsp where the jsp holds the main swf for flex. Looking for tips on where to start and where to head off with the integration. Thanks. Yahoo! Groups Sponsor ~-- Something is new at Yahoo! Groups. Check out the enhanced email design. http://us.click.yahoo.com/SISQkA/gOaOAA/yQLSAA/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/
[flexcoders] Re: IE Only: Error #2032 (Flex 2.0)
I'm not sure how to interpret what IE does with these headers. The Spring form controller was setting the expiry date to the Unix epoch. Could it be that IE was correct in rejecting this? --- In flexcoders@yahoogroups.com, Dave Wolf [EMAIL PROTECTED] wrote: Sounds like the same issues we used to see with SSL and HTTP-AUTH huh? Interesting. I'm curious if these same issues are showing up in IE7? I just havent been brave enough to put that on my machine. -- Dave Wolf Cynergy Systems, Inc. Adobe Flex Alliance Partner http://www.cynergysystems.com http://www.cynergysystems.com/blogs Email: [EMAIL PROTECTED] Office: 866-CYNERGY Yahoo! Groups Sponsor ~-- Something is new at Yahoo! Groups. Check out the enhanced email design. http://us.click.yahoo.com/SISQkA/gOaOAA/yQLSAA/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] Still Fuzzy about Flex 2.0 and CFCs
On Monday 24 July 2006 15:02, Battershall, Jeff wrote: Obviously, FDS would be a preferred way of integrating with CF if available, Dunno about that. There is a difference betwen granular record editing, and service invocation - FDS is better* for the former, remoting for the later. -- Tom Chiverton 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. Yahoo! Groups Sponsor ~-- Something is new at Yahoo! Groups. Check out the enhanced email design. http://us.click.yahoo.com/SISQkA/gOaOAA/yQLSAA/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] clean up on aisle three - formatting request for Adobe
On Friday 21 July 2006 20:13, Pan Troglodytes wrote: indents if it were cleaned up. Personally, I find 4 spaces makes things way to wide for my tastes. That's why tabs should be used :-) -- Tom Chiverton 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. Yahoo! Groups Sponsor ~-- Great things are happening at Yahoo! Groups. See the new email design. http://us.click.yahoo.com/TISQkA/hOaOAA/yQLSAA/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] Flex arrows?
update...had some pressing issues. looking at \frameworks\source\mx\skins\halo\DateChooserMonthArrowSkin.aslooks like this thing does not even use a graphic at all. Code in there actually draws the arrows! I suppose this way screen scaling is a non-issue. DKOn 7/20/06, Douglas Knudsen [EMAIL PROTECTED] wrote: right, but I really don't want to creat a new skin, I want ot use the existing skin so that it inherits all the Halo goodness, eh? I still have not got this working yet. Looking deeper into the source for the DateChooser and the DateChoser skin I have found that the code actually draws the arrow. The DateChooser code adds styles like prevMonthOverSkin and nextMonthOverSkin with default values. These styles names are expected in teh programmatic skin and do not exist in the Button class. So Jester, me got brave...not so brave as Mel Gibson mind you, I like me entrails! This is a excerpt:fwdMonthButton = new Button(); fwdMonthButton.styleName = this; fwdMonthButton.autoRepeat = true; fwdMonthButton.focusEnabled = false; fwdMonthButton.upSkinName = nextMonthUpSkin; fwdMonthButton.overSkinName = nextMonthOverSkin; fwdMonthButton.downSkinName = nextMonthDownSkin; fwdMonthButton.disabledSkinName = nextMonthDisabledSkin;ugh where does Button.upSkinName come from? Its not in th edocs that i can see.DK On 7/20/06, juan sanchez [EMAIL PROTECTED] wrote: download the default skin here. http://www.adobe.com/devnet/flex/articles/flex_skins.htmlOn Jul 20, 2006, at 7:56 AM, Douglas Knudsen wrote: no workiehope jester's bag of tricks is deep! I looked around the Flex SDK source and see no arrow pngs at all, many other pngs though. My guess is the arrows are compiled in a swc somewheres, which means they should be 'grabable' eh? Be nice to use any graphics in the SDK in custom components to maintain the 'Flexiness', eh? What I'm trying to do is create a next/previous month browser. We have reports that users run on a month end basis, the datechoser is really not the right tool for this. I'm just using mxml to do this currently...suppose I will have to go off and lear the way of the force for building components soon. DK On 7/19/06, JesterXL [EMAIL PROTECTED] wrote: Hrm... try: mx:Button click=onPrev() upSkin=mx.skins.halo.DateChooserMonthArrowSkin / If that doesn't work, I have more ideas. The skin is already imported in the defaults.css , so she IS in there. - Original Message - From: Douglas Knudsen To: flexcoders@yahoogroups.com Sent: Wednesday, July 19, 2006 4:00 PM Subject: Re: [flexcoders] Flex arrows? hmm, ok, I'm lost when it comes to fancy UI stuff :) How do you make use of this? mx:Button click=onPrev() upSkin=DateChooserMonthArrowSkin / throws a def not found error. Do I import the sckin somehow? DK On 7/19/06, JesterXL [EMAIL PROTECTED] wrote: Found these digging in DateChooser.as. I'm assuming these skins are compiled into the base framework. Try using like DateChooserMonthArrowSkin as one of your upSkins and see what happens. * nextMonthDisabledSkin=DateChooserMonthArrowSkin* nextMonthDownSkin=DateChooserMonthArrowSkin * nextMonthOverSkin=DateChooserMonthArrowSkin * nextMonthUpSkin=DateChooserMonthArrowSkin * nextYearDisabledSkin=DateChooserYearArrowSkin* nextYearDownSkin=DateChooserYearArrowSkin * nextYearOverSkin=DateChooserYearArrowSkin * nextYearUpSkin=DateChooserYearArrowSkin * prevMonthDisabledSkin=DateChooserMonthArrowSkin* prevMonthDownSkin=DateChooserMonthArrowSkin * prevMonthOverSkin=DateChooserMonthArrowSkin * prevMonthUpSkin=DateChooserMonthArrowSkin * prevYearDisabledSkin=DateChooserYearArrowSkin* prevYearDownSkin=DateChooserYearArrowSkin * prevYearOverSkin=DateChooserYearArrowSkin * prevYearUpSkin=DateChooserYearArrowSkin - Original Message - From: Douglas Knudsen To: flexcoders@yahoogroups.com Sent: Wednesday, July 19, 2006 3:19 PM Subject: [flexcoders] Flex arrows? So, I'm creating a custom component with next/previous functionality. I'd like to use the same arrows on say the DateChooser control. Are these avaialbale to the developer somehow? DK -- Douglas Knudsen http://www.cubicleman.com this is my signature, like it? -- Douglas Knudsen http://www.cubicleman.com this is my signature, like it? -- Douglas Knudsen http://www.cubicleman.comthis is my signature, like it? -- Douglas Knudsenhttp://www.cubicleman.comthis is my signature, like it? -- Douglas Knudsenhttp://www.cubicleman.comthis is my signature, like it? __._,_.___ -- 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
RE: [flexcoders] Flex 2 FDS pricing for clustered solution
Hi Mykola, We dont currently offer a product that is packaged in the way youre describing below. Id like to connect with you off-line to understand your specific issues and see if there is something we can do to assist. Ill follow-up shortly. Eric Eric Anderson | Product Manager, Flex | Adobe Systems Incorporated | W: +1 617 219 2306 | C: +1 508 344 1248 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Mykola Paliyenko Sent: Monday, July 24, 2006 10:27 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Flex 2 FDS pricing for clustered solution Hello flexcoders I found no info on the Adobe site about pricing, from the threads I understood that FDS is priced 20K$ per CPU for unlimited concurrent amount of users. We are building the solution that will require support thousands of simultaneous users on the site and will require up to 100 application servers as we grow. I know that Adove guys are reading this list so I have a questions first of all to them and to those who have some relevant info about this - Is it true about pricing 20K$/per CPU for unlimited users? - Do you have some discounts policy for such cases as described above? - How much will it cost us to license FDS for 100 dual CPU servers? - Can we license only AMF gateway without any client pushes etc with discount? The problem is that we simply need amf gateway on that 100 servers and paying 4M$ just for gateway is too kewl as for me. I'd better develop one on my own :) We are investigating alternatives such as OpenAMF but we want to know the amount of money we need to spent on original Adobe solution. Thanks in advance for any comments. -- WBR, Mykola __._,_.___ -- 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. __,_._,___
[flexcoders] antiAliasType null exception with Text instances!
Hi All! Each time I create new Text instance in ActionScript using new Text() and then add it to parent container, I get exception: TypeError: Error #2007: Parameter antiAliasType must be non-null. What's wrong? Sergey. Yahoo! Groups Sponsor ~-- Yahoo! Groups gets a make over. See the new email design. http://us.click.yahoo.com/XISQkA/lOaOAA/yQLSAA/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] Flex arrows?
My guess is that was done for filesize reasons. The resulting SWF is smaller since ActionScript bytecode is a lot smaller via lzw compression than a PNG/GIF via the same. While the drawing is more CPU intensive, you cut corners for filesize where you can, and I understand their justification. - Original Message - From: Douglas Knudsen To: flexcoders@yahoogroups.com Sent: Monday, July 24, 2006 11:27 AM Subject: Re: [flexcoders] Flex arrows? update...had some pressing issues. looking at \frameworks\source\mx\skins\halo\DateChooserMonthArrowSkin.aslooks like this thing does not even use a graphic at all. Code in there actually draws the arrows! I suppose this way screen scaling is a non-issue. DK On 7/20/06, Douglas Knudsen [EMAIL PROTECTED] wrote: right, but I really don't want to creat a new skin, I want ot use the existing skin so that it inherits all the Halo goodness, eh? I still have not got this working yet. Looking deeper into the source for the DateChooser and the DateChoser skin I have found that the code actually draws the arrow. The DateChooser code adds styles like prevMonthOverSkin and nextMonthOverSkin with default values. These styles names are expected in teh programmatic skin and do not exist in the Button class. So Jester, me got brave...not so brave as Mel Gibson mind you, I like me entrails! This is a excerpt:fwdMonthButton = new Button(); fwdMonthButton.styleName = this; fwdMonthButton.autoRepeat = true; fwdMonthButton.focusEnabled = false; fwdMonthButton.upSkinName = "nextMonthUpSkin"; fwdMonthButton.overSkinName = "nextMonthOverSkin"; fwdMonthButton.downSkinName = "nextMonthDownSkin"; fwdMonthButton.disabledSkinName = "nextMonthDisabledSkin";ugh where does Button.upSkinName come from? Its not in th edocs that i can see. DK On 7/20/06, juan sanchez [EMAIL PROTECTED] wrote: download the default skin here. http://www.adobe.com/devnet/flex/articles/flex_skins.html On Jul 20, 2006, at 7:56 AM, Douglas Knudsen wrote: no workiehope jester's bag of tricks is deep! I looked around the Flex SDK source and see no arrow pngs at all, many other pngs though. My guess is the arrows are compiled in a swc somewheres, which means they should be 'grabable' eh? Be nice to use any graphics in the SDK in custom components to maintain the 'Flexiness', eh? What I'm trying to do is create a next/previous month browser. We have reports that users run on a month end basis, the datechoser is really not the right tool for this. I'm just using mxml to do this currently...suppose I will have to go off and lear the way of the force for building components soon. DK On 7/19/06, JesterXL [EMAIL PROTECTED] wrote: Hrm... try: mx:Button click="onPrev()" upSkin="mx.skins.halo.DateChooserMonthArrowSkin" / If that doesn't work, I have more ideas. The skin is already imported in the defaults.css , so she IS in there. - Original Message - From: Douglas Knudsen To: flexcoders@yahoogroups.com Sent: Wednesday, July 19, 2006 4:00 PM Subject: Re: [flexcoders] Flex arrows? hmm, ok, I'm lost when it comes to fancy UI stuff :) How do you make use of this? mx:Button click="onPrev()" upSkin="DateChooserMonthArrowSkin" /throws a def not found error. Do I import the sckin somehow? DK On 7/19/06, JesterXL [EMAIL PROTECTED] wrote: Found these digging in DateChooser.as. I'm assuming these skins are compiled into the base framework. Try using like DateChooserMonthArrowSkin as one of your upSkins and see what happens. * nextMonthDisabledSkin="DateChooserMonthArrowSkin"* nextMonthDownSkin="DateChooserMonthArrowSkin" * nextMonthOverSkin="DateChooserMonthArrowSkin"* nextMonthUpSkin="DateChooserMonthArrowSkin"* nextYearDisabledSkin="DateChooserYearArrowSkin"* nextYearDownSkin="DateChooserYearArrowSkin" * nextYearOverSkin="DateChooserYearArrowSkin"* nextYearUpSkin="DateChooserYearArrowSkin"* prevMonthDisabledSkin="DateChooserMonthArrowSkin"* prevMonthDownSkin="DateChooserMonthArrowSkin" * prevMonthOverSkin="DateChooserMonthArrowSkin"* prevMonthUpSkin="DateChooserMonthArrowSkin"*
Re: [flexcoders] Flex arrows?
gotcha! Now the question, I want to create a custom component called NextButton that acts the same as the one in the DateChooser and inherits the skin the same as the one in the DateChoser thus seemlessly interacting with the Flex framework. Adobe has let loose the source code for DateChooser. Does Adobe envision some of us copying some of their code in order to fulfill such a community benefiting component? DKOn 7/24/06, JesterXL [EMAIL PROTECTED] wrote: My guess is that was done for filesize reasons. The resulting SWF is smaller since ActionScript bytecode is a lot smaller via lzw compression than a PNG/GIF via the same. While the drawing is more CPU intensive, you cut corners for filesize where you can, and I understand their justification. - Original Message - From: Douglas Knudsen To: flexcoders@yahoogroups.com Sent: Monday, July 24, 2006 11:27 AM Subject: Re: [flexcoders] Flex arrows? update...had some pressing issues. looking at \frameworks\source\mx\skins\halo\DateChooserMonthArrowSkin.aslooks like this thing does not even use a graphic at all. Code in there actually draws the arrows! I suppose this way screen scaling is a non-issue. DK On 7/20/06, Douglas Knudsen [EMAIL PROTECTED] wrote: right, but I really don't want to creat a new skin, I want ot use the existing skin so that it inherits all the Halo goodness, eh? I still have not got this working yet. Looking deeper into the source for the DateChooser and the DateChoser skin I have found that the code actually draws the arrow. The DateChooser code adds styles like prevMonthOverSkin and nextMonthOverSkin with default values. These styles names are expected in teh programmatic skin and do not exist in the Button class. So Jester, me got brave...not so brave as Mel Gibson mind you, I like me entrails! This is a excerpt:fwdMonthButton = new Button(); fwdMonthButton.styleName = this; fwdMonthButton.autoRepeat = true; fwdMonthButton.focusEnabled = false; fwdMonthButton.upSkinName = nextMonthUpSkin; fwdMonthButton.overSkinName = nextMonthOverSkin; fwdMonthButton.downSkinName = nextMonthDownSkin; fwdMonthButton.disabledSkinName = nextMonthDisabledSkin;ugh where does Button.upSkinName come from? Its not in th edocs that i can see. DK On 7/20/06, juan sanchez [EMAIL PROTECTED] wrote: download the default skin here. http://www.adobe.com/devnet/flex/articles/flex_skins.html On Jul 20, 2006, at 7:56 AM, Douglas Knudsen wrote: no workiehope jester's bag of tricks is deep! I looked around the Flex SDK source and see no arrow pngs at all, many other pngs though. My guess is the arrows are compiled in a swc somewheres, which means they should be 'grabable' eh? Be nice to use any graphics in the SDK in custom components to maintain the 'Flexiness', eh? What I'm trying to do is create a next/previous month browser. We have reports that users run on a month end basis, the datechoser is really not the right tool for this. I'm just using mxml to do this currently...suppose I will have to go off and lear the way of the force for building components soon. DK On 7/19/06, JesterXL [EMAIL PROTECTED] wrote: Hrm... try: mx:Button click=onPrev() upSkin=mx.skins.halo.DateChooserMonthArrowSkin / If that doesn't work, I have more ideas. The skin is already imported in the defaults.css , so she IS in there. - Original Message - From: Douglas Knudsen To: flexcoders@yahoogroups.com Sent: Wednesday, July 19, 2006 4:00 PM Subject: Re: [flexcoders] Flex arrows? hmm, ok, I'm lost when it comes to fancy UI stuff :) How do you make use of this? mx:Button click=onPrev() upSkin=DateChooserMonthArrowSkin / throws a def not found error. Do I import the sckin somehow? DK On 7/19/06, JesterXL [EMAIL PROTECTED] wrote: Found these digging in DateChooser.as. I'm assuming these skins are compiled into the base framework. Try using like DateChooserMonthArrowSkin as one of your upSkins and see what happens. * nextMonthDisabledSkin=DateChooserMonthArrowSkin* nextMonthDownSkin=DateChooserMonthArrowSkin * nextMonthOverSkin=DateChooserMonthArrowSkin* nextMonthUpSkin=DateChooserMonthArrowSkin*
RE: [flexcoders] Still Fuzzy about Flex 2.0 and CFCs
OK, gotcha, but I suppose the other issue is what version of AMF is availble server-side. I'm getting the impression that AMF3 is necessary both on the client and server in Flex 2.0 - am I right about that? Jeff -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Tom Chiverton Sent: Monday, July 24, 2006 11:20 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Still Fuzzy about Flex 2.0 and CFCs On Monday 24 July 2006 15:02, Battershall, Jeff wrote: Obviously, FDS would be a preferred way of integrating with CF if available, Dunno about that. There is a difference betwen granular record editing, and service invocation - FDS is better* for the former, remoting for the later. -- Tom Chiverton 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 -- 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] Still Fuzzy about Flex 2.0 and CFCs
yeah and need CF 7.0.2no workie on CF 6Remoting works a treat. DKOn 7/24/06, Battershall, Jeff [EMAIL PROTECTED] wrote:OK, gotcha, but I suppose the other issue is what version of AMF is availble server-side.I'm getting the impression that AMF3 is necessaryboth on the client and server in Flex 2.0 - am I right about that?Jeff-Original Message-From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] OnBehalf Of Tom ChivertonSent: Monday, July 24, 2006 11:20 AMTo: flexcoders@yahoogroups.comSubject: Re: [flexcoders] Still Fuzzy about Flex 2.0 and CFCsOn Monday 24 July 2006 15:02, Battershall, Jeff wrote: Obviously, FDS would be a preferred way of integrating with CF if available,Dunno about that.There is a difference betwen granular record editing, and serviceinvocation -FDS is better* for the former, remoting for the later.--Tom Chiverton This email is sent for and on behalf of Halliwells LLP.Halliwells LLP is a limited liability partnership registered in Englandand Wales under registered number OC307980 whose registered office address is at St James's Court Brown Street Manchester M2 2JF.A listof members is available for inspection at the registered office. Anyreference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law Society.CONFIDENTIALITYThis email is intended only for the use of the addressee named above andmay be confidential or legally privileged.If you are not the addressee you must not read it and must not use any information contained in norcopy it nor inform any person other than Halliwells LLP or the addresseeof its existence or contents.If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 3658008.For more information about Halliwells LLP visit www.halliwells.com.-- Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links--Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! 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/ -- Douglas Knudsenhttp://www.cubicleman.comthis is my signature, like it? __._,_.___ -- 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] Flex arrows?
I can't remember what email, but I showed the CSS. Can't you just use the same DateChooser CSS? NextButton { upSkin: ClassReference("mx.skins.halo.DateChooserMonthArrowSkin"); downSkin: etc. } Then, just make a MXML file that extends Button. ??? - Original Message - From: Douglas Knudsen To: flexcoders@yahoogroups.com Sent: Monday, July 24, 2006 12:01 PM Subject: Re: [flexcoders] Flex arrows? gotcha! Now the question, I want to create a custom component called NextButton that acts the same as the one in the DateChooser and inherits the skin the same as the one in the DateChoser thus seemlessly interacting with the Flex framework. Adobe has let loose the source code for DateChooser. Does Adobe envision some of us copying some of their code in order to fulfill such a community benefiting component? DK On 7/24/06, JesterXL [EMAIL PROTECTED] wrote: My guess is that was done for filesize reasons. The resulting SWF is smaller since ActionScript bytecode is a lot smaller via lzw compression than a PNG/GIF via the same. While the drawing is more CPU intensive, you cut corners for filesize where you can, and I understand their justification. - Original Message - From: Douglas Knudsen To: flexcoders@yahoogroups.com Sent: Monday, July 24, 2006 11:27 AM Subject: Re: [flexcoders] Flex arrows? update...had some pressing issues. looking at \frameworks\source\mx\skins\halo\DateChooserMonthArrowSkin.aslooks like this thing does not even use a graphic at all. Code in there actually draws the arrows! I suppose this way screen scaling is a non-issue. DK On 7/20/06, Douglas Knudsen [EMAIL PROTECTED] wrote: right, but I really don't want to creat a new skin, I want ot use the existing skin so that it inherits all the Halo goodness, eh? I still have not got this working yet. Looking deeper into the source for the DateChooser and the DateChoser skin I have found that the code actually draws the arrow. The DateChooser code adds styles like prevMonthOverSkin and nextMonthOverSkin with default values. These styles names are expected in teh programmatic skin and do not exist in the Button class. So Jester, me got brave...not so brave as Mel Gibson mind you, I like me entrails! This is a excerpt:fwdMonthButton = new Button(); fwdMonthButton.styleName = this; fwdMonthButton.autoRepeat = true; fwdMonthButton.focusEnabled = false; fwdMonthButton.upSkinName = "nextMonthUpSkin"; fwdMonthButton.overSkinName = "nextMonthOverSkin"; fwdMonthButton.downSkinName = "nextMonthDownSkin"; fwdMonthButton.disabledSkinName = "nextMonthDisabledSkin";ugh where does Button.upSkinName come from? Its not in th edocs that i can see. DK On 7/20/06, juan sanchez [EMAIL PROTECTED] wrote: download the default skin here. http://www.adobe.com/devnet/flex/articles/flex_skins.html On Jul 20, 2006, at 7:56 AM, Douglas Knudsen wrote: no workiehope jester's bag of tricks is deep! I looked around the Flex SDK source and see no arrow pngs at all, many other pngs though. My guess is the arrows are compiled in a swc somewheres, which means they should be 'grabable' eh? Be nice to use any graphics in the SDK in custom components to maintain the 'Flexiness', eh? What I'm trying to do is create a next/previous month browser. We have reports that users run on a month end basis, the datechoser is really not the right tool for this. I'm just using mxml to do this currently...suppose I will have to go off and lear the way of the force for building components soon. DK On 7/19/06, JesterXL [EMAIL PROTECTED] wrote: Hrm... try: mx:Button click="onPrev()" upSkin="mx.skins.halo.DateChooserMonthArrowSkin" / If that doesn't work, I have more ideas. The skin is already imported in the defaults.css , so she IS in there. - Original Message - From: Douglas Knudsen To: flexcoders@yahoogroups.com Sent: Wednesday, July 19, 2006 4:00 PM Subject: Re: [flexcoders] Flex arrows? hmm, ok, I'm lost when it comes to fancy UI stuff :) How do you make use of this? mx:Button click="onPrev()" upSkin="DateChooserMonthArrowSkin" /throws a def not found error. Do I import
[flexcoders] Re: delete a xml node
Hi Jesus, I can't test this with your data, but you could try something like this to deletean entire node:var nodeToDelete:XML = XML(temp..A.(@HREF == id));deleteNode(nodeToDelete); private function deleteNode(nodeToDelete:XML):void{ //collection of nodes containing the node to delete var xlcParent:XMLListCollection = new XMLListCollection(nodeToDelete.parent().children()); //index of node to delete in collection var iIndex:int = xlcParent.getItemIndex(nodeToDelete); xlcParent.removeItemAt(iIndex);} -TH--- In flexcoders@yahoogroups.com, Jesús Iglesias [EMAIL PROTECTED] wrote: Hi, I have a XML which really is some xhtml. I want to delete come nodes but but I can't find the right way: var temp:XML; delete temp..A.(@HREF == id); This reports error: delete operand cand not be used with xmllist operand (more or less) And this way: var allTags: XMLList = temp..A.(@HREF == id); var item:XML; for each(item in allTags) { delete item; } Reports: Attempt to delete the fixed property item. Only dynamically defined properties can be deleted. TextEditorNuevaImagen.mxml grupochs.com line 96 24 de julio de 2006 12:26:48 728 I can delete all subnodes and all attributes, but A node stays empty. I want to remove the whole A node. Thanks. Jesús Iglesias Alvento Soluciones Móviles Poeta Querol, 5 - 2 46002 Valencia (España) [tel]: (+34) 96.353.02.15 [fax]: (+34) 96.353.08.09 [e-mail]: mailto:[EMAIL PROTECTED] [EMAIL PROTECTED] [web]: http://www.alvento.com/ www.alvento.com Este correo electrónico y, en su caso, cualquier fichero anexo al mismo, contiene información de carácter confidencial exclusivamente dirigida a su destinatario o destinatarios y propiedad de Alvento Soluciones S.A. Queda prohibida su divulgación, copia o distribución a terceros sin la previa autorización escrita de Alvento Soluciones S.A., en virtud de la legislación vigente. En el caso de haber recibido este correo electrónico por error, se ruega notificar inmediatamente esta circunstancia mediante reenvío a la dirección electrónica del remitente y la destrucción del mismo. The information in this e-mail and in any attachments is classified as Alvento Soluciones S.A. Confidential and Proprietary Information and solely for the attention and use of the named addressee(s). You are hereby notified that any dissemination, distribution or copy of this communication is prohibited without the prior written consent of Alvento Soluciones S.A. and it is strictly prohibited by law. If you have received this communication by error, please, notify the sender by replying e-mail. __._,_.___ -- 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] Still Fuzzy about Flex 2.0 and CFCs
Flex 2 can utilize AMF0 or AMF3; you just set the ObjectEncoding. CF 7.0.2 can use AMF3; anything before only AMF0. Flex 2 can talk to both old CF and new CF. Talking to the old sucks from a client-side perspective. - Original Message - From: Battershall, Jeff [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Monday, July 24, 2006 12:08 PM Subject: RE: [flexcoders] Still Fuzzy about Flex 2.0 and CFCs OK, gotcha, but I suppose the other issue is what version of AMF is availble server-side. I'm getting the impression that AMF3 is necessary both on the client and server in Flex 2.0 - am I right about that? Jeff -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Tom Chiverton Sent: Monday, July 24, 2006 11:20 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Still Fuzzy about Flex 2.0 and CFCs On Monday 24 July 2006 15:02, Battershall, Jeff wrote: Obviously, FDS would be a preferred way of integrating with CF if available, Dunno about that. There is a difference betwen granular record editing, and service invocation - FDS is better* for the former, remoting for the later. -- Tom Chiverton 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 -- 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] Flex arrows?
did that?xml version=1.0 encoding=utf-8?mx:Button xmlns:mx=http://www.adobe.com/2006/mxml upSkin=mx.skins.halo.DateChooserMonthArrowSkin downSkin=mx.skins.halo.DateChooserMonthArrowSkin overSkin=mx.skins.halo.DateChooserMonthArrowSkin disabledSkin=mx.skins.halo.DateChooserMonthArrowSkin styleName=DateChooser autoRepeat=true focusEnabled=false/mx:Buttonall it does is display a arrow. Can't tell it to use left or right arrow and no button skin. Am I missing something really obvious? DKOn 7/24/06, JesterXL [EMAIL PROTECTED] wrote: I can't remember what email, but I showed the CSS. Can't you just use the same DateChooser CSS? NextButton { upSkin: ClassReference(mx.skins.halo.DateChooserMonthArrowSkin); downSkin: etc. } Then, just make a MXML file that extends Button. ??? - Original Message - From: Douglas Knudsen To: flexcoders@yahoogroups.com Sent: Monday, July 24, 2006 12:01 PM Subject: Re: [flexcoders] Flex arrows? gotcha! Now the question, I want to create a custom component called NextButton that acts the same as the one in the DateChooser and inherits the skin the same as the one in the DateChoser thus seemlessly interacting with the Flex framework. Adobe has let loose the source code for DateChooser. Does Adobe envision some of us copying some of their code in order to fulfill such a community benefiting component? DK On 7/24/06, JesterXL [EMAIL PROTECTED] wrote: My guess is that was done for filesize reasons. The resulting SWF is smaller since ActionScript bytecode is a lot smaller via lzw compression than a PNG/GIF via the same. While the drawing is more CPU intensive, you cut corners for filesize where you can, and I understand their justification. - Original Message - From: Douglas Knudsen To: flexcoders@yahoogroups.com Sent: Monday, July 24, 2006 11:27 AM Subject: Re: [flexcoders] Flex arrows? update...had some pressing issues. looking at \frameworks\source\mx\skins\halo\DateChooserMonthArrowSkin.aslooks like this thing does not even use a graphic at all. Code in there actually draws the arrows! I suppose this way screen scaling is a non-issue. DK On 7/20/06, Douglas Knudsen [EMAIL PROTECTED] wrote: right, but I really don't want to creat a new skin, I want ot use the existing skin so that it inherits all the Halo goodness, eh? I still have not got this working yet. Looking deeper into the source for the DateChooser and the DateChoser skin I have found that the code actually draws the arrow. The DateChooser code adds styles like prevMonthOverSkin and nextMonthOverSkin with default values. These styles names are expected in teh programmatic skin and do not exist in the Button class. So Jester, me got brave...not so brave as Mel Gibson mind you, I like me entrails! This is a excerpt:fwdMonthButton = new Button(); fwdMonthButton.styleName = this; fwdMonthButton.autoRepeat = true; fwdMonthButton.focusEnabled = false; fwdMonthButton.upSkinName = nextMonthUpSkin; fwdMonthButton.overSkinName = nextMonthOverSkin; fwdMonthButton.downSkinName = nextMonthDownSkin; fwdMonthButton.disabledSkinName = nextMonthDisabledSkin;ugh where does Button.upSkinName come from? Its not in th edocs that i can see. DK On 7/20/06, juan sanchez [EMAIL PROTECTED] wrote: download the default skin here. http://www.adobe.com/devnet/flex/articles/flex_skins.html On Jul 20, 2006, at 7:56 AM, Douglas Knudsen wrote: no workiehope jester's bag of tricks is deep! I looked around the Flex SDK source and see no arrow pngs at all, many other pngs though. My guess is the arrows are compiled in a swc somewheres, which means they should be 'grabable' eh? Be nice to use any graphics in the SDK in custom components to maintain the 'Flexiness', eh? What I'm trying to do is create a next/previous month browser. We have reports that users run on a month end basis, the datechoser is really not the right tool for this. I'm just using mxml to do this currently...suppose I will have to go off and lear the way of the force for building components soon. DK On 7/19/06, JesterXL [EMAIL PROTECTED] wrote: Hrm... try: mx:Button click=onPrev() upSkin=mx.skins.halo.DateChooserMonthArrowSkin / If that doesn't work, I have more ideas. The skin is already imported in the defaults.css , so she IS in there. -
Re: [flexcoders] Flex arrows?
No, you're not missing anything obvious, it's just hard to keep track of past email discussions on this topic, sorry. You have a choice; either go dig in the Button class to see how they are rotating the arrow, wait for me to do it this evening, or go take 2 minutes to create the arrows yourself, and use bitmap skins. I'd vote for the later: Quick, no dependencies, and it'll get you a solution that works sooner than later. You're not using the framework, but it's a frikin' arrow, whoop-dee-doo, know what I'm sayin'? Just go into your image editing program (Fireworks / Photoshop): - create arrow, both left and right - save as PNG with transparency - embed as the upSkin for NextButton next arrow, and left arrow for the PrevButton If you set those in the CSS, you'll be able to do: view:PrevButton / view:NextButton / And they'll automatically use the skin. This reduces the amount of code you'll need to write and makes it easy to modify the arrow application wide later. The DateChooser's arrow shouldn't be that hard to duplicate. - Original Message - From: Douglas Knudsen To: flexcoders@yahoogroups.com Sent: Monday, July 24, 2006 12:25 PM Subject: Re: [flexcoders] Flex arrows? did that?xml version="1.0" encoding="utf-8"?mx:Button xmlns:mx="http://www.adobe.com/2006/mxml" upSkin="mx.skins.halo.DateChooserMonthArrowSkin " downSkin="mx.skins.halo.DateChooserMonthArrowSkin" overSkin="mx.skins.halo.DateChooserMonthArrowSkin" disabledSkin="mx.skins.halo.DateChooserMonthArrowSkin" styleName="DateChooser" autoRepeat="true" focusEnabled="false" /mx:Buttonall it does is display a arrow. Can't tell it to use left or right arrow and no button skin. Am I missing something really obvious? DK On 7/24/06, JesterXL [EMAIL PROTECTED] wrote: I can't remember what email, but I showed the CSS. Can't you just use the same DateChooser CSS? NextButton { upSkin: ClassReference("mx.skins.halo.DateChooserMonthArrowSkin"); downSkin: etc. } Then, just make a MXML file that extends Button. ??? - Original Message - From: Douglas Knudsen To: flexcoders@yahoogroups.com Sent: Monday, July 24, 2006 12:01 PM Subject: Re: [flexcoders] Flex arrows? gotcha! Now the question, I want to create a custom component called NextButton that acts the same as the one in the DateChooser and inherits the skin the same as the one in the DateChoser thus seemlessly interacting with the Flex framework. Adobe has let loose the source code for DateChooser. Does Adobe envision some of us copying some of their code in order to fulfill such a community benefiting component? DK On 7/24/06, JesterXL [EMAIL PROTECTED] wrote: My guess is that was done for filesize reasons. The resulting SWF is smaller since ActionScript bytecode is a lot smaller via lzw compression than a PNG/GIF via the same. While the drawing is more CPU intensive, you cut corners for filesize where you can, and I understand their justification. - Original Message - From: Douglas Knudsen To: flexcoders@yahoogroups.com Sent: Monday, July 24, 2006 11:27 AM Subject: Re: [flexcoders] Flex arrows? update...had some pressing issues. looking at \frameworks\source\mx\skins\halo\DateChooserMonthArrowSkin.aslooks like this thing does not even use a graphic at all. Code in there actually draws the arrows! I suppose this way screen scaling is a non-issue. DK On 7/20/06, Douglas Knudsen [EMAIL PROTECTED] wrote: right, but I really don't want to creat a new skin, I want ot use the existing skin so that it inherits all the Halo goodness, eh? I still have not got this working yet. Looking deeper into the source for the DateChooser and the DateChoser skin I have found that the code actually draws the arrow. The DateChooser code adds styles like prevMonthOverSkin and nextMonthOverSkin with default values. These styles names are expected in teh programmatic skin and do not exist in the Button class. So Jester, me got brave...not so brave as Mel Gibson mind you, I like me entrails! This is a excerpt:fwdMonthButton = new Button(); fwdMonthButton.styleName = this; fwdMonthButton.autoRepeat = true; fwdMonthButton.focusEnabled = false; fwdMonthButton.upSkinName = "nextMonthUpSkin"; fwdMonthButton.overSkinName = "nextMonthOverSkin"; fwdMonthButton.downSkinName = "nextMonthDownSkin"; fwdMonthButton.disabledSkinName = "nextMonthDisabledSkin";ugh where does Button.upSkinName come from? Its not in th edocs that i can see. DK On 7/20/06, juan sanchez [EMAIL PROTECTED] wrote: download the
RE: [flexcoders] Still Fuzzy about Flex 2.0 and CFCs
Jessie, When you say, talking to the old sucks from a client-side perspective are we talking performance or the ability to pass custom objects or what? Jeff -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of JesterXL Sent: Monday, July 24, 2006 12:20 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Still Fuzzy about Flex 2.0 and CFCs Flex 2 can utilize AMF0 or AMF3; you just set the ObjectEncoding. CF 7.0.2 can use AMF3; anything before only AMF0. Flex 2 can talk to both old CF and new CF. Talking to the old sucks from a client-side perspective. - Original Message - From: Battershall, Jeff [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Monday, July 24, 2006 12:08 PM Subject: RE: [flexcoders] Still Fuzzy about Flex 2.0 and CFCs OK, gotcha, but I suppose the other issue is what version of AMF is availble server-side. I'm getting the impression that AMF3 is necessary both on the client and server in Flex 2.0 - am I right about that? Jeff -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Tom Chiverton Sent: Monday, July 24, 2006 11:20 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Still Fuzzy about Flex 2.0 and CFCs On Monday 24 July 2006 15:02, Battershall, Jeff wrote: Obviously, FDS would be a preferred way of integrating with CF if available, Dunno about that. There is a difference betwen granular record editing, and service invocation - FDS is better* for the former, remoting for the later. -- Tom Chiverton 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 -- 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] Still Fuzzy about Flex 2.0 and CFCs
Ability to pass custom objects. I've written over 800 lines of code for Factories to convert CFC structs to ValueObjects in the past 6 months. It sucks, is a pain in the ass, and it sucks... did I mention I hate debugging data-type conversions? I'm sure with AMF3's 30-50% reducation in filesize over the wire vs. AMF0, performance would be better too. ColdFusion 7.0.2, 4 teh w1n!!! - Original Message - From: Battershall, Jeff [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Monday, July 24, 2006 12:40 PM Subject: RE: [flexcoders] Still Fuzzy about Flex 2.0 and CFCs Jessie, When you say, talking to the old sucks from a client-side perspective are we talking performance or the ability to pass custom objects or what? Jeff -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of JesterXL Sent: Monday, July 24, 2006 12:20 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Still Fuzzy about Flex 2.0 and CFCs Flex 2 can utilize AMF0 or AMF3; you just set the ObjectEncoding. CF 7.0.2 can use AMF3; anything before only AMF0. Flex 2 can talk to both old CF and new CF. Talking to the old sucks from a client-side perspective. - Original Message - From: Battershall, Jeff [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Monday, July 24, 2006 12:08 PM Subject: RE: [flexcoders] Still Fuzzy about Flex 2.0 and CFCs OK, gotcha, but I suppose the other issue is what version of AMF is availble server-side. I'm getting the impression that AMF3 is necessary both on the client and server in Flex 2.0 - am I right about that? Jeff -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Tom Chiverton Sent: Monday, July 24, 2006 11:20 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Still Fuzzy about Flex 2.0 and CFCs On Monday 24 July 2006 15:02, Battershall, Jeff wrote: Obviously, FDS would be a preferred way of integrating with CF if available, Dunno about that. There is a difference betwen granular record editing, and service invocation - FDS is better* for the former, remoting for the later. -- Tom Chiverton 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 -- 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 Yahoo! Groups Sponsor ~-- Yahoo! Groups gets a make over. See the new email design. http://us.click.yahoo.com/XISQkA/lOaOAA/yQLSAA/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/
[flexcoders] what happened to ViewStack - changeEffect?
I was using the ViewStack changeEffect=fade to fade between views... how is this accomplished now? I see hideEffect and showEffect inherited from UIComponent... but is that going to apply to the views in the stack, or only when the container itself is shown or hidden? thanks, Thunder Yahoo! Groups Sponsor ~-- See what's inside the new Yahoo! Groups email. http://us.click.yahoo.com/2pRQfA/bOaOAA/yQLSAA/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/
[flexcoders] Re: navigateToURL with multiple links
Try iterating through the array elements: private function OpenListings():void{ var listingData:Array=/*an array of links*/; for (var i = 0; i listingData.length; i++){ navigateToURL(new URLRequest(listingData[i]),'_blank'); } } --- In flexcoders@yahoogroups.com, Chris Waguespack [EMAIL PROTECTED] wrote: I'm trying to make a link button that opens multiple links in different windows/tabs. Right now I have click calling this function private function OpenListings():void{ var listingData:Array=/*an array of links*/; var link:String=new String(); for each(link in listingData){ navigateToURL(new URLRequest(link),'_blank'); } } This only opens the last link in the array. Is there any way to open more than one link at once? Thanks, Chris Yahoo! Groups Sponsor ~-- Great things are happening at Yahoo! Groups. See the new email design. http://us.click.yahoo.com/TISQkA/hOaOAA/yQLSAA/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] Still Fuzzy about Flex 2.0 and CFCs
Jessie, I hear you on this - I've been dealing with the same sort of thing myself, but I have a client who is looking for the low cost of entry solution and CF7 upgrade and FDS would appear to be out of the question. That's excellent that you can set encoding however - that opens things up for this project. Jeff -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of JesterXL Sent: Monday, July 24, 2006 12:46 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Still Fuzzy about Flex 2.0 and CFCs Ability to pass custom objects. I've written over 800 lines of code for Factories to convert CFC structs to ValueObjects in the past 6 months. It sucks, is a pain in the ass, and it sucks... did I mention I hate debugging data-type conversions? I'm sure with AMF3's 30-50% reducation in filesize over the wire vs. AMF0, performance would be better too. ColdFusion 7.0.2, 4 teh w1n!!! - Original Message - From: Battershall, Jeff [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Monday, July 24, 2006 12:40 PM Subject: RE: [flexcoders] Still Fuzzy about Flex 2.0 and CFCs Jessie, When you say, talking to the old sucks from a client-side perspective are we talking performance or the ability to pass custom objects or what? Jeff -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of JesterXL Sent: Monday, July 24, 2006 12:20 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Still Fuzzy about Flex 2.0 and CFCs Flex 2 can utilize AMF0 or AMF3; you just set the ObjectEncoding. CF 7.0.2 can use AMF3; anything before only AMF0. Flex 2 can talk to both old CF and new CF. Talking to the old sucks from a client-side perspective. - Original Message - From: Battershall, Jeff [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Monday, July 24, 2006 12:08 PM Subject: RE: [flexcoders] Still Fuzzy about Flex 2.0 and CFCs OK, gotcha, but I suppose the other issue is what version of AMF is availble server-side. I'm getting the impression that AMF3 is necessary both on the client and server in Flex 2.0 - am I right about that? Jeff -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Tom Chiverton Sent: Monday, July 24, 2006 11:20 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Still Fuzzy about Flex 2.0 and CFCs On Monday 24 July 2006 15:02, Battershall, Jeff wrote: Obviously, FDS would be a preferred way of integrating with CF if available, Dunno about that. There is a difference betwen granular record editing, and service invocation - FDS is better* for the former, remoting for the later. -- Tom Chiverton 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 -- 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 -- 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 ~-- Something is new at Yahoo! Groups. Check out the enhanced email design. http://us.click.yahoo.com/SISQkA/gOaOAA/yQLSAA/nhFolB/TM
Re: [flexcoders] Flex arrows?
On 7/24/06, JesterXL [EMAIL PROTECTED] wrote: No, you're not missing anything obvious, it's just hard to keep track of past email discussions on this topic, sorry. You have a choice; either go dig in the Button class to see how they are rotating the arrow, wait for me to do it this evening, or go take 2 minutes to create the arrows yourself, and use bitmap skins.I gotcha! appreciate the offer, but I'm a glutton for punishment too. :) Not being a Flasher, this could be a good exercise in AS3 as well as Flex framework. Its kind of surprising the Flex team didn't create a ButtonArrow class that could be reused on other components. I guess the datechooser is the only control using it though, eh? I'd vote for the later: Quick, no dependencies, and it'll get you a solution that works sooner than later. You're not using the framework, but it's a frikin' arrow, whoop-dee-doo, know what I'm sayin'? Just go into your image editing program (Fireworks / Photoshop): - create arrow, both left and right - save as PNG with transparency - embed as the upSkin for NextButton next arrow, and left arrow for the PrevButton If you set those in the CSS, you'll be able to do: view:PrevButton / view:NextButton / And they'll automatically use the skin. This reduces the amount of code you'll need to write and makes it easy to modify the arrow application wide later. The DateChooser's arrow shouldn't be that hard to duplicate.righto, I've been reading up on skinning on adobe's site. Yeah, in this case it is a simple button. Larger picture, what if the theme is changed on the application? Will this method incur changes to the custom skin or would it automagically use the new theme? thanks again...off and running..well not literally, its too bloody hot in atlanta!DK - Original Message - From: Douglas Knudsen To: flexcoders@yahoogroups.com Sent: Monday, July 24, 2006 12:25 PM Subject: Re: [flexcoders] Flex arrows? did that?xml version=1.0 encoding=utf-8?mx:Button xmlns:mx=http://www.adobe.com/2006/mxml upSkin=mx.skins.halo.DateChooserMonthArrowSkin downSkin=mx.skins.halo.DateChooserMonthArrowSkin overSkin=mx.skins.halo.DateChooserMonthArrowSkin disabledSkin=mx.skins.halo.DateChooserMonthArrowSkin styleName=DateChooser autoRepeat=true focusEnabled=false /mx:Buttonall it does is display a arrow. Can't tell it to use left or right arrow and no button skin. Am I missing something really obvious? DK On 7/24/06, JesterXL [EMAIL PROTECTED] wrote: I can't remember what email, but I showed the CSS. Can't you just use the same DateChooser CSS? NextButton { upSkin: ClassReference(mx.skins.halo.DateChooserMonthArrowSkin); downSkin: etc. } Then, just make a MXML file that extends Button. ??? - Original Message - From: Douglas Knudsen To: flexcoders@yahoogroups.com Sent: Monday, July 24, 2006 12:01 PM Subject: Re: [flexcoders] Flex arrows? gotcha! Now the question, I want to create a custom component called NextButton that acts the same as the one in the DateChooser and inherits the skin the same as the one in the DateChoser thus seemlessly interacting with the Flex framework. Adobe has let loose the source code for DateChooser. Does Adobe envision some of us copying some of their code in order to fulfill such a community benefiting component? DK On 7/24/06, JesterXL [EMAIL PROTECTED] wrote: My guess is that was done for filesize reasons. The resulting SWF is smaller since ActionScript bytecode is a lot smaller via lzw compression than a PNG/GIF via the same. While the drawing is more CPU intensive, you cut corners for filesize where you can, and I understand their justification. - Original Message - From: Douglas Knudsen To: flexcoders@yahoogroups.com Sent: Monday, July 24, 2006 11:27 AM Subject: Re: [flexcoders] Flex arrows? update...had some pressing issues. looking at \frameworks\source\mx\skins\halo\DateChooserMonthArrowSkin.aslooks like this thing does not even use a graphic at all. Code in there actually draws the arrows! I suppose this way screen scaling is a non-issue. DK On 7/20/06, Douglas Knudsen [EMAIL PROTECTED] wrote: right, but I really don't want to creat a new skin, I want ot use the existing skin so that it inherits all the Halo goodness, eh? I still have not got this working yet. Looking deeper into the source for the DateChooser and the DateChoser skin I have found that the code actually draws the arrow. The DateChooser code adds styles like prevMonthOverSkin and nextMonthOverSkin with default values. These styles names are expected in teh programmatic skin and do not exist in the Button class. So Jester, me got brave...not so brave as Mel Gibson
Re: [flexcoders] Still Fuzzy about Flex 2.0 and CFCs
Just to be clear, you don't need FDS to use AMF3 ColdFusion's ValueObjects, only CF 7.0.2. I'm with you on price, though. They'll end up paying more in the end as you spend copious amounts of time writing ValueObject conversion code, and debugging string vs. number conversion errors, but it's hard to justify without someone who can clearly articulate to the client by spending more money up front, they'll save money in the end. - Original Message - From: Battershall, Jeff [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Monday, July 24, 2006 12:54 PM Subject: RE: [flexcoders] Still Fuzzy about Flex 2.0 and CFCs Jessie, I hear you on this - I've been dealing with the same sort of thing myself, but I have a client who is looking for the low cost of entry solution and CF7 upgrade and FDS would appear to be out of the question. That's excellent that you can set encoding however - that opens things up for this project. Jeff -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of JesterXL Sent: Monday, July 24, 2006 12:46 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Still Fuzzy about Flex 2.0 and CFCs Ability to pass custom objects. I've written over 800 lines of code for Factories to convert CFC structs to ValueObjects in the past 6 months. It sucks, is a pain in the ass, and it sucks... did I mention I hate debugging data-type conversions? I'm sure with AMF3's 30-50% reducation in filesize over the wire vs. AMF0, performance would be better too. ColdFusion 7.0.2, 4 teh w1n!!! - Original Message - From: Battershall, Jeff [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Monday, July 24, 2006 12:40 PM Subject: RE: [flexcoders] Still Fuzzy about Flex 2.0 and CFCs Jessie, When you say, talking to the old sucks from a client-side perspective are we talking performance or the ability to pass custom objects or what? Jeff -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of JesterXL Sent: Monday, July 24, 2006 12:20 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Still Fuzzy about Flex 2.0 and CFCs Flex 2 can utilize AMF0 or AMF3; you just set the ObjectEncoding. CF 7.0.2 can use AMF3; anything before only AMF0. Flex 2 can talk to both old CF and new CF. Talking to the old sucks from a client-side perspective. - Original Message - From: Battershall, Jeff [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Monday, July 24, 2006 12:08 PM Subject: RE: [flexcoders] Still Fuzzy about Flex 2.0 and CFCs OK, gotcha, but I suppose the other issue is what version of AMF is availble server-side. I'm getting the impression that AMF3 is necessary both on the client and server in Flex 2.0 - am I right about that? Jeff -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Tom Chiverton Sent: Monday, July 24, 2006 11:20 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Still Fuzzy about Flex 2.0 and CFCs On Monday 24 July 2006 15:02, Battershall, Jeff wrote: Obviously, FDS would be a preferred way of integrating with CF if available, Dunno about that. There is a difference betwen granular record editing, and service invocation - FDS is better* for the former, remoting for the later. -- Tom Chiverton 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 -- 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!
RE: [flexcoders] Still Fuzzy about Flex 2.0 and CFCs
Jessie, Thanks for the clarification. What I do not see in the Flex2 docs is the ability to use Remote object without FDS. Would you have to write your own custom class to do your remoting calls? I've done such in Flash. Jeff -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of JesterXL Sent: Monday, July 24, 2006 1:02 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Still Fuzzy about Flex 2.0 and CFCs Just to be clear, you don't need FDS to use AMF3 ColdFusion's ValueObjects, only CF 7.0.2. I'm with you on price, though. They'll end up paying more in the end as you spend copious amounts of time writing ValueObject conversion code, and debugging string vs. number conversion errors, but it's hard to justify without someone who can clearly articulate to the client by spending more money up front, they'll save money in the end. - Original Message - From: Battershall, Jeff [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Monday, July 24, 2006 12:54 PM Subject: RE: [flexcoders] Still Fuzzy about Flex 2.0 and CFCs Jessie, I hear you on this - I've been dealing with the same sort of thing myself, but I have a client who is looking for the low cost of entry solution and CF7 upgrade and FDS would appear to be out of the question. That's excellent that you can set encoding however - that opens things up for this project. Jeff -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of JesterXL Sent: Monday, July 24, 2006 12:46 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Still Fuzzy about Flex 2.0 and CFCs Ability to pass custom objects. I've written over 800 lines of code for Factories to convert CFC structs to ValueObjects in the past 6 months. It sucks, is a pain in the ass, and it sucks... did I mention I hate debugging data-type conversions? I'm sure with AMF3's 30-50% reducation in filesize over the wire vs. AMF0, performance would be better too. ColdFusion 7.0.2, 4 teh w1n!!! - Original Message - From: Battershall, Jeff [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Monday, July 24, 2006 12:40 PM Subject: RE: [flexcoders] Still Fuzzy about Flex 2.0 and CFCs Jessie, When you say, talking to the old sucks from a client-side perspective are we talking performance or the ability to pass custom objects or what? Jeff -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of JesterXL Sent: Monday, July 24, 2006 12:20 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Still Fuzzy about Flex 2.0 and CFCs Flex 2 can utilize AMF0 or AMF3; you just set the ObjectEncoding. CF 7.0.2 can use AMF3; anything before only AMF0. Flex 2 can talk to both old CF and new CF. Talking to the old sucks from a client-side perspective. - Original Message - From: Battershall, Jeff [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Monday, July 24, 2006 12:08 PM Subject: RE: [flexcoders] Still Fuzzy about Flex 2.0 and CFCs OK, gotcha, but I suppose the other issue is what version of AMF is availble server-side. I'm getting the impression that AMF3 is necessary both on the client and server in Flex 2.0 - am I right about that? Jeff -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Tom Chiverton Sent: Monday, July 24, 2006 11:20 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Still Fuzzy about Flex 2.0 and CFCs On Monday 24 July 2006 15:02, Battershall, Jeff wrote: Obviously, FDS would be a preferred way of integrating with CF if available, Dunno about that. There is a difference betwen granular record editing, and service invocation - FDS is better* for the former, remoting for the later. -- Tom Chiverton 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
[flexcoders] SOLVED Re: Debugging Java remote Objects in Eclipse
Got it working! After a lot of trial and error, and searching around about JRun debugging, I've got what works for me. Good Luck, Thunder _ Here is what I did: * Right-click your Java server project, select Debug As - Debug... * If it doesn't already have a new configuration, click the 'new' toolbar button at the top left of the window. * Name the debug configuration, and in the main tab set the main class to jrunx.kernel.JRun * select the arguments tab - Program Arguments (without the quotes): start default - VM Arguments (without the quotes): -Dsun.io.useCanonCaches=false -Djmx.invoke.getters=true * PROBABLY NOT NEEDED (may work with Java 1.5 JRE) - select the JRE tab and select 'Alternate JRE' and pick a java 1.4.x JRE * Select the Classpath tab and select User Entries in the list, then use 'Add External Jars' to add: - ALL Jar files from C:\fds2\jrun4\lib - ALL Jar files from C:\fds2\jrun4\servers\lib - ALL Jar files from C:\fds2\jrun4\servers\default\flex\WEB-INF\lib * Click 'Apply' and 'Debug' --- In flexcoders@yahoogroups.com, thunderstumpgesatwork [EMAIL PROTECTED] wrote: Hi guys, The following URL used to point to a WIKI page that described the steps for setting up Eclipse to launch the integrated JRun flex server in debug mode so that it is able to debug server-side java code. http://labs.adobe.com/wiki/index.php/Flex_Enterprise_Services:Debugging Where is this information now? It says that all of this has been moved to the release site, but I can't find it now. thanks, Thunder Stumpges Yahoo! Groups Sponsor ~-- Great things are happening at Yahoo! Groups. See the new email design. http://us.click.yahoo.com/TISQkA/hOaOAA/yQLSAA/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] Still Fuzzy about Flex 2.0 and CFCs
Let's define some terms to make sure we're on the same page. Flash Remoting is 2 technologies. First, the client side portion is the ability for the Flash Player to send binary data objects via binary to and from the server. It can serialize deserialize these objects to from the AMF0 AMF3 binary format. It sends this information via the rtmp TCP/IP proprietary protocol that is built into the Flash Player. Second, Flash Remoting is the server-side portion that can speak understand AMF0 and/or AMF3. This allows the client and server to exchange not only native data-types that each can understand, but also custom ValueObjects, or Class instances. So a String in Flash is a String in CF, an Array in Flash is a List in Java for example. You can also utilize custom classes if the class is registered via Object.registerClass (forget what it is in Flex 2). ColdFusion pre 7.0.2 has had the ability to speak AMF (aka the ability to utilize Remoting). It, however, had some f'ed up rules and weird intracacies on getting it to work, and could not use custom classes, only strings, numbers, arrays, and vanilla Objects, and only unders certain conditions could it use Objects (HashMaps). As such, since the Flash Player 9 is backwards compatible via ObjectEncoding, Flex 2 can still talk to older CFC's via Flash Remoting. Thus, you can still use RemoteObject, although, I haven't tested because for an existing project, both CF Flex will be upgraded, negating the need to worry about AMF0. RemoteObject in Flex 1.5 and below is really a wrapper class for Remoting. Where Flash IDE Flash Player 8 is concerned HTTPService is the equivalent to LoadVars, WebService the same, and RemoteObject is equivalent to Service. Granted, Flex' versions have significantly more helpful features added to them like the built-in server proxy to get around Flash Player's security sandbox, the busy cursor, etc. Make no mistake, though, RemoteObject IS Flash Remoting, and Flash Remoting IS RemoteObject. If your server doesn't speak Flash Remoting, you can't use RemoteObject. I believe in my tests with AMFPHP that RemoteObject does support setting it's encoding to AMF0; 70% sure, beta 1 code, and haven't looked at it in awhile. FDS, or Flex Data Services, is seperate from ColdFusion. It's basically Flex Server 2, with a bunch of new features. The fact that it has Flash Remoting is really a fallback technology, and not an intrinsic feature. For example, you're SUPPOSED to use it with JMS, or your custom messaging solution, allowing real-time communication. The AMF XML fallbacks, both polling, are merely used when the JMS service is down. So, you don't get FDS to get Remoting, you get FDS to get the real-time messaging capabilities. You're goal is not to use FDS to make service calls, your goal is to get Data synchronization, clustering, real-time push, and all those other things Steven Webster articualted in an earlier email thread (sorry don't have the link handy). Therefore, if you have no intention of using Hiberate, and real-time communication, there is no point for FDS if all you want to do is call CFC remote methods. Make sense? Did I answer your questions? - Original Message - From: Battershall, Jeff [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Monday, July 24, 2006 1:05 PM Subject: RE: [flexcoders] Still Fuzzy about Flex 2.0 and CFCs Jessie, Thanks for the clarification. What I do not see in the Flex2 docs is the ability to use Remote object without FDS. Would you have to write your own custom class to do your remoting calls? I've done such in Flash. Jeff -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of JesterXL Sent: Monday, July 24, 2006 1:02 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Still Fuzzy about Flex 2.0 and CFCs Just to be clear, you don't need FDS to use AMF3 ColdFusion's ValueObjects, only CF 7.0.2. I'm with you on price, though. They'll end up paying more in the end as you spend copious amounts of time writing ValueObject conversion code, and debugging string vs. number conversion errors, but it's hard to justify without someone who can clearly articulate to the client by spending more money up front, they'll save money in the end. - Original Message - From: Battershall, Jeff [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Monday, July 24, 2006 12:54 PM Subject: RE: [flexcoders] Still Fuzzy about Flex 2.0 and CFCs Jessie, I hear you on this - I've been dealing with the same sort of thing myself, but I have a client who is looking for the low cost of entry solution and CF7 upgrade and FDS would appear to be out of the question. That's excellent that you can set encoding however - that opens things up for this project. Jeff -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of JesterXL Sent: Monday,
[flexcoders] Eclipse: Flex and CFC perspectives help
I'm sure there is an easy answer to this... but I cannot get it to work. When I define a new Flex project, I link my cfc component path in the project as well. I have CFEclipse installed on Flex Builder, and it recognizes the .cfc files as being from that Perspective but the code formatting/completion does not trigger. I even do a manual switch perspectives, the view changes (outline etc goes to the right bar) but still no color coding or auto complete Is there something special to do? -- 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/
[flexcoders] ValidationResultEvent class: How to access name of form field?
I understand that the Validator.validateAll() method returns an array of ValidationResultEvent objects. My question is, how do I access the name of the field that failed validation? According to the docs, the field property of the ValidationResultEvent object supplies this. But when I reference this property, I consistently get null, even though I specified the name attribute of each form field. What am I missing? (code below) // Step 1: Handle Save button click private function saveProfile():void { // Validate all fields before submitting data var arr:Array = Validator.validateAll(arrValidators); // If the array returned by validateAll is not // empty, then something failed validation if(arr.length){ // Invoke a function to display the error messages // (see below for function definition) displayValidationErrors(arr); }else{ // submit form data } } // Show results of call to validateAll private function displayValidationErrors(arr:Array):void { var str:String = Please correct the following:\n\n; for (var i:int = 0; i arr.length; i++){ // This always prints null message: // Why? How do I get it to print the // name of the field? str += arr[i].field + message: ; // This prints the correct message, but does // not indicate which field the message // is referring to str += arr[i].message + \n\n; } Alert.show(str,Form Validation Message); } Yahoo! Groups Sponsor ~-- Check out the new improvements in Yahoo! Groups email. http://us.click.yahoo.com/6pRQfA/fOaOAA/yQLSAA/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] Still Fuzzy about Flex 2.0 and CFCs
RemoteObject is certainly there and only requires a remoting gateway.http://livedocs.macromedia.com/flex/2/langref/mx/rpc/remoting/mxml/RemoteObject.html You can use Flash Remoting or the Flash Gateway in CFMX or OpenAMF. I have not used OpenAMF with the AMF3, so I'm not positive that it works. I remember seeing posting that it does though.HTHRegards, Rob RusherOn 7/24/06, Battershall, Jeff [EMAIL PROTECTED] wrote: Jessie, Thanks for the clarification. What I do not see in the Flex2 docs is the ability to use Remote object without FDS. Would you have to write your own custom class to do your remoting calls? I've done such in Flash. Jeff -Original Message- From: flexcoders@yahoogroups.com [mailto: flexcoders@yahoogroups.com] On Behalf Of JesterXL Sent: Monday, July 24, 2006 1:02 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Still Fuzzy about Flex 2.0 and CFCs Just to be clear, you don't need FDS to use AMF3 ColdFusion's ValueObjects, only CF 7.0.2. I'm with you on price, though. They'll end up paying more in the end as you spend copious amounts of time writing ValueObject conversion code, and debugging string vs. number conversion errors, but it's hard to justify without someone who can clearly articulate to the client by spending more money up front, they'll save money in the end. - Original Message - From: Battershall, Jeff [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Monday, July 24, 2006 12:54 PM Subject: RE: [flexcoders] Still Fuzzy about Flex 2.0 and CFCs Jessie, I hear you on this - I've been dealing with the same sort of thing myself, but I have a client who is looking for the low cost of entry solution and CF7 upgrade and FDS would appear to be out of the question. That's excellent that you can set encoding however - that opens things up for this project. Jeff -Original Message- From: flexcoders@yahoogroups.com [mailto: flexcoders@yahoogroups.com] On Behalf Of JesterXL Sent: Monday, July 24, 2006 12:46 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Still Fuzzy about Flex 2.0 and CFCs Ability to pass custom objects. I've written over 800 lines of code for Factories to convert CFC structs to ValueObjects in the past 6 months. It sucks, is a pain in the ass, and it sucks... did I mention I hate debugging data-type conversions? I'm sure with AMF3's 30-50% reducation in filesize over the wire vs. AMF0, performance would be better too. ColdFusion 7.0.2, 4 teh w1n!!! - Original Message - From: Battershall, Jeff [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Monday, July 24, 2006 12:40 PM Subject: RE: [flexcoders] Still Fuzzy about Flex 2.0 and CFCs Jessie, When you say, talking to the old sucks from a client-side perspective are we talking performance or the ability to pass custom objects or what? Jeff -Original Message- From: flexcoders@yahoogroups.com [mailto: flexcoders@yahoogroups.com] On Behalf Of JesterXL Sent: Monday, July 24, 2006 12:20 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Still Fuzzy about Flex 2.0 and CFCs Flex 2 can utilize AMF0 or AMF3; you just set the ObjectEncoding. CF 7.0.2 can use AMF3; anything before only AMF0. Flex 2 can talk to both old CF and new CF. Talking to the old sucks from a client-side perspective. - Original Message - From: Battershall, Jeff [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Monday, July 24, 2006 12:08 PM Subject: RE: [flexcoders] Still Fuzzy about Flex 2.0 and CFCs OK, gotcha, but I suppose the other issue is what version of AMF is availble server-side. I'm getting the impression that AMF3 is necessary both on the client and server in Flex 2.0 - am I right about that? Jeff -Original Message- From: flexcoders@yahoogroups.com [mailto: flexcoders@yahoogroups.com] On Behalf Of Tom Chiverton Sent: Monday, July 24, 2006 11:20 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Still Fuzzy about Flex 2.0 and CFCs On Monday 24 July 2006 15:02, Battershall, Jeff wrote: Obviously, FDS would be a preferred way of integrating with CF if available, Dunno about that. There is a difference betwen granular record editing, and service invocation - FDS is better* for the former, remoting for the later. -- Tom Chiverton 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.
RE: [flexcoders] A very simple XML question
I believe the XML object will already be at the root so try: source={GetData.Product} If you still have trouble, use a test function to inspect the structure of the GetData object. Use toXMLString() to see the xml. Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Joe Sent: Sunday, July 23, 2006 10:49 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] A very simple XML question Hi all, I'm very new to Flex so I started to read all the Doc. and Samples under the HELP Section. Now I'm just trying - with no luck - to import from a local xml file some data. here is my little listino.xml file - saved at the same level of the main file named c.mxml. = listino.xml = ?xml version=1.0 encoding=utf-8? catalog product nameblablabla/name descriptionblebleble/description price99.99/price /product product nameblablabla/name descriptionblebleble/description price100.99/price /product /catalog Then , here is my c.mxml file. = c.mxml = ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml width=600 height=450 mx:Model id=GetData source=listino.xml / mx:ArrayCollection id=ac source={GetData.Catalog.Product} / mx:DataGrid id=dg dataProvider={ac} mx:columns mx:DataGridColumn headerText=Name dataField=Name width=120 / mx:DataGridColumn headerText=Descrption dataField=Description width=250 / mx:DataGridColumn headerText=Price dataField=Price width=150 / /mx:columns /mx:DataGrid /mx:Application == If I run it, I get no errors but no data at all. Any suggestion? Thank you in advance for your help. Kind Regards joe __._,_.___ -- 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] Still Fuzzy about Flex 2.0 and CFCs
Jessie, Thanks for takng the time to craft your excellent explanation. In the Flex2 docs it makes a big deal about how RemoteObject is only available via FDS. But I completely understand that RemoteObject is just a wrapper for remoting and in fact I kinda treated it that way in Flex 1.5 by creating a custom AS class to persist the created service and re-use it repeatedly. Jeff -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of JesterXL Sent: Monday, July 24, 2006 1:18 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Still Fuzzy about Flex 2.0 and CFCs Let's define some terms to make sure we're on the same page. Flash Remoting is 2 technologies. First, the client side portion is the ability for the Flash Player to send binary data objects via binary to and from the server. It can serialize deserialize these objects to from the AMF0 AMF3 binary format. It sends this information via the rtmp TCP/IP proprietary protocol that is built into the Flash Player. Second, Flash Remoting is the server-side portion that can speak understand AMF0 and/or AMF3. This allows the client and server to exchange not only native data-types that each can understand, but also custom ValueObjects, or Class instances. So a String in Flash is a String in CF, an Array in Flash is a List in Java for example. You can also utilize custom classes if the class is registered via Object.registerClass (forget what it is in Flex 2). ColdFusion pre 7.0.2 has had the ability to speak AMF (aka the ability to utilize Remoting). It, however, had some f'ed up rules and weird intracacies on getting it to work, and could not use custom classes, only strings, numbers, arrays, and vanilla Objects, and only unders certain conditions could it use Objects (HashMaps). As such, since the Flash Player 9 is backwards compatible via ObjectEncoding, Flex 2 can still talk to older CFC's via Flash Remoting. Thus, you can still use RemoteObject, although, I haven't tested because for an existing project, both CF Flex will be upgraded, negating the need to worry about AMF0. RemoteObject in Flex 1.5 and below is really a wrapper class for Remoting. Where Flash IDE Flash Player 8 is concerned HTTPService is the equivalent to LoadVars, WebService the same, and RemoteObject is equivalent to Service. Granted, Flex' versions have significantly more helpful features added to them like the built-in server proxy to get around Flash Player's security sandbox, the busy cursor, etc. Make no mistake, though, RemoteObject IS Flash Remoting, and Flash Remoting IS RemoteObject. If your server doesn't speak Flash Remoting, you can't use RemoteObject. I believe in my tests with AMFPHP that RemoteObject does support setting it's encoding to AMF0; 70% sure, beta 1 code, and haven't looked at it in awhile. FDS, or Flex Data Services, is seperate from ColdFusion. It's basically Flex Server 2, with a bunch of new features. The fact that it has Flash Remoting is really a fallback technology, and not an intrinsic feature. For example, you're SUPPOSED to use it with JMS, or your custom messaging solution, allowing real-time communication. The AMF XML fallbacks, both polling, are merely used when the JMS service is down. So, you don't get FDS to get Remoting, you get FDS to get the real-time messaging capabilities. You're goal is not to use FDS to make service calls, your goal is to get Data synchronization, clustering, real-time push, and all those other things Steven Webster articualted in an earlier email thread (sorry don't have the link handy). Therefore, if you have no intention of using Hiberate, and real-time communication, there is no point for FDS if all you want to do is call CFC remote methods. Make sense? Did I answer your questions? - Original Message - From: Battershall, Jeff [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Monday, July 24, 2006 1:05 PM Subject: RE: [flexcoders] Still Fuzzy about Flex 2.0 and CFCs Jessie, Thanks for the clarification. What I do not see in the Flex2 docs is the ability to use Remote object without FDS. Would you have to write your own custom class to do your remoting calls? I've done such in Flash. Jeff -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of JesterXL Sent: Monday, July 24, 2006 1:02 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Still Fuzzy about Flex 2.0 and CFCs Just to be clear, you don't need FDS to use AMF3 ColdFusion's ValueObjects, only CF 7.0.2. I'm with you on price, though. They'll end up paying more in the end as you spend copious amounts of time writing ValueObject conversion code, and debugging string vs. number conversion errors, but it's hard to justify without someone who can clearly articulate to the client by spending more money up front, they'll save money in the end. - Original Message
[flexcoders] Re: QuickDateFormatter - how can I make it MXML enabled?
OK, I've got it working how I wanted. Would love to hear feedback on my structure as well as whether or not you find this useful. Usage: local:QuickDateFormatter id=qdf date={fieldOne.text} dateFormat={fieldTwo.text} / mx:Label text={qdf.output}/ Source class: package { import mx.formatters.DateFormatter; public class QuickDateFormatter extends DateFormatter { private var _str_dateString:String; private var _str_dateFormat:String; [Bindable] public var output:String; public function get date():String { return _str_dateString; } public function set date(a_str:String):void { _str_dateString = a_str; reformat(); } public function get dateFormat():String { return _str_dateFormat; } public function set dateFormat(a_str:String):void { _str_dateFormat = a_str; reformat(); } private function reformat():void { var f:DateFormatter = new DateFormatter(); f.formatString = _str_dateFormat; output = f.format(DateFormatter.parseDateString(_str_dateString)); } } } Let me know what you think! Ben http://www.returnundefined.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/ * 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] Reference to View Stack Failing
Greetings - The following compiles fine, but at run time, when the function gets called, I get a null object reference error for demandStack. I've tried a fully-qualified path to demand stack as well... Any ideas? thanks, ethan mx:Script ![CDATA[ public function whatsNext(e:Event, next:String):void { if (next==tps){ demandStack.selectedIndex=1; } } ]] /mx:Script mx:ViewStack id=demandStack width=100% height=100% demand:ContactInfo id=contactInfo/ demand:TouchPlans id=touchPlans/ demand:TouchPlanOptions id=touchOptions/ demand:Vectors id=assignVectors/ demand:Vectors id=personalize/ demand:Vectors id=review/ /mx:ViewStack /mx:HBox -- 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] FLEX 2: Databinding return values
How about this below. Im not sure what binding will provide in this case though. Maybe you can be more specific about what you want? Tracy ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml layout=absolute mx:Script![CDATA[ [Bindable] private function now():String { var dNow:Date = new Date(); return dNow.toDateString(); } ]]/mx:Script mx:Label text={now()} fontSize=20 / /mx:Application From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of efeminella Sent: Friday, July 21, 2006 4:12 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] FLEX 2: Databinding return values Does anyone have any simple examples demonstrating how to use the new bindable directive to bind a value returned by a method? Thanks in advance, Eric __._,_.___ -- 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] Reference to View Stack Failing
Are the custom components used from the demand namespace containers?ViewStack requires them to be container components.Make sure all of the components used in the ViewStack extend a container component. That should solve your problem Regards,Rob RusherOn 7/24/06, Ethan Miller [EMAIL PROTECTED] wrote: Greetings - The following compiles fine, but at run time, when the function gets called, I get a null object reference error for demandStack. I've tried a fully-qualified path to demand stack as well... Any ideas? thanks, ethan mx:Script ![CDATA[ public function whatsNext(e:Event, next:String):void { if (next==tps){ demandStack.selectedIndex=1; } } ]] /mx:Script mx:ViewStack id=demandStack width=100% height=100% demand:ContactInfo id=contactInfo/ demand:TouchPlans id=touchPlans/ demand:TouchPlanOptions id=touchOptions/ demand:Vectors id=assignVectors/ demand:Vectors id=personalize/ demand:Vectors id=review/ /mx:ViewStack /mx:HBox -- -- Regards,Rob RusherAdobe Certified Breeze, ColdFusion MX and Flex 2 Instructorm: 303-885-7044im: robrusher __._,_.___ -- 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. __,_._,___
[flexcoders] Manually show slider tooltips
Hi,How would I go about manually showing the sliderThumb tooltips... I've been poking around the Slider Class and see the methods I want to call onThumbPress / onThumbRelease but have had no luck subclassing/overriding to acheive what I'd like... any help is appreciated. Thanks,Brendan __._,_.___ -- 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] Populating ComboBox from Model/XML
I have never liked Model, a personal problem, I know. Below is an example using HTTPService, my best friend. Debugging binding is hard, so I almost always use a result handler, again as below. Note that it assumes the xml file in in an assets folder. Change that if necessary. Tracy ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml layout=absolute creationComplete=dsVideos.send(); mx:Script![CDATA[ import mx.collections.XMLListCollection; import mx.rpc.events.ResultEvent; private function onResult(oEvent:ResultEvent):void { var xlcDP:XMLListCollection = new XMLListCollection(oEvent.result.titles.title); list1.dataProvider = xlcDP; //assign XML XMLList to data Provider }//onResult private function lfnConcat(item:Object):String { return (item.className + ( + item.duration + hrs.)); }//lfnConcat ]]/mx:Script mx:HTTPService id=dsVideos url="" result=onResult(event) resultFormat=e4x/ mx:List id=list1 labelFunction=lfnConcat width=300/ /mx:Application -- videoTitles.xml -- ?xml version=1.0? root titles title classNameFlash User Experience Best Practices/className duration4.25/duration /title title classNameFlash Professional 8 New Features/className duration1.0/duration /title title classNameFlash Professional 8 Essential Training/className duration11.5/duration /title title classNameFlash Professional 8 Beyond the Basics/className duration10/duration /title title classNameFlash Professional 8 Video Integration/className duration7.25/duration /title title classNamePhotoshop CS2 and Flash 8 Integration/className duration2.5/duration /title /titles /root From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of John Mazzocchi Sent: Friday, July 21, 2006 2:58 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Populating ComboBox from Model/XML Hi, newbie question here ... just learning. I'm using Flex 2. There seem to be numerous errors and typos in the Adobe Flex Help files/PDFs and I'm hitting a snag here ... What I'd like to do, to begin with, is to populate a ComboBox from an external XML file. The section in the help files called Populating a ComboBox control using variables and models seems pertinent, but the second part of example doesn't work. The relevant code is this ... mx:Model id=myDP obj item label=AL data="" w:st="on">Montgomery/ item labelAK/label dataJuneau/data /item item labelAR/label dataLittle Rock/data /item /obj /mx:Model mx:ArrayCollection id=stateAC source={myDP.obj.item}/ mx:ComboBox dataProvider={stateAC}/ Should I be using XML or XMLList instead? Later I'd like to have the dataProvider be from an external source (HTTPService or WebService), but I can't even get this simpler code to work. Any help appreciated. Thanks. This email and any files transmitted with it may be confidential and are intended solely for the use of the individual or entity to whom they are addressed. This email may contain personal information of individuals, and be subject to Commonwealth and/or State privacy laws in Australia. This email is also subject to copyright. If you are not the intended recipient, you must not read, print, store, copy, forward or use this email for any reason, in accordance with privacy and copyright laws. If you have received this email in error, please notify the sender by return email, and delete this email from your inbox. __._,_.___ -- 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] Local Connection VS. SWF Loader
Sounds to me like you are not cleaning up your SWF. If you are going to unload it, make sure you disconnect (in a manner of speaking) and delete all LocalConnection stuff before unloading the SWF. If you don't, it may not work till the Garbage Collector comes along and forcefully removes the LocalConnection. Just guessing that's the problem. - Original Message - From: flexnewbie06 [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Monday, July 24, 2006 3:27 PM Subject: [flexcoders] Local Connection VS. SWF Loader Just gonna throw this out there, in case it was missed by someone who might be able to help. SWF Loader in Flex App, loads initial swf and local connection works perfect to stop / play / pause swf. As soon as new swf is loaded into SWF Loader at runtime...local connection no longer works. I assume it is not the sending local connection as the event listener returns status (no errors). So i guess it might be swf Loader not loading swf properly or unloading previous swf...anyway gonna post the code so you all can see. The swf basically has actions layers with corresponding functions (stop function etc...) THANKS! CODE: ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; layout=absolute initialize=urlloader() mx:Script ![CDATA[ //declarations import flash.net.*; import flash.events.*; import mx.controls.Alert; import flash.media.SoundTransform; public var swfState:String = play; public var lc:LocalConnection = new LocalConnection; [Bindable] public var my_xml:XML = new XML(); //create loader and request for XML doc public function urlloader():void{ var xml_loader:URLLoader = new URLLoader; var xml_request:URLRequest = new URLRequest (playlist.xml); xml_loader.load(xml_request); xml_loader.addEventListener(complete, onComplete); lc.allowDomain(); } //stop and return to frame 1, enable functions private function stopandrestart(): void { lc.send( swf8connector, stopandrestart ); stop.enabled=false; pause.enabled=false; play.enabled = true; } //Toggle pause and play, disable other buttons private function stopOrResume() : void { if( swfState == play ) { pause.label = Resume; lc.send( swf8connector, pauseFile ); swfState = pause; play.enabled = false; stop.enabled = false; pause.enabled=true; } else { pause.label = Pause; lc.send( swf8connector, resumeFile ); swfState = play; play.enabled = true; stop.enabled = true; pause.enabled=true; } } //start playback enable functions private function playFile() : void { lc.send ( swf8connector, playFile ); stop.enabled=true; pause.enabled=true; play.enabled=false; } //Read XML doc and load course contents public function onComplete(event:Event): void{ var loader:URLLoader = URLLoader(event.target); my_xml = new XML(loader.data); }; //unload swf currently loaded public function vidunload(): void { swf.source = ; swf.enabled=false; swf.autoLoad=true; stop.enabled = false; pause.enabled = false; play.enabled = false; } //load selected in list public function loadselected():void { var temp:String = list.selectedItem.toString(); vidunload(); swf.source = temp + .swf; stop.enabled = true; pause.enabled= true; play.enabled= false; } ]] /mx:Script mx:ApplicationControlBar x=10 y=10 height=194 width=130 cornerRadius=19 fillAlphas=[0.26, 0.19] fillColors=[#0080ff, #ff] mx:List id=list alpha=0.0 borderStyle=none height=150 dataProvider=[EMAIL PROTECTED] labelField=@name selectable=true width=111 allowMultipleSelection=false textRollOverColor=#0080C0 click=loadselected() textAlign=left/mx:List /mx:ApplicationControlBar mx:Panel x=148 y=10 width=783 height=693 layout=absolute mx:SWFLoader id=swf autoLoad=true source=star_flash.swf x=10 y=10 width=751 height=633/ mx:ApplicationControlBar width=234 mx:Button id=play label=Play click=playFile() width=48/ mx:Button id=stop label=Stop click=stopandrestart() width=48/ mx:Button id=pause label=Pause click=stopOrResume() width=69/ mx:HSlider id=vslide width=71 height=20/ /mx:ApplicationControlBar /mx:Panel /mx:Application -- 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/
[flexcoders] Re: Still Fuzzy about Flex 2.0 and CFCs
WRT Remote Object: with ColdFusion 7.0.2, you get Flash Remoting for free. With a Java or other backend, you'll need FDS, correct. CF 7.0.2 includes parts of the Flex implementation natively that support Remote Object calls, data type marshalling, security, CFC mapping, etc. The CF Flex Builder plugins also can auto-generate your AS3 and CFC VO's for you by right-clicking on a DB table in the CF RDS View...presto-magic. You can also auto-generate the entire FDS Assembler CFC-based backend via the same method (many 100's of lines of pre-tested best- pratice code is generated for you...just wire up the UI and off you go. Damon --- In flexcoders@yahoogroups.com, Battershall, Jeff [EMAIL PROTECTED] wrote: Jessie, Thanks for the clarification. What I do not see in the Flex2 docs is the ability to use Remote object without FDS. Would you have to write your own custom class to do your remoting calls? I've done such in Flash. Jeff -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of JesterXL Sent: Monday, July 24, 2006 1:02 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Still Fuzzy about Flex 2.0 and CFCs Just to be clear, you don't need FDS to use AMF3 ColdFusion's ValueObjects, only CF 7.0.2. I'm with you on price, though. They'll end up paying more in the end as you spend copious amounts of time writing ValueObject conversion code, and debugging string vs. number conversion errors, but it's hard to justify without someone who can clearly articulate to the client by spending more money up front, they'll save money in the end. - Original Message - From: Battershall, Jeff [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Monday, July 24, 2006 12:54 PM Subject: RE: [flexcoders] Still Fuzzy about Flex 2.0 and CFCs Jessie, I hear you on this - I've been dealing with the same sort of thing myself, but I have a client who is looking for the low cost of entry solution and CF7 upgrade and FDS would appear to be out of the question. That's excellent that you can set encoding however - that opens things up for this project. Jeff -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of JesterXL Sent: Monday, July 24, 2006 12:46 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Still Fuzzy about Flex 2.0 and CFCs Ability to pass custom objects. I've written over 800 lines of code for Factories to convert CFC structs to ValueObjects in the past 6 months. It sucks, is a pain in the ass, and it sucks... did I mention I hate debugging data-type conversions? I'm sure with AMF3's 30-50% reducation in filesize over the wire vs. AMF0, performance would be better too. ColdFusion 7.0.2, 4 teh w1n!!! - Original Message - From: Battershall, Jeff [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Monday, July 24, 2006 12:40 PM Subject: RE: [flexcoders] Still Fuzzy about Flex 2.0 and CFCs Jessie, When you say, talking to the old sucks from a client-side perspective are we talking performance or the ability to pass custom objects or what? Jeff -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of JesterXL Sent: Monday, July 24, 2006 12:20 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Still Fuzzy about Flex 2.0 and CFCs Flex 2 can utilize AMF0 or AMF3; you just set the ObjectEncoding. CF 7.0.2 can use AMF3; anything before only AMF0. Flex 2 can talk to both old CF and new CF. Talking to the old sucks from a client-side perspective. - Original Message - From: Battershall, Jeff [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Monday, July 24, 2006 12:08 PM Subject: RE: [flexcoders] Still Fuzzy about Flex 2.0 and CFCs OK, gotcha, but I suppose the other issue is what version of AMF is availble server-side. I'm getting the impression that AMF3 is necessary both on the client and server in Flex 2.0 - am I right about that? Jeff -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Tom Chiverton Sent: Monday, July 24, 2006 11:20 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Still Fuzzy about Flex 2.0 and CFCs On Monday 24 July 2006 15:02, Battershall, Jeff wrote: Obviously, FDS would be a preferred way of integrating with CF if available, Dunno about that. There is a difference betwen granular record editing, and service invocation - FDS is better* for the former, remoting for the later. -- Tom Chiverton 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
Re: [flexcoders] Reference to View Stack Failing
Yes, all the custom components are from the demand namespace and are Panels. They all load fine, it's the reference to the view stack itself that is failing,. Are the custom components used from the demand namespace containers? ViewStack requires them to be container components. Make sure all of the components used in the ViewStack extend a container component. That should solve your problem They do, unless I'm misunderstanding you. All the referenced components are Panels.. ?? ethan Yahoo! Groups Sponsor ~-- Yahoo! Groups gets a make over. See the new email design. http://us.click.yahoo.com/XISQkA/lOaOAA/yQLSAA/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/
[flexcoders] Re: Acegi/Spring/Flex authentication
If the scenario works with a JSP page, it will work with Flex. The player is simply inheriting the J2EE jsessionid from the browser. We use Filters and custom JAAS plugins all the time with Flex. -- Dave Wolf Cynergy Systems, Inc. Adobe Flex Alliance Partner http://www.cynergysystems.com http://www.cynergysystems.com/blogs Email: [EMAIL PROTECTED] Office: 866-CYNERGY --- In flexcoders@yahoogroups.com, flxcoder [EMAIL PROTECTED] wrote: Any tips here? Is it possible to use acegi with Flex? Thanks. --- In flexcoders@yahoogroups.com, flxcoder flxcoder@ wrote: Hi all. Maybe not a flex question but relevant. I am trying to authenticate flex into my middle tier by using acegi. I am moderately familiar with acegi and the saying goes that the filter checks the entry point as bean id=authenticationProcessingFilterEntryPoint class=org.acegisecurity.ui.webapp.AuthenticationProcessingFilterEntryPoint property name=loginFormUrlvalue/acegilogin.jsp/value/ property property name=forceHttpsvaluefalse/value/property /bean Question is then, has anyone integrated acegi with flex because in the above case maybe the loginFormUrl can be /acegiLogin.jsp where the jsp holds the main swf for flex. Looking for tips on where to start and where to head off with the integration. Thanks. Yahoo! Groups Sponsor ~-- See what's inside the new Yahoo! Groups email. http://us.click.yahoo.com/2pRQfA/bOaOAA/yQLSAA/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] Reference to View Stack Failing
Sample:?xml version=1.0 encoding=utf-8?mx:Application xmlns:mx=http://www.adobe.com/2006/mxmlxmlns:demand=components.* mx:Script ![CDATA[ public function whatsNext(e:Event, next:String):void { if( next==tps ) { demandStack.selectedIndex=1; } } ]]/mx:Scriptmx:ViewStack id=demandStack width=100% height=100%demand:test id=contactInfo/demand:test2 id=touchPlans/ /mx:ViewStackmx:Button label=Call Method click=this.whatsNext( event, 'tps' )//mx:Applicationtest and test2 are empty components that extend Box and Panel, respectively. Works without issue. There is something else to your problem. Break it down to a simple example as I did and then build it back up.On 7/24/06, Ethan Miller [EMAIL PROTECTED] wrote: Yes, all the custom components are from the demand namespace and are Panels. They all load fine, it's the reference to the view stack itself that is failing,. Are the custom components used from the demand namespace containers? ViewStack requires them to be container components. Make sure all of the components used in the ViewStack extend a container component. That should solve your problem They do, unless I'm misunderstanding you. All the referenced components are Panels.. ?? ethan -- -- Regards,Rob RusherAdobe Certified Breeze, ColdFusion MX and Flex 2 Instructorm: 303-885-7044im: robrusher __._,_.___ -- 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. __,_._,___
[flexcoders] Local Connection VS. SWF Loader
Just gonna throw this out there, in case it was missed by someone who might be able to help. SWF Loader in Flex App, loads initial swf and local connection works perfect to stop / play / pause swf. As soon as new swf is loaded into SWF Loader at runtime...local connection no longer works. I assume it is not the sending local connection as the event listener returns status (no errors). So i guess it might be swf Loader not loading swf properly or unloading previous swf...anyway gonna post the code so you all can see. The swf basically has actions layers with corresponding functions (stop function etc...) THANKS! CODE: ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; layout=absolute initialize=urlloader() mx:Script ![CDATA[ //declarations import flash.net.*; import flash.events.*; import mx.controls.Alert; import flash.media.SoundTransform; public var swfState:String = play; public var lc:LocalConnection = new LocalConnection; [Bindable] public var my_xml:XML = new XML(); //create loader and request for XML doc public function urlloader():void{ var xml_loader:URLLoader = new URLLoader; var xml_request:URLRequest = new URLRequest (playlist.xml); xml_loader.load(xml_request); xml_loader.addEventListener(complete, onComplete); lc.allowDomain(); } //stop and return to frame 1, enable functions private function stopandrestart(): void { lc.send( swf8connector, stopandrestart ); stop.enabled=false; pause.enabled=false; play.enabled = true; } //Toggle pause and play, disable other buttons private function stopOrResume() : void { if( swfState == play ) { pause.label = Resume; lc.send( swf8connector, pauseFile ); swfState = pause; play.enabled = false; stop.enabled = false; pause.enabled=true; } else { pause.label = Pause; lc.send( swf8connector, resumeFile ); swfState = play; play.enabled = true; stop.enabled = true; pause.enabled=true; } } //start playback enable functions private function playFile() : void { lc.send ( swf8connector, playFile ); stop.enabled=true; pause.enabled=true; play.enabled=false; } //Read XML doc and load course contents public function onComplete(event:Event): void{ var loader:URLLoader = URLLoader(event.target); my_xml = new XML(loader.data); }; //unload swf currently loaded public function vidunload(): void { swf.source = ; swf.enabled=false; swf.autoLoad=true; stop.enabled = false; pause.enabled = false; play.enabled = false; } //load selected in list public function loadselected():void { var temp:String = list.selectedItem.toString(); vidunload(); swf.source = temp + .swf; stop.enabled = true; pause.enabled= true; play.enabled= false; } ]] /mx:Script mx:ApplicationControlBar x=10 y=10 height=194 width=130 cornerRadius=19 fillAlphas=[0.26, 0.19] fillColors=[#0080ff, #ff] mx:List id=list alpha=0.0 borderStyle=none height=150 dataProvider=[EMAIL PROTECTED] labelField=@name selectable=true width=111 allowMultipleSelection=false textRollOverColor=#0080C0 click=loadselected() textAlign=left/mx:List /mx:ApplicationControlBar mx:Panel x=148 y=10 width=783 height=693 layout=absolute mx:SWFLoader id=swf autoLoad=true source=star_flash.swf x=10 y=10 width=751 height=633/ mx:ApplicationControlBar width=234 mx:Button id=play label=Play click=playFile() width=48/ mx:Button id=stop label=Stop click=stopandrestart() width=48/ mx:Button id=pause label=Pause click=stopOrResume() width=69/ mx:HSlider id=vslide width=71 height=20/ /mx:ApplicationControlBar /mx:Panel /mx:Application -- 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!
Re: [flexcoders] Reference to View Stack Failing
it would probably be helpful if you sent a larger snippet of code. the error implies the view stack hasnt been created at the time the whatsNext method is called. So, this inherently leads to a few questions... How is the ViewStack instantiated? Is it a direct child of the Application? Is it created in a ViewState with addChild? Is it in another viewStack? How is whatsNext called? When is it first called? At 03:49 PM 7/24/2006, you wrote: Yes, all the custom components are from the demand namespace and are Panels. They all load fine, it's the reference to the view stack itself that is failing,. Are the custom components used from the demand namespace containers? ViewStack requires them to be container components. Make sure all of the components used in the ViewStack extend a container component. That should solve your problem They do, unless I'm misunderstanding you. All the referenced components are Panels.. ?? 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 -- No virus found in this incoming message. Checked by AVG Anti-Virus. Version: 7.1.394 / Virus Database: 268.10.4/396 - Release Date: 7/24/2006 -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.1.394 / Virus Database: 268.10.4/396 - Release Date: 7/24/2006 Yahoo! Groups Sponsor ~-- Something is new at Yahoo! Groups. Check out the enhanced email design. http://us.click.yahoo.com/SISQkA/gOaOAA/yQLSAA/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/
[flexcoders] Bug in FlexBuilder 2 New Project Wizard: Doesn't recognize server root
I installed FDS, following the instructions for Tomcat (copied the WAR files into the webapps folder and restarted Tomcat, then confirmed that the directories were created). I restarted my box, restarted Tomcat again, opened Flex Builder 2.0, then: 1. File - New - Flex Project 2. Selected Flex Data Services and Compile application locally in Flex Builder, clicked Next 3. Deselected Use default location for local Flex Data Services server 4. Browsed to C:\tomcat\webapps\flex and selected this folder 5. Clicked Validate Location and got the following error: Invalid server root. Server root must contain a WEB-INF/flex folder. 6. I navigated to C:\tomcat\webapps\flex and confirmed that it does in fact contain a WEB-INF folder, which in turn contains a flex folder. 7. The wizard will not allow me to proceed. The Next and Finish buttons are grayed out; my options are Back and Cancel. Is this a known issue? Is there a workaround? Yahoo! Groups Sponsor ~-- Check out the new improvements in Yahoo! Groups email. http://us.click.yahoo.com/6pRQfA/fOaOAA/yQLSAA/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] Reference to View Stack Failing
Rob - I was looking for an example of what Ethan was doing which wasnt working :) At 04:02 PM 7/24/2006, Rob Rusher wrote: Sample: ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxmlhttp://www.adobe.com/2006/mxml; xmlns:demand=components.* mx:Script ![CDATA[ public function whatsNext(e:Event, next:String):void { if( next==tps ) { demandStack.selectedIndex=1; } } ]] /mx:Script mx:ViewStack id=demandStack width=100% height=100% demand:test id=contactInfo/ demand:test2 id=touchPlans/ /mx:ViewStack mx:Button label=Call Method click=this.whatsNext( event, 'tps' )/ /mx:Application test and test2 are empty components that extend Box and Panel, respectively. Works without issue. There is something else to your problem. Break it down to a simple example as I did and then build it back up. On 7/24/06, Ethan Miller mailto:[EMAIL PROTECTED][EMAIL PROTECTED] wrote: Yes, all the custom components are from the demand namespace and are Panels. They all load fine, it's the reference to the view stack itself that is failing,. Are the custom components used from the demand namespace containers? ViewStack requires them to be container components. Make sure all of the components used in the ViewStack extend a container component. That should solve your problem They do, unless I'm misunderstanding you. All the referenced components are Panels.. ?? ethan -- -- Regards, Rob Rusher Adobe Certified Breeze, ColdFusion MX and Flex 2 Instructor m: 303-885-7044 im: robrusher No virus found in this incoming message. Checked by AVG Anti-Virus. Version: 7.1.394 / Virus Database: 268.10.4/396 - Release Date: 7/24/2006 -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.1.394 / Virus Database: 268.10.4/396 - Release Date: 7/24/2006 Yahoo! Groups Sponsor ~-- Yahoo! Groups gets a make over. See the new email design. http://us.click.yahoo.com/XISQkA/lOaOAA/yQLSAA/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] Updates for Flex 2.0?
I would agree... especially since SLED10 was released, I'm actually looking to move over to Linux... the only thing preventing me at this point is I've got well, almost everything you guys at Adobe make, and none of it runs on Linux, not even with WINE. Sux bigtime. On 7/24/06, Tom Chiverton [EMAIL PROTECTED] wrote: On Monday 24 July 2006 01:17, Matt Chotin wrote: Linux player support before we can move in that direction.I'm curious how many of you guys who use Linux would be willing to pay for such a version? Pay for a linux Flash player ? Err, no, not unless we're talking very smallsums of money.If you meant Linux FlexBuilder support, I would expect licenses to betransferable betwen O/Ss i.e. we already have X Windows FlexBuilder's, that should allow us upto X Linux ones too, as long as we don't use the samelicence twice at once..--Tom ChivertonThis 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. CONFIDENTIALITYThis 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 ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! 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/ __._,_.___ -- 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] Embbeding a Flash CFReport inside a Flex App
I've been able to have it in there using both the image component or the SWFloader by simply specifying the source as my CFR file, since it returns a SWF. The problem I had is with scaling. When you view the CFR in the browser from a CF server, the controls are a toolbar along the top that stays the same size regardless of browser scaling. However when placed into a flex app, the swf is relatively very small, and when you scale it, it scaled the whole thing, making for a very large FlashPaper toolbar. Maybe this will point you in the right direction if you can figure out a solution to scaling problem. If you do,please share! :-)NickOn 7/23/06, nigasak [EMAIL PROTECTED] wrote: Hi everybody, does anyone knows How to include a ColdFusion Flash Paper Report inside a Flex App? __._,_.___ -- 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] what happened to ViewStack - changeEffect?
Yep, you have to replace it by show/hide effects of the views Cheers, Ralf. On 7/24/06, thunderstumpgesatwork [EMAIL PROTECTED] wrote: I was using the ViewStack changeEffect=fade to fade between views... how is this accomplished now? I see hideEffect and showEffect inherited from UIComponent... but is that going to apply to the views in the stack, or only when the container itself is shown or hidden? thanks, Thunder -- 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 -- Ralf Bokelberg [EMAIL PROTECTED] Flex Flash Consultant based in Cologne/Germany Yahoo! Groups Sponsor ~-- Something is new at Yahoo! Groups. Check out the enhanced email design. http://us.click.yahoo.com/SISQkA/gOaOAA/yQLSAA/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] A very simple XML question
Joe, in addition to what Tracy mentions, you have some case-sensitivity problems. All your XML element names are lower case, so you must write ... source={GetData.product} ... ... dataField=name ... ... dataField=description ... ... dataField=price ... - Gordon From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Tracy Spratt Sent: Monday, July 24, 2006 10:39 AM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] A very simple XML question I believe the XML object will already be at the root so try: source={GetData.Product} If you still have trouble, use a test function to inspect the structure of the GetData object. Use toXMLString() to see the xml. Tracy From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Joe Sent: Sunday, July 23, 2006 10:49 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] A very simple XML question Hi all, I'm very new to Flex so I started to read all the Doc. and Samples under the HELP Section. Now I'm just trying - with no luck - to import from a local xml file some data. here is my little listino.xml file - saved at the same level of the main file named c.mxml. = listino.xml = ?xml version=1.0 encoding=utf-8? catalog product nameblablabla/name descriptionblebleble/description price99.99/price /product product nameblablabla/name descriptionblebleble/description price100.99/price /product /catalog Then , here is my c.mxml file. = c.mxml = ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml width=600 height=450 mx:Model id=GetData source=listino.xml / mx:ArrayCollection id=ac source={GetData.Catalog.Product} / mx:DataGrid id=dg dataProvider={ac} mx:columns mx:DataGridColumn headerText=Name dataField=Name width=120 / mx:DataGridColumn headerText=Descrption dataField=Description width=250 / mx:DataGridColumn headerText=Price dataField=Price width=150 / /mx:columns /mx:DataGrid /mx:Application == If I run it, I get no errors but no data at all. Any suggestion? Thank you in advance for your help. Kind Regards joe __._,_.___ -- 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. __,_._,___
[flexcoders] Difficulty moving app from dev machine to server
I have been struggling to move the app I wrote to my production server. It works fine on my development machine but I get a send error on the client when coming from the server. I am using Remote Objects and CF 7.0.2. I checked the coldfusion-out.log and I am getting the following: user MessageBrokerServlet:init user failed to load: flex.messaging.MessageBrokerServlet Any thoughts? Thanks! Joe __._,_.___ -- 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: Flex Builder 2 RDS Connection problems
I had similar problems, and what it turned out to be is that in the preferences window, under RDS configuration, the port number was set by default to the port for the standalone CF server, not one connected to another web server. I simply changed the port to port 80 and it worked. On 7/21/06, Jim [EMAIL PROTECTED] wrote: I had trouble with FlexBuilder 2 and RDS, when Dreamweaver MX04 and FlexBuilder 1.5 RDS worked fine. I am using IIS6 and all my websites use host headers. With that being the case, there was no way to resolve the external IP, because all of the IIS websites were looking for domain names. When I setup a test website in IIS without a host header, I used my external IP to connect to RDS in FlexBuilder 2 and it connected fine. Therefore, FlexBuilder 2 definitely wants an ip address only. I hope this helps...I struggled with this for days. Jim Pickering --- In flexcoders@yahoogroups.com, Brian Holmes [EMAIL PROTECTED] wrote: Has anyone else had trouble connecting to RDS from Flex Builder 2 other than localhost? I can definitely connect in Dreamweaver to a RDS server on our network but it doesn't even appear as if Flex Builder is even trying to access the network. I get an error message instantly saying unable to contact the RDS server no matter what I've tried. It's on port 80 no context root and the RDS password i'm using is correct. I've also tried using the ip address for the host name instead of the resolved name. One thing I was wondering is if running a desktop firewall would effect being able to connect to it. Thanks, Brian *** The information in this e-mail is confidential and intended solely for the individual or entity to whom it is addressed. If you have received this e-mail in error, please notify the sender by return e-mail, delete this e-mail, and refrain from any disclosure or action based on the information. *** __._,_.___ -- 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] CSS type selectors are not supported in components
Flex 2 doesn't support per-component selectors. Put all CSS selectors in the mx:Application, not in MXML components. - Gordon From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Tansht Sent: Thursday, July 20, 2006 1:06 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] CSS type selectors are not supported in components Hi, there I'm experiencing a problem. I've checked FLEX 2 livedoc and found out all styles I defined in an external css files are supported style. However, the warning message CSS type selectors are not supported in components appeared when I run my application. Does any one know how I can resolve it? Thanks in advance David __._,_.___ -- 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] concise explanation of sizing (measured, explicit, preferred) custom components
When the LayoutManager sizes a component, it considers three inputs (measuredWidth, percentWidth, and explicitWidth) -- and produces one output (width). The measuredWidth is the component's own notion of how big it should be by default. You don't set the measuredWidth; it is up to the component to do this itself in its measure() method. For example, a Button automatically sets its measuredWidth to be just big enough to display its label. If you want to override the measuredWidth so that the component's output width is a percentage of its parent's available width, set percentWidth. Setting the 'width' to a percent (which you can do in MXML but not in AS) is simply a shorthand for setting the percentWidth. When the LayoutManager computes the output width based on the percentWidth, it will take the minWidth into account. If you want to override the measuredWidth so that the component's output width is a fixed number of pixels, set explicitWidth. Setting the 'width' to a number of pixels is simply a shorthand for setting the explicitWidth. - Gordon From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of tddclare Sent: Thursday, July 20, 2006 1:07 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] concise explanation of sizing (measured, explicit, preferred) custom components Does anyone know of a good (reasonably plain language) writeup of how (and why and when) to use the various sizing properties when extending UIComponent? I've read the documentation in Help, but it hasn't fully sunk through my thick head yet. I'd like to understand enough to know not only WHAT they are, but WHY I'm setting them and HOW Flex uses them: ( ... means Height or Width. I DO understand that those mean! : )) - measured... - measuredPreferred... - explicit... - ... Thanks for any leads or any explanations you can give me! --TC __._,_.___ -- 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: **SL-JUNK** [flexcoders] disable I-beam in textArea, this should be an EASY ONE!
editable=false - Original Message - From: JClouz To: flexcoders@yahoogroups.com Sent: Monday, July 24, 2006 9:30 AM Subject: **SL-JUNK** [flexcoders] disable I-beam in textArea, this should be an EASY ONE! I have textAreas that I don't want to be selectable/display an I-beam on mouseOver. For the life of me I can't figure out how to get rid of the i-beam on the mouseover over a textArea. textArea doesn't have a 'selectable' attribute the way text does. Any quick help? Thanks so much. Jamie MKCNSC, inc. __._,_.___ -- 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] Flex 2 final XML attributes
am i right? No, you can use E4X to get the names and values of XML attributes. Here is an example: var people:XML = people person firstName=Gordon lastName=Smith/ person firstName=Bod lastName=Unknown/ /people; // Loop over the person elements. for each (var person:XML in people..person) { // Loop over the attributes of a person, outputting the name and value of each one. var attributes:XMLList = [EMAIL PROTECTED]; for each (var attribute:XML in attributes) { trace(attribute.name(), attribute); } } - Gordon From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of bhaq1972 Sent: Friday, July 14, 2006 4:10 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Flex 2 final XML attributes Hi just wondered, the XML.attributes() method only list the values of all the attributes of the specified node. how can i get a list of name/value pairs of all the attributes. this is possible using XmlDocument class but not with the new XML class. am i right? thanks Bod __._,_.___ -- 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. __,_._,___
[flexcoders] stage.focus problem with input fields
I'm having display issues after using stage.focus. I have a component that I'd like to switch from a button click to textInput as part of the functionality. The highlighted portion of the inputText varies based on the last 'known' (?) size. I've tried invalidating everything I can think of but I must be missing something If you run this example, and click the radio buttons in order you will see that the focus box of the textInput is set to the size of the last .text value and not its current .text value. If you go in reverse, it appears to work but only because its going from larger to smaller :) ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; mx:Script ![CDATA[ private function onClick(str:String):void { inputField.text=str; inputField.invalidateDisplayList(); inputField.invalidateProperties(); inputField.invalidateSize(); invalidateDisplayList(); invalidateProperties(); invalidateSize(); stage.focus=inputField; } ]] /mx:Script mx:TextInput id=inputField/ mx:RadioButton label=A click=onClick('A')/ mx:RadioButton label=ABC click=onClick('ABC')/ mx:RadioButton label=ABCasdfasdf click=onClick('ABCasdfasdf')/ /mx:Application Any ideas? Yahoo! Groups Sponsor ~-- Great things are happening at Yahoo! Groups. See the new email design. http://us.click.yahoo.com/TISQkA/hOaOAA/yQLSAA/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/
[flexcoders] Photoviewer example--why no access to class variables?
Howdy all... I'm hoping someone can clear up a little confusion of mine: In the photoviewer example that comes with Flex 2, why can you only get to the data of the instatiated PhotoService class via mx tags, but when you try to access any of the object via actionscript they always show up as null? For example mx:Binding source=service.galleries.getItemAt(0) destination=gallery / works fine, but if you tried to do: var o:Object=service.galleries.getItemAt(0), o would be null (provided there were no cast exceptions). Thanks! Wayne Yahoo! Groups Sponsor ~-- Great things are happening at Yahoo! Groups. See the new email design. http://us.click.yahoo.com/TISQkA/hOaOAA/yQLSAA/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] TileList and custom Scrollbar
ok, i didnt see method scrollToIndex();Thanks, it works :)FrantoOn 7/24/06, franto [EMAIL PROTECTED] wrote:HI all,i cant make this work, please help meI have TileList and VScrollBar, which I want attach to TileList but I dont know how...1) TileList hast protected property VerticalScorllbar but I can access it (dont knowhow) 2) on scroll event of custom scrollbat i cant set fist visible item of tileLIst, is it posible?Thanks for you help -- - Frantohttp://blog.franto.com http://www.flashcoders.sk -- - Frantohttp://blog.franto.comhttp://www.flashcoders.sk __._,_.___ -- 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. __,_._,___
[flexcoders] Sound mute for NetStream
HI,I'm streaming video for server, and dont know how to mute sound streamI've tried set video.stream.soundTransform.volume = 0;also video.stream.receiveAudio(false)i have no othere ideas :( can you help me please? -- -Franto http://blog.franto.comhttp://www.flashcoders.sk __._,_.___ -- 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. __,_._,___
[flexcoders] Flex2 on CFMX
Well, according to the technote (http://www.adobe.com/go/4f079a4d) the combining of the flex and cf is no longer supported. Can anyone (Adobe), publish an updated, step by step instruction to getting a CFMX7, Flex2, and JRun4 installation up and running? I deploy an application that uses all 3 components mentioned, with CF driving and utilizing Flex 1.5 API's that are embedded in my CF programs. Thanks, Bernie -- 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/
[flexcoders] Re: FDS on CFMX configuration problems
--- In flexcoders@yahoogroups.com, João Fernandes [EMAIL PROTECTED] wrote: Jim, Can you follow, the technote steps? For the merging web.xml, copy everything except for the messageBrokerServlet from flex web.xml. To work with FDS, your assemblers must be under your server instance webroot or add a mapping so it can resolve the path to reach it. In my service-config.xml all non-secured amf/http channels point to port 80. Default RMTP and CF RMTP port channels as they are by default (2038 2048). In my cf admin page, I activated support for remoting + FDS defining a channel ID (I set the same as my instance name). If we cluster several server instances, I bet that the same name must be defined in every single node (not tested). João Fernandes Dep. Informática - Área de Desenvolvimento Cofina media Avenida João Crisóstomo, Nº 72 . 1069-043 Lisboa PORTUGAL Tel (+351) 213 185 200 . Fax (+351) 213 540 370 [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Jim Sent: sexta-feira, 7 de Julho de 2006 0:47 To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: FDS on CFMX configuration problems Well that is encouraging that you were able to get them working together. Are you using the Mulitserver (JRUN4) option for CFMX7? And if so, is your WEB-INF directory in a webroot? Did you have to do any tweaking to services-config.xml? Write us the technote that Adobe won't man...c'mon (grin). Jim --- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com , João Fernandes joaofernandes@ mailto:joaofernandes@ wrote: The only problem that I see running seperated instances of FDS CFMX is the fact that FDS doesn't ship with the remoting for CF so when you define CF remoting destinations(the ColdFusion one) it throws an error, so to be able to use a mix of remoting + data management you'll have to keep 2 xml files, one for FDS and one for compilation. If there is another way, I didn't find any documentation about it. I have it running CFMX7+ FDS and now without issues but more documentation about this would be nice. One of the issues about the technote is the fact that FDS and CFMX7 both uses a MessageBrokerServlet definition. I kept the CF (the Flex one couldn't load those CF remoting Classes) João Fernandes -Original Message- From: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com on behalf of Jim Sent: Thu 06-Jul-06 7:54 PM To: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com Subject: [flexcoders] Re: FDS on CFMX configuration problems I tried the same thing (combining FDS with CFMX 7.0.2) using the same technote and wasn't able to get it to work. I emailed an insider at Adobe on the Coldfusion team I met at the CFObjective conference and learned that they aren't very happy with that technote and recommended that I run FDS and CFMX separately for now. I haven't tried that yet, but apparently you did and it was working, which is encouraging to me. I've spent three days trying to get FDS working with a fresh installation of CFMX 7 Multiserver (JRun4) option. The WEB-INF directory installs in the nested directories within the JRun4 folder, but the new CF/Flex Wizard expects the WEB-INF to be in the webroot. I've been having issues with the services-config.xml file. I found a copy of the file Ben Forta uses on the sys-con website which has worked so far. But if you manage to combine FDS and CFMX 7 and get them working, please share what you did. Thanks, Jim Pickering --- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com , Tom Bray tombray@ wrote: When I first started working with FDS, I used the standalone version with integrated JRun and had FB configured to launch FDS and direct its logging to the output pane in FB. I was happy. Now, I'm trying to configure FDS on top of CFMX and haven't had much success. I used the instructions below at this link: http://www.adobe.com/cfusion/knowledgebase/index.cfm? id=4f079a4dpss=rss_flex_4f079a4d. It would be very helpful if Adobe would expand upon those instructions with the steps for getting the sample apps up and running. Also, the instructions for setting up debugging ( http://labs.adobe.com/wiki/index.php/Flex_Enterprise_Services:Debuggi ng) need to be updated for the final release of FDS and I'd love to see a similar document for setting up debugging with FDS on CFMX. In the meantime, I'm having errors that I don't know how to get additional information on. I'm trying to get the notes sample app running, and I get this error: [RPC Fault faultString=Send failed faultCode=Client.Error.MessageSend faultDetail=Channel.Connect.Failed error
[flexcoders] Re: FDS on CFMX configuration problems
Well, it appears as if Adobe has updated the technote to configure Flex and ColdFusion. Stating that it does not support the combining of the two anymore. See http://www.adobe.com/go/4f079a4d So, can anyone (Adobe) provide step by step, updated instructions for configuring a Flex2, CFMX7, and JRun4 installation? Where CF can talk to Flex and Flex can talk to CF. I'm trying to figure out where to begin in my migration to Flex2. I have an application driven by CFMX7 which creates dynamic MXML using the Flex 1.5 API embedded inside my CFM files. Bernie --- In flexcoders@yahoogroups.com, João Fernandes [EMAIL PROTECTED] wrote: Jim, Can you follow, the technote steps? For the merging web.xml, copy everything except for the messageBrokerServlet from flex web.xml. To work with FDS, your assemblers must be under your server instance webroot or add a mapping so it can resolve the path to reach it. In my service-config.xml all non-secured amf/http channels point to port 80. Default RMTP and CF RMTP port channels as they are by default (2038 2048). In my cf admin page, I activated support for remoting + FDS defining a channel ID (I set the same as my instance name). If we cluster several server instances, I bet that the same name must be defined in every single node (not tested). João Fernandes Dep. Informática - Área de Desenvolvimento Cofina media Avenida João Crisóstomo, Nº 72 . 1069-043 Lisboa PORTUGAL Tel (+351) 213 185 200 . Fax (+351) 213 540 370 [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Jim Sent: sexta-feira, 7 de Julho de 2006 0:47 To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: FDS on CFMX configuration problems Well that is encouraging that you were able to get them working together. Are you using the Mulitserver (JRUN4) option for CFMX7? And if so, is your WEB-INF directory in a webroot? Did you have to do any tweaking to services-config.xml? Write us the technote that Adobe won't man...c'mon (grin). Jim --- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com , João Fernandes joaofernandes@ mailto:joaofernandes@ wrote: The only problem that I see running seperated instances of FDS CFMX is the fact that FDS doesn't ship with the remoting for CF so when you define CF remoting destinations(the ColdFusion one) it throws an error, so to be able to use a mix of remoting + data management you'll have to keep 2 xml files, one for FDS and one for compilation. If there is another way, I didn't find any documentation about it. I have it running CFMX7+ FDS and now without issues but more documentation about this would be nice. One of the issues about the technote is the fact that FDS and CFMX7 both uses a MessageBrokerServlet definition. I kept the CF (the Flex one couldn't load those CF remoting Classes) João Fernandes -Original Message- From: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com on behalf of Jim Sent: Thu 06-Jul-06 7:54 PM To: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com Subject: [flexcoders] Re: FDS on CFMX configuration problems I tried the same thing (combining FDS with CFMX 7.0.2) using the same technote and wasn't able to get it to work. I emailed an insider at Adobe on the Coldfusion team I met at the CFObjective conference and learned that they aren't very happy with that technote and recommended that I run FDS and CFMX separately for now. I haven't tried that yet, but apparently you did and it was working, which is encouraging to me. I've spent three days trying to get FDS working with a fresh installation of CFMX 7 Multiserver (JRun4) option. The WEB-INF directory installs in the nested directories within the JRun4 folder, but the new CF/Flex Wizard expects the WEB-INF to be in the webroot. I've been having issues with the services-config.xml file. I found a copy of the file Ben Forta uses on the sys-con website which has worked so far. But if you manage to combine FDS and CFMX 7 and get them working, please share what you did. Thanks, Jim Pickering --- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com , Tom Bray tombray@ wrote: When I first started working with FDS, I used the standalone version with integrated JRun and had FB configured to launch FDS and direct its logging to the output pane in FB. I was happy. Now, I'm trying to configure FDS on top of CFMX and haven't had much success. I used the instructions below at this link: http://www.adobe.com/cfusion/knowledgebase/index.cfm? id=4f079a4dpss=rss_flex_4f079a4d. It would be very helpful if Adobe would expand upon those instructions with the steps for getting the sample apps up and running. Also, the instructions for setting
[flexcoders] TileList and custom Scrollbar
HI all,i cant make this work, please help meI have TileList and VScrollBar, which I want attach to TileListbut I dont know how...1) TileList hast protected property VerticalScorllbar but I can access it (dont knowhow) 2) on scroll event of custom scrollbat i cant set fist visible item of tileLIst, is it posible?Thanks for you help-- - Frantohttp://blog.franto.comhttp://www.flashcoders.sk __._,_.___ -- 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] stage.focus problem with input fields
Try: inputField.setFocus(); inputField.setSelection(0, inputField.text.length); - Original Message - From: Rick Schmitty [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Monday, July 24, 2006 6:04 PM Subject: [flexcoders] stage.focus problem with input fields I'm having display issues after using stage.focus. I have a component that I'd like to switch from a button click to textInput as part of the functionality. The highlighted portion of the inputText varies based on the last 'known' (?) size. I've tried invalidating everything I can think of but I must be missing something If you run this example, and click the radio buttons in order you will see that the focus box of the textInput is set to the size of the last .text value and not its current .text value. If you go in reverse, it appears to work but only because its going from larger to smaller :) ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; mx:Script ![CDATA[ private function onClick(str:String):void { inputField.text=str; inputField.invalidateDisplayList(); inputField.invalidateProperties(); inputField.invalidateSize(); invalidateDisplayList(); invalidateProperties(); invalidateSize(); stage.focus=inputField; } ]] /mx:Script mx:TextInput id=inputField/ mx:RadioButton label=A click=onClick('A')/ mx:RadioButton label=ABC click=onClick('ABC')/ mx:RadioButton label=ABCasdfasdf click=onClick('ABCasdfasdf')/ /mx:Application Any ideas? -- 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 ~-- Check out the new improvements in Yahoo! Groups email. http://us.click.yahoo.com/6pRQfA/fOaOAA/yQLSAA/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/
[flexcoders] keep-generated-actionscript option in builder or in project file
Is there some way to set the keep-generated-actionscript=true in Flex Builder or in the .project file (the arguments section looked promising but I couldn't get the format to what it liked)? Or is it only available on the command line compiler? -- Jason __._,_.___ -- 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] tracing into SDK
Well, to answer my own question, its SORTA obvious. You can place breakpoints in the SDK libraries. You just have to do it through keystrokes, and since it doesn't show the line numbers, there is no visual feedback (bad). But if you look in the Breakpoints window, it set one. And when you run the program, it will stop there. On 7/21/06, Pan Troglodytes [EMAIL PROTECTED] wrote: Heh, I think you're missing the point. Have you ever opened an SDK file in FB? Notice that tons of stuff no longer works in that window. They don't even have line numbers, for crying out loud. And you sure can't set breakpoints on them, so tracing is right out. Unless someone knows of some way to get it to happen, which is what I'm hoping. I'm looking forward to what Dominick says, even though I have no idea what he is talking about with the attaching thing. ;) On 7/21/06, Jeremy Lu [EMAIL PROTECTED] wrote: Press ctrl key then click on the DataGrid should bring you in there. (when ctrl key are pressed, DataGrid will be blue with a underline). Jeremy.On 7/22/06, Dominick Accattato [EMAIL PROTECTED] wrote: hrmm, i haven't checked yet. Your talking about debuggin right? I would imagine that you could attach the source to the swc, I'll try tonight. On 7/21/06, Pan Troglodytes [EMAIL PROTECTED] wrote: Is there no way to trace into the SDK libraries, like DataGrid?-- Jason -- Jason -- 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. __,_._,___
[flexcoders] Re: mx:State creationPolicy Oddity
They are in VBoxes. I tried adding creationComplete=ns1.validateNow(); and show=ns1.validateNow(); to the NumericStepper(called ns1), but that didn't work. (remember, you can view the swf's source) --- In flexcoders@yahoogroups.com, JesterXL [EMAIL PROTECTED] wrote: Whoa... that's whack. What container are they in? Maybe try a theControl.validateNow() when their show fires? Or some other event? - Original Message - From: gotgoose09 [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Sunday, July 23, 2006 10:25 PM Subject: [flexcoders] mx:State creationPolicy Oddity I found a strange behavior with NumericSteppers and DateFields that are in AddChilds with creationPolicies of all. If you view the below swf and click the state2 button, you can see that the calendar icon in the DateField and the NumericStepper's stepper buttons are shrunk from their normal size. You can also right-click on the swf and select View Source to recreate the problem. If you do experiment with this, you can make state1's NumericStepper and DateField shrink by setting state2 as the currentState on the Application tag. This seems like a bug or is there something I don't understand about creationPolicy? http://www.thegoosmans.com/flexproblem2/StateCreationPolicyOddity.swf -- 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 ~-- Check out the new improvements in Yahoo! Groups email. http://us.click.yahoo.com/6pRQfA/fOaOAA/yQLSAA/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/
[flexcoders] equivalent binding using BindingUtils
I'm trying to figure out how to do an equivalent MXML binding in AS using BindingUtils. It's part of a datagrid item renderer. There MXML looks like this: mx:Label id=lbl text={listData.label}/ While that does warn about listData.label not being bindable, it does work (at least for the initial load). Here's what I'm trying to do to do this in AS for another component that is written in AS: lbl = new Label(); BindingUtils.bindProperty(lbl, text, lbl, [listData, label]); This doesn't work. I can think of several ways I can do this by overriding different functions, but I'm wondering why this binding doesn't work like it does in MXML. -- 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. __,_._,___
[flexcoders] Re: QuickDateFormatter - how can I make it MXML enabled?
First of all, I would read Creating and Extending Flex 2 Components Creating Nonvisual Flex Components Creating Custom Formatters Creating a custom formatter in the documentation. The documentation for DateFormatter says that it has a formatString variable, so you can get rid of str_dateFormat and just use formatString on your tag. Also, the correct function to override in your custom formatter is format() so you can replace getFormattedDate() with: override public function format(value:Object):String { return super.format(value); } Then, you can add this public getter function to bind your str_formattedDate. public function get formattedDate():String { return format(str_dateString); } Then, change {qdf.str_formattedDate} to {qdf.formattedDate}. I believe this should work, report back if you encounter any problems. --- In flexcoders@yahoogroups.com, ben.clinkinbeard [EMAIL PROTECTED] wrote: OK, I've made a modified version more suitable for MXML and would love to get feedback from everyone. Ideally I would be able to bind a field or label directly to the formatted output and would not require a click to 'reset' the field that is bound to the formatted value. How would I accomplish that? (I tried but was unsuccessful.) Here is the modified class: public class QuickDateFormatter extends DateFormatter { public var str_dateString:String; public var str_dateFormat:String; [Bindable] public var str_formattedDate:String; public function getFormattedDate():void { var f:DateFormatter = new DateFormatter(); f.formatString = str_dateFormat; str_formattedDate = f.format(DateFormatter.parseDateString(str_dateString)); } } and a sample usage: ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; layout=absolute xmlns:local=* local:QuickDateFormatter id=qdf str_dateString={d.text} str_dateFormat={f.text} / mx:Label text={qdf.str_formattedDate} x=72 y=168/ mx:TextInput x=72 y=117 width=133 id=d/ mx:TextInput x=222 y=117 width=91 id=f/ mx:Label x=72 y=91 text=Date/ mx:Label x=222 y=91 text=Format/ mx:Button x=341 y=117 label=Go click=qdf.getFormattedDate();/ /mx:Application Thanks, Ben http://www.returnundefined.com --- In flexcoders@yahoogroups.com, gotgoose09 thegoosmans@ wrote: All you have to do is add public properties like this: [Bindable] public var str_dateFormat:String; [Bindable] public var str_dateString:String; --- In flexcoders@yahoogroups.com, ben.clinkinbeard ben.clinkinbeard@ wrote: Yea, what I am looking for is some help on what changes would need to be made to the class to allow it to be used in a format similar to this: utils:QuickDateFormatter id=qdf str_dateString={model.someDate} str_dateFormat=MM/DD/YY / mx:Label text={qdf} / Thanks, Ben Yahoo! Groups Sponsor ~-- Something is new at Yahoo! Groups. Check out the enhanced email design. http://us.click.yahoo.com/SISQkA/gOaOAA/yQLSAA/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 does attachMovie work?
Thank you for this detailed explanation. The confusion for me is that attachMovie creates an instance of the object with the new name given--that's what the documentation and all the examples say. But that name is not known to the flex compiler, so you can't do this: _root.attachMovie(objFromLibrary, newObjInst); newObjInst.getSomeProperty(); Flex says it doesn't know what newObjInst is. From the two URLs you sent me, it looks like this is where Object.registerClass comes in? You've put me on the right track, but I'm still not quite there...any additional explanation or an example would be great! We're not in any hurry to move to Flex 2. We'll wait and see how it goes. and none of the above should you care about unless you're nostalgic or an f'n geek. . . . or you're trying to embed images in one SWF and access them from another. Greg - Original Message - From: G [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Sunday, July 23, 2006 3:56 PM Subject: [flexcoders] How does attachMovie work? Could someone explain to me, please, in detail, how attachMovie works? I understand loadMovie--I can actually get it to do something. But I have never been able to get attachMovie to do anything. Actual simple examples would be wonderful. Thank you! (It's the relationship between a mc's link library and flex/AS that I can't figure out. Any additional insights on that topic would be appreciated as well.) Thank you! __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.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 __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com Yahoo! Groups Sponsor ~-- Check out the new improvements in Yahoo! Groups email. http://us.click.yahoo.com/6pRQfA/fOaOAA/yQLSAA/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] undelete/move to trash options for builder
You've been an awfully big help, Tom.On 7/24/06, Tom Chiverton [EMAIL PROTECTED] wrote: On Friday 21 July 2006 19:19, Pan Troglodytes wrote: I'd still suggest moving to the trash instead of deleting outright.If you delete the project, you're screwed!Welcome to the world of source control.--Tom ChivertonThis 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. CONFIDENTIALITYThis 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. Yahoo! Groups Sponsor ~--Great things are happening at Yahoo! Groups.See the new email design. http://us.click.yahoo.com/TISQkA/hOaOAA/yQLSAA/nhFolB/TM~--- Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! 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/-- Jason __._,_.___ -- 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] Anyone know the answer? Embed images in one MovieClip, use in another?
Hi Jester-- Your example here is exactly what we don't want to do. We don't want to embed all the images we need into the swf--it makes the file size too big. However, we don't want to load the images dynamically each time we need them--that's too slow. Our application is a game that uses pictures. Players play the game for a while with one set of images, then they change to a new set of images. What we want is to have something like sets of images that we can load one time then use repeatedly. So when the player first starts the game, they will get the images from Set1.swf (for example). Then when it's time to change images, we will load a new set, Set2.swf, etc. We only want to load the new images one time, because we have to change the source property of Image tags repeatedly, and this is costly. If you know another way to do this from what I am asking about, please tell me! But what we are wondering is if it's possible to load a swf containing embedded images, then use those images in the loading (host) swf? Thank you! Greg --- JesterXL [EMAIL PROTECTED] wrote: Don't use SWF's. Flex 1.5 2 have ways to embed them. [Embed(my1.jpg)] var my1_img:Class; [Embed(my1.jpg)] var my2_img:Class; [Embed(my1.jpg)] var my3_img:Class; mx:Image id=img source={my1_img} / Then, have some function swap: function swapImage(val) { img.source = val; } swapImage(my1_img); swapImage(my2_img); swapImage(my3_img); You could use setInterval, setTimeout, or Timer to loop through those... ...or use a Flash generated SWF; whatever your fancy. - Original Message - From: G [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Saturday, July 22, 2006 11:59 AM Subject: Re: [flexcoders] Anyone know the answer? Embed images in one MovieClip, use in another? This line: mx:Loader id=container source=Container.swf / does not load a swf file containing the embedded image into my application? That is news to me. The reason I want to do it is irrelevant to my question, but here it is: We have an animation that loads many images at once (external images). Even with the images in the browser's cache it is drastically slowing down the application. That embedded images are not loaded is exactly the point. We want to load a swf with several images embedded in it, then use those images in the animation. The point is, we want to load the images dynamically (externally), but not every time we change the source of Image. Just one time, ahead of time. Since when an Image loads an embedded image, we are not actually loading it at all, we are hoping we can load the container swf one time, then use its images as embedded images--thus avoiding the immediate load time every time we change source. What we want to do, in a nutshell, is load images dynamically, but all at once, and then just attach them from that moment on. The question is, can we attach an image embedded in the container swf into the loader swf, avoiding the external image load? HOW? The relationship between attachMovie and Image is very murky. An example, perhaps based on the code below, would be very nice, very helpful. You seem to know a lot about Flex and Flash, can you help, please? Thanks, Greg --- JesterXL [EMAIL PROTECTED] wrote: If you embed an image, you're not loading anything; it's merely attaching the img Class to your MovieClip's DisplayList ( attachMovie in 1.5). Thus there is no point; just bind them all to img since they are all using the same resource. External images are a different story. - Original Message - From: greg556 [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Friday, July 21, 2006 7:08 PM Subject: [flexcoders] Embed images in one MovieClip, use in another? Hi everyone-- Is it possible to embed images (jpgs) in one MovieClip, then load that SWF into another MovieClip and use those images in the loader? We are trying to avoid reloading an image each time we need it, but still load them dynamically. We'd like to do this: (We're using Flex, but this is really an AS question I think, about accessing resources from one SWF in another SWF). This example is in Flex, but the real work, I expect, is in AS. If you can tell me how to do it in AS, I can get it working in flex.) Container.swf: mx:Application mx:Script [Embed(source=images/myimage.jpg)] public var img: String; /mx:Script /mx:Application Then, load that SWF and use its embedded image: Loader.swf: mx:Application mx:Loader id=container source=Container.swf / mx:HBox mx:Image id=the_image source=container.content.img / /mx:HBox /mx:Application It looks like this should work, and the resource string is properly being passed to the_image (something like __Resource.43234564.myimage_jpg) but it cannot actually load; we
Re: [flexcoders] TextSnapshot not working in Flex 2
Thats OK but then how do I have static text in Flex?Also, is there any other way to find X and Y co ordinates for a specific character in TextArea?Thanx in advance, Jignesh SatraJesterXL [EMAIL PROTECTED] wrote: TextSnapshot is only for static text, not dynamic or input.- Original Message - From: "satrajignesh" satrajignesh@yahoo.comTo: [EMAIL PROTECTED]ups.comSent: Friday, July 21, 2006 1:23 AMSubject: [flexcoders] TextSnapshot not working in Flex 2Hi there,I have a TextArea which gets dynamically populated with text received from Server. At the client on some specific event I need to retrieve X and Y co ordinates of some text. There is property in TextArea called textSnapshot, but whenever I try to get it the character count is always Zero and hence doesn't help me. Anybody, has any ideas on this? or Have ever tried using text snapshot? or tried getting X,Y co ordinates of specific text in TextArea?Thanx in advance,Jignesh Satra--Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links How low will we go? Check out Yahoo! Messengers low PC-to-Phone call 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. __,_._,___
[flexcoders] Problem in displaying data in Combo Box
Hi all,I am working on Flex 2.0.I am faced with a problem.I need to display datafrom the .XML file into the combo box.Earlier i used mx:Model and an array collection to display data in combo box in flex 2 Beta 3version and it was working fine.Now i have changed the same code to flex 2 final version and it is not working.The code i used is shown below.*?xml version="1.0" encoding="utf-8"?mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute"mx:Model id="statesModel" source="states.xml"/ mx:ArrayCollection id="StateAC" source="{statesModel.states.state}"/ mx:ComboBox id="st" x="143" y="113" width="132" dataProvider="{StateAC}"/ /mx:Application ** the states.xml file is as follows * states state label="Alabama" data=""/ state label="Alaska" data=""/ state label="Arizona" data=""/ state label="Arkansas" data=""/ state label="California" data=""/ state label="Colorado" data=""/ state label="Connecticut" data=""/ state label="Delaware" data=""/ state label="Florida" data=""/ state label="Georgia" data=""/ states*** Your help in this regards will be highly appreciated.Thanks, Vinod M Jacob __Do You Yahoo!?Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.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 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: Acegi/Spring/Flex authentication
We are using that exact combination. Nothing special had to be done. We just have Flex use an HttpService to log in (points to your Acegi authentication endpoint), and Flex then uses the cookie thats returned. After that, all SOAP calls are secured by Acegi. If youre wanting to use Acegi to try to secure youre actual SWF files, then youd just need to put the url pattern of the .swf in the Aecegi configuration, so it will secure it. From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of flxcoder Sent: Monday, July 24, 2006 10:08 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Acegi/Spring/Flex authentication Any tips here? Is it possible to use acegi with Flex? Thanks. --- In [EMAIL PROTECTED]ups.com, flxcoder [EMAIL PROTECTED]. wrote: Hi all. Maybe not a flex question but relevant. I am trying to authenticate flex into my middle tier by using acegi. I am moderately familiar with acegi and the saying goes that the filter checks the entry point as bean id=authenticationProcessingFilterEntryPoint class=org.acegisecurity.ui.webapp.AuthenticationProcessingFilterEntryPoint property name=loginFormUrlvalue/acegilogin.jsp/value/ property property name=forceHttpsvaluefalse/value/property /bean Question is then, has anyone integrated acegi with flex because in the above case maybe the loginFormUrl can be /acegiLogin.jsp where the jsp holds the main swf for flex. Looking for tips on where to start and where to head off with the integration. Thanks. __._,_.___ -- 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] Re: complex object in cairngorm
De: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] En nombre de Tim HoffEnviado el: lunes, 24 julio, 2006 8:52Para: flexcoders@yahoogroups.comAsunto: [flexcoders] Re: complex object in cairngorm Hi Robert, On the server side you can design your data model as a relational database. In your case, the flat tables would be: Group: groupId, groupName Product: productId, groupId, productName, imageURL, price Model: modelId, productId, color This is a similar structure to the VO, but isn't limited to one VO definition.Youcan construct and deconstruct the VO's sent and receivedfrom the application with either SQL queries, stored procedures, CFC's, or whatever method your server side technolgy uses. This is just one approach; java-based back-ends can be a little more integrated. But, by keeping the server-side data in relational tables, you add a little more flexibility for future needs. -TH--- In flexcoders@yahoogroups.com, Robert WÄ s [EMAIL PROTECTED] wrote: In the examples that i know i not found solution how persist complex objects in server side (for me sql) storage. For example following structure: Group -name Product -name -imageURL -price Model -color Group has 1...n Products, Product has 1...n Models Temporary i have VO for every objects, but VO are bloated if i use it in different context, for example sometimes my Product should has image I manage that structure view in swf but if i want persist them that should i do - just send whole tree to server via VO and create sql queries? I use cairngorm, amfphp. -- Robert Was __._,_.___ -- 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. __,_._,___
[flexcoders] AS2 - AS3 Question - onReleaseOutside()?
There's a doc out on AS2 - AS3 conversions: http://livedocs.macromedia.com/flex/2/langref/migration.html For the AS2 onReleaseOutside() EventHandler it says this is now handlded by a mouseUp event after a call to flash.display.InteractiveObject.setCapture(). However, I don't find any setCapture() method or inherited method on InteractiveObject...anyone have a clue? -- 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/
[flexcoders] has anyone ever disabled selectability for a textArea??
I'm sorry to be a bother but this seems like it should be so easy but its driving me nuts. I want to get rid of selectability/i-beam mouseover cursor on a textArea field. With a Text component, you just set. myText.selectability = false. How do I do it for a textArea field? Can it be done? I want to use textArea instead of text becauseI need a background. Please help!!! Thanks so much. Jamie MKCNSC, inc. __._,_.___ -- 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. __,_._,___
[flexcoders] Returning query results to flex from CFC
I am trying to populate a datagrid with results from a cfc. This should be simple. I have written the simply Hello World cfc and gotten the string to display, but am really struggling getting a query to return and display. If someone would help it would be appreciated. Here is my CFC (getInfo.cfc): CFCOMPONENT displayname=admin_rpt_AllMembers CFFUNCTION name=getCompany access=remote returntype=query CFQUERY datasource=myDatabase name=getMem SELECT cvcontactID, cvcontactLast, cvcontactFirst FROM cvContact /CFQUERY CFRETURN getMem /CFFUNCTION /CFCOMPONENT Pretty straightforward as I'm only selecting some simple info out of the database. Now I have my flex app that should call the cfc, return the query, and list the info into a simple datagrid. Now I know it's making the calls to the cfc (using simple Alert.show() calls), but I can't get the data to display. Here is my mxml flex file: ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; layout=vertical creationComplete=initApp(); mx:Script ![CDATA[ import mx.collections.ArrayCollection; import mx.rpc.events.*; import mx.controls.Alert; [Bindable] public var companyInfo:ArrayCollection = null; public function initApp():void { myService.getCompany(); } public function resultHandler(event:ResultEvent):void { var p1:ArrayCollection = new ArrayCollection(); p1.source = event.result as Array; companyInfo = p1; } ]] /mx:Script mx:RemoteObject id=myService destination=ColdFusion source=admin_rpt_AllMembers showBusyCursor=true mx:method name=getCompany result=resultHandler (event) fault=Alert.show(event.fault.message)/ /mx:RemoteObject mx:DataGrid name=myGrid id=myGrid width=100% height=100% dataProvider={companyInfo} mx:columns mx:DataGridColumn headerText=ID dataField=cvcontactID/ mx:DataGridColumn headerText=Last Name dataField=cvcontactLast/ mx:DataGridColumn headerText=First Name dataField=cvcontactFirst/ /mx:columns /mx:DataGrid mx:Button click=initApp()/ /mx:Application I am completely at a loss right now on where to try and change anything. Thanks for the help in advance. -- 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/