[flexcoders] argent help needed please
hi guys i have a problem with video display play button in flex 2. when i click the play button i get this error TypeError: Error #1006: play is not a function.at custom_comps::home/__playButton_click(). here is my code please guide me.thanks mx:Panel width=350 height=50% layout=vertical title=Top 10 Music Videos of the Month paddingBottom=2 paddingLeft=2 paddingRight=2 paddingTop=2 mx:VBox width=100% height=100% mx:Repeater id=videos dataProvider={myvid} mx:Canvas width=100% mx:VideoDisplay id=videoDisplay source={videos.currentItem.video} width=120 height=75 x=0 y=0 autoPlay=false/ mx:VBox width=100% x=128 y=1.5 mx:Label text=Title: {videos.currentItem.title} color=#ff9900/ mx:Label text=By: {videos.currentItem.artist} color=#ff9900/ /mx:VBox mx:Button id=playButton upSkin=@Embed('../images/videoPlayer_img/control_play.png') downSkin=@Embed('../images/videoPlayer_img/control_play_blue.png') click=videoDisplay.play() x=50 y=27.5/ /mx:Canvas /mx:Repeater /mx:VBox /mx:Panel
RE: [flexcoders] Question about ASDocs
The ASDoc compiler usually takes one pass through the code rather than the multiple passes like the regular compiler, so if your app won't compile in a single pass, the ASDoc can't be made. Usual culprits are classes that use dispatchEvent(...) without extending EventDispatcher but DO have Bindable tags. Gk. Gregor Kiddie Senior Developer INPS Tel: 01382 564343 Registered address: The Bread Factory, 1a Broughton Street, London SW8 3QJ Registered Number: 1788577 Registered in the UK Visit our Internet Web site at www.inps.co.uk blocked::http://www.inps.co.uk/ The information in this internet email is confidential and is intended solely for the addressee. Access, copying or re-use of information in it by anyone else is not authorised. Any views or opinions presented are solely those of the author and do not necessarily represent those of INPS or any of its affiliates. If you are not the intended recipient please contact is.helpd...@inps.co.uk From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of timgerr Sent: 23 April 2009 16:02 To: flexcoders@yahoogroups.com Subject: [flexcoders] Question about ASDocs When I run ASDocs on a project that works fine, I get some errors that somthing was not found at compile time. Is there a way to turn off errors and just write the documentation??? Thanks, timgerr
[flexcoders] Re: Setting dateField.SelectedDate when component is disabled?
If I leave the dateField objects enabled: mx:DateField id=dtCmplxStartDate enabled=true / then from the function: dtCmplxStartDate.selectedDate = tempStrtDt; the gui shows the date in the textInput part of the dateField component. All I have to change is mx:DateField id=dtCmplxStartDate enabled=false/ and dtCmplxStartDate.selectedDate = tempStrtDt; does not show date in gui. Mic. --- In flexcoders@yahoogroups.com, Tracy Spratt tr...@... wrote: What happens? How are you sure the dates are not being set? What happens if you do this after setting a date: Trace(dtCmplxStartDate.toDateString(0); Tracy Spratt, Lariat Services, development services available _ From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Mic Sent: Thursday, April 23, 2009 10:47 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Setting dateField.SelectedDate when component is disabled? In a modal View state the dateFields are disabled but I need to populate them for the current record. I can stick my proc values in when they are enabled, but not when disabled. I tried dtCmplxStartDate.enabled = true; dtCmplxStartDate.selectedDate = tempStrtDt; dtCmplxStartDate.enabled = false; dtCmplxEndDate.enabled = true; dtCmplxEndDate.selectedDate = tempEndDt; dtCmplxEndDate.enabled = false; but no go. TIA, Mic.
[flexcoders] Using some frameworks for PHP serverside
Hi, With lot of help from Steve on this list I could get a Flex test application running with webORB and PHP-Firebird as serverside many thanks to him. We also trying run it with other AMF alternatives just for evaluation otherwise webORB is very satisfactory. Performance is acceptable, Easy to develop and deploy. Now we have been advised by many ppl on Firebird-PHP and On this list also to have some PHP frameworks like Symphony, CakePHP, Zend etc. etc.as wrappers to server side PHP. We would like to know why we should wrap serverside with these framework and what will be the benefits in that. According to discussion we had it is going to add another layer in application then we fear about performance. But since these frameworks are there and being used extensively inspite of this issue there must be some advantage out weighing the performance penalty but since this is our first web application so we are not in position to judge that. Please help us in this matter. Similarly also suggest some good framework which is high performing, easy to code and deploy, if at all it is beneficial to use such framework on server side PHP. Thanks and Best Regards Raja
RE: [flexcoders] module loading and progress load slow?
Do you have a lot of RSLs for each module? Our experience was that it wasn't the loading of the module that took the time it was loading all it's RSLs. Gk. Gregor Kiddie Senior Developer INPS Tel: 01382 564343 Registered address: The Bread Factory, 1a Broughton Street, London SW8 3QJ Registered Number: 1788577 Registered in the UK Visit our Internet Web site at www.inps.co.uk blocked::http://www.inps.co.uk/ The information in this internet email is confidential and is intended solely for the addressee. Access, copying or re-use of information in it by anyone else is not authorised. Any views or opinions presented are solely those of the author and do not necessarily represent those of INPS or any of its affiliates. If you are not the intended recipient please contact is.helpd...@inps.co.uk From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Jason B Sent: 23 April 2009 21:29 To: flexcoders@yahoogroups.com Subject: [flexcoders] module loading and progress load slow? loading modules I've been rearranging my application to use modules to reduce load time and prepare it to handle later larger development etc... All is well I've got it loading modules and such and learned a lot over the past few days. I have several modules that have large images it uses with source= and some other swf's it loadsI prefer not to allow caching since these items change a lot. On a localhost connection (dev) It can take 10 seconds to load the module etc. At first I thought it was needing a preloading technique that adobe offers so i tried that to load while the app loaded etc.. no go then i tried to see if i could add a progress bar on top of the module loading so the user is at least informed but to my dismay it loads too fast for the progress bar to show up heres the size of the swif being loaded 364K 2009-04-23 13:54 nutrition.swf the images and other swfs that load into this module are about 1-2 megs total. If i avoid using modules it loads on localhost almost instantly :( I have a feeling the source = for images and swf loading is whats dragging it to load fast. What options do i have for either preloading quicker for this module? Is it possible that my custom component is causing this performance issue? http://dougmccune.com/blog/2007/11/19/flex-coverflow-performance-improve ment-flex-carousel-component-and-vertical-coverflow/ http://dougmccune.com/blog/2007/11/19/flex-coverflow-performance-improv ement-flex-carousel-component-and-vertical-coverflow/ anyone had this kind of issue with rendering slow? sources used already are: http://livedocs.adobe.com/flex/3/html/help.html?content=modular_5.html http://livedocs.adobe.com/flex/3/html/help.html?content=modular_5.html http://livedocs.adobe.com/flex/3/html/help.html?content=modular_6.html http://livedocs.adobe.com/flex/3/html/help.html?content=modular_6.html
RE: [flexcoders] Popups and accessibility (JAWS)
That was a known issue in Flex 2, it doesn't look like it's gotten any better in Flex 3! Gk. Gregor Kiddie Senior Developer INPS Tel: 01382 564343 Registered address: The Bread Factory, 1a Broughton Street, London SW8 3QJ Registered Number: 1788577 Registered in the UK Visit our Internet Web site at www.inps.co.uk blocked::http://www.inps.co.uk/ The information in this internet email is confidential and is intended solely for the addressee. Access, copying or re-use of information in it by anyone else is not authorised. Any views or opinions presented are solely those of the author and do not necessarily represent those of INPS or any of its affiliates. If you are not the intended recipient please contact is.helpd...@inps.co.uk From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of KOVÁCS István Sent: 23 April 2009 15:54 To: flexcoders@yahoogroups.com Subject: [flexcoders] Popups and accessibility (JAWS) Dear All, I've been assigned the task of testing and fixing accessibility tasks in a Flex 3 application. One of the problems we're having is JAWS not reading popup windows. The Alert control works (when the alert pops up, title, message are read, focus is on the default button, and the default button's label is also read, all without any user intervention, e.g. moving focus with TAB). However, popup windows created in other ways (e.g. the sample at http://livedocs.adobe.com/flex/3/langref/mx/containers/TitleWindow.html http://livedocs.adobe.com/flex/3/langref/mx/containers/TitleWindow.html ) do not: the popup is shown, but JAWS does not read anything. Are we doing something wrong, is there some special setting that we need (or perhaps JAWS treats Alert in a special way)? We have a popup window component that handles user confirmations, having a configurable number of buttons, a title and a text message. I've tried setting focus (setFocus() and drawFocus(true)) on the window or the Label component used to display the message, and it's OK on the screen but JAWS does not read anything. Thanks in advance, István
RE: [flexcoders] testing posting
Nope... definitely not working ;) Gregor Kiddie Senior Developer INPS Tel: 01382 564343 Registered address: The Bread Factory, 1a Broughton Street, London SW8 3QJ Registered Number: 1788577 Registered in the UK Visit our Internet Web site at www.inps.co.uk blocked::http://www.inps.co.uk/ The information in this internet email is confidential and is intended solely for the addressee. Access, copying or re-use of information in it by anyone else is not authorised. Any views or opinions presented are solely those of the author and do not necessarily represent those of INPS or any of its affiliates. If you are not the intended recipient please contact is.helpd...@inps.co.uk From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of markgoldin_2000 Sent: 23 April 2009 23:39 To: flexcoders@yahoogroups.com Subject: [flexcoders] testing posting Is it working??
[flexcoders] Datagid : filterfunction
Hello all, I have a table in my DB containing following fields : - ID - aText : String - flaggedForDeletion : Boolean Suppose all my records have a value of false for field flaggedForDeletion. In my application I have a datagrid and a recycleBin-button. My intention is to create following : When starting my application, the datagrid shows all the records of the DB. When I drag a record from the datagrid to the recycleBin, it gets the value true for field flaggedForDeletion and will be removed from the datagrid. When clicking on the recycleBin-button, the datagrid has to show only these records which are flagged for deletion. Leaving the recycleBin-mode, the datagrid has to show only these records which are NOT flaged for deletion. My question is now how to do this : To my opinion I have 2 possibilities : - using 2 ArrayCollections (acAvailableRecords and acDeletedRecords) Depending what I want to show, I dynamically change the datasource of my datagrid - using only one ArrayCollection and filter it based on the value of flaggedForDeletion. I case of the last solution, I encounter another issue, meaning : I also provided a filterfunction on the datagrid to filter the records based on a string I fill in a searchfield. This means I need to create a double filterfunction : one on field flaggedForDeletion and the other on the content of the searchfield. No idea which is the best solution and if I can use a double filter on a datagridsource. Any help is welcome. Thanks in advance.
RE: [flexcoders] Re: Signed RSL penetration
Does that mean that any swf you create that uses the flex framework RSLs are not going to get indexed by Google. I've created a very simple placeholder page (single front page with just a few text boxes and a link) and as usual I make the framework into a RSL(total overkill in this situation, but I like to do it as standard). So I've just checked the site using googles search and its showing the 'Error #2032. RSL Error 1 of 1.' in the listing of search results. If so any ideas what is Googles timescale on indexing sites that use RSLs. Cheers. From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Matt Chotin Sent: 23 April 2009 01:38 To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Re: Signed RSL penetration This is due to Google not yet executing network requests from the SWF. Something that they're working on. Matt On 4/21/09 11:19 PM, bsyyu ben.s...@gmail.com wrote: Apart from the size matter, we encounter the problem for Google engine working with signed RSL matter , the result of Google Serach for the website that use signed RSL with Error #2032. RSL Error 1 of 1. Any comments for this --- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com , Matt Chotin mcho...@... wrote: We're hosting the RSLs starting with Flex 4, you'll see them hosted in the public beta. When we feel comfortable with the RSL penetration stats as far as being consistent and accurate and explainable we'll begin publishing them. Matt On 4/21/09 11:01 PM, Steve Mathews happy...@... wrote: No offence was intended, I was trying to state that as a selling point. The number of users who already have the SWZs should be icing, the real substance should be the benifit to every user visiting your site/app. Obviously if you only expect users to visit once or twice the benifit doesn't work out. The problem with Adobe including the files with the first install is that there are new files for each update of the Flex Framework. I am currently on my third set of SWZs in my production environment. I would like to see Adobe host the files as an added benifit to using them. I would also be interested in seeing some stats on the number of installed players that have one or more SWZs cached as it would be additional info to help sell the idea to clients. Steve On Tue, Apr 21, 2009 at 2:55 PM, Guy Morton g...@... wrote: Yes, I know how it works...my point is that it's hard to sell to my current clients if for most it's going to translate into a bigger download for first time users. This is why stats as to how many users are likely to already have the different versions of the RSLs would be handy. I realise this is probably strategically sensitive for Adobe as they want to encourage use of RSLs as it improves the Flex download size story longer term. Someone made the suggestion somewhere that when users upgrade or install the player, Adobe ought to download and install all the current RSLs as well. That seems a very sensible idea to me. Even if they were a separate download available at the time (or available as a Flash player professional version) it would be better than forcing developers distributing apps to do it. We have app size as an imperative that we have to work with. Guy On 22/04/2009, at 4:19 AM, Steve Mathews wrote: It would only be bigger the first download (assuming the user has 9.0.115.0 or later). After that it would be smaller each time. Steve On Tue, Apr 21, 2009 at 4:08 AM, Guy Morton g...@... wrote: Well...yes, it's great if I do it...for the community n'all...but my users *are* sensitive to the download size. If it were the same size either way, of course I would do it (as would everyone) but the fact that it's BIGGER as RSLs means I bet LOTS of developers DON'T do it, hence my question... Guy On 21/04/2009, at 6:19 PM, Tom Chiverton wrote: On Tuesday 21 Apr 2009, g...@... wrote: Maybe it's worth doing if 50%+ of users will get the benefit, but if only 10% will benefit it seems unlikely to be a way to increase the general happiness. I think you are looking at it wrong. Assuming 200k is nothing on a modern connection - I don't know anything about your users of course :-) With RSL you either load
Re: [flexcoders] Download Flash Player
The SWFObject project also works well. -- Helping to enormously reinvent mission-critical convergence as part of the IT team of the year, '09 and '08 Tom Chiverton Developer Tel: +44 0161 618 5032 Fax: +44 0161 618 5099 tom.chiver...@halliwells.com 3 Hardman Square, Manchester, M3 3EB www.Halliwells.com 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 together with a list of those non members who are referred to as partners. We use the word ?partner? to refer to a member of the LLP, or an employee or consultant with equivalent standing and qualifications. 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] PyAMF 0.4.2 released
The PyAMF team is proud to announce the release of 0.4.2! PyAMF [1] is a lightweight library that allows Flash and Python applications to communicate via Adobes ActionScript Message Format. This is a bugfix release [2], see the changelog [3] for the complete list of changes. A brief overview of the changes: - Support for decoding the 'source' property on ArrayCollections - Fixed an issue in the GAE adapter where dynamic properties would be missing on referenced objects - Fixed a critical issue with AMF0 reference counting when encoding remoting responses - Support for Django i18n ugettext_lazy - Added support for microseconds for datetime objects - Support for property types on SQLAlchemy mapped classes - Support for property types for Google AppEngine db.Model and db.Expando Check out the download page [4], installation instructions [5] or the API documentation [6] for more information. Questions? First stop is the mailing list [7] but we also hang out on IRC [8]. Cheers, the PyAMF team. [1] http://pyamf.org [2] http://pyamf.org/milestone/0.4.2 [3] http://pyamf.org/browser/pyamf/tags/release-0.4.2/CHANGES.txt [4] http://pyamf.org/wiki/Download [5] http://pyamf.org/wiki/Install [6] http://api.pyamf.org [7] http://pyamf.org/wiki/MailingList [8] irc://irc.collab.eu/pyamf
[flexcoders] Tree Structure in advanced datagrid
hi all, i need to select tree structure(index) values dynamically... depends on combobox value(work as Filter)..any way to implement???
[flexcoders] IE8 problem
hi all ,i develop dashboard using Flex3...But ouput is working in all browsers other than Internet Explorer 8... i cant understand What is the problem...Give some suggestion...
RE: [flexcoders] IE8 problem
Well for starters, what is it doing (or not doing)? Gk. Gregor Kiddie Senior Developer INPS Tel: 01382 564343 Registered address: The Bread Factory, 1a Broughton Street, London SW8 3QJ Registered Number: 1788577 Registered in the UK Visit our Internet Web site at www.inps.co.uk blocked::http://www.inps.co.uk/ The information in this internet email is confidential and is intended solely for the addressee. Access, copying or re-use of information in it by anyone else is not authorised. Any views or opinions presented are solely those of the author and do not necessarily represent those of INPS or any of its affiliates. If you are not the intended recipient please contact is.helpd...@inps.co.uk From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of senthilkumarirtt Sent: 24 April 2009 10:55 To: flexcoders@yahoogroups.com Subject: [flexcoders] IE8 problem hi all ,i develop dashboard using Flex3...But ouput is working in all browsers other than Internet Explorer 8... i cant understand What is the problem...Give some suggestion...
Re: [flexcoders] IE8 problem
What do you mean by 'does not work on IE8' ? The swf is not loaded? Some specific error in IE ? Tell us more about the problem, w/o information is impossible to help you. PS On Fri, Apr 24, 2009 at 6:55 AM, senthilkumarirtt senthilkumari...@yahoo.co.in wrote: hi all ,i develop dashboard using Flex3...But ouput is working in all browsers other than Internet Explorer 8... i cant understand What is the problem...Give some suggestion... -- /** * Pedro Sena * Systems Architect * Sun Certified Java Programmer * Sun Certified Web Component Developer */
Re: [flexcoders] Synchronize time
On Friday 24 Apr 2009, lehaianh1986 wrote: Hi all, can AIR have ability to check date-time from internet? Depend on my knowledge, I think I need to send request to some websites, then receive the response is the date. Any one know about it can help me? I search but don't see anything guide me to do that. You could parse http://www.time.gov/timezone.cgi?Eastern/d/-5 or similar... -- Helping to augmentatively cultivate cross-platform fourth-generation market-driven users as part of the IT team of the year, '09 and '08 Tom Chiverton Developer Tel: +44 0161 618 5032 Fax: +44 0161 618 5099 tom.chiver...@halliwells.com 3 Hardman Square, Manchester, M3 3EB www.Halliwells.com 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 together with a list of those non members who are referred to as partners. We use the word ?partner? to refer to a member of the LLP, or an employee or consultant with equivalent standing and qualifications. 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.
Re: [flexcoders] IE8 problem
Just an FYI I know Flex works well with IE 8 since we've tested an application my company built in IE 8 with no differences that we found between it and IE 7, it must be something your doing On Fri, Apr 24, 2009 at 5:55 AM, senthilkumarirtt senthilkumari...@yahoo.co.in wrote: hi all ,i develop dashboard using Flex3...But ouput is working in all browsers other than Internet Explorer 8... i cant understand What is the problem...Give some suggestion... -- Thanks Jason =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Software Engineer Web Design Adobe Flex, PHP, MySQL, Oracle I don't hate windows, I just know Linux is better :P You cannot force ideas. Successful ideas are the result of slow growth. Ideas do not reach perfection in a day, no matter how much study is put upon them =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Re: [flexcoders] IE8 problem
two days ago a friend maintaining a Flash 7 old project had a refresh problem with IE8 it seems IE8 can load a SWF7 but can't reload it!. He workaround the problem making a Flash 8 wrapper for the SWF7. Well, I think this shows up the great quality of IE8. Think that your problem could be IE8 working in the classic microsoft's way... C. 2009/4/24 nospam allowed nos...@advancedonsite.com Just an FYI I know Flex works well with IE 8 since we've tested an application my company built in IE 8 with no differences that we found between it and IE 7, it must be something your doing On Fri, Apr 24, 2009 at 5:55 AM, senthilkumarirtt senthilkumari...@yahoo.co.in wrote: hi all ,i develop dashboard using Flex3...But ouput is working in all browsers other than Internet Explorer 8... i cant understand What is the problem...Give some suggestion... -- Thanks Jason =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Software Engineer Web Design Adobe Flex, PHP, MySQL, Oracle I don't hate windows, I just know Linux is better :P You cannot force ideas. Successful ideas are the result of slow growth. Ideas do not reach perfection in a day, no matter how much study is put upon them =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
[flexcoders] modules, rendering event trigger
I've got parentApplication.addEventListener(ModuleEvent.READY, parentApplication.createmeals_swf.child.which_plan); Which loads my function on first load of the swf, but I need a way to know when that module renders because if i try to call that function and it has not rendered then it throws an error when its not ready. so if i can do something like this would be great if(module --ready) parentApplication.createmeals_swf.child.which_plan else parentApplication.addEventListener(ModuleEvent.READY, parentApplication.createmeals_swf.child.which_plan); -- Thanks Jason
Re: [flexcoders] IE8 problem
Can you post the wrapper? On Fri, Apr 24, 2009 at 9:31 AM, Carlos Rovira carlos.rov...@gmail.comwrote: two days ago a friend maintaining a Flash 7 old project had a refresh problem with IE8 it seems IE8 can load a SWF7 but can't reload it!. He workaround the problem making a Flash 8 wrapper for the SWF7. Well, I think this shows up the great quality of IE8. Think that your problem could be IE8 working in the classic microsoft's way... C. 2009/4/24 nospam allowed nos...@advancedonsite.com Just an FYI I know Flex works well with IE 8 since we've tested an application my company built in IE 8 with no differences that we found between it and IE 7, it must be something your doing On Fri, Apr 24, 2009 at 5:55 AM, senthilkumarirtt senthilkumari...@yahoo.co.in wrote: hi all ,i develop dashboard using Flex3...But ouput is working in all browsers other than Internet Explorer 8... i cant understand What is the problem...Give some suggestion... -- Thanks Jason =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Software Engineer Web Design Adobe Flex, PHP, MySQL, Oracle I don't hate windows, I just know Linux is better :P You cannot force ideas. Successful ideas are the result of slow growth. Ideas do not reach perfection in a day, no matter how much study is put upon them =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= -- Thanks Jason =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Software Engineer Web Design Adobe Flex, PHP, MySQL, Oracle I don't hate windows, I just know Linux is better :P You cannot force ideas. Successful ideas are the result of slow growth. Ideas do not reach perfection in a day, no matter how much study is put upon them =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Re: [flexcoders] IE8 problem
sorry it was a project from other people and I want only to expose other case of IE8 failing. Take into account that I was talking of old Flash 7 and 8 stuff 2009/4/24 nospam allowed nos...@advancedonsite.com Can you post the wrapper? On Fri, Apr 24, 2009 at 9:31 AM, Carlos Rovira carlos.rov...@gmail.comwrote: two days ago a friend maintaining a Flash 7 old project had a refresh problem with IE8 it seems IE8 can load a SWF7 but can't reload it!. He workaround the problem making a Flash 8 wrapper for the SWF7. Well, I think this shows up the great quality of IE8. Think that your problem could be IE8 working in the classic microsoft's way... C. 2009/4/24 nospam allowed nos...@advancedonsite.com Just an FYI I know Flex works well with IE 8 since we've tested an application my company built in IE 8 with no differences that we found between it and IE 7, it must be something your doing On Fri, Apr 24, 2009 at 5:55 AM, senthilkumarirtt senthilkumari...@yahoo.co.in wrote: hi all ,i develop dashboard using Flex3...But ouput is working in all browsers other than Internet Explorer 8... i cant understand What is the problem...Give some suggestion... -- Thanks Jason =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Software Engineer Web Design Adobe Flex, PHP, MySQL, Oracle I don't hate windows, I just know Linux is better :P You cannot force ideas. Successful ideas are the result of slow growth. Ideas do not reach perfection in a day, no matter how much study is put upon them =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= -- Thanks Jason =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Software Engineer Web Design Adobe Flex, PHP, MySQL, Oracle I don't hate windows, I just know Linux is better :P You cannot force ideas. Successful ideas are the result of slow growth. Ideas do not reach perfection in a day, no matter how much study is put upon them =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Re: [flexcoders] IE8 problem
ya.. --- On Fri, 24/4/09, nospam allowed nos...@advancedonsite.com wrote: From: nospam allowed nos...@advancedonsite.com Subject: Re: [flexcoders] IE8 problem To: flexcoders@yahoogroups.com Date: Friday, 24 April, 2009, 7:37 PM Can you post the wrapper? On Fri, Apr 24, 2009 at 9:31 AM, Carlos Rovira carlos.rovira@ gmail.com wrote: two days ago a friend maintaining a Flash 7 old project had a refresh problem with IE8 it seems IE8 can load a SWF7 but can't reload it!. He workaround the problem making a Flash 8 wrapper for the SWF7. Well, I think this shows up the great quality of IE8. Think that your problem could be IE8 working in the classic microsoft's way... C. 2009/4/24 nospam allowed nos...@advancedonsi te.com Just an FYI I know Flex works well with IE 8 since we've tested an application my company built in IE 8 with no differences that we found between it and IE 7, it must be something your doing On Fri, Apr 24, 2009 at 5:55 AM, senthilkumarirtt senthilkumarirtt@ yahoo.co. in wrote: hi all ,i develop dashboard using Flex3...But ouput is working in all browsers other than Internet Explorer 8... i cant understand What is the problem...Give some suggestion.. . -- Thanks Jason =-=-=-=-=-=- =-=-=-=-= -=-=-=-=- =-=-=-=-= -=-=-=-=- =-=-=-=-= -=-=-=-=- =-=-= Software Engineer Web Design Adobe Flex, PHP, MySQL, Oracle I don't hate windows, I just know Linux is better :P You cannot force ideas. Successful ideas are the result of slow growth. Ideas do not reach perfection in a day, no matter how much study is put upon them =-=-=-=-=-=- =-=-=-=-= -=-=-=-=- =-=-=-=-= -=-=-=-=- =-=-=-=-= -=-=-=-=- =-=-= -- Thanks Jason =-=-=-=-=-=- =-=-=-=-= -=-=-=-=- =-=-=-=-= -=-=-=-=- =-=-=-=-= -=-=-=-=- =-=-= Software Engineer Web Design Adobe Flex, PHP, MySQL, Oracle I don't hate windows, I just know Linux is better :P You cannot force ideas. Successful ideas are the result of slow growth. Ideas do not reach perfection in a day, no matter how much study is put upon them =-=-=-=-=-=- =-=-=-=-= -=-=-=-=- =-=-=-=-= -=-=-=-=- =-=-=-=-= -=-=-=-=- =-=-= Cricket on your mind? Visit the ultimate cricket website. Enter http://beta.cricket.yahoo.com
Re: [flexcoders] Blank Screen issue with application preloaders
On Thursday 23 Apr 2009, b_alen wrote: I get a blank screen for more than 10 seconds for the app that's about 700k in size. Only then the preloader appears and starts from somewhere around 70%. I don't see that here, and it would be surprising if so. Are you sure it's not just you ? -- Helping to assertively enhance performance-oriented error-free performance-oriented CEOs as part of the IT team of the year, '09 and '08 Tom Chiverton Developer Tel: +44 0161 618 5032 Fax: +44 0161 618 5099 tom.chiver...@halliwells.com 3 Hardman Square, Manchester, M3 3EB www.Halliwells.com 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 together with a list of those non members who are referred to as partners. We use the word ?partner? to refer to a member of the LLP, or an employee or consultant with equivalent standing and qualifications. 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.
Re: [flexcoders] Blank Screen issue with application preloaders
Works great here, loads almost instantly, must be related to your flash ver or computer/network? On Thu, Apr 23, 2009 at 5:59 AM, b_alen alen.ba...@gmail.com wrote: I get a blank screen for more than 10 seconds for the app that's about 700k in size. Only then the preloader appears and starts from somewhere around 70%. In the Flash days, this was easily solved by having one small SWF with preloader that would load the main SWF in empty movie clip. Is something like this possible in Flex? I did a small experiment with loading the Flex app into Flash SWF, but then the sizing and alignments were lost. I also tried loading a Flex app into a smaller Flex app, but still there was a blank screen for quite a while. It's a huge usability issue knowing that users leave after 8 seconds, which is actualy true looking at google analytics reports. I've checked numerous blogs about custom preloaders but only found that all of them have the same issue. These are all the apps and samples with the same issue: http://tv.adobe.com/# http://onflash.org/ted/2006/07/flex-2-custom-preloaders.php http://onflash.org/ted/2006/07/flex-2-preloaders-swf-png-gif-examples.php http://jessewarden.com/2007/07/making-a-cooler-preloader-in-flex-part-1-of-3.html -- Thanks Jason
RE: [flexcoders] argent help needed please
Put your repeated content into a custom component and repeat that. Then your functionality will work as you expect. Tracy Spratt, Lariat Services, development services available _ From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of stinasius Sent: Friday, April 24, 2009 2:06 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] argent help needed please hi guys i have a problem with video display play button in flex 2. when i click the play button i get this error TypeError: Error #1006: play is not a function.at custom_comps::home/__playButton_click(). here is my code please guide me.thanks mx:Panel width=350 height=50% layout=vertical title=Top 10 Music Videos of the Month paddingBottom=2 paddingLeft=2 paddingRight=2 paddingTop=2 mx:VBox width=100% height=100% mx:Repeater id=videos dataProvider={myvid} mx:Canvas width=100% mx:VideoDisplay id=videoDisplay source={videos.currentItem.video} width=120 height=75 x=0 y=0 autoPlay=false/ mx:VBox width=100% x=128 y=1.5 mx:Label text=Title: {videos.currentItem.title} color=#ff9900/ mx:Label text=By: {videos.currentItem.artist} color=#ff9900/ /mx:VBox mx:Button id=playButton upSkin=@Embed('../images/videoPlayer_img/control_play.png') downSkin=@Embed('../images/videoPlayer_img/control_play_blue.png') click=videoDisplay.play() x=50 y=27.5/ /mx:Canvas /mx:Repeater /mx:VBox /mx:Panel
RE: [flexcoders] Datagid : filterfunction
Use a single AC, and just have both criteria in the filter function. Maybe have an instance variable indicating the mode, and in the filter, conditionally apply the deleted flag criteria. Tracy Spratt, Lariat Services, development services available _ From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of secrit.service Sent: Friday, April 24, 2009 3:30 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Datagid : filterfunction Hello all, I have a table in my DB containing following fields : - ID - aText : String - flaggedForDeletion : Boolean Suppose all my records have a value of false for field flaggedForDeletion. In my application I have a datagrid and a recycleBin-button. My intention is to create following : When starting my application, the datagrid shows all the records of the DB. When I drag a record from the datagrid to the recycleBin, it gets the value true for field flaggedForDeletion and will be removed from the datagrid. When clicking on the recycleBin-button, the datagrid has to show only these records which are flagged for deletion. Leaving the recycleBin-mode, the datagrid has to show only these records which are NOT flaged for deletion. My question is now how to do this : To my opinion I have 2 possibilities : - using 2 ArrayCollections (acAvailableRecords and acDeletedRecords) Depending what I want to show, I dynamically change the datasource of my datagrid - using only one ArrayCollection and filter it based on the value of flaggedForDeletion. I case of the last solution, I encounter another issue, meaning : I also provided a filterfunction on the datagrid to filter the records based on a string I fill in a searchfield. This means I need to create a double filterfunction : one on field flaggedForDeletion and the other on the content of the searchfield. No idea which is the best solution and if I can use a double filter on a datagridsource. Any help is welcome. Thanks in advance.
RE: [flexcoders] Re: Setting dateField.SelectedDate when component is disabled?
What did the trace show? Tracy Spratt, Lariat Services, development services available _ From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Mic Sent: Friday, April 24, 2009 2:41 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Setting dateField.SelectedDate when component is disabled? If I leave the dateField objects enabled: mx:DateField id=dtCmplxStartDate enabled=true / then from the function: dtCmplxStartDate.selectedDate = tempStrtDt; the gui shows the date in the textInput part of the dateField component. All I have to change is mx:DateField id=dtCmplxStartDate enabled=false/ and dtCmplxStartDate.selectedDate = tempStrtDt; does not show date in gui. Mic. --- In flexcod...@yahoogro mailto:flexcoders%40yahoogroups.com ups.com, Tracy Spratt tr...@... wrote: What happens? How are you sure the dates are not being set? What happens if you do this after setting a date: Trace(dtCmplxStartDate.toDateString(0); Tracy Spratt, Lariat Services, development services available _ From: flexcod...@yahoogro mailto:flexcoders%40yahoogroups.com ups.com [mailto:flexcod...@yahoogro mailto:flexcoders%40yahoogroups.com ups.com] On Behalf Of Mic Sent: Thursday, April 23, 2009 10:47 PM To: flexcod...@yahoogro mailto:flexcoders%40yahoogroups.com ups.com Subject: [flexcoders] Setting dateField.SelectedDate when component is disabled? In a modal View state the dateFields are disabled but I need to populate them for the current record. I can stick my proc values in when they are enabled, but not when disabled. I tried dtCmplxStartDate.enabled = true; dtCmplxStartDate.selectedDate = tempStrtDt; dtCmplxStartDate.enabled = false; dtCmplxEndDate.enabled = true; dtCmplxEndDate.selectedDate = tempEndDt; dtCmplxEndDate.enabled = false; but no go. TIA, Mic.
[flexcoders] Application for windows mobile devices
Hi am new to flex . Yesterday i discovered that Flex Builder 3 allows to create Air application. My project is to create an application that will run on mobiles devices that use windows mobile as OS. So is it possible with Adobe air please ? If there is any tutorial or help it will be perfect. Thanks alot and have a nice day -- View this message in context: http://www.nabble.com/Application-for-windows-mobile-devices-tp23220137p23220137.html Sent from the FlexCoders mailing list archive at Nabble.com.
[flexcoders] Tree structure in Advanced data grid
hi all, i need to select tree structure(in advanced datagrid) values parent or child depends on Combobox values Note: one combo box has parent values... Another one has corresponding child values... When i select these values ,it must be reflected in Tree (in Advanced datagrid) how to implement this
RE: [flexcoders] modules, rendering event trigger
Put a try catch block around the code that assumes it is ready and in the catch assign the listener Alex Harui Flex SDK Developer Adobe Systems Inc.http://www.adobe.com/ Blog: http://blogs.adobe.com/aharui From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of nospam allowed Sent: Friday, April 24, 2009 7:06 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] modules, rendering event trigger I've got parentApplication.addEventListener(ModuleEvent.READY, parentApplication.createmeals_swf.child.which_plan); Which loads my function on first load of the swf, but I need a way to know when that module renders because if i try to call that function and it has not rendered then it throws an error when its not ready. so if i can do something like this would be great if(module --ready) parentApplication.createmeals_swf.child.which_plan else parentApplication.addEventListener(ModuleEvent.READY, parentApplication.createmeals_swf.child.which_plan); -- Thanks Jason
RE: [flexcoders] Desperately need advice on CVS or SourceSafe type apps
Does the perforce eclipse plug-in work with the Flex Builder 3 eclipse version then? AND, does this question need to be asked? Wont ANY client that works with Eclipse (accounting for version dependencies) also work with the FB3 eclipse IDE? (Because I'm also thinking about SourceGear's Vault product as well --- because Vault also has a plugin for DreamWeaver). brad Gordon Smith-5 wrote: I personally am a big fan of Perforce, but it isn't free like CVS. - Gordon From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Mike Anderson Sent: Monday, November 13, 2006 1:56 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Desperately need advice on CVS or SourceSafe type apps Hello All, We've come to the point in time, where we need a solution to manage all of our Flex projects. Not only do we have a team of developers that require concurrent access to the Flex project files, but I also have 4 PC's at home that require access to the project files. What is the quickest and easiest solution, to give Flex Builder the ability to check files in/out, as well as keep local copies of the projects on each client computer? This has become a serious priority for me - especially now that I have a newborn at home - as I need the ability to roam freely around the house, while still having access to the latest copies of the project files. Thank you all in advance for any information you can throw my way. Mike -- View this message in context: http://www.nabble.com/Desperately-need-advice-on-CVS-or-SourceSafe-%22type-apps%22-tp7326861p23221802.html Sent from the FlexCoders mailing list archive at Nabble.com.
[flexcoders] Re: IE8 problem
its not show any errorIts show empty page..Just my application background color appear.. --- In flexcoders@yahoogroups.com, Pedro Sena sena.pe...@... wrote: What do you mean by 'does not work on IE8' ? The swf is not loaded? Some specific error in IE ? Tell us more about the problem, w/o information is impossible to help you. PS On Fri, Apr 24, 2009 at 6:55 AM, senthilkumarirtt senthilkumari...@... wrote: hi all ,i develop dashboard using Flex3...But ouput is working in all browsers other than Internet Explorer 8... i cant understand What is the problem...Give some suggestion... -- /** * Pedro Sena * Systems Architect * Sun Certified Java Programmer * Sun Certified Web Component Developer */
Re: [flexcoders] Re: IE8 problem
Right click on the app. Does it give you the normal context menu or the Movie not loaded context menu? - Daniel Freiman On Fri, Apr 24, 2009 at 9:00 AM, senthilkumarirtt senthilkumari...@yahoo.co.in wrote: its not show any errorIts show empty page..Just my application background color appear.. --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, Pedro Sena sena.pe...@... wrote: What do you mean by 'does not work on IE8' ? The swf is not loaded? Some specific error in IE ? Tell us more about the problem, w/o information is impossible to help you. PS On Fri, Apr 24, 2009 at 6:55 AM, senthilkumarirtt senthilkumari...@... wrote: hi all ,i develop dashboard using Flex3...But ouput is working in all browsers other than Internet Explorer 8... i cant understand What is the problem...Give some suggestion... -- /** * Pedro Sena * Systems Architect * Sun Certified Java Programmer * Sun Certified Web Component Developer */
RE: [flexcoders] Re: IE8 problem
Are you using frames? I have heard that IE8 has some different frame behavior. Tracy Spratt, Lariat Services, development services available _ From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of senthilkumarirtt Sent: Friday, April 24, 2009 9:01 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: IE8 problem its not show any errorIts show empty page..Just my application background color appear.. --- In flexcod...@yahoogro mailto:flexcoders%40yahoogroups.com ups.com, Pedro Sena sena.pe...@... wrote: What do you mean by 'does not work on IE8' ? The swf is not loaded? Some specific error in IE ? Tell us more about the problem, w/o information is impossible to help you. PS On Fri, Apr 24, 2009 at 6:55 AM, senthilkumarirtt senthilkumari...@... wrote: hi all ,i develop dashboard using Flex3...But ouput is working in all browsers other than Internet Explorer 8... i cant understand What is the problem...Give some suggestion... -- /** * Pedro Sena * Systems Architect * Sun Certified Java Programmer * Sun Certified Web Component Developer */
[flexcoders] Re: Flash/FLex gravity
Great example. Thx. Found the solution in the Making things move book on page 182. You can find it online here. http://books.google.com/books?id=nzyu5TytMEUCpg=PA182lpg=PA182dq=actionscript+3+motion+throwsource=blots=RdqTuqvq10sig=Th8_YxbsIVj8GGiKAaHcCY0tPb4hl=enei=0R_xSY_eLMaclQfCroDGDAsa=Xoi=book_resultct=resultresnum=1 --- In flexcoders@yahoogroups.com, Josh McDonald j...@... wrote: Here's a working example I whipped up in 15 minutes: http://pastie.textmate.org/private/mmmbwwnwl0ly2ciurwvda -Josh 2009/4/24 flexaustin flexaus...@... I have the book now. I am trying to make it work and I am almost there, but the sprite is only glides correctly when thrown if I drag from top right to lower left or lower left to top right. If I throw it directly to the right it moves up and if I throw it to directly to the left it goes down. If I throw it up it goes to the right. And if I throw it down it moves to the left. Here is the code (_object is the sprite being throw): if(_drag == true){ var diffx:Number = initX - mx; var diffy:Number = initY - my; var speed:Number = 12; var angle:Number = Math.atan2( diffx, diffy ); //var radians:Number = deg2rad(angle); var xVel:Number = Math.cos(angle) * speed; var yVel:Number = Math.sin(angle) * speed; function deg2rad(deg:Number):Number { return deg * (Math.PI/180); } function onLoop(evt:Event):void { _object.x += xVel; _object.y += yVel; xVel *= 0.9; yVel *= 0.9; if (xVel 0.05 yVel 0.05) { _drag = false; _stage.removeEventListener(Event.ENTER_FRAME, onLoop, false); } } _stage.addEventListener(Event.ENTER_FRAME, onLoop, false, 0, true); //get the velocity and direction and make it go another 100 pixels or more } --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, Nate Beck nate@ wrote: Yup Josh is correct, creating a vector is the way to go... The slowing down force you're talking about is friction (at least in physics). If you're interested in this kind of stuff, I highly recommend picking up a copy of Keith Peters book: http://www.amazon.com/Foundation-Actionscript-3-0-Animation-Making/dp/1590597915/ref=sr_1_1?ie=UTF8s=booksqid=1240464956sr=8-1 Cheers, On Wed, Apr 22, 2009 at 9:19 PM, Josh McDonald josh@wrote: That sort of thing (a vector) is easy, once you've determined the direction in radians, and a speed. Let's call it pixels-per-frame, to make things simple. Note that this is typed in gmail, and will need tweaks! accuratePositionX = x; accuratePositionY = y; velocityX = Math.cos(direction) * initialVelocity; velocityY = Math.sin(direction) * initialVelocity; //Do every frame: function updatePosition():void { accuratePositionX += velocityX; accuratePositionY += velocityY; x = Math.round(accuratePositionX); y = Math.round(accuratePositionY); velocityX *= 0.9; velocityY *= 0.9; if (velocityX 0.05 velocityX 0.05) stopTheAnimation(); } Cheers, -Josh 2009/4/23 flexaustin flexaustin@ Does anyone know of a tutorial on actionscript and gravity. Not like dropping a ball, but like google maps where you drag an item and it keeps going in that direction but slowing down. So gravity in all directions something like a hockey puck. TIA -- Therefore, send not to know For whom the bell tolls. It tolls for thee. Josh 'G-Funk' McDonald - josh@ - http://twitter.com/sophistifunk - http://flex.joshmcdonald.info/ -- Cheers, Nate http://blog.natebeck.net -- Therefore, send not to know For whom the bell tolls. It tolls for thee. Josh 'G-Funk' McDonald - j...@... - http://twitter.com/sophistifunk - http://flex.joshmcdonald.info/
[flexcoders] No typed objects being returned
Anyone have any idea why my typed objects are coming back as ObjectProxy ? For one project I have set up, my objects were being returned correctly. I then called the same service from another project and it comes back as ObjectProxy. I have my aliases set up correctly in CF and in Flex, I checked the service was returning the objects correctly, and it is, but when the data comes back to Flex it is coming in as a plain ol' ObjectProxy. Getting a little frustrated now and I'm not sure what else to try. Thanks.
[flexcoders] Resizing browser makes my content jump off screen?
When I first built my application I set the width and height to 500 x 500. Now the requirements are to let the Flex application scale inside of the html when the user increases the window size. So I set the flex dimensions to width=100% and height=100%, but when the user increases the window size, by dragging the bottom corner of the browser window, even only 2 pixels wider, my content in my flex application jumps off screen. My content on the stage is similar to google maps where it floats and you can drag it or pan it. Its inside of a rectangle object and I tell my content to be in the middle of the stage. I would think that resizing the browser my content would stay in the middle, but it jumps off screen and I am not sure which direction it went? Any suggestions?
RE: [flexcoders] Unloading Modules - Binding is the Enemy?
Gregor, It does seem to be connected to the ComboBox issue - is this in the Adobe BugBase? It doesn't turn up in my searches. I can get the reference to release if I navigate to another module and then logout, but if I change the selected index of the combo box to greater than -1 before that, it will not release no matter what I do. This is a royal PITA because my instantiation code is based upon a first time load of the module and if I cannot unload a module then my method of injecting model objects into my module will have to be re-done. If there's no workaround for this bug, then Modules are effectively broken if something as commonplace as a combobox prevents an unload. Jeff -Original Message- From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Battershall, Jeff Sent: Thursday, April 23, 2009 10:13 AM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Unloading Modules - Binding is the Enemy? Gregor, Very interesting indeed. If I login, load the module, interact with the combobox, logout, the instance remains in the profiler. However if I do all that and THEN load another module and logout, the number of instances of the first module goes to zero. These modules are being loaded into a ViewStack, BTW. Is this the FocusManager bug you described? Is there a workaround? I'd be thrilled to discover that Binding was not the culprit here. Jeff -Original Message- From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Gregor Kiddie Sent: Thursday, April 23, 2009 9:40 AM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Unloading Modules - Binding is the Enemy? It does sound like you are describing the bug where the focus manager holds onto the reference of the combo box and stops the module unloading... If you lose the combobox focus, does the module unload? Gk. Gregor Kiddie Senior Developer INPS Tel: 01382 564343 Registered address: The Bread Factory, 1a Broughton Street, London SW8 3QJ Registered Number: 1788577 Registered in the UK Visit our Internet Web site at www.inps.co.uk blocked::http://www.inps.co.uk/ The information in this internet email is confidential and is intended solely for the addressee. Access, copying or re-use of information in it by anyone else is not authorised. Any views or opinions presented are solely those of the author and do not necessarily represent those of INPS or any of its affiliates. If you are not the intended recipient please contact is.helpd...@inps.co.uk From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Battershall, Jeff Sent: 23 April 2009 14:32 To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Unloading Modules - Binding is the Enemy? Thanks Pedro, I've seen what your describing in the docs - I'm looking at this via the profiler which is giving me feedback as to number of live instances, etc. Here's what I'm basing my statements on:. 1) I start up my app, which loads modules at runtime based upon user choice from a menu. 2) Module exectues Cairngorm Event/Command/Delegate to get array to populate a combo box. I'm passing a reference to the module's model in my Cairngorm event and the model is updated upon completion of the Command. 3) Combobox is bound (via MXML) to the model. 4) If I don't interact with the combobox, I can then logout and unload the module successfully. The profiler tells me there was previously 1 instance of the module and now there are zero instances. 5) If I make the combobox active (by interacting with it in any way), and then logout, the module remains in memory, with the profiler reporting one instance instead of zero. 6) If I then login again, the Profiler reports 2 active instances of the module. Note that any model objects are duplicated as well. For example, if my list of suppliers (used to popuate my combobox) (a strongly typed AS class) was previously 64, the profiler now reports there are 128 instances. There's my behavior. When my UI
[flexcoders] Re: argent help needed please
--- In flexcoders@yahoogroups.com, stinasius stinas...@... wrote: hi guys i have a problem with video display play button in flex 2. when i click the play button i get this error TypeError: Error #1006: play is not a function.at custom_comps::home/__playButton_click(). here is my code please guide me.thanks http://www.magnoliamultimedia.com/flex_examples/Amys_Flex_FAQ.pdf Look at q9
[flexcoders] Re: Setting dateField.SelectedDate when component is disabled?
trace(dtCmplxStartDate.toDateString(0)); will not compile :-) The way I am accessing/manipulating the DateField date is through .selectedDate. trace(dtCmplxStartDate.selectedDate); does give a valid date e.g. Tue Jul 14 00:00:00 GMT-0600 2009 whether or not the DateField is enabled - which would make it a situation where Flex is suppressing the view. I have just added a test button that disables the DateField component - it removes the displayed date from view! So it is Flex. Interesting - this component was built to always be editable then. Any solutions other than subclassing to a custom component and changing its behaviour? TIA, Mic. --- In flexcoders@yahoogroups.com, Tracy Spratt tr...@... wrote: What did the trace show? Tracy Spratt, Lariat Services, development services available _ From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Mic Sent: Friday, April 24, 2009 2:41 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Setting dateField.SelectedDate when component is disabled? If I leave the dateField objects enabled: mx:DateField id=dtCmplxStartDate enabled=true / then from the function: dtCmplxStartDate.selectedDate = tempStrtDt; the gui shows the date in the textInput part of the dateField component. All I have to change is mx:DateField id=dtCmplxStartDate enabled=false/ and dtCmplxStartDate.selectedDate = tempStrtDt; does not show date in gui. Mic. --- In flexcod...@yahoogro mailto:flexcoders%40yahoogroups.com ups.com, Tracy Spratt tracy@ wrote: What happens? How are you sure the dates are not being set? What happens if you do this after setting a date: Trace(dtCmplxStartDate.toDateString(0); Tracy Spratt, Lariat Services, development services available _ From: flexcod...@yahoogro mailto:flexcoders%40yahoogroups.com ups.com [mailto:flexcod...@yahoogro mailto:flexcoders%40yahoogroups.com ups.com] On Behalf Of Mic Sent: Thursday, April 23, 2009 10:47 PM To: flexcod...@yahoogro mailto:flexcoders%40yahoogroups.com ups.com Subject: [flexcoders] Setting dateField.SelectedDate when component is disabled? In a modal View state the dateFields are disabled but I need to populate them for the current record. I can stick my proc values in when they are enabled, but not when disabled. I tried dtCmplxStartDate.enabled = true; dtCmplxStartDate.selectedDate = tempStrtDt; dtCmplxStartDate.enabled = false; dtCmplxEndDate.enabled = true; dtCmplxEndDate.selectedDate = tempEndDt; dtCmplxEndDate.enabled = false; but no go. TIA, Mic.
[flexcoders] Gumbo and ADG
I have Flex 3 professional. But if compile a project with Gumbo I am getting: Severity and DescriptionPathResourceLocation Creation Time Id 1046: Type was not found or was not a compile-time constant: AdvancedDataGrid. Do I need to download something else?
[flexcoders] Is it just me or anyone else has the same problem
Is it just me but it takes hours for my message to appear. Anyone has same problem?
[flexcoders] Re: HTTPService mistery
I have compiled it with Gumbo, latest build, and it's even worse. Anyone, please share any idea. --- In flexcoders@yahoogroups.com, markgoldin_2000 markgoldin_2...@... wrote: Posting again... It is e4x. It has been identified, that it works fine for users who are local admins on the Web box. How that can be??? --- In flexcoders@yahoogroups.com, Tracy Spratt tracy@ wrote: What is the result format of the HTTPService call? The default object causes the flex client to process the incoming data into a tree of dynamic objects. The speed of this process would be subject to the local cpu. You could set resultFormat to e4x, and re-run the benchmarks. Tracy Spratt, Lariat Services, development services available _ From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of markgoldin_2000 Sent: Wednesday, April 22, 2009 11:15 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: HTTPService mistery While it seems to me I am missing something obvious I am pretty sertant it is somewhere in the send command. I have traced an execution to the point that for a low end box it takes about 5 sec. between a send command and an HTTPService callback function call. I have timed my server and it does not take time at all. I timed the server for both my development computer and a low level box. Server time is exactly the same. (what else whould one expect?) But time it tales for an execution to get into a callback function is very different. So, I am assuming that it takes some time for a low end box to send a data request to the server. --- In flexcod...@yahoogro mailto:flexcoders%40yahoogroups.com ups.com, Tracy Spratt tracy@ wrote: I would not expect the quality of the client to significantly affect the speed of the data service call. However, a slow computer *will* have issues with rendering the content. Have you determined definitively that the speed issue is with the data service call and not the rendering? Tracy Spratt, Lariat Services, development services available _ From: flexcod...@yahoogro mailto:flexcoders%40yahoogroups.com ups.com [mailto:flexcod...@yahoogro mailto:flexcoders%40yahoogroups.com ups.com] On Behalf Of markgoldin_2000 Sent: Wednesday, April 22, 2009 7:06 PM To: flexcod...@yahoogro mailto:flexcoders%40yahoogroups.com ups.com Subject: [flexcoders] HTTPService mistery Is it possible that on low end computers HTTPService.send command would take up to 10 or more times longer than on a more or less decent computer? Is there a way of tracking HTTPService.send command? Thanks
[flexcoders] Type was not found or was not a compile-time constant: Matrix3D
This is another message when I compile with Gumbo. I have set Player to 10. Please help.
RE: [flexcoders] Is it just me or anyone else has the same problem
It is weird, I know, this has happened to me also. It finally just started working by itself one day. Others have had the problem as well, so no, it is not just you! Tracy Spratt, Lariat Services, development services available _ From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of markgoldin_2000 Sent: Friday, April 24, 2009 2:42 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Is it just me or anyone else has the same problem Is it just me but it takes hours for my message to appear. Anyone has same problem?
RE: [flexcoders] Type was not found or was not a compile-time constant: Matrix3D
Someone else mentioned that there were some namespaces that needed to be added to the application tag for gumbo. It was in the last few days if I recall correctly. Tracy Spratt, Lariat Services, development services available _ From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of markgoldin_2000 Sent: Friday, April 24, 2009 2:34 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Type was not found or was not a compile-time constant: Matrix3D This is another message when I compile with Gumbo. I have set Player to 10. Please help.
RE: [flexcoders] Re: HTTPService mistery
How about fully and clearly re-describing the problem, the environments, and what you have tried so far. The thread history has gotten muddy. Tracy Spratt, Lariat Services, development services available _ From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of markgoldin_2000 Sent: Friday, April 24, 2009 1:10 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: HTTPService mistery I have compiled it with Gumbo, latest build, and it's even worse. Anyone, please share any idea. --- In flexcod...@yahoogro mailto:flexcoders%40yahoogroups.com ups.com, markgoldin_2000 markgoldin_2...@... wrote: Posting again... It is e4x. It has been identified, that it works fine for users who are local admins on the Web box. How that can be??? --- In flexcod...@yahoogro mailto:flexcoders%40yahoogroups.com ups.com, Tracy Spratt tracy@ wrote: What is the result format of the HTTPService call? The default object causes the flex client to process the incoming data into a tree of dynamic objects. The speed of this process would be subject to the local cpu. You could set resultFormat to e4x, and re-run the benchmarks. Tracy Spratt, Lariat Services, development services available _ From: flexcod...@yahoogro mailto:flexcoders%40yahoogroups.com ups.com [mailto:flexcod...@yahoogro mailto:flexcoders%40yahoogroups.com ups.com] On Behalf Of markgoldin_2000 Sent: Wednesday, April 22, 2009 11:15 PM To: flexcod...@yahoogro mailto:flexcoders%40yahoogroups.com ups.com Subject: [flexcoders] Re: HTTPService mistery While it seems to me I am missing something obvious I am pretty sertant it is somewhere in the send command. I have traced an execution to the point that for a low end box it takes about 5 sec. between a send command and an HTTPService callback function call. I have timed my server and it does not take time at all. I timed the server for both my development computer and a low level box. Server time is exactly the same. (what else whould one expect?) But time it tales for an execution to get into a callback function is very different. So, I am assuming that it takes some time for a low end box to send a data request to the server. --- In flexcod...@yahoogro mailto:flexcoders%40yahoogroups.com ups.com, Tracy Spratt tracy@ wrote: I would not expect the quality of the client to significantly affect the speed of the data service call. However, a slow computer *will* have issues with rendering the content. Have you determined definitively that the speed issue is with the data service call and not the rendering? Tracy Spratt, Lariat Services, development services available _ From: flexcod...@yahoogro mailto:flexcoders%40yahoogroups.com ups.com [mailto:flexcod...@yahoogro mailto:flexcoders%40yahoogroups.com ups.com] On Behalf Of markgoldin_2000 Sent: Wednesday, April 22, 2009 7:06 PM To: flexcod...@yahoogro mailto:flexcoders%40yahoogroups.com ups.com Subject: [flexcoders] HTTPService mistery Is it possible that on low end computers HTTPService.send command would take up to 10 or more times longer than on a more or less decent computer? Is there a way of tracking HTTPService.send command? Thanks
[flexcoders] Re: Is it just me or anyone else has the same problem
It's not just you --- In flexcoders@yahoogroups.com, markgoldin_2000 markgoldin_2...@... wrote: Is it just me but it takes hours for my message to appear. Anyone has same problem?
[flexcoders] Listening for events using SWFLoader on a sandboxed sub-application
I have two separate Flex 3.3 applications, each of which is configured for remoting via LCDS. No problems there. The second, smaller application can ALSO be loaded into the first, larger application. In order for remoting to continue to work inside the second sub-application, I had to load it's SWF in a sandbox as untrusted and from a different Security domain. No problems there. Even though the sub-app is loaded into the larger primary app, it's still capable of making its own remoting calls. Great. Now, I'd like to listen for events fired off the sub-app from the primary app. I think the normal routine for this looks like: swfLoader.content.addEventListener( myEvent, someFunction ); But there's the problem. Since the sub-app is loaded into a sandbox, the primary app doesn't have access to the content attribute of SWFLoader. You'll get a security sandbox violation, EVEN when I attempt to call Security.allowDomain(*) in the swfloader's complete event handler (in the primary app), and in the preinitialization handler in the sub-application. Anyone else run into a similar problem?
Re: [flexcoders] Re: Signed RSL penetration
Yes, that's what it means unfortunately. I don't have a info on timing, it's really up to them. On 4/24/09 12:51 AM, Kenneth Sutherland kenneth.sutherl...@realise.com wrote: Does that mean that any swf you create that uses the flex framework RSLs are not going to get indexed by Google. I've created a very simple placeholder page (single front page with just a few text boxes and a link) and as usual I make the framework into a RSL(total overkill in this situation, but I like to do it as standard). So I've just checked the site using googles search and its showing the 'Error #2032. RSL Error 1 of 1.' in the listing of search results. If so any ideas what is Googles timescale on indexing sites that use RSLs. Cheers. From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Matt Chotin Sent: 23 April 2009 01:38 To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Re: Signed RSL penetration This is due to Google not yet executing network requests from the SWF. Something that they're working on. Matt On 4/21/09 11:19 PM, bsyyu ben.s...@gmail.com wrote: Apart from the size matter, we encounter the problem for Google engine working with signed RSL matter , the result of Google Serach for the website that use signed RSL with Error #2032. RSL Error 1 of 1. Any comments for this --- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com , Matt Chotin mcho...@... wrote: We're hosting the RSLs starting with Flex 4, you'll see them hosted in the public beta. When we feel comfortable with the RSL penetration stats as far as being consistent and accurate and explainable we'll begin publishing them. Matt On 4/21/09 11:01 PM, Steve Mathews happy...@... wrote: No offence was intended, I was trying to state that as a selling point. The number of users who already have the SWZs should be icing, the real substance should be the benifit to every user visiting your site/app. Obviously if you only expect users to visit once or twice the benifit doesn't work out. The problem with Adobe including the files with the first install is that there are new files for each update of the Flex Framework. I am currently on my third set of SWZs in my production environment. I would like to see Adobe host the files as an added benifit to using them. I would also be interested in seeing some stats on the number of installed players that have one or more SWZs cached as it would be additional info to help sell the idea to clients. Steve On Tue, Apr 21, 2009 at 2:55 PM, Guy Morton g...@... wrote: Yes, I know how it works...my point is that it's hard to sell to my current clients if for most it's going to translate into a bigger download for first time users. This is why stats as to how many users are likely to already have the different versions of the RSLs would be handy. I realise this is probably strategically sensitive for Adobe as they want to encourage use of RSLs as it improves the Flex download size story longer term. Someone made the suggestion somewhere that when users upgrade or install the player, Adobe ought to download and install all the current RSLs as well. That seems a very sensible idea to me. Even if they were a separate download available at the time (or available as a Flash player professional version) it would be better than forcing developers distributing apps to do it. We have app size as an imperative that we have to work with. Guy On 22/04/2009, at 4:19 AM, Steve Mathews wrote: It would only be bigger the first download (assuming the user has 9.0.115.0 or later). After that it would be smaller each time. Steve On Tue, Apr 21, 2009 at 4:08 AM, Guy Morton g...@... wrote: Well...yes, it's great if I do it...for the community n'all...but my users *are* sensitive to the download size. If it were the same size either way, of course I would do it (as would everyone) but the fact that it's BIGGER as RSLs means I bet LOTS of developers DON'T do it, hence my question... Guy On 21/04/2009, at 6:19 PM, Tom Chiverton wrote: On Tuesday 21 Apr 2009, g...@... wrote: Maybe it's worth doing if 50%+ of users will get the benefit, but if only 10% will benefit it seems unlikely to be a way to increase the general happiness. I think you are looking at it wrong. Assuming 200k is nothing on a modern connection - I don't know anything about your users of course :-) With RSL you either load quicker (win) or have to download app+RSL (same as non-RSL), plus you have the benefit of making your (and others !) future RSL deployments more likely to be win. -- Helping to synergistically streamline proactive cross-platform seamless ubiquitous interfaces as part of the IT team of the year, '09 and '08 Tom Chiverton Developer Tel: +44 0161 618 5032 Fax: +44 0161 618 5099 tom.chiver...@... 3 Hardman Square, Manchester, M3 3EB
[flexcoders] Re: Listening for events using SWFLoader on a sandboxed sub-application
Since both applications are in different security domains, it looks like I cannot access the content property of SWFLoader. I'll have to marshal objects across. So this brings up another question: it sounds to me as if marshalling is really just dispatching events from the sub-application's loaderInfo.sharedEvents dispatcher (and listening for those shared events in the parent). Is this correct? --- In flexcoders@yahoogroups.com, Erich Cervantez f...@... wrote: I have two separate Flex 3.3 applications, each of which is configured for remoting via LCDS. No problems there. The second, smaller application can ALSO be loaded into the first, larger application. In order for remoting to continue to work inside the second sub-application, I had to load it's SWF in a sandbox as untrusted and from a different Security domain. No problems there. Even though the sub-app is loaded into the larger primary app, it's still capable of making its own remoting calls. Great. Now, I'd like to listen for events fired off the sub-app from the primary app. I think the normal routine for this looks like: swfLoader.content.addEventListener( myEvent, someFunction ); But there's the problem. Since the sub-app is loaded into a sandbox, the primary app doesn't have access to the content attribute of SWFLoader. You'll get a security sandbox violation, EVEN when I attempt to call Security.allowDomain(*) in the swfloader's complete event handler (in the primary app), and in the preinitialization handler in the sub-application. Anyone else run into a similar problem?
RE: [flexcoders] Unloading Modules - Binding is the Enemy?
Jeff, which version of Flex are you using? Can you make a test case in two 20-line mxml files? Alex Harui Flex SDK Developer Adobe Systems Inc.http://www.adobe.com/ Blog: http://blogs.adobe.com/aharui From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Battershall, Jeff Sent: Friday, April 24, 2009 11:57 AM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Unloading Modules - Binding is the Enemy? Gregor, It does seem to be connected to the ComboBox issue - is this in the Adobe BugBase? It doesn't turn up in my searches. I can get the reference to release if I navigate to another module and then logout, but if I change the selected index of the combo box to greater than -1 before that, it will not release no matter what I do. This is a royal PITA because my instantiation code is based upon a first time load of the module and if I cannot unload a module then my method of injecting model objects into my module will have to be re-done. If there's no workaround for this bug, then Modules are effectively broken if something as commonplace as a combobox prevents an unload. Jeff -Original Message- From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Battershall, Jeff Sent: Thursday, April 23, 2009 10:13 AM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Unloading Modules - Binding is the Enemy? Gregor, Very interesting indeed. If I login, load the module, interact with the combobox, logout, the instance remains in the profiler. However if I do all that and THEN load another module and logout, the number of instances of the first module goes to zero. These modules are being loaded into a ViewStack, BTW. Is this the FocusManager bug you described? Is there a workaround? I'd be thrilled to discover that Binding was not the culprit here. Jeff -Original Message- From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Gregor Kiddie Sent: Thursday, April 23, 2009 9:40 AM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Unloading Modules - Binding is the Enemy? It does sound like you are describing the bug where the focus manager holds onto the reference of the combo box and stops the module unloading... If you lose the combobox focus, does the module unload? Gk. Gregor Kiddie Senior Developer INPS Tel: 01382 564343 Registered address: The Bread Factory, 1a Broughton Street, London SW8 3QJ Registered Number: 1788577 Registered in the UK Visit our Internet Web site at www.inps.co.ukblocked::http://www.inps.co.uk/ The information in this internet email is confidential and is intended solely for the addressee. Access, copying or re-use of information in it by anyone else is not authorised. Any views or opinions presented are solely those of the author and do not necessarily represent those of INPS or any of its affiliates. If you are not the intended recipient please contact is.helpd...@inps.co.uk From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Battershall, Jeff Sent: 23 April 2009 14:32 To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Unloading Modules - Binding is the Enemy? Thanks Pedro, I've seen what your describing in the docs - I'm looking at this via the profiler which is giving me feedback as to number of live instances, etc. Here's what I'm basing my statements on:. 1) I start up my app, which loads modules at runtime based upon user choice from a menu. 2) Module exectues Cairngorm Event/Command/Delegate to get array to populate a combo box. I'm passing a reference to the module's model in my Cairngorm event and the model is updated upon completion of the Command. 3) Combobox is bound (via MXML) to the model. 4) If I don't interact with the combobox, I can then logout and unload the module successfully. The profiler tells me there was previously 1 instance of the module and now there are zero instances. 5) If I make the combobox active (by interacting with it in any way), and then logout, the module remains in memory, with the profiler reporting one instance instead of zero. 6) If I then login again, the Profiler reports 2 active instances of the module. Note that any model objects are duplicated as well. For example, if my list of suppliers (used to popuate my combobox) (a strongly typed AS class) was previously 64, the profiler now reports there are 128 instances. There's my behavior. When my UI object (in this case ComboBox), becomes active, the binding becomes active and then the module will not unload, even if I set the modules model to null before attempting to unload. It would appear that I need to invalidate all outstanding bindings to any data object before the module will fully unload. This would seem to indicate that MXML binding (via curly braces) isn't going to allow this. Jeff
RE: [flexcoders] Re: Listening for events using SWFLoader on a sandboxed sub-application
Technically, marshalling is the conversion to the correct type with respect to the sandbox. For example, if I dispatch a FlexEvent across the sandbox boundary via the sharedEvents dispatcher, the listening code cannot look like: function myListener(event:FlexEvent):void because the two sandboxes have unique definitions of FlexEvent (even if it was the same version). You'll see marshal() methods on many of our event classes that go across the boundary, and listening code looks like: function myListener(event:Event):void { var fe:FlexEvent; if (!(event is FlexEvent) fe = event.marshal(); } You can get away with passing flash.events.* events since they are shared by all sandboxes, but any custom events and any strongly-typed objects referenced by those events need marshaling to be used by the type-checking code in the other sandbox. See the Marshal Plan presentations on my blog for more info. Alex Harui Flex SDK Developer Adobe Systems Inc.http://www.adobe.com/ Blog: http://blogs.adobe.com/aharui From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Erich Cervantez Sent: Friday, April 24, 2009 2:12 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Listening for events using SWFLoader on a sandboxed sub-application Since both applications are in different security domains, it looks like I cannot access the content property of SWFLoader. I'll have to marshal objects across. So this brings up another question: it sounds to me as if marshalling is really just dispatching events from the sub-application's loaderInfo.sharedEvents dispatcher (and listening for those shared events in the parent). Is this correct? --- In flexcoders@yahoogroups.commailto:flexcoders%40yahoogroups.com, Erich Cervantez f...@... wrote: I have two separate Flex 3.3 applications, each of which is configured for remoting via LCDS. No problems there. The second, smaller application can ALSO be loaded into the first, larger application. In order for remoting to continue to work inside the second sub-application, I had to load it's SWF in a sandbox as untrusted and from a different Security domain. No problems there. Even though the sub-app is loaded into the larger primary app, it's still capable of making its own remoting calls. Great. Now, I'd like to listen for events fired off the sub-app from the primary app. I think the normal routine for this looks like: swfLoader.content.addEventListener( myEvent, someFunction ); But there's the problem. Since the sub-app is loaded into a sandbox, the primary app doesn't have access to the content attribute of SWFLoader. You'll get a security sandbox violation, EVEN when I attempt to call Security.allowDomain(*) in the swfloader's complete event handler (in the primary app), and in the preinitialization handler in the sub-application. Anyone else run into a similar problem?
[flexcoders] Re: HTTPService mistery
Ok. I am having a problem with one of my Flex applications. When a regular user login is used it takes 10 or more times longer for data to appear then when I use mine which is a local admin on the web server box. I have been able to narrow the troubling application to a point that I could see that it is Flex doing something before my back end page (classic ASP) gets hit. Precisely, an extra time is taken in the HTTPService.send command. So, after that command is sent and the ASP page gets hit it takes about 5 or even more seconds, when with my login it takes no time. It looks like some kind of negotiation is going on between Flex and Web Server. I have compiled this application using Gumbo latest build and it was even worse. My web server is windows 2003 R2. Client Windows 2000 and Windows XP. --- In flexcoders@yahoogroups.com, Tracy Spratt tr...@... wrote: How about fully and clearly re-describing the problem, the environments, and what you have tried so far. The thread history has gotten muddy. Tracy Spratt, Lariat Services, development services available _ From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of markgoldin_2000 Sent: Friday, April 24, 2009 1:10 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: HTTPService mistery I have compiled it with Gumbo, latest build, and it's even worse. Anyone, please share any idea. --- In flexcod...@yahoogro mailto:flexcoders%40yahoogroups.com ups.com, markgoldin_2000 markgoldin_2000@ wrote: Posting again... It is e4x. It has been identified, that it works fine for users who are local admins on the Web box. How that can be??? --- In flexcod...@yahoogro mailto:flexcoders%40yahoogroups.com ups.com, Tracy Spratt tracy@ wrote: What is the result format of the HTTPService call? The default object causes the flex client to process the incoming data into a tree of dynamic objects. The speed of this process would be subject to the local cpu. You could set resultFormat to e4x, and re-run the benchmarks. Tracy Spratt, Lariat Services, development services available _ From: flexcod...@yahoogro mailto:flexcoders%40yahoogroups.com ups.com [mailto:flexcod...@yahoogro mailto:flexcoders%40yahoogroups.com ups.com] On Behalf Of markgoldin_2000 Sent: Wednesday, April 22, 2009 11:15 PM To: flexcod...@yahoogro mailto:flexcoders%40yahoogroups.com ups.com Subject: [flexcoders] Re: HTTPService mistery While it seems to me I am missing something obvious I am pretty sertant it is somewhere in the send command. I have traced an execution to the point that for a low end box it takes about 5 sec. between a send command and an HTTPService callback function call. I have timed my server and it does not take time at all. I timed the server for both my development computer and a low level box. Server time is exactly the same. (what else whould one expect?) But time it tales for an execution to get into a callback function is very different. So, I am assuming that it takes some time for a low end box to send a data request to the server. --- In flexcod...@yahoogro mailto:flexcoders%40yahoogroups.com ups.com, Tracy Spratt tracy@ wrote: I would not expect the quality of the client to significantly affect the speed of the data service call. However, a slow computer *will* have issues with rendering the content. Have you determined definitively that the speed issue is with the data service call and not the rendering? Tracy Spratt, Lariat Services, development services available _ From: flexcod...@yahoogro mailto:flexcoders%40yahoogroups.com ups.com [mailto:flexcod...@yahoogro mailto:flexcoders%40yahoogroups.com ups.com] On Behalf Of markgoldin_2000 Sent: Wednesday, April 22, 2009 7:06 PM To: flexcod...@yahoogro mailto:flexcoders%40yahoogroups.com ups.com Subject: [flexcoders] HTTPService mistery Is it possible that on low end computers HTTPService.send command would take up to 10 or more times longer than on a more or less decent computer? Is there a way of tracking HTTPService.send command? Thanks
[flexcoders] Upgrading Flex Builder Pro (3.0.2) to SDK 3.3
Does anyone know how to upgrade FB Pro to support 3.3 SDK? I added SDK to FBPro, but API docs, help files, etc are still outdated... ..hints?
Re: [flexcoders] Working With Dynamic Datagrid
I had a thought. Instead of doing it with a DataGrid, would I be better of doing this in an AdvancedDataGrid? Thanks!
[flexcoders] Scrollbars positionning is done too late to avoid flickering after an image scaling
Hi all, I have an issue with scrollbars positioning: I want to position them before the container is rendered to avoid some flickering. My goal is to scale an image and keep the focus on a given area on this image. Here is a simplified version of my code to expose the problem. The first slider tries to update scrollbars position immediately after scaling but it can’t work as container scrollbars properties are not already set. The second slider uses a callLater() call, the result is better but there is still some annoying flickering as sometimes the container is rendered before scrollbars positions are set: ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; layout=absolute width=491 height=299 mx:Script ![CDATA[ import mx.controls.sliderClasses.Slider; import mx.events.SliderEvent; private function OnPlus(event: MouseEvent): void { Image1.scaleX += 0.1; Image1.scaleY += 0.1; CenterImage(); } private function OnMinus(event: MouseEvent): void { Image1.scaleX -= 0.1; Image1.scaleY -= 0.1; CenterImage(); } private function OnSliderChange(event: SliderEvent): void { Image1.scaleX = event.value; Image1.scaleY = event.value; CenterImage(); } private function OnSliderChange2(event: SliderEvent): void { Image1.scaleX = event.value; Image1.scaleY = event.value; callLater(CenterImage); } private function CenterImage(): void { if (Canvas1.maxHorizontalScrollPosition 0) Canvas1.horizontalScrollPosition = Canvas1.maxHorizontalScrollPosition / 2; if (Canvas1.maxVerticalScrollPosition 0) Canvas1.verticalScrollPosition = Canvas1.maxVerticalScrollPosition / 2; } ]] /mx:Script mx:Canvas id=Canvas1 x=10 y=52 width=367 height=187 mx:Image id=Image1 width=367 height=187 source=http://www.google.com/intl/en_ALL/images/logo.gif/ /mx:Canvas mx:HSlider x=10 y=10 minimum=1 maximum=20 change=OnSliderChange(event) liveDragging=true / mx:HSlider x=217 y=10 minimum=1 maximum=20 change=OnSliderChange2(event) liveDragging=true/ /mx:Application Is anyone has a solution to this problem? The problem seems very simple but I am scratching my head on this for days! Note that for my purpose scrollbars are mandatory. Thanks! -- View this message in context: http://www.nabble.com/Scrollbars-positionning-is-done-too-late-to-avoid-flickering-after-an-image-scaling-tp23208225p23208225.html Sent from the FlexCoders mailing list archive at Nabble.com.
[flexcoders] Re: difference between stage and application?
I've used the Flash/Flex Component Kit and add my flash controls to a Canvas. But the Canvas will not change size with I set it's height and width. Is this expected? --- In flexcoders@yahoogroups.com, Alex Harui aha...@... wrote: You should use the Flash/Flex Component Kit to wrap your Flash content. Flash content won't work well in Flex without being wrapped in some fashion. The minimum thing you could do is stick in an mx:UIComponent of the appropriate size in the application and addChild the sprite to it. Alex Harui Flex SDK Developer Adobe Systems Inc.http://www.adobe.com/ Blog: http://blogs.adobe.com/aharui From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of michaeljonknight Sent: Wednesday, April 22, 2009 2:33 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] difference between stage and application? Hello, I am somewhat new to flex. We are working on a project that uses an exported swc from Flash and running into some problems getting everything we want to show up layered correctly. I want to add a menu bar (mx.controls.MenuBar) on top of some content from the flash swc (flash.display.Sprite). I can only get the menu bar to show up if I call application.addChild and the sprite to show up if I call application.stage.addChild. But the menu bar popups are behind the sprite. I don't really understand the difference between the application and the stage either. Can anyone help? And is there an established way to work with mx.controls and flash.display.sprite data? thanks in advance, madmik3
[flexcoders] Good Flex skins
Hello, I am searching for a great looking Flex skins/themes. Something similar in quality to FlashMint (http://www.flashmint.com). Most of the Flex skins I've seen so far look extremely amateurish, including ScaleNine. Can you point me to a high-quality Flex skins library? Does it even exist? Thanks, Alex
[flexcoders] swf security html embed
hi In site B (WWW.BBB.COM/mypage.html) I have embed into html page an swf from another site url (http://WWW.AAA.COM/test.swf). From site B I'm able to request all function in swf on www.aaa.com site. cross domain policy don't works with html emebed tag . this is an online example : http://www.amiamo.info/flex/test.html how can protect swf on www.aaa.com ? thanks
[flexcoders] .net+webservice+flex
hiii i need a sample code for saving and displaying data from database using .net webservice and flex i need full working code of simple database project (insert,update,delete) say for example Student table(Rollno,Name,Address) how to creat webservice and access this through flex thanks in advance Now surf faster and smarter ! Check out the new Firefox 3 - Yahoo! Edition http://downloads.yahoo.com/in/firefox/
[flexcoders] WebService Not Working In A Component (mystifying)
I have a web service in a component that is never returning. The call is made without any problem, but it never returns. I can use the same web service in a regular mxml application and it returns just great, but if I take the same code and put it into a component, based on a VBox, it never returns. Any ideas?
[flexcoders] [MAC OSX] browseForOpen not able to select .app packages
I am trying to create a way for my users to select an executable path on Mac OSX in my AIR application. On windows this is trivial because I can do browseForOpen with a .exe filter and have it work fine. On Mac this is slightly more complex as most applications use the .app package. when I do a simple File.browseForOpen all .app packages are grayed out and are not selectable. I can select them(still grayed out) using a browseForSave dialogue, but this will prompt my users to Replace the file which will be confusing to them. Is there a way I can select a .app package using a native browse dialogue on Mac in Flex?
[flexcoders] Problem with capturing input using IME Japanese
I am trying to pass keyboard input from Javascript into a Flex app being displayed with Internet Explorer with the input language set to Japanese (using Full Katakana) in the Windows XP language bar. After an initial keystroke, I am passing focus from Javascript to a text field in Flex. Once the focus is in Flex, the IME wakes up and input of the Japanese characters behaves normally. Unfortunately, the initial keystroke does not make it into the IME editor, and so I was hoping to pass along the unicode key value for the keystroke. The keyDown event in Javascript is reporting only 229 for the keyCode, and 0 for the charCode. Any ideas about getting a usable key or char code in Javascript while using Japanese input? Thanks, Philip
[flexcoders] Mouse event capture by a lower level sprite
We have added two sprites to the stage that are just containers for other sprite. Let's call them S1 and S2. S1 is displayed on top of S2. We want children of S1 not to capture mouse events (which should be easy) but the children of S2 to capture mouse events even if they are behind the children of S1. Is there any way to do this? Thanks
[flexcoders] Re: Is it just me or anyone else has the same problem
I know...at least its better than Apollocoders, where it takes at least a week to appear (if at all)! --- In flexcoders@yahoogroups.com, Erich Cervantez f...@... wrote: It's not just you --- In flexcoders@yahoogroups.com, markgoldin_2000 markgoldin_2000@ wrote: Is it just me but it takes hours for my message to appear. Anyone has same problem?
[flexcoders] Pass repeater data to headerrenderer
Hi All, I have an accordion component, and I'm using a repeater to populate its children, with data coming from an XMLListCollection. I've created an external headerrenderer for the accordion header to display a multi-line title, but I cannot figure out how to pass the data for each repeated data element to the header renderer. The data inside the repeater is populated using {repeatername.currentitem.datanode} format but I can't use that for the renderer. I tried writing it inline but it has to be written outside the repeater. Any ideas how to accomplish this?
[flexcoders] Re: No typed objects being returned
Ha, figured it out. I had actually blogged about this issue before :) I did not include the classes in my compiled project. Once I added them typing worked. Now a new issue has arisen: I have a Status object which is part of a Candidate object. When I inspect the data passed from ColdFusion, the Status object is populated with data. When I view the same data in Flex, it is null. However, one of the Status objects *does* have data, while the other 4 do not. I'm a bit stumped with this one. If all of them were missing the data, I would understand, but 4 out of 5 does not make sense, especially when the data *is* there in ColdFusion. Any ideas? --- In flexcoders@yahoogroups.com, lampei lam...@... wrote: Anyone have any idea why my typed objects are coming back as ObjectProxy ? For one project I have set up, my objects were being returned correctly. I then called the same service from another project and it comes back as ObjectProxy. I have my aliases set up correctly in CF and in Flex, I checked the service was returning the objects correctly, and it is, but when the data comes back to Flex it is coming in as a plain ol' ObjectProxy. Getting a little frustrated now and I'm not sure what else to try. Thanks.
RE: [flexcoders] Re: HTTPService mistery
Ok, good, am I correct in summarizing it by saying that an HTTPService call takes much longer between send() and calling the result handler if a user is not a local admin? That is bizarre. I cannot think of a reason whey that might occur, but will continue to think. Security/permissions issues should be either/or. I hope others here have not stopped following this thread and might have some thoughts, because I am bewildered. If you do not get any help in the next day or so, I think it would be acceptable to start another thread. Tracy Spratt, Lariat Services, development services available _ From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of markgoldin_2000 Sent: Friday, April 24, 2009 6:04 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: HTTPService mistery Ok. I am having a problem with one of my Flex applications. When a regular user login is used it takes 10 or more times longer for data to appear then when I use mine which is a local admin on the web server box. I have been able to narrow the troubling application to a point that I could see that it is Flex doing something before my back end page (classic ASP) gets hit. Precisely, an extra time is taken in the HTTPService.send command. So, after that command is sent and the ASP page gets hit it takes about 5 or even more seconds, when with my login it takes no time. It looks like some kind of negotiation is going on between Flex and Web Server. I have compiled this application using Gumbo latest build and it was even worse. My web server is windows 2003 R2. Client Windows 2000 and Windows XP. --- In flexcod...@yahoogro mailto:flexcoders%40yahoogroups.com ups.com, Tracy Spratt tr...@... wrote: How about fully and clearly re-describing the problem, the environments, and what you have tried so far. The thread history has gotten muddy. Tracy Spratt, Lariat Services, development services available _ From: flexcod...@yahoogro mailto:flexcoders%40yahoogroups.com ups.com [mailto:flexcod...@yahoogro mailto:flexcoders%40yahoogroups.com ups.com] On Behalf Of markgoldin_2000 Sent: Friday, April 24, 2009 1:10 PM To: flexcod...@yahoogro mailto:flexcoders%40yahoogroups.com ups.com Subject: [flexcoders] Re: HTTPService mistery I have compiled it with Gumbo, latest build, and it's even worse. Anyone, please share any idea. --- In flexcod...@yahoogro mailto:flexcoders%40yahoogroups.com ups.com, markgoldin_2000 markgoldin_2000@ wrote: Posting again... It is e4x. It has been identified, that it works fine for users who are local admins on the Web box. How that can be??? --- In flexcod...@yahoogro mailto:flexcoders%40yahoogroups.com ups.com, Tracy Spratt tracy@ wrote: What is the result format of the HTTPService call? The default object causes the flex client to process the incoming data into a tree of dynamic objects. The speed of this process would be subject to the local cpu. You could set resultFormat to e4x, and re-run the benchmarks. Tracy Spratt, Lariat Services, development services available _ From: flexcod...@yahoogro mailto:flexcoders%40yahoogroups.com ups.com [mailto:flexcod...@yahoogro mailto:flexcoders%40yahoogroups.com ups.com] On Behalf Of markgoldin_2000 Sent: Wednesday, April 22, 2009 11:15 PM To: flexcod...@yahoogro mailto:flexcoders%40yahoogroups.com ups.com Subject: [flexcoders] Re: HTTPService mistery While it seems to me I am missing something obvious I am pretty sertant it is somewhere in the send command. I have traced an execution to the point that for a low end box it takes about 5 sec. between a send command and an HTTPService callback function call. I have timed my server and it does not take time at all. I timed the server for both my development computer and a low level box. Server time is exactly the same. (what else whould one expect?) But time it tales for an execution to get into a callback function is very different. So, I am assuming that it takes some time for a low end box to send a data request to the server. --- In flexcod...@yahoogro mailto:flexcoders%40yahoogroups.com ups.com, Tracy Spratt tracy@ wrote: I would not expect the quality of the client to significantly affect the speed of the data service call. However, a slow computer *will* have issues with rendering the content. Have you determined definitively that the speed issue is with the data service call and not the rendering? Tracy Spratt, Lariat Services, development services available _ From: flexcod...@yahoogro mailto:flexcoders%40yahoogroups.com ups.com [mailto:flexcod...@yahoogro mailto:flexcoders%40yahoogroups.com ups.com] On Behalf Of markgoldin_2000 Sent: Wednesday,
[flexcoders] Re: HTTPService mistery
This is presisely correct. --- In flexcoders@yahoogroups.com, Tracy Spratt tr...@... wrote: Ok, good, am I correct in summarizing it by saying that an HTTPService call takes much longer between send() and calling the result handler if a user is not a local admin? That is bizarre. I cannot think of a reason whey that might occur, but will continue to think. Security/permissions issues should be either/or. I hope others here have not stopped following this thread and might have some thoughts, because I am bewildered. If you do not get any help in the next day or so, I think it would be acceptable to start another thread. Tracy Spratt, Lariat Services, development services available _ From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of markgoldin_2000 Sent: Friday, April 24, 2009 6:04 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: HTTPService mistery Ok. I am having a problem with one of my Flex applications. When a regular user login is used it takes 10 or more times longer for data to appear then when I use mine which is a local admin on the web server box. I have been able to narrow the troubling application to a point that I could see that it is Flex doing something before my back end page (classic ASP) gets hit. Precisely, an extra time is taken in the HTTPService.send command. So, after that command is sent and the ASP page gets hit it takes about 5 or even more seconds, when with my login it takes no time. It looks like some kind of negotiation is going on between Flex and Web Server. I have compiled this application using Gumbo latest build and it was even worse. My web server is windows 2003 R2. Client Windows 2000 and Windows XP. --- In flexcod...@yahoogro mailto:flexcoders%40yahoogroups.com ups.com, Tracy Spratt tracy@ wrote: How about fully and clearly re-describing the problem, the environments, and what you have tried so far. The thread history has gotten muddy. Tracy Spratt, Lariat Services, development services available _ From: flexcod...@yahoogro mailto:flexcoders%40yahoogroups.com ups.com [mailto:flexcod...@yahoogro mailto:flexcoders%40yahoogroups.com ups.com] On Behalf Of markgoldin_2000 Sent: Friday, April 24, 2009 1:10 PM To: flexcod...@yahoogro mailto:flexcoders%40yahoogroups.com ups.com Subject: [flexcoders] Re: HTTPService mistery I have compiled it with Gumbo, latest build, and it's even worse. Anyone, please share any idea. --- In flexcod...@yahoogro mailto:flexcoders%40yahoogroups.com ups.com, markgoldin_2000 markgoldin_2000@ wrote: Posting again... It is e4x. It has been identified, that it works fine for users who are local admins on the Web box. How that can be??? --- In flexcod...@yahoogro mailto:flexcoders%40yahoogroups.com ups.com, Tracy Spratt tracy@ wrote: What is the result format of the HTTPService call? The default object causes the flex client to process the incoming data into a tree of dynamic objects. The speed of this process would be subject to the local cpu. You could set resultFormat to e4x, and re-run the benchmarks. Tracy Spratt, Lariat Services, development services available _ From: flexcod...@yahoogro mailto:flexcoders%40yahoogroups.com ups.com [mailto:flexcod...@yahoogro mailto:flexcoders%40yahoogroups.com ups.com] On Behalf Of markgoldin_2000 Sent: Wednesday, April 22, 2009 11:15 PM To: flexcod...@yahoogro mailto:flexcoders%40yahoogroups.com ups.com Subject: [flexcoders] Re: HTTPService mistery While it seems to me I am missing something obvious I am pretty sertant it is somewhere in the send command. I have traced an execution to the point that for a low end box it takes about 5 sec. between a send command and an HTTPService callback function call. I have timed my server and it does not take time at all. I timed the server for both my development computer and a low level box. Server time is exactly the same. (what else whould one expect?) But time it tales for an execution to get into a callback function is very different. So, I am assuming that it takes some time for a low end box to send a data request to the server. --- In flexcod...@yahoogro mailto:flexcoders%40yahoogroups.com ups.com, Tracy Spratt tracy@ wrote: I would not expect the quality of the client to significantly affect the speed of the data service call. However, a slow computer *will* have issues with rendering the content. Have you determined definitively that the speed issue is with the data service call and not the rendering? Tracy Spratt, Lariat Services,
RE: [flexcoders] WebService Not Working In A Component (mystifying)
.call is made without any problem . what do you mean, and how do you know? .it never returns . again, how do you know? Tracy Spratt, Lariat Services, development services available _ From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Chris Doherty Sent: Friday, April 24, 2009 1:17 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] WebService Not Working In A Component (mystifying) I have a web service in a component that is never returning. The call is made without any problem, but it never returns. I can use the same web service in a regular mxml application and it returns just great, but if I take the same code and put it into a component, based on a VBox, it never returns. Any ideas?
RE: [flexcoders] Pass repeater data to headerrenderer
How would you get the data into the headerRenderer if there was no repeater involved? Tracy Spratt, Lariat Services, development services available _ From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Jack OMelia Sent: Friday, April 24, 2009 10:03 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Pass repeater data to headerrenderer Hi All, I have an accordion component, and I'm using a repeater to populate its children, with data coming from an XMLListCollection. I've created an external headerrenderer for the accordion header to display a multi-line title, but I cannot figure out how to pass the data for each repeated data element to the header renderer. The data inside the repeater is populated using {repeatername.currentitem.datanode} format but I can't use that for the renderer. I tried writing it inline but it has to be written outside the repeater. Any ideas how to accomplish this?
RE: [flexcoders] Re: difference between stage and application?
What is it? The Canvas or one of your controls? The Canvas may not expand depending on how its properties are set. Alex Harui Flex SDK Developer Adobe Systems Inc.http://www.adobe.com/ Blog: http://blogs.adobe.com/aharui From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of michaeljonknight Sent: Thursday, April 23, 2009 3:02 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: difference between stage and application? I've used the Flash/Flex Component Kit and add my flash controls to a Canvas. But the Canvas will not change size with I set it's height and width. Is this expected? --- In flexcoders@yahoogroups.commailto:flexcoders%40yahoogroups.com, Alex Harui aha...@... wrote: You should use the Flash/Flex Component Kit to wrap your Flash content. Flash content won't work well in Flex without being wrapped in some fashion. The minimum thing you could do is stick in an mx:UIComponent of the appropriate size in the application and addChild the sprite to it. Alex Harui Flex SDK Developer Adobe Systems Inc.http://www.adobe.com/ Blog: http://blogs.adobe.com/aharui From: flexcoders@yahoogroups.commailto:flexcoders%40yahoogroups.com [mailto:flexcoders@yahoogroups.commailto:flexcoders%40yahoogroups.com] On Behalf Of michaeljonknight Sent: Wednesday, April 22, 2009 2:33 PM To: flexcoders@yahoogroups.commailto:flexcoders%40yahoogroups.com Subject: [flexcoders] difference between stage and application? Hello, I am somewhat new to flex. We are working on a project that uses an exported swc from Flash and running into some problems getting everything we want to show up layered correctly. I want to add a menu bar (mx.controls.MenuBar) on top of some content from the flash swc (flash.display.Sprite). I can only get the menu bar to show up if I call application.addChild and the sprite to show up if I call application.stage.addChild. But the menu bar popups are behind the sprite. I don't really understand the difference between the application and the stage either. Can anyone help? And is there an established way to work with mx.controls and flash.display.sprite data? thanks in advance, madmik3
RE: [flexcoders] swf security html embed
I'm not sure you can prevent someone from running your swf from Actionscript. You might be able to do something on your server to see who is requesting the SWF, but I think the main issue is whether that SWF is allowed to access your server data as that is usually the thing you want to protect. Read up on the security whitepapers and check the archives for strategies. Alex Harui Flex SDK Developer Adobe Systems Inc.http://www.adobe.com/ Blog: http://blogs.adobe.com/aharui From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of ivanposta Sent: Friday, April 24, 2009 9:37 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] swf security html embed hi In site B (WWW.BBB.COM/mypage.html) I have embed into html page an swf from another site url (http://WWW.AAA.COM/test.swf). From site B I'm able to request all function in swf on www.aaa.com site. cross domain policy don't works with html emebed tag . this is an online example : http://www.amiamo.info/flex/test.html how can protect swf on www.aaa.com ? thanks
RE: [flexcoders] Mouse event capture by a lower level sprite
S1.mouseEnabled = s1.mouseChildren = s1.buttonMode = false. Alex Harui Flex SDK Developer Adobe Systems Inc.http://www.adobe.com/ Blog: http://blogs.adobe.com/aharui From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of ACasualObserver Sent: Friday, April 24, 2009 4:56 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Mouse event capture by a lower level sprite We have added two sprites to the stage that are just containers for other sprite. Let's call them S1 and S2. S1 is displayed on top of S2. We want children of S1 not to capture mouse events (which should be easy) but the children of S2 to capture mouse events even if they are behind the children of S1. Is there any way to do this? Thanks