Re: [flexcoders] Re: HttpService Fault Response Body Decoding
That should be taken care of automatically when using BlazeDS as a proxy. -Josh On Mon, Jul 28, 2008 at 3:43 PM, ron_mori [EMAIL PROTECTED] wrote: The fault handler is being call. (server 500 status) The good news is that my research points me towards the BlazeDS proxy server which I have successfully set up to make my remote server calls. Now the trick is to get the proxy to grab the remote error msg and return a status 200 good msg back to the client so I can process the body of the error msg. thanks. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links -- Therefore, send not to know For whom the bell tolls. It tolls for thee. :: Josh 'G-Funk' McDonald :: 0437 221 380 :: [EMAIL PROTECTED]
[flexcoders] Re: Flex 3 Preloader broken when using deep linking ?
Hello Rick (and Alex) and thank you for your input, I am talking about the preloader not showing when using # in URL, I can't find a single application on the whole Internet where the preloader is showing in that particular case. I am NOT talking about deep linking application at all, because it is not possible considering this bug. Let's just concentrate on Preloader and URLs containing #: Can you see the preloader on this URL (7Mb + # + view source enabled) ? http://astronaute.net/_temp/PreloaderBug/PreloaderBug.html# If anyone here can see the preloader there, then sorry, the problem is probably somewhere on my computer. If no one can see it, the problem is probably in Flex or Flash player right ? I am still looking for some kind of workaround if possible :) for Alex : You can try to load only SWF : http://astronaute.net/_temp/PreloaderBug/PreloaderBug.swf# As you can see, there is no wrapper issue, as the SWF alone is not showing the preloader. Thank you again for your help, Adnan --- In flexcoders@yahoogroups.com, Rick Winscot [EMAIL PROTECTED] wrote: I've used deep linking with a custom pre-loader in many apps without problems. Can you verify your configuration? *. What html template are you using *. What are your compiler options *. Are you using any additional JavaScript goodies like FAB? Rick Winscot From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Adnan Doric Sent: Saturday, July 26, 2008 6:17 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Flex 3 Preloader broken when using deep linking ? You are absolutely right, but the preloading part is completely missing :) Well, maybe it is Flash Player bug, I don't know, but it is very annoying for deep linking as you can imagine. I tried to create custom preloader but same thing is happening, there is no progress events. Maybe have some kind of workaround to show the progress ? --- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com , Alex Harui aharui@ wrote: I saw the initializing progress bar. From: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com [mailto:flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com ] On Behalf Of Adnan Doric Sent: Friday, July 25, 2008 12:50 PM To: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com Subject: [flexcoders] Re: Flex 3 Preloader broken when using deep linking ? Sorry to bump this, but... am I the only one with this issue ? :) Even the Flex 3 style explorer have same issue : 1. clear the cache 2. load http://examples.adobe.com/flex3/consulting/styleexplorer/Flex3StyleExplo rer.html http://examples.adobe.com/flex3/consulting/styleexplorer/Flex3StyleExpl orer.html You see the preloader 3. clear the cache 4. load (note the # at the end of the URL) http://examples.adobe.com/flex3/consulting/styleexplorer/Flex3StyleExplo rer.html# http://examples.adobe.com/flex3/consulting/styleexplorer/Flex3StyleExpl orer.html There is no preloader... Am I crazy or we have some deep linking incompatibilities ? --- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com mailto:flexcoders%40yahoogroups.com , Adnan Doric astronaute@ wrote: Hello, I don't know if this was already discussed so sorry in advance. After few days of hard debugging, I sadly noted that Flex 3 preloader is completely broken while using # in the URL. It doesn't show at all. Does anyone have any workarounds as preloading 2Mb without preloader is actually real pain ? Thank you.
[flexcoders] Weird Domain Sec Err: www.domain.com V/S domain.com
I'm developing a flex website. I just noticed a weird behavior. It's uploaded at www.gulfspecials.com Works fine here... [not fully functional] But if I go to gulfspecials.com, flex throws a Security Error at remote service call. I use AMFPHP, flash.net.NetConnection. Are www.gulfspecials.com and gulfspecials.com different sandboxes? How can i got about resolving this?
[flexcoders] Re: Weird Domain Sec Err: www.domain.com V/S domain.com
www.gulfspecials.com http://www.gulfspecials.com%20 www.gulfspecials.com www.gulfspecials.com gulfspecials.com http://gulfspecials.com%20 gulfspecials.com gulfspecials.com Linked! --- In flexcoders@yahoogroups.com, Hyder [EMAIL PROTECTED] wrote: I'm developing a flex website. I just noticed a weird behavior. It's uploaded at www.gulfspecials.com Works fine here... [not fully functional] But if I go to gulfspecials.com, flex throws a Security Error at remote service call. I use AMFPHP, flash.net.NetConnection. Are www.gulfspecials.com and gulfspecials.com different sandboxes? How can i got about resolving this?
Re: [flexcoders] Weird Domain Sec Err: www.domain.com V/S domain.com
Hi, www.gulfspecials.com and gulfspecials.com are indeed different sandboxes because they are different domains. The standard way is to redirect visitors to www.gulfspecials.com to gulfspecials.com or vice versa. Check out http://no-www.org/faq.php Cheers, -- Anirudh Sasikumar http://anirudhs.chaosnet.org/
Re: [flexcoders] RSS Feeds
Hi, During development, Flex Builder automatically gets the flash player to trust your swf so that you won't encounter this issue. Yahoo's crossdomain.xml allows access to content if the app is hosted on *.yahoo.com. (Eg: news.yahoo.com, etc.). It's not wildcard access that lets anyone access their data. Your app would have to be deployed on a subdomain of yahoo.com. Cheers, -- Anirudh Sasikumar http://anirudhs.chaosnet.org/
[flexcoders] using tooltip for MenuItems
Hi All, In my application am using a menuItem, am able to display the data in the menu, but I need to use the Tooltip for the menuitem in the list. I have used the following code for displaying the tooltip. But by this code tooltip is not displaying. private var menuDataList:XMLList = menuitem label=File data=file menuitem label=New data=new tip=Create a new File/ menuitem label=Open data=open tip=Open a Existing File/ menuitem label=Save data=save tip=Save the list of contents/ menuitem label=Save As data=saveas / menuitem label=Exit data=exit/ /menuitem / mx:HBox width=100% mx:MenuBar id=menulist labelField=@label dataProvider={menulistCollection} change=changeHandler(event); x=0 y=0 toolTip={data.tip} / can anyone suggest me how to use the tooltip for menuitems. Thanks in Advance.. Regards, Tomt
Re: [flexcoders] Re: Flex 3 Migration shoots up Filesize by 400K
On Thursday 17 Jul 2008, Hyder wrote: And I didn't know you could load .swc's at runtime... how do i do that... moduleloader? Nothing so complex: http://www.rachaelandtom.info/node/1498 -- 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 Halliwells LLP, 3 Hardman Square, Spinningfields, Manchester, M3 3EB. 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 Solicitors Regulation Authority. 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 2500. 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.comYahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [flexcoders] Re: Framework as RSL issue
On Wednesday 16 Jul 2008, Hyder wrote: playerglobals is external because i read somewhere that it shouldn't be set as a rsl. Try putting this back to the default. -- 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 Halliwells LLP, 3 Hardman Square, Spinningfields, Manchester, M3 3EB. 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 Solicitors Regulation Authority. 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 2500. 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.comYahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [flexcoders] Flash Player Express Install and Upgrade Conversion
On Wednesday 23 Jul 2008, element7791 wrote: 5000 prompts a day out of a 100,000 viewers when trying to push users to 9.0.115. Doesn't this have security issues, fixed in .124 ? http://www.rachaelandtom.info/content/game-over-man-game-over Can I trigger the browser plug-in install messaging on a minor dot release level? I believe SWFObject supports that, yup. Anyone have thoughts on a better way of convincing users to upgrade? If your app. isn't important enough for them to do so, you're stuck. People in corporate environments may not be able to upgrade of course... -- 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 Halliwells LLP, 3 Hardman Square, Spinningfields, Manchester, M3 3EB. 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 Solicitors Regulation Authority. 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 2500. 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.comYahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [flexcoders] Strange Runtime 1010 error
Try breaking those long expression down so they use intermediate values. -- 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 Halliwells LLP, 3 Hardman Square, Spinningfields, Manchester, M3 3EB. 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 Solicitors Regulation Authority. 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 2500. 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.comYahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [flexcoders] Flex 3 Preloader broken when using deep linking ?
On Thursday 24 Jul 2008, Adnan Doric wrote: After few days of hard debugging, I sadly noted that Flex 3 preloader is completely broken while using # in the URL. I think what you see is that because everything is coming from cache, the preloader is up for too short a period of time to be drawn. IE on Windows by any chance ? -- 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 Halliwells LLP, 3 Hardman Square, Spinningfields, Manchester, M3 3EB. 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 Solicitors Regulation Authority. 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 2500. 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.comYahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [flexcoders] Flex Builder Speed-ups?
On Monday 28 Jul 2008, Sherif Abdou wrote: with SP1 for Vista. Even ColdFusion takes up to 600,000K on startup I've tuned down the JVM settings on my local dev. environment, as the apps I write don't need all that heap(?). -- 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 Halliwells LLP, 3 Hardman Square, Spinningfields, Manchester, M3 3EB. 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 Solicitors Regulation Authority. 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 2500. 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.comYahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [flexcoders] CF remote object return struct and singletons
On Sunday 27 Jul 2008, Scott wrote: GlobalVars.instance.acUser.source = Object(event.result).source; That line doesn't seem to set the variables within the event.result.source Object doesn't have a source property. -- 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 Halliwells LLP, 3 Hardman Square, Spinningfields, Manchester, M3 3EB. 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 Solicitors Regulation Authority. 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 2500. 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.comYahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [flexcoders] Re: Who is using FlexReport?
On Thursday 17 Jul 2008, Paul Andrews wrote: Yes, I agree - I want to generate the PDF on the client, not the server! You have to send the data from the server to the client, so why not send a PDF report as well ? -- 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 Halliwells LLP, 3 Hardman Square, Spinningfields, Manchester, M3 3EB. 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 Solicitors Regulation Authority. 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 2500. 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.comYahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] Re: LCDS - Data Management Service Problem
Did this ever get sorted out I am having the saem issue. Paul --- In flexcoders@yahoogroups.com, Bart Ronsyn [EMAIL PROTECTED] wrote: init chatroomlogic 'cds-consumer-chatroom-null' consumer set destination to 'chatroom'. New DataService for destination: chatroom 'my-rtmp' channel endpoint set to rtmp://host:2038 'AA954C04-5838-B853-279B-68A6A4689F1D' producer set destination to 'chatroom'. Creating shared data store with id: '[ChannelSet ]' for destination: 'chatroom' Adding data service: chatroom to the data store: null initialized: false DataService.fill() called for destination: chatroom with args: [] 'my-rtmp' channel got connect attempt status. (Object)#0 code = NetConnection.Connect.Success description = Connection succeeded. details = (null) id = EA7F1120-9F0C-EC27-6D7F-9AA9131226EF level = status objectEncoding = 3 serverConfig = (mx.messaging.config::ConfigMap)#1 channels = (mx.messaging.config::ConfigMap)#2 channel = (mx.messaging.config::ConfigMap)#3 endpoint = (mx.messaging.config::ConfigMap)#4 uri = rtmp://{server.name}:2038 id = my-rtmp type = mx.messaging.channels.RTMPChannel service = (mx.messaging.config::ConfigMap)#5 destination = (mx.collections::ArrayCollection)#6 filterFunction = (null) length = 3 list = (mx.collections::ArrayList)#7 length = 3 source = (Array)#8 [0] (mx.messaging.config::ConfigMap)#9 channels = (mx.messaging.config::ConfigMap)#10 channel = (mx.messaging.config::ConfigMap)#11 ref = my-rtmp id = user properties = (mx.messaging.config::ConfigMap)#12 metadata = (mx.messaging.config::ConfigMap)#13 identity = (mx.messaging.config::ConfigMap)#14 property = id undefined-value = (null) network = (mx.messaging.config::ConfigMap)#15 paging = (mx.messaging.config::ConfigMap)#16 enabled = false pageSize = 10 reconnect = (mx.messaging.config::ConfigMap)#17 fetch = IDENTITY [1] (mx.messaging.config::ConfigMap)#18 channels = (mx.messaging.config::ConfigMap)#19 channel = (mx.messaging.config::ConfigMap)#20 ref = my-rtmp id = session properties = (mx.messaging.config::ConfigMap)#21 metadata = (mx.messaging.config::ConfigMap)#22 identity = (mx.messaging.config::ConfigMap)#23 property = sessionId undefined-value = (null) network = (mx.messaging.config::ConfigMap)#24 paging = (mx.messaging.config::ConfigMap)#25 enabled = false pageSize = 10 reconnect = (mx.messaging.config::ConfigMap)#26 fetch = IDENTITY [2] (mx.messaging.config::ConfigMap)#27 channels = (mx.messaging.config::ConfigMap)#28 channel = (mx.messaging.config::ConfigMap)#29 ref = my-rtmp id = chatroom properties = (mx.messaging.config::ConfigMap)#30 metadata = (mx.messaging.config::ConfigMap)#31 identity = (mx.messaging.config::ConfigMap)#32 property = roomId undefined-value = (null) network = (mx.messaging.config::ConfigMap)#33 paging = (mx.messaging.config::ConfigMap)#34 enabled = false pageSize = 10 reconnect = (mx.messaging.config::ConfigMap)#35 fetch = IDENTITY uid = 784B4D92-9078-D81C-DAF0-68A6A4D61E3E sort = (null) source = (Array)#8 id = data-service 'my-rtmp' channel is connected. 'my-rtmp' channel sending message: (mx.messaging.messages::CommandMessage) body=(Object)#0 clientId=(null) correlationId= destination=chatroom headers=(Object)#0 messageId=D079B438-0FDB-3535-7131-68A6A4F55A80 operation=client ping timeToLive=0 timestamp=0 'cds-consumer-chatroom-null' consumer connected. 'ds-producer-chatroom' producer connected. Configuration for destination='chatroom': properties metadata identity property=roomId undefined-value/ /identity /metadata network paging enabled=false pageSize=10/ reconnect fetch=IDENTITY/ /network /properties data store: null is initialized 'ds-producer-chatroom' producer sending message 'A9891FB6-3357-A802-7A72- 68A6A5057A6C' 'my-rtmp' channel sending message: (mx.data.messages.DataMessage) messageId = 'A9891FB6-3357-A802-7A72-68A6A5057A6C' operation = fill destination =
Re: [flexcoders] Re: Who is using FlexReport?
- Original Message - From: Tom Chiverton [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Monday, July 28, 2008 10:57 AM Subject: Re: [flexcoders] Re: Who is using FlexReport? On Thursday 17 Jul 2008, Paul Andrews wrote: Yes, I agree - I want to generate the PDF on the client, not the server! You have to send the data from the server to the client, so why not send a PDF report as well ? What if you'd like to build an AIR application (that is usable even if the server is down)? Paul -- Tom Chiverton -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search 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/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
RE: [flexcoders] Value of AS variable dissapearing
When would be the proper time to make the server side call for the form validation? Or is there a way to force this call before I make the check? From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Alex Harui Sent: Sunday, July 27, 2008 11:48 PM To: flexcoders@yahoogroups.com Subject: {Disarmed} RE: [flexcoders] Value of AS variable dissapearing It's hard to say w/o seeing what code is in what methods. If you make a RemoteObject request, there's no way it will return before the if statement if all the code you showed is in one method. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Scott Sent: Sunday, July 27, 2008 9:36 PM To: flexcoders@yahoogroups.com Subject: RE:[flexcoders] Value of AS variable dissapearing Ok, I'm really not fully understanding what is happening here... I decided to move on and come back to this issue. So I started with more validations on the form entries. While testing the form fields I started to get the email validation to show 'true' for finding a duplicate email address in the remote DB. Why would this field not work on the first form validation but the 2nd or on works just fine? When I run the debug and set a breakpoint on the result function I see that it's getting set to true. When I continue to the if() statement in another function in the same class instance it changes back to false. Any ideas out there? From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Scott Sent: Sunday, July 27, 2008 4:15 PM To: flexcoders@yahoogroups.com Subject: {Disarmed} [flexcoders] Value of AS variable dissapearing I've got a weird issue that I'm trying to track down... It's all part of the life of a class instance that I posted before (I've got an update on that one coming soon). In my user registration validation class, I check to see if the email address already exists in the DB. I created a CFC function called val_email( string:strEMail):Boolean My remote object is defined as: mx:RemoteObject id=authManager destination=ColdFusion source=FT.components.cfgenerated.managers.Auth result=remote_result(event) mx:method name=register result=register_result(event) fault=serverFault(event) / /mx:RemoteObject In my AS script I have the following config: mx:Script ![CDATA[ Import ... private var bEMail:Boolean; So that declares the variable that I'll be watching. I basically do the following during validation: If ( ValidEmailAddress ) authManager.val_email( this.email.text ); if (this.bEMail == true ) { ... give error message/handing duplicate... Etc... The function: private function remote_result(event:ResultEvent):void { this.bEMail = event.result; } Fires off ok and sets the variable this.bEMail to true just fine. I have a watch set on the variable and see that it gets set. Now, when it returns to the above if statement bEMail is back to false. I've tried to run line by line in the debugger and can't find anything that is causing a reset. I can also see the watched variable went from true to false. Anyone have any suggestions? -- This message has been scanned for viruses and dangerous content by MailScanner http://www.mailscanner.info/ , and is believed to be clean. -- This message has been scanned for viruses and dangerous content by MailScanner http://www.mailscanner.info/ , and is believed to be clean.
Re: [flexcoders] Re: Who is using FlexReport?
On Monday 28 Jul 2008, Paul Andrews wrote: What if you'd like to build an AIR application (that is usable even if the server is down)? Send the PDF when the data is sync'ed. -- 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 Halliwells LLP, 3 Hardman Square, Spinningfields, Manchester, M3 3EB. 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 Solicitors Regulation Authority. 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 2500. 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.comYahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [flexcoders] Re: Who is using FlexReport?
- Original Message - From: Tom Chiverton [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Monday, July 28, 2008 12:23 PM Subject: Re: [flexcoders] Re: Who is using FlexReport? On Monday 28 Jul 2008, Paul Andrews wrote: What if you'd like to build an AIR application (that is usable even if the server is down)? Well, that's fine unless your customer is waiting for a printout. and you're on the road with a laptop. Send the PDF when the data is sync'ed. -- 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 Halliwells LLP, 3 Hardman Square, Spinningfields, Manchester, M3 3EB. 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 Solicitors Regulation Authority. 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 2500. 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.comYahoo! Groups Links -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search 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/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] Setting default selectedIndex
I have what may seem a silly question to all you Flex Ninjas out there, but I need to do the following and can't seem to find the right way to do so : I have a TileList with a custom itemRenderer, each item being a thumbnail. The dataProvider is populated from a RemoteObject call. Next to the TileList I have a VBox containing an Image and Label. Now, when the user clicks on a thumbnail in the TileList, the Image and Label change accordingly using selectedItem. No problem. When the app first loads, I can use the creationComplete() event of the TileList to manually set the selectedIndex to 1 and therefore display the first thumbnail in my main Image control. Now the problem comes in, when the TileList's dataProvider changes (i.e. the user performs a search and the thumbnail list gets updated) - how do I then manually set the TileList's selectedIndex back to 1, since it seems to get cleared automatically (for good reason). I just have no idea which event to listen for - dataChange doesn't seem to work and having gone through the API, I can't see any other event which I can use. I'm also assuming here that only the TileList in this instance has a selectedIndex property. Like I said, it seems like a silly problem to have, and I'm getting pretty frustrated being held up by something this basic. Any help would be much appreciated - even if it's a pointer to a manual entry, anything :) TIA, Barry
[flexcoders] AIR Initial WIndow Position Problem
I do not seem to be able to set the initial window x an y coordinates on my AIR app. I am trying to set them to 0 like this. !-- The window's initial width. Optional. -- !-- width1920/width -- !-- The window's initial height. Optional. -- !-- height1200/height -- !-- The window's initial x position. Optional. -- !-- x0/x -- !-- The window's initial y position. Optional. -- !-- y0/y -- But it doesn't work. IS there some kind of cache that I have to clear? Thanks Todd
[flexcoders] Flex localization
We have a flex app which is going to be distributed around the globe. We are looking for a localization solution, in which flash can detect the language (any method) and send the language code to server, and server will return back the display text. I know I can use the Flex's localization API, in which we have to bundle the language resources with Flex app. Is there any way to detect the local language from the flex app and send a message to server? -Vipin
[flexcoders] Re: LCDS data synchronisation problem
Hi Jeff, thanks for the tip on compiler option; it does now work but... I have added the -services compiler option to Flex Builder and have -locale en_US -services C:\lcds\tomcat\webapps\lcds-samples\WEB-INF\flex\services-config.xml -context-root=/ on debugging, the destination for insync is not set and I managed to load the database content once. Now I have this problem: (it is related to the database connection now) full listing: 'cds-consumer-insync-null' consumer set destination to 'insync'. Configuration for destination='insync': properties metadata identity property=contactId undefined-value=0/ /metadata /properties New DataService for destination: insync '95A48922-DF2E-8FFA-31A4-68AD0FB8F7B3' producer set destination to 'insync'. Creating a new independent data store for destination: insync Adding data service: insync to the data store: null initialized: false 'my-rtmp' channel endpoint set to rtmp://localhost:2037 start network monitor handleMonitorStatus() monitor.available: true Connecting... 'my-rtmp' channel got connect attempt status. (Object)#0 code = NetConnection.Connect.Success description = Connection succeeded. details = (null) DSMessagingVersion = 1 id = EA8E85C2-9208-35F5-18A4-9000B983040F level = status objectEncoding = 3 'my-rtmp' channel is connected. 'my-rtmp' channel sending message: (mx.messaging.messages::CommandMessage) body=(Object)#0 clientId=(null) correlationId= destination=insync headers=(Object)#0 messageId=30E89B94-338F-3AB4-4E01-68AD10E1964C operation=client ping timeToLive=0 timestamp=0 'cds-consumer-insync-null' consumer connected. 'ds-producer-insync' producer connected. ds.connect(): success No offline changes to apply Filling... ServerConfig.xml DataService.fill() called for destination: insync with args: [] 'ds-producer-insync' producer acknowledge of '30E89B94-338F-3AB4-4E01-68AD10E196 4C'. Finished validating destination: insync loadOnDemand/paged associations: [] sub- types: Caught error initializing metadata for datastore: null error: TypeError: Error # 2007: Parameter value must be non-null. at ObjectOutput/writeUTF() at mx.data::MessageBatch/writeExternal()[C:\depot\flex\branches\enterpri se_corfu_rc\frameworks\projects\data\src\mx\data\MessageBatch.as:738] at ObjectOutput/writeObject() at mx.data::DataMessageCache/writeExternal()[C:\depot\flex\branches\ente rprise_corfu_rc\frameworks\projects\data\src\mx\data\DataMessageCache.as:1110] at flash.utils::ByteArray/writeObject() at mx.utils::ObjectUtil$/copy()[E:\dev\3.0.x\frameworks\projects\framewo rk\src\mx\utils\ObjectUtil.as:100] at mx.data::SQLDBCacheCollection/get()[C:\depot\flex\branches\enterprise _corfu_rc\frameworks\projects\airfds\src\mx\data\SQLDBCacheCollection.as:90] at mx.data::DataStore/initMessageCache()[C:\depot\flex\branches\enterpri se_corfu_rc\frameworks\projects\data\src\mx\data\DataStore.as:3493] at anonymous()[C:\depot\flex\branches\enterprise_corfu_rc\frameworks\p rojects\data\src\mx\data\DataStore.as:2324] at anonymous()[C:\depot\flex\branches\enterprise_corfu_rc\frameworks\p rojects\data\src\mx\data\DataStore.as:2363] at flash.events::EventDispatcher/dispatchEventFunction() at flash.events::EventDispatcher/dispatchEvent() at mx.data::SQLDBCache/dispatchStatusEvent()[C:\depot\flex\branches\ente rprise_corfu_rc\frameworks\projects\airfds\src\mx\data\SQLDBCache.as:540] at Function/http://adobe.com/AS3/2006/builtin::apply() at mx.rpc::AsyncDispatcher/timerEventHandler()[E:\dev\3.0.x\frameworks\p rojects\rpc\src\mx\rpc\AsyncDispatcher.as:50] at flash.utils::Timer/_timerDispatch() at flash.utils::Timer/tick() Dispatching fault event for destination: insync ds.fill(): failure Could not initialize DataService. Finished calling fault handlers for destination: insync Do you know what I should do to solve that? thanks Florence --- In flexcoders@yahoogroups.com, Jeff Vroom [EMAIL PROTECTED] wrote: Hi Florence, Thanks for sending that along... we are missing a clear error message for whatever your problem is - sorry about that. I have tried a few things here to try and get that exact error and can't seem to reproduce it here myself either. There are two ways to get configuration into the Flex client. You can either compile your Flex app directly against the services-config.xml file and it will compile in a subset of the server's configuration into the player, or if you define a ChannelSet on the client you can download the config at runtime after the client connects. It appears that you are getting the configuration at runtime, not compile time so probably if you set the option to compile against services-config.xml this will either start working or at least give you a clearer error message about some configuration that is missing for the insync destination (using the command line compiler, it is the
[flexcoders] Accordion initially all childcontainers closed
In an accordion by default the first container is open. For my application the users want all childcontainers closed at the start. Does someone know how I can achieve this? I tried this: first container empty; height=0; visible= false; This works but Flex shows the accordion container navigation button with an empty container. That's not what I want. I want an empty space at the top of the accordion and the childcontainers closed on the bottom of the accordion.
[flexcoders] setting the value of axis label in line chart which is populated dynamically!
Hi, I have line chart..The line charts has values that are populated dynamically. The values could be anything...ranging from 100 to 10 or more. i wanted 2 know if there is some way one could identify the maximum value plotted and set it to value higher than that at runtime...to avoid this prob. I have come across properties like computedMaximum and computedMinimum but they are protected properties in Flex 2 I am using flex 2... thanx in advance, sam
Re: [flexcoders] Re: Who is using FlexReport?
On Monday 28 Jul 2008, Paul Andrews wrote: Well, that's fine unless your customer is waiting for a printout. and you're on the road with a laptop. I can see data entry reqs, for instance, where you might want to let a user print a report or order summary out off line... -- 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 Halliwells LLP, 3 Hardman Square, Spinningfields, Manchester, M3 3EB. 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 Solicitors Regulation Authority. 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 2500. 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.comYahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] Re: How to Reset ProgressBar?
According to the manual, the polled mode requires the source property must specify an object that exposes bytesLoaded and bytesTotal properties. The ProgressBar control calls these methods to update its status. Are you changing the source property for each image? --- In flexcoders@yahoogroups.com, gabsaga [EMAIL PROTECTED] wrote: Just additional information to make everything clear. In my ActionScript, I have the following: private var progressBar:ProgressBar; public function clickHandler(event:MouseEvent):void { image1.source = list.selectedItem.photoUrl; progressBar = new ProgressBar(); progressBar.indeterminate = false; progressBar.mode = polled; progressBar.label = Loaded %3%%; progressBar.source = image1; addChild(progressBar); } private function completeHandler(event:Event):void { // remove progress bar removeChild(progressBar); } My mxml file has the following: mx:Image id=image1 width=100% height=100% maintainAspectRatio=true complete=completeHandler(event) / When the image is being loaded, the progress bar shows progress but when subsequent images are loaded the progress bar stays at the same state it was when the first image completely loaded. How do I reset it? gabsaga wrote: I have tried progressBar.setProgress(0, 100) but it looks like it doesn't have any effect. Is it because the mode in my progress bar is set to polled ? When I change the mode to manual, I don't see any progress. It says at 0 all the time. Adnan Doric wrote: progressBar.setProgress( 0, 100 ); --- In flexcoders@yahoogroups.com, gabsaga flexcoder@ wrote: I have an application that when you click on a button, it loads an image in a panel. There is a progress bar that shows progress on the image being loaded. The progress bar works fine when I load the first image but when I load subsequent images, it still shows the last status of the first progress bar. Is there a way to reset a progress bar so that it starts from 0 each time a new image is loaded? Thanks. Gabsaga -- View this message in context: http://www.nabble.com/How-to-Reset-ProgressBar--tp18634463p18634463.html Sent from the FlexCoders mailing list archive at Nabble.com. -- View this message in context: http://www.nabble.com/How-to-Reset-ProgressBar--tp18634463p18638873.html Sent from the FlexCoders mailing list archive at Nabble.com.
[flexcoders] on the fly form validation
In thinking about forms and flex events, how hard is it to validate a form as a user tabs through it? Without creating a ton of event handlers, is there an easy way to accomplish this?
Re: [flexcoders] Re: Who is using FlexReport?
- Original Message - From: Tom Chiverton [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Monday, July 28, 2008 1:47 PM Subject: Re: [flexcoders] Re: Who is using FlexReport? On Monday 28 Jul 2008, Paul Andrews wrote: Well, that's fine unless your customer is waiting for a printout. and you're on the road with a laptop. I can see data entry reqs, for instance, where you might want to let a user print a report or order summary out off line... I've worked on projects where guys go out and about gathering customer requirements and assembling them into a specification that the customer signs off there and then (almost like building an invoice). That particular system did need a network connection to work, but it would be far better to make an AIR application that didn't need that link. The closest solution I can see right now is to generate a html page locally and print that (huge pagination issues), or to include a local server to build the report that way. Paul -- 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 Halliwells LLP, 3 Hardman Square, Spinningfields, Manchester, M3 3EB. 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 Solicitors Regulation Authority. 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 2500. 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.comYahoo! Groups Links -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search 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/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [flexcoders] Re: Who is using FlexReport?
On Monday 28 Jul 2008, Paul Andrews wrote: The closest solution I can see right now is to generate a html page locally and print that (huge pagination issues), Even with the right CSS hints ? -- 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 Halliwells LLP, 3 Hardman Square, Spinningfields, Manchester, M3 3EB. 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 Solicitors Regulation Authority. 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 2500. 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.comYahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
RE: [flexcoders] mxml components
I was afraid of that... Ok, let's see if I can do it better. I understand that I'm not calling a class, but functions within the instance. So if I understand the other message from Gordon correctly then all classes are created when the application is started. However, it doesn't look like that in the debugger when I'm running the application. Let's take and expand my question example below... MainClass.mxml | |-Class2.mxml - ShowStat():Boolean | |-Class3.mxml - LoggedIn():Boolean ||--Class4.mxml - LogMeIn(strName:String,strPassword:String) |-- private var bIsLoggedOn:Boolean (This is fictitious for point of discussion) If I control the display and how things are laid out in MainClass.mxml, I used the Class2 and Class3.mxml files as subclasses to control the widgets on the screen being placed by the MainClass.mxml. In C++ I would initialize the classes I wanted to use by using calling the class initializer(). (I have been using the creationComplete=init() to start code in the class instance.) Then if I needed to access a private variable from MainClass.mxml I included the header file (in this case the class4.mxml file) and called the function, in the above example LoggedIn():Boolean. Also in C++ when I'm done with the instance I needed to call the destructor to shut the class down and free the memory. I haven't seen a reference yet to destroy a class instances in Flex/AS3. While using the individual class.mxml files I've been created, I've gotten confused on how long those class instances live and when exactly they are initialized. And how do I destroy the class instances and the variables they contain to free memory (is this necessary in Flex/AS3)? When I use the debugger it doesn't look like in the above example that class4.mxml stays active if I leave the Class3.mxml code. Finally, if I had a reason to log the user in from another area in the code; say from MainClass.mxml, if I wanted to call LogMeIn( myusername, mypassword) from Class4.mxml I can't tell if I'm creating a new instance of that class or am I using the existing instance? In other words...: Are these the same instance or unique instances with in each of the class instances themselves (mainclass/class3)? MainClass.mxml: mx:script ![CDATA{ Import com.myapp.models.LoginClass; ... .. And Class3.mxml mx:script ![CDATA{ Import com.myapp.models.LoginClass; ... .. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Tracy Spratt Sent: Friday, July 25, 2008 5:07 PM To: flexcoders@yahoogroups.com Subject: {Disarmed} RE: [flexcoders] mxml components First, there are classes and instances. When it matters, use these terms correctly. Second, call does not apply to a class, or even really an instance. An instantiated class stays instantiated untill all references to it are removed, and Garbage Collection has run and removed it. If this is not the answer, perhaps you can rephrase your question, without using the word call? Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Scott Sent: Friday, July 25, 2008 5:59 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] mxml components Ok, I'm trying to get a firm grasp on AS3 components/classes. I'm trying to figure out how to structure code so I can optimize code re-use. What is the life of a component/class in a flex application? In other words... If I have a main.mxml that calls another class like logins.mxml, is that class in existence only while it's called? Once the event hits to call it back is the class still alive? It looks like it kills it from memory but I'm not 100% sure. Take the following examples... MainClass.mxml | |subclass1.mxml | |subclass2.mxml | |subclass2a.mxml If MailClass.mxml calls subclass1.mxml, completes and then calls subclass2.mxml which calls subclass2a.mxml, what are the lives of these classes? Also, do I need to be worrying about cleanup or is that handled automatically? I hope I'm explaining this well -- This message has been scanned for viruses and dangerous content by MailScanner http://www.mailscanner.info/ , and is believed to be clean.
[flexcoders] File Manager
I am not quite sure how to put this so I will try and explain the problem best I can. I built a small file manager utility that allows you to dbl click on folders and drill down through them. Once you are nested there is a toolbar icon that allows you to go back up. Most file managers have the up folder as the first row in the grid. Picture a data grid listing all of the folders first / all of the files next. I want to insert a blank row where the first column would have this up arrow image and on click would call my upNav method. Does anyone know of a way to dynamically insert this? I would think this needs to be done after the grid is created. Thank You Dan Vega
Re: [flexcoders] on the fly form validation
On Mon, Jul 28, 2008 at 2:26 PM, Scott [EMAIL PROTECTED] wrote: In thinking about forms and flex events, how hard is it to validate a form as a user tabs through it? Without creating a ton of event handlers, is there an easy way to accomplish this? Hi Scott, Have a look at validators. Check here http://www.adobe.com/devnet/flex/quickstart/validating_data/ Fidel.
Re: [flexcoders] File Manager
On Monday 28 Jul 2008, Dan Vega wrote: next. I want to insert a blank row where the first column would have this up arrow image and on click would call my upNav method. Does anyone know of a way to dynamically insert this? I would think this needs to be done after How about a custom cell renderer that detects it's 'data' property is '..' (or whatever you use for 'parent') and renders an mx:Image rather than mx:Text ? -- 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 Halliwells LLP, 3 Hardman Square, Spinningfields, Manchester, M3 3EB. 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 Solicitors Regulation Authority. 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 2500. 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.comYahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [flexcoders] Re: Who is using FlexReport?
- Original Message - From: Tom Chiverton [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Monday, July 28, 2008 2:41 PM Subject: Re: [flexcoders] Re: Who is using FlexReport? On Monday 28 Jul 2008, Paul Andrews wrote: The closest solution I can see right now is to generate a html page locally and print that (huge pagination issues), Even with the right CSS hints ? The real problem is page headers and footers, plus conditional pagination. Last time I checked I couldn't get CSS to give me pagination like that. Pity. -- 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 Halliwells LLP, 3 Hardman Square, Spinningfields, Manchester, M3 3EB. 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 Solicitors Regulation Authority. 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 2500. 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.comYahoo! Groups Links -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search 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/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [flexcoders] File Manager
I understand how to create a cell renderer but I have a query that pulls all the directory information, how do i insert a row after that query comes back from the server. Thank You Dan Vega [EMAIL PROTECTED] http://www.danvega.org On Mon, Jul 28, 2008 at 9:50 AM, Tom Chiverton [EMAIL PROTECTED] wrote: On Monday 28 Jul 2008, Dan Vega wrote: next. I want to insert a blank row where the first column would have this up arrow image and on click would call my upNav method. Does anyone know of a way to dynamically insert this? I would think this needs to be done after How about a custom cell renderer that detects it's 'data' property is '..' (or whatever you use for 'parent') and renders an mx:Image rather than mx:Text ? -- 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 Halliwells LLP, 3 Hardman Square, Spinningfields, Manchester, M3 3EB. 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 Solicitors Regulation Authority. 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 2500. 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.comYahoo! Groups Links
Re: [flexcoders] File Manager
On Monday 28 Jul 2008, Dan Vega wrote: I understand how to create a cell renderer but I have a query that pulls all the directory information, how do i insert a row after that query comes back from the server. Just have whatever your server code does add a row at the start of the results. Without knowing your server-side language I can't be more specific. -- 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 Halliwells LLP, 3 Hardman Square, Spinningfields, Manchester, M3 3EB. 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 Solicitors Regulation Authority. 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 2500. 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.comYahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [flexcoders] Re: Who is using FlexReport?
The real problem is page headers and footers, plus conditional pagination. Last time I checked I couldn't get CSS to give me pagination like that. Pity. Hmm, I've only ever done fairly basic print style sheets myself... -- 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 Halliwells LLP, 3 Hardman Square, Spinningfields, Manchester, M3 3EB. 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 Solicitors Regulation Authority. 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 2500. 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.comYahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [flexcoders] File Manager
That was my next option, I was just wondering if I should do it on the server or after the grid was completed. Thank You Dan Vega [EMAIL PROTECTED] http://www.danvega.org On Mon, Jul 28, 2008 at 10:02 AM, Tom Chiverton [EMAIL PROTECTED] wrote: On Monday 28 Jul 2008, Dan Vega wrote: I understand how to create a cell renderer but I have a query that pulls all the directory information, how do i insert a row after that query comes back from the server. Just have whatever your server code does add a row at the start of the results. Without knowing your server-side language I can't be more specific. -- 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 Halliwells LLP, 3 Hardman Square, Spinningfields, Manchester, M3 3EB. 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 Solicitors Regulation Authority. 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 2500. 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.comYahoo! Groups Links
[flexcoders] Re: Flex Builder Speed-ups?
--- In flexcoders@yahoogroups.com, tudsy [EMAIL PROTECTED] wrote: My Flex Builder can run extremely slow, almost every keypress sends javaw.exe CPU usage over 50% and this causes an unacceptable lag for even simple editing. Any tips? I'm running Vista SP1 on an AMD X2 3600 (1.8 Ghz each core) with 2 GB RAM. I've tried tweaking the memory settings from the command line, switching my JVM, and even reinstalling to XP but none of it helped. Kept getting the CPU spikes. I wont even mention how long it takes to do anything in 'Design' view. I find that opening the Help, especially if you right click a link and open another Help window, really slows FB down. I try to close down the Help when I am finished looking at it. But sometimes the only thing I can do to fix this is to close FB3 and restart it. HTH; Amy
[flexcoders] Re: Flex localization
You can use Capabilities.language to get the local language. You don't have to bundle your resources directly into the application. You can use resource modules to externalize the bundles into separate swfs and load the required one at runtime based on the user's language. The documentation on resource bundles is very good: http://livedocs.adobe.com/flex/3/html/help.html?content=l10n_5.html --- In flexcoders@yahoogroups.com, vipinck [EMAIL PROTECTED] wrote: We have a flex app which is going to be distributed around the globe. We are looking for a localization solution, in which flash can detect the language (any method) and send the language code to server, and server will return back the display text. I know I can use the Flex's localization API, in which we have to bundle the language resources with Flex app. Is there any way to detect the local language from the flex app and send a message to server? -Vipin
Re: [flexcoders] File Manager
On Monday 28 Jul 2008, Dan Vega wrote: That was my next option, I was just wondering if I should do it on the server or after the grid was completed. I like my view layer (i.e. the Flex client) to be as dumb as possible, so would opt for doing this on the server. You could have your results handler in the Flex client add a new item to the start of the results Array too though. -- 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 Halliwells LLP, 3 Hardman Square, Spinningfields, Manchester, M3 3EB. 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 Solicitors Regulation Authority. 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 2500. 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.comYahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] Re: RSS Feeds
--- In flexcoders@yahoogroups.com, Anirudh Sasikumar [EMAIL PROTECTED] wrote: Hi, During development, Flex Builder automatically gets the flash player to trust your swf so that you won't encounter this issue. Yahoo's crossdomain.xml allows access to content if the app is hosted on *.yahoo.com. (Eg: news.yahoo.com, etc.). It's not wildcard access that lets anyone access their data. Your app would have to be deployed on a subdomain of yahoo.com. Cheers, -- Anirudh Sasikumar http://anirudhs.chaosnet.org/ So, what you are saying is that it is not possible to take the rss feeds from Yahoo directly into a Flex app? The ONLY way is to go through a proxy? So, a browser can do it, but a Flex/Flash app cannot? If this is the case, Adobe needs to re-think this security architecture. Also, if you are correct, which I believe that you are, they need to correct the development environment, so that you cannot do things in development, that you will not be able to do in production. If I have to go through a proxy when I deploy, I should have to go through a proxy when I develop.
Re: [flexcoders] on the fly form validation
Here is how I do form validation in flex: http://ryangravener.com/wordpress/?p=6 On Mon, Jul 28, 2008 at 9:47 AM, Fidel Viegas [EMAIL PROTECTED]wrote: On Mon, Jul 28, 2008 at 2:26 PM, Scott [EMAIL PROTECTED]halo%40netprof.us wrote: In thinking about forms and flex events, how hard is it to validate a form as a user tabs through it? Without creating a ton of event handlers, is there an easy way to accomplish this? Hi Scott, Have a look at validators. Check here http://www.adobe.com/devnet/flex/quickstart/validating_data/ Fidel. -- Ryan Gravener http://twitter.com/ryangravener
[flexcoders] Re:AIR Initial WIndow Position Problem
According to the code you posted you need to uncomment the x and y settings. Also remember that the y values start at zero at the top of the screen and go up as you move down the screen. Cheers, Jon -- Jon Oxtoby Software Architect [EMAIL PROTECTED] Digital-Tutors | PL Studios, Inc. 501 N. Walker, Suite 160 Oklahoma City, OK 73102 Phone: 866.741.6725 Local: 405.601.4806 Fax: 405.601.2473 Web: http://www.digitaltutors.com Hours of operation: Mon - Fri • 9am - 5pm CST -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search 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/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [flexcoders] Re: Flex Builder Speed-ups?
Hi, How many projects do you have open at one time in your workspace? If you close them all and open one, do you still get performance issues? Mike -- Teoti Graphix, LLC http://www.teotigraphix.com Teoti Graphix Blog http://www.blog.teotigraphix.com You can find more by solving the problem then by 'asking the question'.
[flexcoders] Re: setting the value of axis label in line chart which is populated dynamically!
--- In flexcoders@yahoogroups.com, samata [EMAIL PROTECTED] wrote: Hi, I have line chart..The line charts has values that are populated dynamically. The values could be anything...ranging from 100 to 10 or more. i wanted 2 know if there is some way one could identify the maximum value plotted and set it to value higher than that at runtime...to avoid this prob. I have come across properties like computedMaximum and computedMinimum but they are protected properties in Flex 2 I am using flex 2... thanx in advance, Not sure about Flex 2, but in Flex 3 I use something like: private function setChartProperties(chart:LineChart):void{ //I find if you just go straight to it without casting it, //some properties will tell you they are read only var va:LinearAxis = chart.verticalAxis as LinearAxis if (myCondition) { va.maximum=800; va.minimum=200; va.title='Title for condition true'; } else { va.maximum = 100; va.minimum = -10; va.title='Title for condition false'; } } HTH; Amy
Re: [flexcoders] on the fly form validation
Perfect! Thanks to both of the responses. Scott From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Ryan Gravener Sent: Monday, July 28, 2008 9:12 AM To: flexcoders@yahoogroups.com Subject: {Disarmed} Re: [flexcoders] on the fly form validation Here is how I do form validation in flex: http://ryangravener.com/wordpress/?p=6 http://ryangravener.com/wordpress/?p=6 On Mon, Jul 28, 2008 at 9:47 AM, Fidel Viegas [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: On Mon, Jul 28, 2008 at 2:26 PM, Scott [EMAIL PROTECTED] mailto:halo%40netprof.us wrote: In thinking about forms and flex events, how hard is it to validate a form as a user tabs through it? Without creating a ton of event handlers, is there an easy way to accomplish this? Hi Scott, Have a look at validators. Check here http://www.adobe.com/devnet/flex/quickstart/validating_data/ http://www.adobe.com/devnet/flex/quickstart/validating_data/ Fidel. -- Ryan Gravener http://twitter.com/ryangravener http://twitter.com/ryangravener -- This message has been scanned for viruses and dangerous content by MailScanner http://www.mailscanner.info/ , and is believed to be clean.
[flexcoders] Re:AIR Initial WIndow Position Problem
--- In flexcoders@yahoogroups.com, Jon Oxtoby [EMAIL PROTECTED] wrote: According to the code you posted you need to uncomment the x and y settings. Oh Boy what a total knuckle head I am. Thanks for seeing what I could not. Todd
[flexcoders] Error #1034 - HashMap convert to ActionScript?
Hi, Well I'm have some troubles using a HashMap on the server-side. I use a java remote custom object, which contains a hashmap as one of its attributes. The custom object should be converted to the ActionScript object MyValue when it's getting transfered to the client. But on the client-side I always geht a error. ***TypeError: Error #1034: Typumwandlung fehlgeschlagen: [EMAIL PROTECTED] kann nicht in Array umgewandelt werden.*** Which is the correct ActionScript type for the HashMap? Java Class package test; import java.util.HashMap; public class MyValue { public String s; public HashMapString,Object params; } ActionScript Class [RemoteClass(alias=test.MyValue)] public class MyValue { public function MyValue() { trace(MyValue Constructor); } public var s : String; public var params : Array; public function toString() : String { return s + - + params; } } thx regards Cyrill
Re: [flexcoders] Re: Zoom Tile Container
http://reenie.org/test/zoomComponent/zoomtest.html This is a new example which is the same as the one below (zoom with effects) but it uses a mxml component based on the tile container, and AS classes for the effects. It still doesn't zoom to 100% because I don't know how to get an effect to do that. [EMAIL PROTECTED] wrote: Here is an example of tile containers with zoom http://reenie.org/test/tilezoom/zoomtest.html This example uses a canvas for each tile but the canvas only goes to 200% of its original size. How would I do this effect to get a 100% of the application percentage width ? In the following Effect, toValue=100% is not allowed mx:Parallel id=tileScaleUp mx:AnimateProperty property=scaleX toValue=2 duration=1000 / mx:AnimateProperty property=scaleY toValue=2 duration=1000 / /mx:Parallel Nate Pearson wrote: So if I have 4 boxes I want to set one to width=100% and height=100% and the others to width=0, height=0. I'd put an effect on it so that it looked like one of them would grow and the others would shrink to nothing. This is pretty easy to do in code, but I want to make a component that can have a variable amount of boxes. Not sure how to do that. --- In flexcoders@yahoogroups.com, Tracy Spratt [EMAIL PROTECTED] wrote: What exactly do you mean by zoom? Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Nate Pearson Sent: Friday, July 25, 2008 4:00 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Zoom Tile Container Bump. Any ideas? --- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com , Nate Pearson napearson99@ wrote: I want to make a custom component and I think I can extend the tile container to do it. Here's what I want to do: Have four boxes fill up the screen. If I click on one of the boxes that box zooms to fill the whole screen and the other three boxes shrink to nothing. Inside of that box I want another set of boxes, lets say 6. If I click on that box it zooms and does the same thing as above. Can anyone point me in the right direction? I'm pretty good at making custom components so if someone could just kinda nudge me in the right direction that would be great. Thanks! Nate
RE: [flexcoders] Setting default selectedIndex
Normally, I'd just set it whenthe result event from the RO is dispatched. If you have everything wired up via binding, you could try CollectionChangeEventKind.RESET From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of calisza Sent: Monday, July 28, 2008 12:55 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Setting default selectedIndex I have what may seem a silly question to all you Flex Ninjas out there, but I need to do the following and can't seem to find the right way to do so : I have a TileList with a custom itemRenderer, each item being a thumbnail. The dataProvider is populated from a RemoteObject call. Next to the TileList I have a VBox containing an Image and Label. Now, when the user clicks on a thumbnail in the TileList, the Image and Label change accordingly using selectedItem. No problem. When the app first loads, I can use the creationComplete() event of the TileList to manually set the selectedIndex to 1 and therefore display the first thumbnail in my main Image control. Now the problem comes in, when the TileList's dataProvider changes (i.e. the user performs a search and the thumbnail list gets updated) - how do I then manually set the TileList's selectedIndex back to 1, since it seems to get cleared automatically (for good reason). I just have no idea which event to listen for - dataChange doesn't seem to work and having gone through the API, I can't see any other event which I can use. I'm also assuming here that only the TileList in this instance has a selectedIndex property. Like I said, it seems like a silly problem to have, and I'm getting pretty frustrated being held up by something this basic. Any help would be much appreciated - even if it's a pointer to a manual entry, anything :) TIA, Barry
[flexcoders] Re: Zoom Tile Container
Oh wow! That is awesome! I like the 2nd one more too. I'm going to dig into the code and see how you did that. If I make any improvements I'll repost it. wow, thanks again. This is really awesome. This might deserve a spot in the flex lib. I'll work on making it more modular so someone can just drop it in. Thanks! Nate --- In flexcoders@yahoogroups.com, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: http://reenie.org/test/zoomComponent/zoomtest.html This is a new example which is the same as the one below (zoom with effects) but it uses a mxml component based on the tile container, and AS classes for the effects. It still doesn't zoom to 100% because I don't know how to get an effect to do that. [EMAIL PROTECTED] wrote: Here is an example of tile containers with zoom http://reenie.org/test/tilezoom/zoomtest.html This example uses a canvas for each tile but the canvas only goes to 200% of its original size. How would I do this effect to get a 100% of the application percentage width ? In the following Effect, toValue=100% is not allowed mx:Parallel id=tileScaleUp mx:AnimateProperty property=scaleX toValue=2 duration=1000 / mx:AnimateProperty property=scaleY toValue=2 duration=1000 / /mx:Parallel Nate Pearson wrote: So if I have 4 boxes I want to set one to width=100% and height=100% and the others to width=0, height=0. I'd put an effect on it so that it looked like one of them would grow and the others would shrink to nothing. This is pretty easy to do in code, but I want to make a component that can have a variable amount of boxes. Not sure how to do that. --- In flexcoders@yahoogroups.com, Tracy Spratt tspratt@ wrote: What exactly do you mean by zoom? Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Nate Pearson Sent: Friday, July 25, 2008 4:00 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Zoom Tile Container Bump. Any ideas? --- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com , Nate Pearson napearson99@ wrote: I want to make a custom component and I think I can extend the tile container to do it. Here's what I want to do: Have four boxes fill up the screen. If I click on one of the boxes that box zooms to fill the whole screen and the other three boxes shrink to nothing. Inside of that box I want another set of boxes, lets say 6. If I click on that box it zooms and does the same thing as above. Can anyone point me in the right direction? I'm pretty good at making custom components so if someone could just kinda nudge me in the right direction that would be great. Thanks! Nate
RE: [flexcoders] Value of AS variable dissapearing
Server calls are always asynchronous, so normally you make the call and put your if statement in the result handler. The UI will not update until the server responds. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Scott Sent: Monday, July 28, 2008 4:23 AM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Value of AS variable dissapearing When would be the proper time to make the server side call for the form validation? Or is there a way to force this call before I make the check? From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Alex Harui Sent: Sunday, July 27, 2008 11:48 PM To: flexcoders@yahoogroups.com Subject: {Disarmed} RE: [flexcoders] Value of AS variable dissapearing It's hard to say w/o seeing what code is in what methods. If you make a RemoteObject request, there's no way it will return before the if statement if all the code you showed is in one method. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Scott Sent: Sunday, July 27, 2008 9:36 PM To: flexcoders@yahoogroups.com Subject: RE:[flexcoders] Value of AS variable dissapearing Ok, I'm really not fully understanding what is happening here... I decided to move on and come back to this issue. So I started with more validations on the form entries. While testing the form fields I started to get the email validation to show 'true' for finding a duplicate email address in the remote DB. Why would this field not work on the first form validation but the 2nd or on works just fine? When I run the debug and set a breakpoint on the result function I see that it's getting set to true. When I continue to the if() statement in another function in the same class instance it changes back to false. Any ideas out there? From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Scott Sent: Sunday, July 27, 2008 4:15 PM To: flexcoders@yahoogroups.com Subject: {Disarmed} [flexcoders] Value of AS variable dissapearing I've got a weird issue that I'm trying to track down... It's all part of the life of a class instance that I posted before (I've got an update on that one coming soon). In my user registration validation class, I check to see if the email address already exists in the DB. I created a CFC function called val_email( string:strEMail):Boolean My remote object is defined as: mx:RemoteObject id=authManager destination=ColdFusion source=FT.components.cfgenerated.managers.Auth result=remote_result(event) mx:method name=register result=register_result(event) fault=serverFault(event) / /mx:RemoteObject In my AS script I have the following config: mx:Script ![CDATA[ Import ... private var bEMail:Boolean; So that declares the variable that I'll be watching. I basically do the following during validation: If ( ValidEmailAddress ) authManager.val_email( this.email.text ); if (this.bEMail == true ) { ... give error message/handing duplicate... Etc... The function: private function remote_result(event:ResultEvent):void { this.bEMail = event.result; } Fires off ok and sets the variable this.bEMail to true just fine. I have a watch set on the variable and see that it gets set. Now, when it returns to the above if statement bEMail is back to false. I've tried to run line by line in the debugger and can't find anything that is causing a reset. I can also see the watched variable went from true to false. Anyone have any suggestions? -- This message has been scanned for viruses and dangerous content by MailScanner http://www.mailscanner.info/ , and is believed to be clean. -- This message has been scanned for viruses and dangerous content by MailScanner http://www.mailscanner.info/ , and is believed to be clean.
[flexcoders] Flex embed problem!
Hi All, I am facing a Flex 3 SWFloading problem The situation is: We have Application 1 (built on cairngorm) which loads Application 2 (again built on cairngorm) using the loader, urlrequest mechanism or SWFLoader. Application 2 itself loads 5 other modules using ModuleLoader. Application 2 and the modules share the cairngorm resources like Servicelocator and ModuleLocator etc. The ModelLocator are kept in a SWC file, a shared library for Application 2 The problem is: At runtime, when Application 1 loads Application 2, the ModelLocator is initialized. When the Module 1 loads inside Application 2, it is not able to find the correct reference to the ModelLocator and instead gets a new instance of ModelLocator. If I directly access Application 2, the initialized instance of ModelLocator is found by the Modules and the whole application runs smoothly. When I try to embed the Application 2 inside Application 1, then the reference gets lost. Is there a way or setting to get this right? Notes: The ModelLocator gets its instance in standard static way The build properties of the library, Application 2 has the âGenerate accessible SWF fileâ property clicked, other than that no other extra properties are set. The attached error file has more tech details on the error Running thru debug mode, the reference seems to get lost around the ModuleLoader.as file. Please let me know if you need any additional info for suggesting some pointers to this problem.
Re: [flexcoders] Re: RSS Feeds
In my experience, Flex Builder Debug swfs have the same are subject to the same crossdomain access restrictions that production swfs have. I'm a bit suspicious of the claim that this is not the case. Without seeing code, I wouldn't be able to judge if there was something else going on, or not. George wrote: --- In flexcoders@yahoogroups.com, Anirudh Sasikumar [EMAIL PROTECTED] wrote: Hi, During development, Flex Builder automatically gets the flash player to trust your swf so that you won't encounter this issue. Yahoo's crossdomain.xml allows access to content if the app is hosted on *.yahoo.com. (Eg: news.yahoo.com, etc.). It's not wildcard access that lets anyone access their data. Your app would have to be deployed on a subdomain of yahoo.com. Cheers, -- Anirudh Sasikumar http://anirudhs.chaosnet.org/ So, what you are saying is that it is not possible to take the rss feeds from Yahoo directly into a Flex app? The ONLY way is to go through a proxy? So, a browser can do it, but a Flex/Flash app cannot? If this is the case, Adobe needs to re-think this security architecture. Also, if you are correct, which I believe that you are, they need to correct the development environment, so that you cannot do things in development, that you will not be able to do in production. If I have to go through a proxy when I deploy, I should have to go through a proxy when I develop. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links -- Jeffry Houser Flex, ColdFusion, AIR AIM: Reboog711 | Phone: 1-203-379-0773 -- Adobe Community Expert http://www.adobe.com/communities/experts/members/JeffryHouser.html My Company: http://www.dot-com-it.com My Podcast: http://www.theflexshow.com My Blog: http://www.jeffryhouser.com
[flexcoders] cairngorm sevice locator performance?
Hi, The most cairngorm application has a service locater file (services.xml)and define all service locators there . and many delegates use one instance of a service locater in many case. Do you think if it affect the performance because no garbage collection for each delegate? Thanks for your help Mark
[flexcoders] Re: Flex embed problem!
also the error that i am getting is : TypeError: Error #1034: Type Coercion failed: cannot convert com.aa.cairngorm.event::[EMAIL PROTECTED] to com.aa.cairngorm.event.MonitorWorkFlowEvent. It is the same class - hwy should i typecast it here? TypeError: Error #1009: Cannot access a property or method of a null object reference. This is the error - the modellocator is not being accessible by the modules ... tia, SS
RE: [flexcoders] Re: Flex 3 Preloader broken when using deep linking ?
When I hit the SWF directly, with or without #, it doesn't stream in (not sure why), the status bar (in IE) shows downloading progress. When it hit the html wrapper with the # I don't see the loading... screen. Makes me think that it isn't streaming the SWF if there's a #. That may be a known issue, not sure. One way you might be able to tell is when the debugger fires up. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Adnan Doric Sent: Monday, July 28, 2008 1:30 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Flex 3 Preloader broken when using deep linking ? Hello Rick (and Alex) and thank you for your input, I am talking about the preloader not showing when using # in URL, I can't find a single application on the whole Internet where the preloader is showing in that particular case. I am NOT talking about deep linking application at all, because it is not possible considering this bug. Let's just concentrate on Preloader and URLs containing #: Can you see the preloader on this URL (7Mb + # + view source enabled) ? http://astronaute.net/_temp/PreloaderBug/PreloaderBug.html# http://astronaute.net/_temp/PreloaderBug/PreloaderBug.html If anyone here can see the preloader there, then sorry, the problem is probably somewhere on my computer. If no one can see it, the problem is probably in Flex or Flash player right ? I am still looking for some kind of workaround if possible :) for Alex : You can try to load only SWF : http://astronaute.net/_temp/PreloaderBug/PreloaderBug.swf# http://astronaute.net/_temp/PreloaderBug/PreloaderBug.swf As you can see, there is no wrapper issue, as the SWF alone is not showing the preloader. Thank you again for your help, Adnan --- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com , Rick Winscot [EMAIL PROTECTED] wrote: I've used deep linking with a custom pre-loader in many apps without problems. Can you verify your configuration? *. What html template are you using *. What are your compiler options *. Are you using any additional JavaScript goodies like FAB? Rick Winscot From: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com [mailto:flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com ] On Behalf Of Adnan Doric Sent: Saturday, July 26, 2008 6:17 AM To: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com Subject: [flexcoders] Re: Flex 3 Preloader broken when using deep linking ? You are absolutely right, but the preloading part is completely missing :) Well, maybe it is Flash Player bug, I don't know, but it is very annoying for deep linking as you can imagine. I tried to create custom preloader but same thing is happening, there is no progress events. Maybe have some kind of workaround to show the progress ? --- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com mailto:flexcoders%40yahoogroups.com , Alex Harui aharui@ wrote: I saw the initializing progress bar. From: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com mailto:flexcoders%40yahoogroups.com [mailto:flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com mailto:flexcoders%40yahoogroups.com ] On Behalf Of Adnan Doric Sent: Friday, July 25, 2008 12:50 PM To: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com mailto:flexcoders%40yahoogroups.com Subject: [flexcoders] Re: Flex 3 Preloader broken when using deep linking ? Sorry to bump this, but... am I the only one with this issue ? :) Even the Flex 3 style explorer have same issue : 1. clear the cache 2. load http://examples.adobe.com/flex3/consulting/styleexplorer/Flex3StyleExplo http://examples.adobe.com/flex3/consulting/styleexplorer/Flex3StyleExpl o rer.html http://examples.adobe.com/flex3/consulting/styleexplorer/Flex3StyleExpl http://examples.adobe.com/flex3/consulting/styleexplorer/Flex3StyleExpl orer.html You see the preloader 3. clear the cache 4. load (note the # at the end of the URL) http://examples.adobe.com/flex3/consulting/styleexplorer/Flex3StyleExplo http://examples.adobe.com/flex3/consulting/styleexplorer/Flex3StyleExpl o rer.html# http://examples.adobe.com/flex3/consulting/styleexplorer/Flex3StyleExpl http://examples.adobe.com/flex3/consulting/styleexplorer/Flex3StyleExpl orer.html There is no preloader... Am I crazy or we have some deep linking incompatibilities ? --- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com mailto:flexcoders%40yahoogroups.com mailto:flexcoders%40yahoogroups.com , Adnan Doric astronaute@ wrote: Hello, I don't know if this was already discussed so sorry in advance. After few days of hard debugging, I sadly noted that Flex 3 preloader is completely broken while using # in the URL. It
RE: [flexcoders] Re: Flex embed problem!
See the modules presentation on my blog From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of shaileshiitb Sent: Monday, July 28, 2008 8:29 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Flex embed problem! also the error that i am getting is : TypeError: Error #1034: Type Coercion failed: cannot convert com.aa.cairngorm.event::[EMAIL PROTECTED] to com.aa.cairngorm.event.MonitorWorkFlowEvent. It is the same class - hwy should i typecast it here? TypeError: Error #1009: Cannot access a property or method of a null object reference. This is the error - the modellocator is not being accessible by the modules ... tia, SS
[flexcoders] How to best implement this barcode generator...
Recently I got this barcode generation component from this place: http://www.adobe.com/cfusion/exchange/index.cfm?event=extensionDetailloc=en_usextid=1179012 Right now I'm trying to figure out how to implement Barcode generation in my AIR app since two of the reports I need this to be able to print require a list of Barcodes to be printed alongside the data it is supposed to represent. Such as when a customer prints out a list of items and needs to be able to simply scan the barcode to use that item data. Sounds a bit vague I know but it's the best way I can describe it at the moment. Right now in my report printing I use a PrintAdvancedDataGrid and so I wonder, could I use this barcode component as an itemrenderer or something along those lines? If not in the dataGrid, then perhaps inside a repeater right next to the dataGrid? The dataGrid itself is generated dynamically via AS3. I've only just begun messing with the component so I don't know quite how it works yet. Thanks in advance Brian Ross Edwards Tech-Connect LLC
Re: [flexcoders] Re: Zoom Tile Container
http://demo.quietlyscheming.com/fisheye/TileExplorer.html On Jul 25, 2008, at 4:00 PM, Nate Pearson wrote: Bump. Any ideas?
[flexcoders] Error #2032: Stream Error. URL: datavisualization_3.0.0.477.swz
Get this error trying to use the datavisualization library as an RSL: Error #2032: Stream Error. URL: datavisualization_3.0.0.477.swz Using the framework library as an RSL (framework_3.0.0.477.swz) seems to work fine. Flex Builder seems to put the datavisualization_3.0.0.477.swz in the right place just as it does with framework_3.0.0.477.swz. But I get a runtime error where it seems to be unable to find datavisualization_3.0.0.477.swz What is special about the datavisualization swz that is causing this error when the framework swz seems to work fine? Thanks Vijay
[flexcoders] Load a PDF?
Ok, working with AIR (newest release) in flex builder (newest release). Just downloaded adobe reader (newest release, see a trend? =]) I have a popup, that im using with the popupmanager, that loads a pdf: private function loadEnvelope():void { if( HTMLLoader.pdfCapability == HTMLPDFCapability.STATUS_OK ){ var htmlLoader:HTMLLoader = new HTMLLoader(); var url:URLRequest = new URLRequest(hardcodeurl); htmlLoader.width = 519; htmlLoader.height = 361; htmlLoader.load(url); htmlLoader.addEventListener(Event.COMPLETE,completeHandler); var holder:UIComponent = new UIComponent(); holder.addChild(htmlLoader); envelope.addChild(holder); } } the completeHandler fires, so it says it is completing. my problem is this, it is just showing a black/gray square, instead of showing the pdf. I know the pdf exists, because I can manually go to that url, and it prompts me to dl the pdf. Keep in mind, that will be a dynamic url when I get this working! :) HALP! :)
[flexcoders] DataGridColumn issue: Passing an array.
Hii Guyz, The problem is: I am passing an array of weekdays as datafield for a DataGridColumn as follows: mx:DataGridColumn dataField=days headerText=S itemRenderer=customRenderer/ mx:DataGridColumn dataField=days headerText=M itemRenderer=customRenderer/ mx:DataGridColumn dataField=days headerText=T itemRenderer=customRenderer/ mx:DataGridColumn dataField=days headerText=W itemRenderer=customRenderer/ mx:DataGridColumn dataField=days headerText=T itemRenderer=customRenderer/ mx:DataGridColumn dataField=days headerText=F itemRenderer=customRenderer/ mx:DataGridColumn dataField=days headerText=S itemRenderer=customRenderer/ days is an array. It has values true,false,false,true.. like that for all 7 days. Now in my customRenderer, I want to toggle the particular cells based on the [true/false] passed in for that individual cell from the array(days) passed in. Can anyone suggest me a solution for doing it?? Thanks, Manu. -- View this message in context: http://www.nabble.com/DataGridColumn-issue%3A-Passing-an-array.-tp18687791p18687791.html Sent from the FlexCoders mailing list archive at Nabble.com.
[flexcoders] Figuring out which item within a column was clicked in AdvancedDataGrid
Let's say I have a single column which contains an image and some text. Then I get a click event from the AdvancedDataGrid. How do I tell whether the image was clicked, rather than the text? mx:rendererProviders mx:AdvancedDataGridRendererProvider columnIndex=0 columnSpan=0 depth=1 mx:renderer mx:Component mx:HBox mx:Image id=group_expand source=img.gif/ mx:Label text=hi/ /mx:HBox /mx:Component /mx:renderer /mx:AdvancedDataGridRendererProvider /mx:rendererProviders
RE: [flexcoders] DataGridColumn issue: Passing an array.
If your customRenderer implements IDropInListItemRenderer, the listData will have the columnIndex which you can use to look up the array entry and update it later. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Manu Dhanda Sent: Monday, July 28, 2008 9:55 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] DataGridColumn issue: Passing an array. Hii Guyz, The problem is: I am passing an array of weekdays as datafield for a DataGridColumn as follows: mx:DataGridColumn dataField=days headerText=S itemRenderer=customRenderer/ mx:DataGridColumn dataField=days headerText=M itemRenderer=customRenderer/ mx:DataGridColumn dataField=days headerText=T itemRenderer=customRenderer/ mx:DataGridColumn dataField=days headerText=W itemRenderer=customRenderer/ mx:DataGridColumn dataField=days headerText=T itemRenderer=customRenderer/ mx:DataGridColumn dataField=days headerText=F itemRenderer=customRenderer/ mx:DataGridColumn dataField=days headerText=S itemRenderer=customRenderer/ days is an array. It has values true,false,false,true.. like that for all 7 days. Now in my customRenderer, I want to toggle the particular cells based on the [true/false] passed in for that individual cell from the array(days) passed in. Can anyone suggest me a solution for doing it?? Thanks, Manu. -- View this message in context: http://www.nabble.com/DataGridColumn-issue%3A-Passing-an-array.-tp186877 91p18687791.html http://www.nabble.com/DataGridColumn-issue%3A-Passing-an-array.-tp18687 791p18687791.html Sent from the FlexCoders mailing list archive at Nabble.com.
[flexcoders] Re: Load a PDF?
the code seems to work fine, when not used with the popupmanager, any ideas? --- In flexcoders@yahoogroups.com, tchredeemed [EMAIL PROTECTED] wrote: Ok, working with AIR (newest release) in flex builder (newest release). Just downloaded adobe reader (newest release, see a trend? =]) I have a popup, that im using with the popupmanager, that loads a pdf: private function loadEnvelope():void { if( HTMLLoader.pdfCapability == HTMLPDFCapability.STATUS_OK ){ var htmlLoader:HTMLLoader = new HTMLLoader(); var url:URLRequest = new URLRequest(hardcodeurl); htmlLoader.width = 519; htmlLoader.height = 361; htmlLoader.load(url); htmlLoader.addEventListener(Event.COMPLETE,completeHandler); var holder:UIComponent = new UIComponent(); holder.addChild(htmlLoader); envelope.addChild(holder); } } the completeHandler fires, so it says it is completing. my problem is this, it is just showing a black/gray square, instead of showing the pdf. I know the pdf exists, because I can manually go to that url, and it prompts me to dl the pdf. Keep in mind, that will be a dynamic url when I get this working! :) HALP! :)
[flexcoders] Re: Load a PDF?
another update, its not the popupmanager, its when I add children to the parent application as well. If the code that adds the envelope is in the parent application, and I dont have to add any children, it works, other than that, death. --- In flexcoders@yahoogroups.com, tchredeemed [EMAIL PROTECTED] wrote: Ok, working with AIR (newest release) in flex builder (newest release). Just downloaded adobe reader (newest release, see a trend? =]) I have a popup, that im using with the popupmanager, that loads a pdf: private function loadEnvelope():void { if( HTMLLoader.pdfCapability == HTMLPDFCapability.STATUS_OK ){ var htmlLoader:HTMLLoader = new HTMLLoader(); var url:URLRequest = new URLRequest(hardcodeurl); htmlLoader.width = 519; htmlLoader.height = 361; htmlLoader.load(url); htmlLoader.addEventListener(Event.COMPLETE,completeHandler); var holder:UIComponent = new UIComponent(); holder.addChild(htmlLoader); envelope.addChild(holder); } } the completeHandler fires, so it says it is completing. my problem is this, it is just showing a black/gray square, instead of showing the pdf. I know the pdf exists, because I can manually go to that url, and it prompts me to dl the pdf. Keep in mind, that will be a dynamic url when I get this working! :) HALP! :)
RE: [flexcoders] Interview questions
This might help for Flex2 http://www.adobe.com/devnet/flex/articles/flex_certification.html EF From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Tom Preet Sent: Wednesday, July 23, 2008 11:25 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Interview questions Hi All, I am attending for Interviews on Adobe Flex 2.0 and AS 3.0 can anyone send me Interview questions or url of faq's for preparing the Interview. Thanks, Tomt.
[flexcoders] Measurement and template component
My application has a structure like this, portions of which are created dynamically: TiledCanvas PodChrome(instance 1) ReportModuleA ReportChrome(instance 1) ReportA Grid PodChrome(instance 2) ReportModuleB ReportChrome(instance 2) ReportB Chart etc. PodChrome and ReportChrome are template components. TiledCanvas is functional - when tiling it correctly reflects a minWidth/minHeight set way deep (eg. on the Grid), or set dynamically on ReportA or ReportB when the state of ReportModuleA or B changes. BUT. The above only works if I omit the ReportChrome wrapper. ReportChrome is just a Canvas with two states, that does an addChild in init(). I added a call to this.invalidateSize() and child.invalidateSize() after the addChild() to no avail. Any debugging tips or ideas on what I could be doing wrong?
[flexcoders] Re: Load a PDF?
got it! dropshadowfilters (maybe filters in general), kill the pdf. any idea why? --- In flexcoders@yahoogroups.com, tchredeemed [EMAIL PROTECTED] wrote: another update, its not the popupmanager, its when I add children to the parent application as well. If the code that adds the envelope is in the parent application, and I dont have to add any children, it works, other than that, death. --- In flexcoders@yahoogroups.com, tchredeemed apthorp@ wrote: Ok, working with AIR (newest release) in flex builder (newest release). Just downloaded adobe reader (newest release, see a trend? =]) I have a popup, that im using with the popupmanager, that loads a pdf: private function loadEnvelope():void { if( HTMLLoader.pdfCapability == HTMLPDFCapability.STATUS_OK ){ var htmlLoader:HTMLLoader = new HTMLLoader(); var url:URLRequest = new URLRequest(hardcodeurl); htmlLoader.width = 519; htmlLoader.height = 361; htmlLoader.load(url); htmlLoader.addEventListener(Event.COMPLETE,completeHandler); var holder:UIComponent = new UIComponent(); holder.addChild(htmlLoader); envelope.addChild(holder); } } the completeHandler fires, so it says it is completing. my problem is this, it is just showing a black/gray square, instead of showing the pdf. I know the pdf exists, because I can manually go to that url, and it prompts me to dl the pdf. Keep in mind, that will be a dynamic url when I get this working! :) HALP! :)
RE: [flexcoders] Re: Flex 3 Preloader broken when using deep linking ?
For what it's worth, I hit the html wrapper and it took forever to load (sorry I didn't time it, just let it load while I did other tasks), but I did see the preloader updating. I did not see the preloader when hitting the SWF, but it was very quick at that point. I closed IE7 and retried. Both the html and SWF loaded quickly this time. On the second attempt for the html wrapper, the preloader briefly appeared and then disappeared as the page was displayed. Obviously caching was a factor in the second attempt. Scott From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Alex Harui Sent: Monday, July 28, 2008 9:38 AM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Re: Flex 3 Preloader broken when using deep linking ? When I hit the SWF directly, with or without #, it doesn't stream in (not sure why), the status bar (in IE) shows downloading progress. When it hit the html wrapper with the # I don't see the loading... screen. Makes me think that it isn't streaming the SWF if there's a #. That may be a known issue, not sure. One way you might be able to tell is when the debugger fires up. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Adnan Doric Sent: Monday, July 28, 2008 1:30 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Flex 3 Preloader broken when using deep linking ? Hello Rick (and Alex) and thank you for your input, I am talking about the preloader not showing when using # in URL, I can't find a single application on the whole Internet where the preloader is showing in that particular case. I am NOT talking about deep linking application at all, because it is not possible considering this bug. Let's just concentrate on Preloader and URLs containing #: Can you see the preloader on this URL (7Mb + # + view source enabled) ? http://astronaute.net/_temp/PreloaderBug/PreloaderBug.html# http://astronaute.net/_temp/PreloaderBug/PreloaderBug.html If anyone here can see the preloader there, then sorry, the problem is probably somewhere on my computer. If no one can see it, the problem is probably in Flex or Flash player right ? I am still looking for some kind of workaround if possible :) for Alex : You can try to load only SWF : http://astronaute.net/_temp/PreloaderBug/PreloaderBug.swf# http://astronaute.net/_temp/PreloaderBug/PreloaderBug.swf As you can see, there is no wrapper issue, as the SWF alone is not showing the preloader. Thank you again for your help, Adnan --- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com , Rick Winscot [EMAIL PROTECTED] wrote: I've used deep linking with a custom pre-loader in many apps without problems. Can you verify your configuration? *. What html template are you using *. What are your compiler options *. Are you using any additional JavaScript goodies like FAB? Rick Winscot From: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com [mailto:flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com ] On Behalf Of Adnan Doric Sent: Saturday, July 26, 2008 6:17 AM To: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com Subject: [flexcoders] Re: Flex 3 Preloader broken when using deep linking ? You are absolutely right, but the preloading part is completely missing :) Well, maybe it is Flash Player bug, I don't know, but it is very annoying for deep linking as you can imagine. I tried to create custom preloader but same thing is happening, there is no progress events. Maybe have some kind of workaround to show the progress ? --- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com mailto:flexcoders%40yahoogroups.com , Alex Harui aharui@ wrote: I saw the initializing progress bar. From: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com mailto:flexcoders%40yahoogroups.com [mailto:flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com mailto:flexcoders%40yahoogroups.com ] On Behalf Of Adnan Doric Sent: Friday, July 25, 2008 12:50 PM To: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com mailto:flexcoders%40yahoogroups.com Subject: [flexcoders] Re: Flex 3 Preloader broken when using deep linking ? Sorry to bump this, but... am I the only one with this issue ? :) Even the Flex 3 style explorer have same issue : 1. clear the cache 2. load http://examples.adobe.com/flex3/consulting/styleexplorer/Flex3StyleExplo http://examples.adobe.com/flex3/consulting/styleexplorer/Flex3StyleExpl o rer.html http://examples.adobe.com/flex3/consulting/styleexplorer/Flex3StyleExpl http://examples.adobe.com/flex3/consulting/styleexplorer/Flex3StyleExpl orer.html You see the preloader 3. clear the cache 4. load (note the # at the end of the URL)
[flexcoders] Programmaticaly move Panel (HELP!)
Hi all, I have 2 canvases places in the HBox. There is a Panel in Canvas A. I'd like to programmaticaly and smoothly move a Panel from one canvas to the another (not using addChild/removeChild). Is this possible?
RE: [flexcoders] Measurement and template component
resizeToContent? From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Richard Rodseth Sent: Monday, July 28, 2008 10:31 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Measurement and template component My application has a structure like this, portions of which are created dynamically: TiledCanvas PodChrome(instance 1) ReportModuleA ReportChrome(instance 1) ReportA Grid PodChrome(instance 2) ReportModuleB ReportChrome(instance 2) ReportB Chart etc. PodChrome and ReportChrome are template components. TiledCanvas is functional - when tiling it correctly reflects a minWidth/minHeight set way deep (eg. on the Grid), or set dynamically on ReportA or ReportB when the state of ReportModuleA or B changes. BUT. The above only works if I omit the ReportChrome wrapper. ReportChrome is just a Canvas with two states, that does an addChild in init(). I added a call to this.invalidateSize() and child.invalidateSize() after the addChild() to no avail. Any debugging tips or ideas on what I could be doing wrong?
[flexcoders] Re: HttpService Fault Response Body Decoding
Josh, Thanks for the reply - the mystery is how to access the server response body content for a faultEvent. My proxy server does a great job of forwarding requests and responses but my client still can not access the response xml body content for an 'error' (status 500) server response. I'm guessing that my proxy will somehow transform 'error' responses by wrapping them in a 'good' response.. or maybe not. Any insight on the mechanics? Thanks. --- In flexcoders@yahoogroups.com, Josh McDonald [EMAIL PROTECTED] wrote: That should be taken care of automatically when using BlazeDS as a proxy. -Josh On Mon, Jul 28, 2008 at 3:43 PM, ron_mori [EMAIL PROTECTED] wrote: The fault handler is being call. (server 500 status) The good news is that my research points me towards the BlazeDS proxy server which I have successfully set up to make my remote server calls. Now the trick is to get the proxy to grab the remote error msg and return a status 200 good msg back to the client so I can process the body of the error msg. thanks. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links -- Therefore, send not to know For whom the bell tolls. It tolls for thee. :: Josh 'G-Funk' McDonald :: 0437 221 380 :: [EMAIL PROTECTED]
[flexcoders] Re: RSS Feeds
In my experience, Flex Builder Debug swfs have the same are subject to the same crossdomain access restrictions that production swfs have. I'm a bit suspicious of the claim that this is not the case. I think what is being said (if I'm understanding correctly) - running FB3 to load external XML (RSS, APIs, etc) - the security does not exist - crossdomain policy files are not required when running a SWF through FB3. However, when you deploy to production, crossdomain policy files ARE required. That being said - I think the issue lies with - why when we run test in development no security is required, but then to run the same application from a production site (running the swf in anything other than FB3 test). I (or anyone) may develope a fully functional site in FB3, thinking every thing is hunky dory, then move the SWF to production and crash - no crossdomain.xml file... then, as a developer I have to either 1) contact the publisher of the RSS, API, etc I'm trying to load, and ask them to kindly put up a crossdomain.xml policy file - which isn't likely to happen... or 2) Redevelop how my application loads data (no small thing). It kinda sucks I have to develop around an issue that doesn't exist in development but does in production. I understand the security concerns, but I think it's more on the side of - if I can do it in dev, why can't I do it in production? It'd be nice to at least be able to tell FB3 the app I'm developing will be loading from a site I have no control over which may or maynot have a crossdomain policy file... (ching, ching - my 2 cents)...
Re: [flexcoders] Measurement and template component
On what? I see there's such a property on Accordion and a few other standard components, but all we have here is my custom TiledCanvas (latest version of the one I sent you a while back) and a few other custom and MXML components. Thanks. On Mon, Jul 28, 2008 at 10:53 AM, Alex Harui [EMAIL PROTECTED] wrote: resizeToContent? From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Richard Rodseth Sent: Monday, July 28, 2008 10:31 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Measurement and template component My application has a structure like this, portions of which are created dynamically: TiledCanvas PodChrome(instance 1) ReportModuleA ReportChrome(instance 1) ReportA Grid PodChrome(instance 2) ReportModuleB ReportChrome(instance 2) ReportB Chart etc. PodChrome and ReportChrome are template components. TiledCanvas is functional - when tiling it correctly reflects a minWidth/minHeight set way deep (eg. on the Grid), or set dynamically on ReportA or ReportB when the state of ReportModuleA or B changes. BUT. The above only works if I omit the ReportChrome wrapper. ReportChrome is just a Canvas with two states, that does an addChild in init(). I added a call to this.invalidateSize() and child.invalidateSize() after the addChild() to no avail. Any debugging tips or ideas on what I could be doing wrong?
RE: [flexcoders] Measurement and template component
Richard, It isn't possible for me to remember how you'lve implemented things, or go back and find your code cuz I'm usually in a hurry. If you're based on Navigators, you can use resizeToContent. Containers may need to use autoLayout. UIComponent should get its measure method called always. -Alex From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Richard Rodseth Sent: Monday, July 28, 2008 11:06 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Measurement and template component On what? I see there's such a property on Accordion and a few other standard components, but all we have here is my custom TiledCanvas (latest version of the one I sent you a while back) and a few other custom and MXML components. Thanks. On Mon, Jul 28, 2008 at 10:53 AM, Alex Harui [EMAIL PROTECTED] mailto:aharui%40adobe.com wrote: resizeToContent? From: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com [mailto:flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com ] On Behalf Of Richard Rodseth Sent: Monday, July 28, 2008 10:31 AM To: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com Subject: [flexcoders] Measurement and template component My application has a structure like this, portions of which are created dynamically: TiledCanvas PodChrome(instance 1) ReportModuleA ReportChrome(instance 1) ReportA Grid PodChrome(instance 2) ReportModuleB ReportChrome(instance 2) ReportB Chart etc. PodChrome and ReportChrome are template components. TiledCanvas is functional - when tiling it correctly reflects a minWidth/minHeight set way deep (eg. on the Grid), or set dynamically on ReportA or ReportB when the state of ReportModuleA or B changes. BUT. The above only works if I omit the ReportChrome wrapper. ReportChrome is just a Canvas with two states, that does an addChild in init(). I added a call to this.invalidateSize() and child.invalidateSize() after the addChild() to no avail. Any debugging tips or ideas on what I could be doing wrong?
Re: [flexcoders] Measurement and template component
Oh, I totally understand, and had no such expectation. I just didn't understand your suggestion, given the hierarchy I included in the question. I wanted to make sure there wasn't a property on Canvas or something I was unaware of. On Mon, Jul 28, 2008 at 11:11 AM, Alex Harui [EMAIL PROTECTED] wrote: Richard, It isn't possible for me to remember how you'lve implemented things, or go back and find your code cuz I'm usually in a hurry. If you're based on Navigators, you can use resizeToContent. Containers may need to use autoLayout. UIComponent should get its measure method called always. -Alex From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Richard Rodseth Sent: Monday, July 28, 2008 11:06 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Measurement and template component On what? I see there's such a property on Accordion and a few other standard components, but all we have here is my custom TiledCanvas (latest version of the one I sent you a while back) and a few other custom and MXML components. Thanks. On Mon, Jul 28, 2008 at 10:53 AM, Alex Harui [EMAIL PROTECTED] wrote: resizeToContent? From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Richard Rodseth Sent: Monday, July 28, 2008 10:31 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Measurement and template component My application has a structure like this, portions of which are created dynamically: TiledCanvas PodChrome(instance 1) ReportModuleA ReportChrome(instance 1) ReportA Grid PodChrome(instance 2) ReportModuleB ReportChrome(instance 2) ReportB Chart etc. PodChrome and ReportChrome are template components. TiledCanvas is functional - when tiling it correctly reflects a minWidth/minHeight set way deep (eg. on the Grid), or set dynamically on ReportA or ReportB when the state of ReportModuleA or B changes. BUT. The above only works if I omit the ReportChrome wrapper. ReportChrome is just a Canvas with two states, that does an addChild in init(). I added a call to this.invalidateSize() and child.invalidateSize() after the addChild() to no avail. Any debugging tips or ideas on what I could be doing wrong?
Re: [flexcoders] Programmaticaly move Panel (HELP!)
I think if you do includeInLayout=false on panel then maybe. - Original Message From: _estatica_ [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Monday, July 28, 2008 12:49:30 PM Subject: [flexcoders] Programmaticaly move Panel (HELP!) Hi all, I have 2 canvases places in the HBox. There is a Panel in Canvas A. I'd like to programmaticaly and smoothly move a Panel from one canvas to the another (not using addChild/removeChil d). Is this possible?
[flexcoders] Re: LCDS data synchronisation problem
Hi, I have experienced the same behavior and output. Here it happens exactly when the cache directory is empty or missing, and the server is offline. Any remote or cache related method call on the dataService object ends with this error (ds.getCacheDescriptors(..), etc). Initial ds properties are : ... ds.autoSaveCache = false; ds.autoConnect = false; ds.autoCommit = false; ... I've spent the day along with a customer who's implementing a world wide application with the offline AIR synch feature, and isolated the same behavior on Christophe's InSync. We were using lcds2.6 beta with flex3 sdk 3.0.1.1050 on their application, and lcds2.6 update1 with sdk 3.0.3.2490 on InSync. After playing a while with the parameters, i've found, having the cache empty, that the only way to make it work is to have the server online + setting the ds.autoconnect at true. Otherwise, I get the same error. Try/catching won't help as the error get risen in another method stack. Once the cache is filled with data, everything is fine except when I set the autoconnect=true. In this case, the datagrid ends empty. To sum it up : 1/ cache empty : - Server OFF + autoconnect=true = error - server OFF + autoconnect=false = error - server ON + autoconnect=true = Loads data and fills cache - server OFF + autoconnect=false = error 2/ cache filled : - Server OFF + autocommit=true = datagrid empty, no error message - server OFF + autocommit= false = works fine - server ON = always works. This behavior is maybe linked with Florence's one. Daniel Pesic. KapIT --- In flexcoders@yahoogroups.com, fkolberg [EMAIL PROTECTED] wrote: Filling... ServerConfig.xml DataService.fill() called for destination: insync with args: [] 'ds-producer-insync' producer acknowledge of '30E89B94-338F-3AB4-4E01-68AD10E196 4C'. Finished validating destination: insync loadOnDemand/paged associations: [] sub- types: Caught error initializing metadata for datastore: null error: TypeError: Error # 2007: Parameter value must be non-null. at ObjectOutput/writeUTF() at mx.data::MessageBatch/writeExternal()[C:\depot\flex\branches\enterpri se_corfu_rc\frameworks\projects\data\src\mx\data\MessageBatch.as:738] at ObjectOutput/writeObject() at mx.data::DataMessageCache/writeExternal()[C:\depot\flex\branches\ente rprise_corfu_rc\frameworks\projects\data\src\mx\data\DataMessageCache.as:1110] at flash.utils::ByteArray/writeObject() at mx.utils::ObjectUtil$/copy()[E:\dev\3.0.x\frameworks\projects\framewo rk\src\mx\utils\ObjectUtil.as:100] at mx.data::SQLDBCacheCollection/get()[C:\depot\flex\branches\enterprise _corfu_rc\frameworks\projects\airfds\src\mx\data\SQLDBCacheCollection.as:90] at mx.data::DataStore/initMessageCache()[C:\depot\flex\branches\enterpri se_corfu_rc\frameworks\projects\data\src\mx\data\DataStore.as:3493] at anonymous()[C:\depot\flex\branches\enterprise_corfu_rc\frameworks\p rojects\data\src\mx\data\DataStore.as:2324] at anonymous()[C:\depot\flex\branches\enterprise_corfu_rc\frameworks\p rojects\data\src\mx\data\DataStore.as:2363] at flash.events::EventDispatcher/dispatchEventFunction() at flash.events::EventDispatcher/dispatchEvent() at mx.data::SQLDBCache/dispatchStatusEvent()[C:\depot\flex\branches\ente rprise_corfu_rc\frameworks\projects\airfds\src\mx\data\SQLDBCache.as:540] at Function/http://adobe.com/AS3/2006/builtin::apply() at mx.rpc::AsyncDispatcher/timerEventHandler()[E:\dev\3.0.x\frameworks\p rojects\rpc\src\mx\rpc\AsyncDispatcher.as:50] at flash.utils::Timer/_timerDispatch() at flash.utils::Timer/tick() Dispatching fault event for destination: insync ds.fill(): failure Could not initialize DataService. Finished calling fault handlers for destination: insync Do you know what I should do to solve that? thanks Florence
[flexcoders] Flex 3 MovieClip Move Effect
I have a movie clip wrapped in UIComponent. What I would like to do is move the move from one side of the form to the other using the Move effect. I can't seem to get this working. Some code excerpts are below. Any help would be greatly appreciated. bpMovie = new MovieClip(); bpUic = new UIComponent(); bpUic.addChild(bpMovie); private function applyPhaseCancellation():void { moveBpMovie.end(); moveBpMovie.yTo = noiseUic.y; moveBpMovie.play(); //bpMovie.y = noiseMovie.y; } mx:Move id=moveBpMovie target={bpMovie} duration=1000/
[flexcoders] AdvancedDataGrid: Making certain rows unselectable
I would like to make an AdvancedDataGrid where the rows with a depth of 0 (or a particular RendererProvider, if you prefer), have no select color. That is, you can click on them and activate click events, but they never turn blue. How do I do this? Thanks
[flexcoders] How to control positioning of Dynamic Control in a panel?
I have a panel that will contain a dynamically created custom grid component(the size is determined at run time). The grid is added to the panel via the panel.AddChild() method and is placed at the bottom of the form by default. I need to place a control bar (and other controls) below the grid. Currently the AddChild() puts the grid at the bottom of the form, after, rather than before the control bar. I need it to go before the control bar (in the middle of a VBox actually). Is there a way to set up a placeholder or template to force the grid placement correctly? Is this possible? Any refs on how to do this? TIA, Patrick
[flexcoders] Re: RSS Feeds
--- In flexcoders@yahoogroups.com, nathanpdaniel [EMAIL PROTECTED] wrote: In my experience, Flex Builder Debug swfs have the same are subject to the same crossdomain access restrictions that production swfs have. I'm a bit suspicious of the claim that this is not the case. I think what is being said (if I'm understanding correctly) - running FB3 to load external XML (RSS, APIs, etc) - the security does not exist - crossdomain policy files are not required when running a SWF through FB3. However, when you deploy to production, crossdomain policy files ARE required. That being said - I think the issue lies with - why when we run test in development no security is required, but then to run the same application from a production site (running the swf in anything other than FB3 test). I (or anyone) may develope a fully functional site in FB3, thinking every thing is hunky dory, then move the SWF to production and crash - no crossdomain.xml file... then, as a developer I have to either 1) contact the publisher of the RSS, API, etc I'm trying to load, and ask them to kindly put up a crossdomain.xml policy file - which isn't likely to happen... or 2) Redevelop how my application loads data (no small thing). It kinda sucks I have to develop around an issue that doesn't exist in development but does in production. I understand the security concerns, but I think it's more on the side of - if I can do it in dev, why can't I do it in production? It'd be nice to at least be able to tell FB3 the app I'm developing will be loading from a site I have no control over which may or maynot have a crossdomain policy file... (ching, ching - my 2 cents)... This is exactly right. I would take it a step further though. If I can get to it with just a browser, then why is it that security is such that I cannot get to it without a crossdomain.xml file that authorizes it. Where is the security hole, if I can just browse to it with Firefox, I.E, Safari, or Opera?
[flexcoders] Re: Mouse DOUBLE_CLICK not fired in Browser but in AIR
Don't quote me on this but it is probably because the MouseEvent.MOUSE_DOWN event is captured before a double click. If you change the event listener from MouseEvent.MOUSE_DOWN to MouseEvent.CLICK then it works as expected. --- In flexcoders@yahoogroups.com, Vijay Ganesan [EMAIL PROTECTED] wrote: I have the same code running in an AIR app and in a browser app - the only difference being the containing mx:WindowedApplication versus mx:Application. See code below for both. Double clicking on the button in the AIR app works fine (MouseEvent.DOUBLE_CLICK gets fired) but the same does not fire in the browser version. Can someone tell me what is going on here? Thanks Vijay AIR version: ?xml version=1.0 encoding=utf-8? mx:WindowedApplication xmlns:mx=http://www.adobe.com/2006/mxml; layout=absolute creationComplete=creationCompleteHandler() mx:Script ![CDATA[ import mx.managers.DragManager; import mx.core.DragSource; private function creationCompleteHandler():void { cvs.addEventListener(MouseEvent.MOUSE_DOWN, onMouseDown); but.doubleClickEnabled = true; but.addEventListener(MouseEvent.DOUBLE_CLICK, onMouseDblClick); } private function onMouseDown(event:MouseEvent):void { trace(onMouseDown); var ds:DragSource = new DragSource(); DragManager.doDrag(this, ds, event); } private function onMouseDblClick(event:MouseEvent):void { trace(onMouseDblClick); // gets called as expected } ]] /mx:Script mx:Canvas id=cvs width=300 height=200 mx:Button id=but width=100 height=75 label=Hello/ /mx:Canvas /mx:WindowedApplication Browser version: ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; layout=absolute creationComplete=creationCompleteHandler() mx:Script ![CDATA[ import mx.managers.DragManager; import mx.core.DragSource; private function creationCompleteHandler():void { cvs.addEventListener(MouseEvent.MOUSE_DOWN, onMouseDown); but.doubleClickEnabled = true; but.addEventListener(MouseEvent.DOUBLE_CLICK, onMouseDblClick); } private function onMouseDown(event:MouseEvent):void { trace(onMouseDown); var ds:DragSource = new DragSource(); DragManager.doDrag(this, ds, event); } private function onMouseDblClick(event:MouseEvent):void { trace(onMouseDblClick); // does not get called!!! } ]] /mx:Script mx:Canvas id=cvs width=300 height=200 mx:Button id=but width=100 height=75 label=Hello/ /mx:Canvas /mx:Application
RE: [flexcoders] mxml components
all classes are created when the application is started AS3 classes get initialized -- meaning that their static variables get set and their static methods get executed -- in a lazy fashion, as they are used. If you have bytecode for a class in your SWF and that class doesn't get used by other code, that class will never get initialized. On the other hand, *instances* of DisplayObject classes get created top down when you use MXML. The Player automatically creates an instance of SystemManager. The instance of SystemManager automatically creates an instance of MainClass as its child. The instance of MainClass creates Class2 as its child. Etc. MXML, with its tags nested inside other tags, is essentially shorthand. For example, Button id=b label=OK/ is basically shorthand for public var b:Button; ... // inside some method: b = new Button(); b.label = OK; addChild(b); It sounds like you might want to experiment with dynamically creating class instances of DisplayObjects like this with 'new' -- and attaching them to parents with addChild() and detatching them with removeChild() -- in order to have more of a correspondence with what you're familiar with, namely C++. It might be that the MXML syntax, which hides the instantiation details, is confusing you. In C++ I would initialize the classes I wanted to use by using calling the class initializer(). I think you mean that you would create the instances you wanted by using the 'new' operator, which invokes the class's constructor. if I needed to access a private variable from MainClass.mxml I included the header file (in this case the class4.mxml file) There are no header files in AS3. Instead of 'include'ing a header file, you import a class. But if something is private you can't access it from any other class. Also in C++ when I'm done with the instance I needed to call the destructor to shut the class down and free the memory I haven't seen a reference yet to destroy a class instances in Flex/AS3 A C++ destructor doesn't shut a class down; it gets called when an *instance* is freed with the 'delete' operator. You don't have to delete instances in AS3 because they get garbage collected. Periodically the runtime determines whether there are any references to an instance. If not, it frees it. There is no method similar to a destructor that gets called when this happens. I've gotten confused on how long those class instances live and when exactly they are initialized. In the case you're describing, they live until you quit the app. If you did something like use removeChild() to detach the instance of Class3 from the instance of Class2, then the instances of Class3 and Class4 would become subject to garbage collection. (Which doesn't necessarily ensure that they'll actually get garbage collected unless the Player decides it is running low on memory.) They were initialized by methods of framework core classes, such as Container and SystemManager, in the top-down order that I previously described. When I use the debugger it doesn't look like in the above example that class4.mxml stays active if I leave the Class3.mxml code. I'm not clear on what you're seeing, but it sounds like you're misinterpreting it. Gordon Smith Adobe Flex SDK Team From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Scott Sent: Saturday, July 26, 2008 4:16 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] mxml components I was afraid of that... Ok, let's see if I can do it better. I understand that I'm not calling a class, but functions within the instance. So if I understand the other message from Gordon correctly then all classes are created when the application is started. However, it doesn't look like that in the debugger when I'm running the application. Let's take and expand my question example below... MainClass.mxml | |-Class2.mxml - ShowStat():Boolean | |-Class3.mxml - LoggedIn():Boolean ||--Class4.mxml - LogMeIn(strName:String,strPassword:String) |-- private var bIsLoggedOn:Boolean (This is fictitious for point of discussion) If I control the display and how things are laid out in MainClass.mxml, I used the Class2 and Class3.mxml files as subclasses to control the widgets on the screen being placed by the MainClass.mxml. In C++ I would initialize the classes I wanted to use by using calling the class initializer(). (I have been using the creationComplete=init() to start code in the class instance.) Then if I needed to access a private variable from MainClass.mxml I included the header file (in this case the class4.mxml file) and called the function, in the above example LoggedIn():Boolean. Also in C++ when I'm done with the instance I needed to call the destructor to shut the class down and free the memory. I haven't seen a
[flexcoders] Tracking tab changes in TabNavigator ?!
I need to somehow trace that another tab selected to do some action based on it. Cannot find proper event which can be generated when I click on tabs or switch tabs.
[flexcoders] Re: Measurement and template component
Oops. Meant for flexcoders. On Mon, Jul 28, 2008 at 2:18 PM, Richard Rodseth [EMAIL PROTECTED] wrote: Turns out to be unrelated to the fact that ReportChrome is a template component (the same thing happens if it's a plain Canvas). Removing width=100% height=100% on ReportChrome results in the TiledCanvas tiling correctly but then I am forced to set minWidth/Height on ReportA or its children, or they shrink to nothing. I'm not sure I understand this - I would expect that the measured values would bubble up regardless, and that the measured width/height of a Canvas or subclass thereof (ReportChrome in this case) would be the maximum of the measured children or the specified container percentage. On Wed, Jul 23, 2008 at 5:18 PM, Richard Rodseth [EMAIL PROTECTED] wrote: My application has a structure like this, portions of which are created dynamically: TiledCanvas PodChrome(1) ReportModuleA ReportChrome(1) ReportA Grid PodChrome(2) ReportModuleB ReportChrome(2) ReportB Chart etc. PodChrome and ReportChrome are template components. TiledCanvas is functional - when tiling it correctly reflects a minWidth/minHeight set way deep (eg. on the Grid). But only if I omit the ReportChrome wrapper. ReportChrome is just a Canvas with two states, that does an addChild in init(). I added a call to this.invalidateSize() and child.invalidateSize() after the addChild() to no avail. Any ideas what I could be doing wrong?
[flexcoders] RemoteObject madness
Hello Good People... My application has one RemoteObject that i use to connect to different services...in other words i keep the connection open and just switch the destination and source in order to reuse it. I'm having an issue that i'm not sure is related to using it this way...here's how i'm using it... first i use it to do some authentication...upon successful authentication i change the source and destination and call another service...upon successful return i again change the source and destination and make another call and here's what's happening... the first call (authentication) goes well... the second call goes well, but the third call (called from the successful result callback of the second) actually calls the successful result callback of the second call i made... can anyone tell me what might be happening here...i've double checked that i'm calling the correct callbacks, but wonder if this is because i'm cascading this way... thanks percy
Re: [flexcoders] Re: Flex 3 Preloader broken when using deep linking ?
Interesting... Just ran this through a whole bunch of angles. Running the example locally works just fine against debug or release builds. Deploy it to a web server on the cloud and it asplodes. Rick Winscot On 7/28/08 11:38 AM, Alex Harui [EMAIL PROTECTED] wrote: When I hit the SWF directly, with or without #, it doesn¹t stream in (not sure why), the status bar (in IE) shows downloading progress. When it hit the html wrapper with the # I don¹t see the ³loading² screen. Makes me think that it isn¹t streaming the SWF if there¹s a #. That may be a known issue, not sure. One way you might be able to tell is when the debugger fires up. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Adnan Doric Sent: Monday, July 28, 2008 1:30 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Flex 3 Preloader broken when using deep linking ? Hello Rick (and Alex) and thank you for your input, I am talking about the preloader not showing when using # in URL, I can't find a single application on the whole Internet where the preloader is showing in that particular case. I am NOT talking about deep linking application at all, because it is not possible considering this bug. Let's just concentrate on Preloader and URLs containing #: Can you see the preloader on this URL (7Mb + # + view source enabled) ? http://astronaute.net/_temp/PreloaderBug/PreloaderBug.html# http://astronaute.net/_temp/PreloaderBug/PreloaderBug.html If anyone here can see the preloader there, then sorry, the problem is probably somewhere on my computer. If no one can see it, the problem is probably in Flex or Flash player right ? I am still looking for some kind of workaround if possible :) for Alex : You can try to load only SWF : http://astronaute.net/_temp/PreloaderBug/PreloaderBug.swf# http://astronaute.net/_temp/PreloaderBug/PreloaderBug.swf As you can see, there is no wrapper issue, as the SWF alone is not showing the preloader. Thank you again for your help, Adnan --- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com , Rick Winscot [EMAIL PROTECTED] wrote: I've used deep linking with a custom pre-loader in many apps without problems. Can you verify your configuration? *. What html template are you using *. What are your compiler options *. Are you using any additional JavaScript goodies like FAB? Rick Winscot From: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com [mailto:flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com ] On Behalf Of Adnan Doric Sent: Saturday, July 26, 2008 6:17 AM To: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com Subject: [flexcoders] Re: Flex 3 Preloader broken when using deep linking ? You are absolutely right, but the preloading part is completely missing :) Well, maybe it is Flash Player bug, I don't know, but it is very annoying for deep linking as you can imagine. I tried to create custom preloader but same thing is happening, there is no progress events. Maybe have some kind of workaround to show the progress ? --- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com mailto:flexcoders%40yahoogroups.com , Alex Harui aharui@ wrote: I saw the initializing progress bar. From: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com mailto:flexcoders%40yahoogroups.com [mailto:flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com mailto:flexcoders%40yahoogroups.com ] On Behalf Of Adnan Doric Sent: Friday, July 25, 2008 12:50 PM To: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com mailto:flexcoders%40yahoogroups.com Subject: [flexcoders] Re: Flex 3 Preloader broken when using deep linking ? Sorry to bump this, but... am I the only one with this issue ? :) Even the Flex 3 style explorer have same issue : 1. clear the cache 2. load http://examples.adobe.com/flex3/consulting/styleexplorer/Flex3StyleExplo rer.html http://examples.adobe.com/flex3/consulting/styleexplorer/Flex3StyleExpl orer.html You see the preloader 3. clear the cache 4. load (note the # at the end of the URL) http://examples.adobe.com/flex3/consulting/styleexplorer/Flex3StyleExplo rer.html# http://examples.adobe.com/flex3/consulting/styleexplorer/Flex3StyleExpl orer.html There is no preloader... Am I crazy or we have some deep linking incompatibilities ? --- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com mailto:flexcoders%40yahoogroups.com mailto:flexcoders%40yahoogroups.com , Adnan Doric astronaute@ wrote: Hello, I don't know if this was already discussed so sorry in advance. After few days of hard debugging, I sadly
[flexcoders] Flex Inspiration and ideas
Hello all, I was going through some tutorials on Flex 3 just recently, that I found on Flex that were available on the Flex start screen when you start the application. The tutorial on creating a Flickr application was pretty interesting and rather simple to do. That is described here: http://learn.adobe.com/wiki/display/Flex/Part+I.+Creating+a+Simple+RIA I think there is a mp3 player that is described on the pages on adobe to which one is taken when from Flex when you click on the tutorial link. So, I thought I'd see if anyone could recommend some places where I could find examples, and presentations of things created with Flex... something to inspire one with ideas as to what can be done with Flex? In particular, I had a few ideas in mind... some things that I would bet some people have done with Flex and this could serve as a starting point for custom apps that I might be able to use. Some ideas of things that I'd like to find, an interactive calendar application, audio/video player, RSS feed reader, A Forum/Bulletin board application. I suppose the example Flickr application described here: http://learn.adobe.com/wiki/display/Flex/Part+I.+Creating+a+Simple+RIA could be modified to display only specific images from a specific account on Flickr. Thanks, Bruce
Re: [flexcoders] Tracking tab changes in TabNavigator ?!
you listen for the IndexChangedEvent.CHANGE event on the TabNavigator. The event will have a relatedObject property which will contain a reference to the newly selected tab. On Mon, Jul 28, 2008 at 2:18 PM, lytvynyuk [EMAIL PROTECTED] wrote: I need to somehow trace that another tab selected to do some action based on it. Cannot find proper event which can be generated when I click on tabs or switch tabs.
Re: [flexcoders] Re: HttpService Fault Response Body Decoding
IIRC: The way it works in BlazeDS is not that it acts as an actual http proxy where you make fully qualified requests over http, but you send requests down a flash-remoting socket connection, and it makes requests and pipes back the result. The end result is that the browser doesn't get to intercept your http requests and throw out the body of 500s, and it should just turn up in your fault event. **Note that we're using servlet filters to return 200s as we're using SOAP and the fault envelopes work fine that way, so we're not actually using BlazeDS, but I'm fairly certain that's how it works. -Josh On Tue, Jul 29, 2008 at 3:53 AM, ron_mori [EMAIL PROTECTED] wrote: Josh, Thanks for the reply - the mystery is how to access the server response body content for a faultEvent. My proxy server does a great job of forwarding requests and responses but my client still can not access the response xml body content for an 'error' (status 500) server response. I'm guessing that my proxy will somehow transform 'error' responses by wrapping them in a 'good' response.. or maybe not. Any insight on the mechanics? Thanks. --- In flexcoders@yahoogroups.com, Josh McDonald [EMAIL PROTECTED] wrote: That should be taken care of automatically when using BlazeDS as a proxy. -Josh On Mon, Jul 28, 2008 at 3:43 PM, ron_mori [EMAIL PROTECTED] wrote: The fault handler is being call. (server 500 status) The good news is that my research points me towards the BlazeDS proxy server which I have successfully set up to make my remote server calls. Now the trick is to get the proxy to grab the remote error msg and return a status 200 good msg back to the client so I can process the body of the error msg. thanks. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links -- Therefore, send not to know For whom the bell tolls. It tolls for thee. :: Josh 'G-Funk' McDonald :: 0437 221 380 :: [EMAIL PROTECTED] -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links -- Therefore, send not to know For whom the bell tolls. It tolls for thee. :: Josh 'G-Funk' McDonald :: 0437 221 380 :: [EMAIL PROTECTED]
Re: [flexcoders] TextArea popup editor in DataGrid
I've tried using a popup TextArea but I'm having real problems trying to get it to work as an item editor within a datagrid. My business requirements are - someone can click in the DG cell to start editing. If the cell uses a TextArea control, they should get popup-like TA that extends across rows to enter longer blocks of text - the user can enter data in any text-based editable cell without using a mouse (but they can use a mouse if they want to) - someone can tab across a row in the DG; our DG needs to move from one editable cell to the next (and go to next editable row if they tab out of the last editable cell in a row) - the user can use shift-tab to go to previous editable cell - the user can use ENTER to finish the edit and save the row - the user can use ESCAPE to cancel the edit So I've already got all of the keyboard behavior working with a TextField controls. It also works if I use a simple TextArea as the item editor (but see if the beginning of the thread for my problem with a simple TextArea). However, when I open the TextArea with a PopUpManager I'm having problems. My custom item editor is composed of a Canvas: public class PopUpTextArea extends Canvas implements IDropInListItemRenderer, IFocusManagerComponent On creationComplete, the editor creates a new instance of TextArea, and uses PopUpManager to open it. _popup = new TextArea(); _popup.width= this.width; _popup.height= EDIT_HEIGHT; _popup.text = this._text; _popup.owner = this; PopUpManager.addPopUp(_popup, this, false); PopUpManager.bringToFront(_popup); But ... If I try to programmatically set focus on the popup, the DG crashes. Apparently, it's getting wrapped around a pole somehow because setting focus on the popup triggers an item-edit-end. If I click in the TA, it either (A) goes in a little circle - item-edit-end is called because the Canvas losses focus, so it closes the TA, but the editedItemPosition doesn't move, so it creates a new instance of the editor which opens the popup, or (B) it just closes the item-editor because the item-editor lost focus I also tried to capture keystrokes on the Canvas and pass them to the TA, that didn't work either. But even if it did work, the user still needs the ability to use the mouse if they want to. So is it possible to use a TextArea in a PopUp as an item editor in a DataGrid? On Fri, Jul 18, 2008 at 4:42 PM, Alex Harui [EMAIL PROTECTED] wrote: Well, you could popup a TextArea like PopUpButton does, but it sounds like your real goal is to have the TA extend across rows and not be below the lines. I assume you don't want the TA to fit within a single row? How will you handle the area at the bottom of the DG? If I click the last row, should the TA extend two rows below the DG? -- *From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On Behalf Of *Glenn Jones *Sent:* Friday, July 18, 2008 11:17 AM *To:* flexcoders@yahoogroups.com *Subject:* [flexcoders] TextArea popup editor in DataGrid I have a DataGrid where one of the columns is a TextArea control as the itemEditor. When I edit a cell in the column with the TextArea editor, the TextArea opens up to a height equivalent to three rows of data in the grid. The editor works fine; in fact it's been working this way for some time. But recently, we enabled horizontal and vertical grid lines on the grid. When the TextArea editor opens up, the datagrid horizontal grid lines are drawn across the top of the control. I've verified that the TextArea control is not inheriting the styles related to grid lines I've verified that the TextArea backgroundAlpha is 1; i.e. the text on the rows underneath the editor is not showing through. So as near as I can tell, the grid is drawing the gridlines on top of the editor. Curiously, I also have a PopUpButton editor type - it does not have grid lines drawn across when the dropdown area that appears when the button is activated. Is this a known issue? Is there a workaround? Thanks
[flexcoders] Re: Flex Inspiration and ideas
For full applications, the showcase on Flex.org http://flex.org/showcase http://flex.org/showcase is worth a look. On a lower level, the custom components in the flexbox http://flexbox.mrinalwadhwa.com/ could serve for some inspiration as well. Happy coding, -Michael --- In flexcoders@yahoogroups.com, brucewhealton [EMAIL PROTECTED] wrote: Hello all, I was going through some tutorials on Flex 3 just recently, that I found on Flex that were available on the Flex start screen when you start the application. The tutorial on creating a Flickr application was pretty interesting and rather simple to do. That is described here: http://learn.adobe.com/wiki/display/Flex/Part+I.+Creating+a+Simple+RIA I think there is a mp3 player that is described on the pages on adobe to which one is taken when from Flex when you click on the tutorial link. So, I thought I'd see if anyone could recommend some places where I could find examples, and presentations of things created with Flex... something to inspire one with ideas as to what can be done with Flex? In particular, I had a few ideas in mind... some things that I would bet some people have done with Flex and this could serve as a starting point for custom apps that I might be able to use. Some ideas of things that I'd like to find, an interactive calendar application, audio/video player, RSS feed reader, A Forum/Bulletin board application. I suppose the example Flickr application described here: http://learn.adobe.com/wiki/display/Flex/Part+I.+Creating+a+Simple+RIA could be modified to display only specific images from a specific account on Flickr. Thanks, Bruce
Re: [flexcoders] Re: Who is using FlexReport?
Paul,If you are doing client side PDF generation, you need to use Flex as rendering engine to measure layout - hence preview - either hidden or visible is the must - no server involved. We are doing it for our report writer - works kind of slow - 2 pages per second, but theoretically can be pushed to about 5-7 pages/sec for datagrid layouts with no variable row height Regards, Anatole Tartakovsky Farata Systems On Thu, Jul 17, 2008 at 12:21 PM, Paul Andrews [EMAIL PROTECTED] wrote: - Original Message - From: ansury2001 [EMAIL PROTECTED] ansury%40yahoo.com To: flexcoders@yahoogroups.com flexcoders%40yahoogroups.com Sent: Thursday, July 17, 2008 2:55 PM Subject: [flexcoders] Re: Who is using FlexReport? Well you're right that I *could* probably meet my basic requirements simply using pdf generation (although it'd be server side/java), although custom reporting options would still take some work. But actually showing the user a print preview of what they're going to see, within the running swf, would be so much better. Yes, I agree - I want to generate the PDF on the client, not the server! It's still possible to generate a client-side preview using server side PDF generation - it just needs a new window. Paul snip
[flexcoders] SWFloader and css woes
I made an application which loads an external flex app using swf loader. However the problem is that the flex app im loading the css styles get overridden by the parent application. How can i prevent this?