Re: [flexcoders] out of office APOLOGIES
Hi all, huge apologies for spamming this list - woke up this morning to find that my ISP has migrated the mail server and somehow my out of office has come on even though its not actually on in my control panel. Working to fix but will unsubscribe for now Matt On 22/08/2010 09:21, m...@thewebforge.co.uk wrote:
RE: [flexcoders] format code in FB3
If you use enterprise ide this will do it ... www.idefactory.com -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Tom Chiverton Sent: 04 November 2008 10:25 To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] format code in FB3 On Tuesday 04 Nov 2008, vuthecuong wrote: in eclipse (develop java), I just press ctrl+shift+F to format code. So what is the equavalent one in FF3 IDE? I don't think that feature is in there yet. Have you checked bugs.adobe.com ? -- Tom Chiverton Helping to authoritatively envisioneer slick dynamic world-class 24/365 communities This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at Halliwells LLP, 3 Hardman Square, Spinningfields, Manchester, M3 3EB. A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by The Solicitors Regulation Authority. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 2500. For more information about Halliwells LLP visit www.halliwells.com. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Alternative FAQ location: https://share.acrobat.com/adc/document.do?docid=942dbdc8-e469-446f-b4cf-1e62 079f6847 Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links
RE: [flexcoders] Acrobat 9 and Flex
No, there are as I understand it two modes of integration (i) using a flex / flash widget which can communicate with the basic Acrobat Javascript API via External Interface (ii)using the new ACROBAT api which provides a series of interfaces specifically for building PDF Portfolios neither of them directly address your issues BUT it is possible to use EXternal Interface to generate PDFs on the fly which would allow for some imporovements to your point2 matt _ From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Anatole Tartakovsky Sent: 27 June 2008 16:57 To: flexcoders@yahoogroups.com Subject: [flexcoders] Acrobat 9 and Flex I am considering the new Acrobat 9 embedding capabilities for Flex applications. Are there any planned 1. integration libraries 2. changes to PrintJob specific to Acrobat hosting 3. serialization/deserialization package that would that would be used as a replacement to Capture classes for client side SWF capturing? Thank you, Anatole
RE: [flexcoders] Where is adobe? Come to universities!
Adobe (certainly UK) does do campus days and there is considerable interest in Flex.. They also do on site lectures .. I'm doing a 3 hr session on Flex at Stafford next week for them - www.adobe.co.uk/campusdays generally students are pretty keen : unfortunately they have also not any idea that Flex even exists until we get there Matt _ From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of krishna Raj Sent: 03 April 2008 09:18 To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Where is adobe? Come to universities! There is lot of scope for Adobe Technologies in Universities towards higher education worldwide. This idea can further their technologies for their(Universities) course offerings to the great extent. I wish, it comes true. krishna Raj On Thu, Apr 3, 2008 at 1:24 PM, Rick Winscot rick.winscot@ mailto:[EMAIL PROTECTED] zyche.com wrote: At this pace we won't (generally) see RIA technologies in course offerings for 4 - 5 years at least. It would be awesome to see higher education quicken their pace and open the door to innovators like Adobe - but the fact is. that in its current state, higher education, is ill suited to embrace them. To be frank. I don't blame Adobe for not wanting to participate in the higher education debacle. Rick Winscot From: [EMAIL PROTECTED] mailto:flexcoders@yahoogroups.com ups.com [mailto:[EMAIL PROTECTED] mailto:flexcoders@yahoogroups.com ups.com] On Behalf Of yigit boyar Sent: Wednesday, April 02, 2008 5:52 PM To: [EMAIL PROTECTED] mailto:flexcoders@yahoogroups.com ups.com Subject: [flexcoders] Where is adobe? Come to universities! Yesterday, Microsoft was in my department to present silverlightajax technologies. Although silverlight is currently a bullshit compared to flex, and in my department (METU computer engineering) many people use linux; there were quite many people attending to the seminar. Tomorrow, I'll do give a seminar about AIR technology,which will be hosted by METU Computer Club. who am I? Just a 3rd year computer engineering(~=science) student. So i ask to adobe; microsoft comes to our lessons for their primitive technology, but adobe does nothing for flex the great? why? you do europe tour, it's great but you better do some more local event (no need to bring your developers, just use your local partners). just a suggestion to adobe guys, maybe because of feeling bad with microsoft's integration efforts... info : METU = middle east technical university / ankara/ turkey -- Thanks and Regards, Krishna Read my blogs http://flashactions http://flashactions.wordpress.com .wordpress.com http://stockthought http://stockthoughts.wordpress.com s.wordpress.com Gtalk:krshnaraj YahooIM:krishna.rajs Live Messenger: krishna.rajs Skype: krishna.rajs Linkedin: http://www.linkedin http://www.linkedin.com/in/krishnarajs .com/in/krishnarajs Cellular Contact: 0091.998.5013.316 Cellular Contact: 0091.924.8763.069 Twitter:stockthoughts
Re: [flexcoders] Calendar / Scheduling Component
Have you looked at the ganttSheet that Ilog have created? http://www.ilog.com/products/elixir/ matt On 2 Apr 2008, at 20:19, Tom Armstrong wrote: Hi All, I'm looking for a component to help with a scheduling application that I'm building in flex. I need the ability to drag-drop dates / tasks, etc. I read somewhere that Adobe was working on such a component but can't find it. Any links to help with existing components would help. Thanks, Tom
[flexcoders] e4X delete question
Hi all I have an xml structure which is like this map cliphkjkj/clip cliphh document hxsjka/document /clip clip documentkkk/document /clip /map And I want to delete the document nodes in one swoop .. var p:XMLList = _mapDataProfile.clip..document delete _mapDataProfile.clip..document var s:XMLList=_mapDataProfile.clip..document but p and s are the same - what am I missing here? Thanks ! Matt
RE: [flexcoders] e4X delete question
Thanks to both - will try it out tomorrow - mtt _ From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Daniel Freiman Sent: 30 October 2007 18:30 To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] e4X delete question Tracy, that's what I thought too, but the live docs says you can delete XMLLists (http://livedocs. http://livedocs.adobe.com/flex/201/langref/operators.html#delete_(XML) adobe.com/flex/201/langref/operators.html#delete_(XML) ). Maybe this is a documentation bug. Another possibility is that the .. is getting in the way. I've had problems with it before where it needed to be replaced with the descendants method. Try delete _mapDataProfile.clip.descendants(document) Try and see if that helps. - Dan Freiman On 10/30/07, Tracy Spratt [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] com wrote: I am surprised you are not getting an error. You can delete an XML object but not an XMLList. You will need to loop over the XMLList and delete the nodes individually: for (i:int =0;ip.lenght(). //I never can remember when length is a property or method delete p[i] . Tracy _ From: [EMAIL PROTECTED] mailto:flexcoders@yahoogroups.com ups.com [mailto: mailto:flexcoders@yahoogroups.com [EMAIL PROTECTED] On Behalf Of matt wicks Sent: Tuesday, October 30, 2007 9:39 AM To: [EMAIL PROTECTED] mailto:flexcoders@yahoogroups.com ups.com Subject: [flexcoders] e4X delete question Hi all I have an xml structure which is like this map cliphkjkj/clip cliphh document hxsjka/document /clip clip documentkkk/document /clip /map And I want to delete the document nodes in one swoop .. var p:XMLList = _mapDataProfile.clip..document delete _mapDataProfile.clip..document var s:XMLList=_mapDataProfile.clip..document but p and s are the same - what am I missing here? Thanks ! Matt
Re: [flexcoders] flex 3 requirements?
Relating to FMS (Flash Media Server) - Is this a dead animal or is Yes, it's now 'LCDS' - Live Cycle Data Services. I thought that was FDS (Flex Data Services )? Matt Last question - Why was the name Apollo dropped in favor of AIR ? Is there a habit for TLA's in Adobe and is AIR an acronym for Apollo.. or didn't this sit well with the Marketing team ? Apollo was the code name while the marketing droids thought something up. -- Tom Chiverton Helping to administratively deploy virtual meta-services on: http://thefalken.livejournal.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 St James's Court Brown Street Manchester M2 2JF. A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by The 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 8008. For more information about Halliwells LLP visit www.halliwells.com. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders% 40yahoogroups.com Yahoo! Groups Links
Re: [flexcoders] Re: Flex is Broken
I had a similar problem .. never really got to the bottom of it but I found that addChildAt worked while addChild didn't ? On 18 May 2007, at 15:03, Matt wrote: The exact error message I'm currently getting is as follows: RangeError: Error #2006: The supplied index is out of bounds. at flash.display::DisplayObjectContainer/addChildAt() at mx.core::UIComponent/http://www.adobe.com/2006/flex/mx/internal:: $addChildAt() at mx.core::Container/addChildAt() at mx.effects::EffectManager$/::removedEffectHandler() at Function/http://adobe.com/AS3/2006/builtin::apply() at mx.core::UIComponent/::callLaterDispatcher2() at mx.core::UIComponent/::callLaterDispatcher() at flash.utils::Timer/flash.utils:Timer::_timerDispatch() at flash.utils::Timer/flash.utils:Timer::tick() Just to be clear here though, I'm calling addChild, not addChildAt (internally addChild calls addChildAt). --- In flexcoders@yahoogroups.com, Matt [EMAIL PROTECTED] wrote: I have been using Flex for quite a while now and I've found quite a few moderate to serious bugs, but the one that keeps slapping my face when I approach something close to stability is this error: RangeError: Error #2006: The supplied index is out of bounds. This seems to occur due to ActionScript 3's lack of concurrency support. It would seem that if I quickly remove and add several components to a container this shows its ugly head. What makes this particularly scary is that the error message appears once and then any time I try to do anything at all to the container after that it throws the same message over and over. I originally saw this appear in reference to popups on the SystemManager container and created a work-around to pre-instantiate windows and just keep them hidden until needed. It was specifically a problem when I would use the popup manager to display a menu and the selection of a menu option would then display a window. What ended up happening was that the window would be created and popped up at the same time the popup was being removed and it would get its internal indexing off it would seem and never could you do anything to the SystemManager container again. Is there a way to add and remove items safely or is this a known bug and one I just have to live with until Adobe gets around to fixing it?
[flexcoders] GetObjectsUnderPoint
Hi all, anyone know why this is happening ? I use getObjectUnderPoint on a display object but it seems to only return one Shape - I read several tips which suggest 'walking' up teh display list but this doesnt work .. GetObjectsUNderPoint returns an array containing the shape 'screen', its parent is a map containing lots of MovieClips and what I want to do is detect which one is under the given point - ie. inside the main map help appreciated! Matt
Re: [flexcoders] Preventing IE to cache Flex
add a random number to the end of the url http://blah,cm/flexhtml?id=89 ?? On 25 Apr 2007, at 19:19, André Rodrigues Pena wrote: Hi all, My customers browsers are caching flex and preventing them to see my last updated applications. The HTML they are accessing is the one generated by default by Flex Builder. Can you give me some glance on it? -- André Rodrigues Pena
Re: [flexcoders] swap Children?
Brilliant, thanks Gordon - not only a fix but also an explanation which is great much appreciated Matt On 12 Apr 2007, at 01:28, Gordon Smith wrote: You say your container is a DisplayObjectContainer. Is it also a Flex Container such as Canvas or VBox? If so, there is a bug with using swapChildrenAt() and maybe with swapChildren() as well. Try using removeChildAt() and addChildAt() instead. A Flex Container does tricky stuff with child indexes and overrides child management APIs such as numChildren, addChildAt(), removeChildAt(), etc., because there are two kinds of children -- content children and non-content children. If you write HBox Button/ Button/ /HBox there are only two content children but, if the HBox has a background or scrollbars, there can be additional non-children children. I think what happened is that the swapChildren() and swapChildrenAt () methods got added to DisplayObjectContainer in Player 9, and the Flex framework is not yet supporting them properly in the Container class. - Gordon From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Matt Wicks Sent: Wednesday, April 11, 2007 5:39 AM To: [EMAIL PROTECTED] Subject: Re: [flexcoders] swap Children? Thanks for this - still doesn't work though ... driving me mad matt On 11 Apr 2007, at 12:44, Ciarán wrote: Hi Matt, Sounds like there's a problem with flex updating the screen before the children are swapped properly. Try validating the component after the call to swap the children, and catching any exception thrown. try { container.swapChildrenAt(ind,1); container.validateNow(); } catch (err:Error()) { } Does that make any difference? Best Regards, Ciarán On 11 Apr 2007 03:44:04 -0700, Matt Wicks [EMAIL PROTECTED] wrote: Hi there all, bit of a puzzle I'm having and would be grateful for some help... container is a displayObjectContainer and objectToMove is a Display object var ind:int = container.getChildIndex(objectToMove) container.swapChildrenAt(ind,1) each time I run this I get an error that the supplied index is out of bounds . How can this be? ind is always 9 (of 10 childrren)?? thanks as always matt
[flexcoders] swap Children?
Hi there all, bit of a puzzle I'm having and would be grateful for some help... container is a displayObjectContainer and objectToMove is a Display object var ind:int = container.getChildIndex(objectToMove) container.swapChildrenAt(ind,1) each time I run this I get an error that the supplied index is out of bounds . How can this be? ind is always 9 (of 10 childrren)?? thanks as always matt
Re: [flexcoders] swap Children?
Thanks for this - still doesn't work though ... driving me mad matt On 11 Apr 2007, at 12:44, Ciarán wrote: Hi Matt, Sounds like there's a problem with flex updating the screen before the children are swapped properly. Try validating the component after the call to swap the children, and catching any exception thrown. try { container.swapChildrenAt(ind,1); container.validateNow(); } catch (err:Error()) { } Does that make any difference? Best Regards, Ciarán On 11 Apr 2007 03:44:04 -0700, Matt Wicks [EMAIL PROTECTED] wrote: Hi there all, bit of a puzzle I'm having and would be grateful for some help... container is a displayObjectContainer and objectToMove is a Display object var ind:int = container.getChildIndex(objectToMove) container.swapChildrenAt(ind,1) each time I run this I get an error that the supplied index is out of bounds . How can this be? ind is always 9 (of 10 childrren)?? thanks as always matt
[flexcoders] assigning a class at runtime
IHi all, I am sure there was a thread about this the other day but can't seem to find it .. how can I dynamically assign a class at runtime?? eg var className:String = test' var newObject:Test= new Test() when test can be one of a hundred or so options? tks as always matt
Re: [flexcoders] assigning a class at runtime
excellent thanks Matt On 26 Mar 2007, at 16:20, Tom Chiverton wrote: On Monday 26 Mar 2007, Matt Wicks wrote: var className:String = test' var newObject:Test= new Test() newObject=flash.utils.getDefinitionByName(className); Note it needs a fully qualified classname, as got from flash.utils.getQualifiedClassName(someObject).replace('::','.') -- Tom Chiverton Helping to dramatically utilize edge-of-your-seat IPOs on: http://thefalken.livejournal.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 St James's Court Brown Street Manchester M2 2JF. A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law Society. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 8008. For more information about Halliwells LLP visit www.halliwells.com. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders% 40yahoogroups.com Yahoo! Groups Links
[flexcoders] why doesnt this work?
does anyone have any idea why this doesn't work? passing in a displayObkectContainer (container) and the displayObject I want to rise to the top (objectToMove) for (var i:int =0; icontainer.numChildren; i++) { if (container.getChildAt(i) == objectToMove) { index=i } } if (index == container.numChildren) { return //already at the top } else { container.swapChildren(container.getChildAt (index),container.getChildAt(container.numChildren-1)) } the odd thing is that I can get both container.getChildAt(index) and getChildAt(container.numchildren-1) but I get an error on the swapchildren line saying that The supplied DisplayObject must be a child of the caller. something odd going on ... suggestions appreciated Matt
Re: [flexcoders] Re: why doesnt this work?
I tried this - and its very strange this line trace (container.getChildAt(container.numChildren-1).name ) works fine but this container.swapChildrenAt(index,container.numChildren-1) gives me a supplied index is out of range error ??? On 15 Mar 2007, at 15:21, Paul DeCoursey wrote: try swapChildrenAt instead of swapChildren. --- In flexcoders@yahoogroups.com, Matt Wicks [EMAIL PROTECTED] wrote: does anyone have any idea why this doesn't work? passing in a displayObkectContainer (container) and the displayObject I want to rise to the top (objectToMove) for (var i:int =0; icontainer.numChildren; i++) { if (container.getChildAt(i) == objectToMove) { index=i } } if (index == container.numChildren) { return //already at the top } else { container.swapChildren(container.getChildAt (index),container.getChildAt(container.numChildren-1)) } the odd thing is that I can get both container.getChildAt(index) and getChildAt(container.numchildren-1) but I get an error on the swapchildren line saying that The supplied DisplayObject must be a child of the caller. something odd going on ... suggestions appreciated Matt
Re: [flexcoders] Flex Training Experiences/Suggestions?
If I can throw my ha'penny in as a longtime macromedia/adobe trainer - (uk based so not in the frame for this!) the courses themselves are good, but if I were you I would go for a higher level of customisation - try and get the trainer to come up with a tailored programme that suits your people. The problem I have found with those courses is that there is so much to pack in that there isn't room to really explore things as fully as one might like . Some of the early stuff (like adding controls etc) is stuff that is pretty intuitive for existing developers and is often best sealt with in granular detail later on when the controls themselves are being used a lot more to load data . Also, there is the Creating visual ah can't recall and don't have details to hand but iss something like creating visual experience' in Flex which is a great little course for learning about really c§ustomisisng the app - developers and designers alike work well together on this and it helps developers understand the structure of components vis a vis skinning etc. good luck ! Matt Wicks On 14 Mar 2007, at 18:46, michael_p_levine wrote: The company I'm working for is preparing to shift it's web development from ASP.NET to Flex and is interested in bringing in a good Flex instructor on-site to provide training to a small group of developers. The company is located in Chicago, but we're willing to fly someone in from anywhere in the U.S. and provide accommodations for the week. If we go with the Adobe courses (are there alternatives?) we would target the 3-day Flex 2: Developing Rich Client Applications followed by the 2-day Flex 2: Data and Communications. I am very interested in hearing other people's experiences with any type of instructor-lead Flex training courses and any suggestions on training providers and/or specific instructors. - What company provided the training? - How was the instructor? - How was the training material? - Any other suggestions or feedback? My thanks in advance to everyone for the assistance! Michael Levine
Re: [flexcoders] Re: Dynamically creating a text object
I have a (possibly) related isssue : creating a component which then creates a seres of Overlays on top of itself - one of which is a series of text objects - -- the base component that I am addingChild' to is a Sprite - adding multiple shapes or sprites works fine but when I add Text Fields, Labels or Text they do not appear - I tried creating them indpeendintly and also attcahing them to the 300 sprites that I created in the parent sprite (so there are 3 nest levels) - whatever I try doens't work! any ideas anyone ... sure its something painfully obvious and that I hve been looking at it too long! tks Matt On 26 Feb 2007, at 20:12, Tim wrote: You are correct - it needs to be an embedded font to render when rotated. Unfortunately, also, the rotation of the text is about the top left corner and the class does not correctly report its dimensions when rotated. I posted a RotableText class to the Flex 2 General Discussion forum a couple of months ago that provides an extension of the Text class which correctly reports its dimensions after rotation, and correctly positions the text when rotated. Tim --- In flexcoders@yahoogroups.com, leds usop [EMAIL PROTECTED] wrote: Actually Tim, he already mentioned in a previous post that more than just to add a circle, he wanted to add a circle.. and rotate it to vertical. i have already suggested adding the text child directly to the canvas (main or child.. shouldnt really matter). However, i think what makes the text not render is the rotate action he is applying. I dunno, correct me if im wrong.. but you cant rotate text and have it render correctly like other visual stuff (basic shapes, etc) without embedding the font am i right? --- Tim [EMAIL PROTECTED] wrote: You should be able to do something like this: var myText:Text = new Text(); myText.text = Hello World; myText.x = 220; myText.y = 140; mainCanvas.addChild(myText); If you're just wanting to draw a shape, you should use Sprite rather than Canvas. Canvas is a container and is intended to layout other UIComponents - more than is needed just to draw a circle. Tim --- In flexcoders@yahoogroups.com, Tracy Spratt tspratt@ wrote: You definitely can do that. addChild() is the method to use. I can't guess at what you are doing wrong without seeing what you are doing. Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Guy Morton Sent: Sunday, February 25, 2007 8:03 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Dynamically creating a text object Hello. I'm stumped. I'm creating some circles in AS and putting them on a Canvas that's declared in my MXML file like so var childCanvas:Canvas = new Canvas(); childCanvas.graphics.lineStyle(1, 0x33, 1); childCanvas.graphics.beginFill(0xCC,0.6); childCanvas.graphics.drawCircle(200,150,7); childCanvas.graphics.endFill(); childCanvas.id = myCircle; childCanvas.toolTip = I'm a circle; mainCanvas.addChild(childCanvas); This all works fine. However, I want to add some text next to the circle (with AS) and I can't see how to do it. I've tried many ways and nothing worked. It seems I can't add an instance of a text object as a child to the canvas in the same way that I can a shape. How should I be doing this? Guy __ Expecting? Get great news right away with email Auto-Check. Try the Yahoo! Mail Beta. http://advision.webevents.yahoo.com/mailbeta/newmail_tools.html
Re: [flexcoders] Refreshing an mx:Image
what about a timer? On 14 Feb 2007, at 14:16, flexcodersVK wrote: Updating like this: for (i=0;i5;i++) {myImage[i].source=”Photo” + i + ”.png” }
Re: [flexcoders] Can't we access MovieClips contained in embedded SWF's?
You need to get the object as a display object var xxx:MovieClip = platObject.getChildByName('instancename') as MovieClip Matt On 14 Feb 2007, at 16:13, Mike Anderson wrote: Hello all, I have a Flash Player 9, AS3 version of a SWF that I am bringing into Flex, using the SWFLoader Component. Once I bring the SWF in, I am creating a MovieClip variable and assigning to it, the SWFLoader.content. Here is a quick code example: var platObject:MovieClip = mySWFLoader.content; So once that assignment is made, you can execute certain built-in methods available to any Flash Movie - for example: platObject.play(); platObject.loaderInfo.[etc] And so on... That is all well and good - but what about MovieClips that reside in the Root Timeline? In this particular SWF File, I have a MovieClip called platMovieClip - and I am trying to access it's properties and methods from within Flex. For example, I'd like to toggle the visibility, so I tried this code: platObject.platMovieClip._visible = false; When I try this command, I get an error that says the property platMovieClip is unknown or something to that effect... If we can't access the assets that reside in SWF Files, then what is the whole point of all this? Or maybe there is something that I am overlooking - but as far as I can tell, the platObject should represent the SWF... Could any of you shed some light on this topic for me? This functionality is VERY important to the success of my website launch. Thanks in advance, Mike
Re: [flexcoders] Can't we access MovieClips contained in embedded SWF's?
Mike, what do the clips need to do? Matt On 14 Feb 2007, at 16:36, Mike Anderson wrote: Plat Overview of a subdivision
Re: [flexcoders] Can't we access MovieClips contained in embedded SWF's?
Temporarily assigning it would probably be best I guess - especially as its going to loop through 140 each time - Scott's idea is a good one too and should work - might give it a try later on myself to test it - but my gut instinct would b e to create a loop - then you can just use getChildAt(i) to assign the properties ... matt On 14 Feb 2007, at 17:05, Mike Anderson wrote: Well, my goal is this: There will be a ton of interactivity between the Flex variables, and the Subdivision Plat SWF. In fact, how the SWF looks visually, and behaves based on mouse interaction, will all depend on the values brought back from the database. For example, if a Lot has been sold to a customer, I need to change the color of the Lot MovieClip to Red. There are 4 other possible Statuses, that the Lot could have - and each Status is represented by a unique color. After the Plat SWF is brought in, the Flex App will loop through all 140 Lots, and set each corresponding MovieClip color, in addition to any other information I want shown. Luckily, in this particular case, I will have knowledge beforehand based on the database data, as to which Lots will already pre-exist on the SWF. This is where I need to decide, which parts I should code within the Flash 9 SWF, and which parts I should code within Flex. If I had my choice of course, I'd code everything 100% within Flex. Bottom line, I just want to code the bare minimum on the SWF side, so I can programmatically control everything from within Flex. Anyway, moving on, when the mouse hovers over a Lot, I need to have some additional information popup - like a ToolTip. I need the dimensions, total square footage, and the customer information (if the Lot has been sold). In this case, I can just have a custom component popup, and populate it with the corresponding information from my ArrayCollection. I just need to find a way, that when the mouse hovers over a particular Lot on the SWF, to signal Flex which Lot is being hovered over, so I can grab the appropriate data from the ArrayCollection, and fill in all the blanks. So with all that said, is there any other methodology you would use, to accomplish the tasks I mentioned? I suppose I could forego creating 140 variables, and just create a new one on the fly, each time the mouse hovers over a particular lot. Then I can grab the corresponding Child, and temporarily assign it to the Variable - in order to gain access to it's properties and methods. Thanks again for all your help - Mike From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Matt Wicks Sent: Wednesday, February 14, 2007 10:45 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Can't we access MovieClips contained in embedded SWF's? Mike, what do the clips need to do? Matt On 14 Feb 2007, at 16:36, Mike Anderson wrote: Plat Overview of a subdivision
[flexcoders] Re: Tree queston
Hi All, just looking for help on something with the tree control : its default behaviour is to open a leaf when the user click on the arrow - I want to make it behave in the same way when the user clicks on he actual text (ie the FOLDERopenIcon or the text text to it ... any suggestions ? I imagine its a case of extending teh Tree but just wanted to see if I have missed anything else? Thanks Matt
Re: [flexcoders] Re: Tree queston
ok forget it got it when I turned my brain on - On 8 Feb 2007, at 14:33, Matt Wicks wrote: Hi All, just looking for help on something with the tree control : its default behaviour is to open a leaf when the user click on the arrow - I want to make it behave in the same way when the user clicks on he actual text (ie the FOLDERopenIcon or the text text to it ... any suggestions ? I imagine its a case of extending teh Tree but just wanted to see if I have missed anything else? Thanks Matt
[flexcoders] help needed on tree rllover
Hi all - how the heck do you customize the rollover of a tree ? I don't mean the colour I mean the shape - at the moment the tree looks great and then you rollover (or select) and this horrible rectangle appears :: appreciated as ever any help Matt
RE: [flexcoders] Max OS X Flex Builder 2.01 License Issue
Yeah I'm in the same boat ... _ From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Bill Gercken Sent: 06 January 2007 15:38 To: flexcoders@yahoogroups.com Subject: [flexcoders] Max OS X Flex Builder 2.01 License Issue Hi, I down loaded the OS X release of Flex Builder 2 and installed it but it does not like my Windows license. Does anyone know whether there will be some sort of license exchange available? My charting license worked fine though. I bought the Windows version to bridge the gap until the OS X version was available. As soon as the Mac beta was out I switched and have not looked back. Don't tell me that I am going to have to fork out another 500 bucks just to be able to work on my operating system of choice... Regards, -bill
[flexcoders] what to override in dragdrop?
Hi all, I have an app that returns data from a Remote Object into a datagrid which then is dragged into a TileList, which created Tiles which are CustomRenderers all fine so far The problem is that when the data from the grid is dropped I want Flex to run off query a web service, return the info and add that into the data provider for the tile again this works ok BUT the I get two tiles being created : one with the data that I dragged and dropped and one with the full dataset that I have brought in (ie the return from the web service coupled with the data I originally had). I want to get rid of the first one (the default one which is created on the drag drop event) . I clearly need to override something I think but I dont really know what, I thought it would be override public function set data(value:Object):void{ //blah } But this doesnt seem to work Any ideas anyone please? Matt __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Software development tool Software development Software development services Home design software Software development company YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
RE: [flexcoders] Re: php and flex
What about python - anyone know a good python equivalent? -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of arnold_charming Sent: 30 July 2006 10:06 To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: php and flex --- In flexcoders@yahoogroups.com, Stefan Schmalhaus [EMAIL PROTECTED] wrote: --- In flexcoders@yahoogroups.com, arnold_charming arnold_charming@ wrote: Can I also push data? Because till now I was justing using pull mechanism. AMFPHP works in both directions. Please take a look at the AMFPHP documentation for details: http://www.amfphp.org/docs/ Stefan What should be done on the Flex side to enable data push? -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links --- [This E-mail scanned for viruses for your protection] -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] Python / Flex solution
Hi all, What would any python expert out there advise as the best solution for integrating Flex with Python? Or even better FDS with Python? I, pretty savvy about flsh / flex/cold fusion / asp but know not a nthing about python so advice v. gratefully received Matt __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
[flexcoders] HSlider multiple thumbs alternate skinning
is it possible if having two thumbs on a HSlider to skin them differently? I.e. one green and one blue - i cam see the thumbSkin propety but cant's seem to apply it as (eg_ thmb[1].thumbSkin) any help appreciated Matt Wicks -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/