-
Recente
Hi,I'm developing a flex portal that integrates ui from different providers. Is it possible to do the following? From my main application i want to be able to load modules into a sibling application's domain. Currently I’ve done the following.1. Used SwfLoader to load a sub-application into a new application domain (as a sibling of main application domain).2. From the main application used ModuleLoader to load modules into application domain created in step 1. As a parameter into module loader we specified the application domain of the sub-application created in step 1. The result is that the module loads but its application domain is set to the main application. Any ideas? Thanks,
Revision: 13691Revision: 13691Author: gauravj@adobe.comDate: 2010-01-21 12:13:29 -0800 (Thu, 21 Jan 2010)Log Message:***********Fix the build.xml file that gets packaged at the root for frameworks folder.QE notes: None.Doc notes: NoneBugs: SDK-25188Reviewed By: JimTests run: Is noteworthy for integration: NoTicket Links:*********** http://bugs.adobe.com/jira/browse/SDK-25188Modified Paths:************** flex/sdk/branches/4.0.0/frameworks/build_framework.xml
I am doing a sample app using Cairngorm 3 libs. While I was following the Navigation approach, my app control reaches to: dispatchEvent(NavigationEvent.newNavigateToEvent(destination)); but then it never changed the selected view in my viewstack.
I am using the Presentation Model (PM) to architecture a Flex/Cairngorm application. The implementation of the PM goes fine, except that I am not sure of one thing: how to update your PM properties each time you update your domain model properties. Does anyone have any thoughts on this? Examples of the PM can be found through Google but do not cover multi-view applications, or any extended implementation of the PM. Any pointers to extended examples would be most welcome.
Greets.So, i've downloaded the lastest stable Flex4 sdk and cut out the textLayout.swc so that i could run throught some tests with it.Here's my first test that made me go O_Omy test codeimport flashx.textLayout.controls.TLFTextField; var css:StyleSheet = new StyleSheet(); css.setStyle("a", {fontFamily: "Trebuchet MS", fontSize: 12, textDecoration:"underline"}); css.setStyle("a:hover", {fontFamily: "Trebuchet MS", fontSize: 12, textDecoration:"none"}); css.setStyle(".test", {fontFamily: "Verdana", fontSize: 10, textDecoration:"underline"}); var tf:TLFTextField = new TLFTextField(); tf.multiline = true; tf.border = true; tf.wordWrap = true; tf.styleSheet = css; tf.autoSize = TextFieldAutoSize.LEFT; tf.htmlText = "<span class='test'>test</span><img src='http://www.adobe.com/ubi/globalnav/include/adobe-lq.png' /><b>test</b><br/><a href='http://'>Another test</a>"; addChild(tf); &n
Revision: 13672Revision: 13672Author: aharui@adobe.comDate: 2010-01-20 13:26:01 -0800 (Wed, 20 Jan 2010)Log Message:***********Focusable renderers cause focusOutHandler to destroy the editor while destroyItemEditor is in progress causing itemEditorInstance to be null as we finish up the method.Add null check.QE Notes: noneDoc Notes: noneBugs: SDK-25151Reviewer: ChetTests run: Checkintests, CycloneIs noteworthy for integration: NoTicket Links:*********** http://bugs.adobe.com/jira/browse/SDK-25151Modified Paths:************** flex/sdk/branches/4.0.0/frameworks/projects/framework/src/mx/controls/DataGrid.as
I'm in the process of making a multi-language site and I've been looking into using the new text layout engine.One of the requirements is that when the site displays chinese characters it uses the users system fonts and not embedded fonts. I've been unable to get this to work. Here is my test code. It creates a textfield using the textlayout and one using just textfield. The textfield one is showing correctly but the textlayout one does not.I'm just modifying one of the adobe examples - my code:package{ import flash.display.Sprite; import flash.text.TextField; import flash.text.engine.FontLookup; import flash.text.engine.TabAlignment; import flashx.textLayout.container.ContainerController; import flashx.textLayout.elements.ParagraphElement; import flashx.textLayout.elements.SpanElement; import flashx.textLayout.elements.TextF
When comparing two XML objects, it appears that flexunit is reporting their equality when the values of XML elements are not equal.Here's a valid example:var xmlA:XML =<root> <element1>text1</element1> <element2>text2</element2></root>;var xmlB:XML =<root> <element2>text2</element2> <element1>text1</element1></root>;Assert.assertTrue(ObjectUtil.compare(xmlA, xmlB) == 0) => trueThis is correct: element order does not matter and $xmlA/root/element1 == $xmlB/root/element1Here's an invalid example:var xmlA:XML =<root> <element1>text1</element1> <element2>text2</element2></root>;var xmlB:XML =<root> <element1>text3</element1> <element2>text2</element2>
Hello,I am developing an application using Cairngorm. My app uses SQL databases.I'm creating a separate event and command for each SQL query my application requires. I end up with many events and commands - twenty different event/command pairs and I'm not even done yet.I was wondering if this is the right way to go, or if somehow similar SQL queries should be grouped together in the same event/command, and if so, how would I implement that elegantly?I've never used Cairngorm before so I want to make sure I do it correctly.Thank you for your time and any assistance you can offer.
Simply put, I love the fact that Flash Player has a new text engine because the old one sucked and this seems like a big improvement. However, it would seem to be immensely MORE powerful to combine this new text engine with a CSS parser that actually works right and supports current CSS standards (believe it or not Adobe, the rest of the world uses CSS2!). That is my feature request! Let me know if you hear of anything, I know others are looking for similar functionality. Thanks!
With textAlign = TextAlign.JUSTIFY,how to handle automatic hyphenation and line breaks ?There is an example on the interactive feature demo, "columns" sectionhttp://labs.adobe.com/technologies/textlayout/Words ending lines are smartly breaked with hyphens, when necessary.Is it about locale ? Or inserting soft hyphen characters manually ?Thankshttp://labs.adobe.com/technologies/textlayout/
Revision: 13654Revision: 13654Author: aharui@adobe.comDate: 2010-01-19 20:44:34 -0800 (Tue, 19 Jan 2010)Log Message:***********Replace an IPE defense I took out in svn 10058QE Notes: noneDoc Notes: noneBugs: SDK-25081Reviewer: HansTests run: Checkintests, CycloneIs noteworthy for integration: NoTicket Links:*********** http://bugs.adobe.com/jira/browse/SDK-25081Modified Paths:************** flex/sdk/branches/4.0.0/frameworks/projects/framework/src/mx/controls/listClasses/ListBase.as
Hi all, I am new to flex unit , i need to write testcase for class which contains multiple of remote object request.Can yo help me guys with any sample.Thanks karthy
I am trying to run FlexUnit RC1 with FlexMojos and it does not look as if the test runner reports back, which makes it realy hard to run the FU tests on a CI server. I don't know if this is the same as the FUX-40 issue.Here is the output:FlexUnit4: Test testMinMaxValue in no.spk.puma.validator.ProsentValidatorTest finishedData handler received data: Server StatusProperty canClose is falseReplying OKData handler received data: Server Status
I have a text flow that I am loading from an external file that has this snippet of xml in it:...<flow:p> <flow:img styleName="chart" id="fig1" height="250"/></flow:p>...What I need to do is put a Flex chart in place of that image. I tried the following before passing my TextFlow into the thing that displays it.var flow:TextFlow = TextConverter.importToFlow("sample.xml", TextConverter.TEXT_LAYOUT_FORMAT);var figs:Array = flow.getElementsByStyleName("chart"); for (var i:int = 0; i < figs.length; i++) { if (figs is InlineGraphicElement) { var id:String = FlowElement(figs).id; var figure:DisplayObject = getFigure(id);// <-- this returns an instance of my chart
Revision: 13560Revision: 13560Author: aharui@adobe.comDate: 2010-01-17 21:09:32 -0800 (Sun, 17 Jan 2010)Log Message:***********FlexPrintJob didn't know that in Flex 4, width no longer factors in the scaleX and height no longer factors in scaleYQE Notes: noneDoc Notes: noneBugs: SDK-25044Reviewer: EvtimTests run: CheckintestsIs noteworthy for integration: NoTicket Links:*********** http://bugs.adobe.com/jira/browse/SDK-25044Modified Paths:************** flex/sdk/branches/4.0.0/frameworks/projects/framework/src/mx/printing/FlexPrintJob.as
Hi All,We have meet a odd problem that arabic text will break to muliply lines,They are same sentence I paste into the TLF demo. the second one is break into muliply lines, the symbol(I have no idea what is it calls sheddeh?) is break line. I used different font, first one is "GE modern" and second one is "Sharjah"if there is any conerned about this issues.
Revision: 13555Revision: 13555Author: deeptika@adobe.comDate: 2010-01-17 00:31:14 -0800 (Sun, 17 Jan 2010)Log Message:***********Adding workaround for FLEXDMV-2296 (DMV components should not override CSSStyleDeclaration.defaultFactory to establish default styles) so thatcharts can set textFieldClass to UIFTETextField in a theme.QE notes: Doc notes: Bugs: FLEXDMV-2296Reviewer: Sunil, GlenneTests run: checkintestsIs noteworthy for integration: Ticket Links:*********** http://bugs.adobe.com/jira/browse/FLEXDMV-2296 http://bugs.adobe.com/jira/browse/FLEXDMV-2296Modified Paths:************** flex/sdk/branches/4.0.0/frameworks/projects/datavisualization/data_management.css flex/sdk/branches/4.0.0/frameworks/projects/datavisualization/src/mx/charts/AxisRenderer.as flex/sdk/branches/4.0.0/frameworks/projects/datavisualization/src/mx/charts/LegendItem.as flex/sdk/branches/4.0.0/frameworks/projects/datavisualization/src/mx/charts/chartClasses/DataTip.as flex/sdk/branch
I'm working on a foreign language learning program primarily for teaching native english speakers arabic and/or japanese (osbit.research.pdx.edu)Some of the exercises the client wants have rtl (arabic) and ltr (english) text mixed such as the question: "What is the appropriate English equivalent for شبة الجزيرة العربية?"The client would like the arabic text to display rtl even though it is in the middle of a ltr paragraph.Oh did I mention the text needs to word wrap and scroll?I was thinking maybe I could render the text to a bitmap and manipulate it that way.Thoughts? suggestions? is there an easy way to do this?
Revision: 13542Revision: 13542Author: deeptika@adobe.comDate: 2010-01-15 17:00:37 -0800 (Fri, 15 Jan 2010)Log Message:***********Adding the files that were removed in revision 13519. This is to make the merge from 4.0.0 branch easier. These changes are already made to 4.0.0 branch in revision 13522.QE notes: Doc notes: Bugs: Reviewer: Tests run: Is noteworthy for integration: Added Paths:*********** flex/sdk/trunk/frameworks/projects/automation_spark/src/spark/automation/delegates/components/SprakTextAreaAutomationImpl.as flex/sdk/trunk/frameworks/projects/automation_spark/src/spark/automation/delegates/components/SprakTextInputAutomationImpl.as flex/sdk/trunk/frameworks/projects/automation_spark/src/spark/automation/delegates/components/supportClasses/SprakSkinnableTextBaseAutomationImpl.as
Revision: 13530Revision: 13530Author: gruehle@adobe.comDate: 2010-01-15 12:07:43 -0800 (Fri, 15 Jan 2010)Log Message:***********DownloadProgressBar no longer moves backwards when RSLs are loading. QE notes: -Doc notes: -Bugs: SDK-25047Reviewer: AlexTests run: checkintests, Joan ran cycloneIs noteworthy for integration: NoTicket Links:*********** http://bugs.adobe.com/jira/browse/SDK-25047Modified Paths:************** flex/sdk/branches/4.0.0/frameworks/projects/framework/src/mx/preloaders/SparkDownloadProgressBar.as
Revision: 13522Revision: 13522Author: deeptika@adobe.comDate: 2010-01-15 02:41:10 -0800 (Fri, 15 Jan 2010)Log Message:***********Removing obselete files. These are already removed from trunk in revision 13519QE notes: Doc notes: Bugs: Reviewer: Tests run: Is noteworthy for integration: Removed Paths:************* flex/sdk/branches/4.0.0/frameworks/projects/automation_spark/src/spark/automation/delegates/components/SprakTextAreaAutomationImpl.as flex/sdk/branches/4.0.0/frameworks/projects/automation_spark/src/spark/automation/delegates/components/SprakTextInputAutomationImpl.as flex/sdk/branches/4.0.0/frameworks/projects/automation_spark/src/spark/automation/delegates/components/supportClasses/SprakSkinnableTextBaseAutomationImpl.as
Revision: 13519Revision: 13519Author: deeptika@adobe.comDate: 2010-01-14 22:50:24 -0800 (Thu, 14 Jan 2010)Log Message:***********Removing obselete files.They were not removed while merging files from perforce.QE notes: No, these files are not referenced in any swcDoc notes: Yes. These files are obselete.Bugs: Reviewer: Tests run: Is noteworthy for integration: Removed Paths:************* flex/sdk/trunk/frameworks/projects/automation_spark/src/spark/automation/delegates/components/SprakTextAreaAutomationImpl.as flex/sdk/trunk/frameworks/projects/automation_spark/src/spark/automation/delegates/components/SprakTextInputAutomationImpl.as flex/sdk/trunk/frameworks/projects/automation_spark/src/spark/automation/delegates/components/supportClasses/SprakSkinnableTextBaseAutomationImpl.as
Hi All,Are in TLF any function like as3 TextField setTextFormat function?
I could not find anything documenting the change but I get failures onmx:Modulemx:Producermx:ModuleLoaderfor the last month or so, I can no longer keep up with the nightlys until I fix this...
Remix with Firefly Community Gallery
Thousands of free creations to fall in love with and remix in Firefly.
Você já é cadastrado? Entrar
Ainda não tem uma conta? Crie uma conta
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.