『アドビコミュニティフォーラム』に質問/トピックを投稿する方法
Questions
新着順
Hi everybodyI have got a problem about session management on blazeds.First of all I read all the stuff about HttpSession and HttpClient on BlazeDs guide.However I can not still figure out what is going wrong about my project.I am using Flex SessionFlexSession session = FlexContext.getFlexSession();After creating session Whenever I close my browser (Chrome, IE , Firefox). The session automatically expires.And then when ever I reopen my browser I get another Session IDFlexSession created: C84C55BDD97BE6B1252AE752D6901C27I can log this new Session id from SessionListener.Awkwardly this happens when I close whole tabs (The browser program at all). In contrast When I open a few tab and then close one of them, because of my setting on serverside Session does not expires as expected.Could you help me why I couldnt get the same session after reopen browser.By the way I also couldn't get below log when closing browserFlexSession expired: C84C55BDD97BE6B1252AE752D6901C27 I didnt change any js co
HelloI try to use newest flex sdk (4.1.0.16032) but cannot solve this: var conf:Configuration=new Configuration()var linkNormalFormat:TextLayoutFormat=new TextLayoutFormat()conf.defaultLinkNormalFormat=linkNormalFormat;textFlow=TextConverter.importToFlow(value,TextConverter.TEXT_LAYOUT_FORMAT,conf);trace(textFlow) // nullWhy it is null??When I use textFlowInitialFormat:conf.textFlowInitialFormat=format; textFlow is not null and everything works fine.When I use defaultLinkHoverFormat:conf.defaultLinkHoverFormat=linkNormalFormat;textFlow is correctly created bu I get error on roll over:TypeError: Error #1034: Type Coercion failed: cannot convert flashx.textLayout.formats::TextLayoutFormat@1423e881 to flashx.textLayout.formats.TextLayoutFormatValueHolder. at flashx.textLayout.elements::LinkElement/computeLinkFormat() at flashx.textLayout.elements::LinkElement/get http://ns.adobe.com/textLayout/inter
I have a set of tests that want to be run across the cross-product of two data sets.I have successfully got all the positive tests running using Theory, but the negative tests are reporting a failure without explaining the failure. I suspect that the problem is that the Theory package doesn't play well with the "expects" metadata parameter.This is what I'm doing (with the variable names and data replaced by nonsensitive ones). The actual theory involves two data types, but when this problem showed up I duplicated it with just the strings. Of these three theory tests, the first two succeed but the third fails with a backtrace and no failure description: // The space of operation types across which the Theory test will run. [DataPoints] [ArrayElementType("String")] public static var mAllPatterns:Ar
I want to get the formatting applied on the selected line or words in a paragraph display under TextFlow controller. I am able to read the textline from a selected paragraph as I am using TextFlowLine class to read the textline. This feature is only rendering me the plain text of the selected line instead of applied formatting on it. Find below the reference code:var textFlowLine:TextFlowLine;var startTextFlowLineIndex:int = objArr[0].txtFlow.flowComposer.findLineIndexAtPosition(begin);textFlowLine = objArr[0].txtFlow.flowComposer.getLineAt(startTextFlowLineIndex);// Read & Get plain texttext=textFlowLine.getTextLine().textBlock.content.text.substring((begin-textFlowLine.paragraph.getAbsoluteStart()),(end-textFlowLine.paragraph.getAbsoluteStart()));Is anyone has any idea? How can I achieve the same?
See Alan's blog post: http://blogs.adobe.com/tlf/2010/07/tlf-now-on-sourceforge.html
HiI am adding image in my text flow using following:<TextFlow columnCount="inherit" columnGap="inherit" columnWidth="inherit" fontFamily="Arial" lineBreak="inherit" paddingBottom="inherit" paddingLeft="inherit" paddingRight="inherit" paddingTop="inherit" verticalAlign="inherit" whiteSpaceCollapse="preserve" xmlns="http://ns.adobe.com/textLayout/2008"><p><span color="0x0" fontSize="14"></span><img color="0x0" fontFamily="Arial" fontSize="12" height="23" width="23" source="http://192.168.17.94/Flex/DragAndDrop/bin-debug/smiley/s2.png" float="none"/><span></span><span></span></p></TextFlow>Now the issue is that the same image is appear on some machines and not on some machines. Even the machines in which the image appear for one time, some time missing the same image and do not display.I am unable to find out the exact reason behind the issue.Any Help.
Hi,Can someone point me in the direction of some documenation containing the complete list of tags and attributes supported in TLF markup?Thanks.
Hi,I have ran into a problem where I have to deal with rotated text frames.I was using block progression as "tb" for the text in it and thought that it should work but than had to change the text to rl for some reason.Now when I change the textdecoration of the selected text from this rl block progression one I get a underline over the text instead of below it.I also tested the same in the adobes online text editor http://labs.adobe.com/technologies/textlayout/demos/but got the same errorneous result.please help me get the text with correct underline.Thanks Ashar
hi all,i have tried to use textLayout as an RSL, and i get an exception saying that 'TextContainerManager' class is missing.has someone has encountered this problem ?i use the swc/swf/swz taken from the latest published flex 4.1(4.1.0.16076).it seems that the textLayout swc/swf/swz are not updated in the sdk,although the source of the textLayout project does contain the class 'TextContainerManager'.thanks in advance.
How to iterate through arraycollection in flex
I've been trying to hack my way into TFL since I need some elements with special functionality. The two elements I would like to create are:1.- A special button (NOTE: Not a flex button but a DisplayObject) that I can add with customized parameters into the textflow.2.- A special kind of link that has an icon in the end (Like the external links of wikipedia).I've been playing with 2 approaches but I have been facing this problems with both, I hope someone how knows the inner workings of TFL will be able to help me.My first approach is to extend the leaf element in order to create my special elements, I started with a simple circle element, to see what this will mean in terms of things I'll have to program or extend. I used the InlineImageElement as a reference. It wasn't that hard to create a circle element once I solved how the exporter worked... in fact once I created the right importers and exporter functions and added them to the TextLayoutImporter I was able even to copy/paste my
I know several languages have katas (typically in screencast form)available where a developer talks aloud while they share what they're thinking as they develop a modest project in the language. Is the anything like that available like that for flexunit? I get all the mechanics but don't appreciate how to start a project with concepts like 'now I'm thinking I'll need a class that does such and such so I first write a simple assertion then develop a class to pass the test. Then I realize it also has to account for x so I write another test or would it be in the same test or is it better to have separate suites for the varoius parts of the project.' I hope that makes sense. Something more mentoring than how to write a simple assertion about adding two numbers. Thanks
Hi, im using illustrator cs3 in a PC. I got a weird problem saving my artwork with a white text over a colored background. when i export it or open it in PS or drag the whole thing to photoshop the white text disapper, but when i change the color to black the text appear when saved. I dont know if this is a bug in my software. Black text is perfect but its more readabale in white, the problem is it disappers when save, Pls help.
So, in Flash Builder, my app compiles fine.But when I try to build it on my production server from the command line, it fails while compiling the fonts:/home/me/MyFlexProject/SomeModule/src/Fonts.as(29): Error: exception during transcoding: Font for alias 'HelveticaRounded LT Std Blk' with plain weight and style was not found at: file:/home/me/MyFlexProject/SomeModule/src/assets/fonts/HelveticaRoundedLTStd-Black.otf [Embed(source='/assets/fonts/HelveticaRoundedLTStd-Black.otf',fontName='HelveticaRounded LT Std Blk',mimeType='application/x-font',embedAsCFF='false')]I have tried using a different font manager, via "-managers=flash.fonts.AFEFontManage", but this did not change anything. What could be the cause of this?
Hi,First here is my application structure where TextFlow Layout object is added.Main -> ApplicationCanvas -> CanvasCanvas -> CanvasauthorArea -> CanvasHBox -> HBoxcontainer -> CanvasCanvas -> CanvastabNav -> TabNavigatorauthor -> CanvasModule -> Module (This is a SWF file that loads via interface IModuleInfo load method. This is not optimised for Main appl
Hi,I am using the following code to export html from my editable textFlow: public function getXmlFromFlow(flow:TextFlow, title:String):XML{ var temp:XML = XML(TextConverter.export(flow, TextConverter.TEXT_FIELD_HTML_FORMAT, ConversionType.STRING_TYPE).toString()); var holder:XML = new XML("<" + title + " />"); for each(var p:XML in temp..BODY.P){ holder.appendChild(p); } &nb
When running my parametrized tests with 4.1 beta 2 I am getting the following error:TypeError: Error #1009: Cannot access a property or method of a null object reference. at org.flexunit.runner.manipulation::OrderArgumentPlusInheritanceSorter/getInheritedOrder()It looks like what happens is Klass.getMethod() is being called using the parameterized test name with the data appended ( ex: 'testName ("param")' )Seems like a simple fix could be made in OrderArgumentPlusInheritanceSorter.returnOnlyName() to chop off the paramater as well.Regards,Brian
I'm using Adobe Flex 3 and want to use RTL Languange for my project ,found that only sdk's 3.2 above will support RTL ,And I download 3.2 , 3.5 , .4.1 sdksand download sample from http://www.adobe.com/devnet/flex/articles/text_layout_framework_print.htmlI got this errorSeverity and Description Path Resource Location Creation Time Id1046: Type was not found or was not a compile-time constant: ImportExportConfiguration. example_text_layout_famework Unknown 1280367276563 757891046: Type was not found or was not a compile-time constant: ImportExportConfiguration. example_text_layout_famework Unknown 1280367276565 757901046: Type was not found or was not a compile-time constant: ImportExportConfiguration. &nb
Hi All,My question is more about the Text Engine.I am writing a TextField class, which can have only one line of text and its width has a maximum value. If the the width of the textline is higher than the width of the textfield, then the textline has to be resized. I want to keep the best quality of the letters.There are two ways of resizing a textline:1. resizing the sprite where the textLine is staying like container.width or resizing the textline.width2. decrease the fontSize and regenerate the textLine.I am looking for the best quality. Which one should I have to follow? Decreasing the fontSize or changing the width?I also noticed, that the fontSize is a Number value and I can decrease that like by using fontSize -= 0.25.I think the second option is better. Any suggestions?Thanks!
I'm unclear reading the documentation if there is a difference between Adobe's official Flex SDK, and the open source version?Can I distribute the open source SWF compiler with my application?I have a flash application that users can change the fonts being displayed, if they supply the fonts in a compiled SWF. I found I can let the user select a font from their computer system, and using the mxmlc command I can easily generate a SWF with the font, which can be loaded by my application so the font will be part of the run time application when played on systems without that font already in the System fonts.I was wondering if I could distribute the open source SDK so that I could compile these font SWFs for the user so they would not have to get involved in complicated Flash development. The audience is non Flash audience.I tried using SWFMill but the fonts don't seem to work as they do with the mxmlc compile.Thank you,Scott Kerr
For some reason or another I can't seem to get the cursor to blink... the setup is as followsInside of a class I create a selectionmanager, and an editmanager on instantaition of the class. I build the text flow, and then assign the interaction manager of the textflow to be the editmanager. I then start coloring portions of the document with the editmanagers settextformat, once coloring is complete i set the interaction manager back to the pre constructed selectionmanager. Under this scenario the cursor never blinks whenever i click into the document. I get no blinking love even after setting the selection formats via:var objSelectionFormat:SelectionFormat = new SelectionFormat(0xFFFFFF, 1, BlendMode.DIFFERENCE, 0xFFFFFF, 1, BlendMode.DIFFERENCE, 300); _objSelectionManager.focusedSelectionFormat = objSelectionFormat; _objSelectionManager.unfocusedSelectionFormat = objSelectionFormat;any ideas?
Hi,I am having a problem with my Lazy Loaded Module not receiving the first Parsley message which has been queued and redispatched when a module is loaded lazily using LazyModuleLoadPolicyTag.The problem manifests itself like this,Shell application has a parsley context with following objects:<module:ModuleMessageInterceptor type="{ DisplayInModuleMsg } "/><module:ParsleyModuleDescriptor objectId="moduleA" url="com/hsbc/test/module/TestModule.swf" domain="{ ClassInfo.currentDomain }" /><module:LazyModuleLoadPolicyTag objectId="lazyLoadPolicy" type="{ DisplayInModuleMsg }" />Shell has ModuleViewLoader such as<module:ModuleViewLoader loadPolicy="{lazyLoadPolicy}" moduleId="{ moduleId }" moduleM
For a while I've been wanting to be able to load an RSL from a Module. The reason for this is that some modules require some RSL but that RSL is not needed in the MainApp.I've googled alot on this subject and can't find any information that will show that this is possible, but now reading up on the enhancements of the Hero Sdk (http://opensource.adobe.com/wiki/display/flexsdk/RSL+Enhancements) it seems to be possible.To be specific here is a quote from the info3. Going into Flex 4 we only expected sub-applications and modules to re-use the RSLs loaded by the main application. But now we see modules that are being used to load custom RSLs. Expecting the main application to load all of the RSLs won't work anymore. We are also seeing cases where modules want to be independent of the application and load all the RSLs it needs without regard for which RSLs the application is loading. Today this can result in multiple loads of the same RS
Can I run flexunit on library projects ?
Hello all,I am working with tlf for my CMS and have easily implemented hyperinking with applyLink, however when I highlight the link again, how do I get the url that the selected text is linked to?Also, if I have several editable textFlows on the stage, how can I maintain the highlighting? When I click from the textflow to the edit controls my highlighting disapears. But when I set the textflows hightlighting to show always, if I click from editable text to editable text, I get multiple highlighted pieces of text. This is confusing obviously.Thanks for any input,Jason
Remix with Firefly Community Gallery
Thousands of free creations to fall in love with and remix in Firefly.
すでにアカウントをお持ちですか?ログイン
アカウントをお持ちではありませんか? アカウントを作成
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.