『アドビコミュニティフォーラム』に質問/トピックを投稿する方法
Questions
新着順
HiIm trying to open a menu at the current position of the cursor.i can get the cursor position in characters, but i need the (x,y) coordinates for the blinking cursor.(the (x,y) coordinates of the character before the cursor would be fine too)Anyone knows how to get it?Thanks for help
Hi hope someone can help. I've been trying to run the full text editor example posted in this forum. problem is It seems to use the newer Text Layout SDK rather than the one that bundles with flex 4. Specifically some of the constants are different. Is it possible to replace the flex 4 sdk with the newer one? I tried downloading from the open source svn repository but I can't easily get that code to work as it seems to have compiler stuff added to the code that will only allow it to be compiled with ant but doesn't seem to work in flex builder .Any help appreciated.Thanks
Hi I was wondering if anybody has any links to resources about extending the TextLayout Components?Specifically I have a need to add new flow elements to the the text flow. I need to add new HTML elements not included in the current spefication or at the very least extend text flow to ignore instances of these elements in XML I convert via the text converter. At the moment the following fragment of XML would break the XML to TextFlow conversion<XML ><blockquote><p><span>HELLO WORLD</span></p></blockquote></XML> simply because of the block quote.Basically I want a simple HTML editorbut I would settle for an editor that I can pass in elements that do not break the tet flow. I have a copy of the open source Text layout framework for reference and I am competant enough to extend classes etc.All help greatly appreciated
im getting the text from an external XML file:<page> <name><![CDATA[ <h1>2. The female sex hormones</h1>]]></name> <subName><![CDATA[ <h2>2.1 Estrogens</h2>]]></subName> <thumb>images/MOD1/Mod 1-Tab. 2.1-SMALL.png</thumb> <imgBIG>images/MOD1/Mod 1-Tab. 2.1.png</imgBIG> <image></image> <detailsURL>http://www.prescript.co.uk </detailsURL> <description></description> &nbs
Hello,I'm experiencing a problem with images that I'm a little baffled about.My image tag is listed as below and comes below text in other plain paragraph tags.<p><img id="p_image" height="411 width=312 source={src} styleName="image"/></p>The image is not appearing. If I decrease the height to 50 it appears (obviously skewed though) and is positioned below the text.If I increase the height to 300 it appears but now the top of the image is further below the text.If I set the height to 411 it doesn't appear I assume because the combination of the image height as well as the increased space between the top of the image and the preceding paragraph puts it off the page.Why does the space below the paragraph increase as the image height increases?Images attached.Any help is appreciated.Thanks, peter
Hello. We are using Vellum: 591 (736856)A strange thing happens, when one tries to paste text into a TextFlow. It seems to enter the Text with the standard-text format, not with the current format of the text in selection.Example: This is inserted Text in a headlineWe tried to change the behaviour by altering a selectionChangeListenerevent.selectionState.pointFormat = selectedElementRange.characterFormat;Applying upon inserted text the format, which is the format at insertion point would be the expected behaviour (works like this in Office, DTP Programs, but curiously not in this editor).Could you give me a hint of how to do it?Thanks in advance,Jo Klappenbach
I am working on a modular application using a bunch of styles. I recently found that loading styles in the main application with isolate-styles set to true, would break the styleChain for the modules.The workaround was to initiate an instance of StyleManager in the module, but that has now resulted in ActiveWindowManager not being registered with the system manager for the module, and as a result, PopupManager explodes on line 358:var awm:IActiveWindowManager = IActiveWindowManager(smp.getImplementation("mx.managers::IActiveWindowManager"));if (window is IFocusManagerContainer){if (IFocusManagerContainer(window).focusManager){awm.addFocusManager(IFocusManagerContainer(window));}because awm is null at this stage.Does anyone have an idea for how to get this working? It seems the isolate-styles implementation is causing a world of pain in sdk 13099Any takers?
Hi, i have made a swf which can read text from external xml and create dynamic TLF on stage. This swf works fine as stand-alone or if loaded within another main swf. However, when more than one swf with TLF content is loaded, then i get this error:TypeError: Error #1034: Type Coercion failed: cannot convert flashx.textLayout.container::DisplayObjectContainerController@eaabc69 to flashx.textLayout.container.IInternalContainerController. at Vector$object/http://adobe.com/AS3/2006/builtin::push() at flashx.textLayout.compose::StandardFlowComposer/addController() at com.tis::TextImage/parseConfig() at flash.events::EventDispatcher/dispatchEventFunction() at flash.events::EventDispatcher/dispatchEvent() at com.tis::ResourceObject/completeHandler() at MethodInfo-22() at flash.events::EventDispatcher/dispatchEventFunction() at flash.
The following external include in the TFL open source framework has a non OSS license since it is included in the project which has an umbrella license? http://opensource.adobe.com/svn/opensource/flex/sdk/trunk/frameworks/projects/textLayout/src/flashx/textLayout/formats/TextLayoutFormatInc.asIs this file still covered under the MPL 1.1 license or am I missing something?In addition, why is that file declared as an external include? Is there a way I could compile this with a build system or should I copy the contents into the file ContainerController which includes it?Thanks.
Revision: 13865Revision: 13865Author: gauravj@adobe.comDate: 2010-01-28 14:56:27 -0800 (Thu, 28 Jan 2010)Log Message:***********Expand Flash Player.zip instead of Flash Player Debugger.zipQE notes: None.Doc notes: NoneReviewed By:Tests run:Is noteworthy for integration: NoModified Paths:************** flex/sdk/trunk/build.xml
I needed to have this, but couldn't find anything that allowed me to do it quickly. I'm not using Maven.After scouring the web for a general solution for PMD I came across an xslt file, which I modified to better represent FlexPMD (there are subtle differences). Ignore the fact that I'm executing the command-line jar from this build script. All that matters is that the pmd.xml file get generated. <target name="analyzeCode"> <exec executable="java"> <arg line="-Xmx256m" /> <arg line="-jar /dev/tools/flexpmd/flex-pmd-command-line-1.0.Rc4.jar" /> <arg line="-s src/" /> <arg line="-o reports/pmd/" /> </exec> <xslt in="reports/pmd/pmd.xml" style="/dev/tools/flexpmd/flex-pmd-report.xslt" out="reports/pmd/pmd.html" /> </target>This is just an example. Obvio
Hi,Is there anyway to workout what device fonts are available that can render arabic text? I was hoping there would be something like similar to when you specify a font family list and default to _sans but I can't find anything? Does anybody have any solution or alternative method to solve this?Cheers
What's the current status on supporting the table tag in TLF?Is anyone working on this feature? (Or should I start?)Is it planned for any upcoming release?If I had a $1000 to throw at it would it help?And how about the ul and li tags?Thanks for your time.
I have a test case where I've got a theory with some data points, but the thing I need to test is a component.When I change [Theory] to [Theory(async)] and add an asyncHandler in the method, I get an error stating:"Cannot add asynchronous functionality to methods defined by Test,Before or After that are not marked async"I guess async theories are not possible currently? Are there some simple changes I can make to some source to get this working quickly?
Is there a place for sharing new custom rules?
Revision: 13789Revision: 13789Author: aharui@adobe.comDate: 2010-01-26 14:09:32 -0800 (Tue, 26 Jan 2010)Log Message:***********Disable the code that disables IME on the mac.QE Notes: noneDoc Notes: noneBugs: SDK-25158Reviewer: CarolTests run: Checkintests, CycloneIs noteworthy for integration: NoTicket Links:*********** http://bugs.adobe.com/jira/browse/SDK-25158Modified Paths:************** flex/sdk/branches/4.0.0/frameworks/projects/framework/src/mx/managers/FocusManager.as
I'm developing an APP that leverages TLF both on the web as well as an AIR app.What happens is this: text links (ie: spun directly with a 'p' element) will open theirintended URL in the browser, but in the AIR app, nothing happens.I haven't come across a documented work-around so am hoping someone here canprovide some insight into the matter.thanks much.
Hello, and thank you for taking the time to read my inquiry.My goal is to display a text flow and highlight certain text spans programmatically without enabling mouse-based selection.My original solution was to use a trivial subclass of the SelectionManager for my text flow's interaction manager, overriding the mouseUpHandler and mouseDownHandler functions to prevent the default behavior by calling event.preventDefault() and event.stopImmediatePropagation(), but this was unsuccessful. The events passed to these handlers were not cancelable.A secondary approach was to not use an interaction manager at all and instead change the background color for each target span element and then update the display with textFlow.flowComposer.updateAllControllers(), but this was far too computationally intensive. Since the application will be changing the highlighted selection several times per second, a full refresh is untenably slow.Is there some better way for me to continue to use the S
Hi,I am creating a portal application which loads applications in their own application domain different from the main app. Basically what I am trying to do is the following:-Portal -- Main ApplicationDomain - SubApp1 - new AppDomain - SubApp2 - same AppDomain as SubApp1SubApp1 and SubApp2 could then call each other's properties and change their values.I tried the following:var loaderContext:LoaderContext = new LoaderContext();loaderContext.securityDomain = SecurityDomain.currentDomain;loaderContext.applicationDomain =new ApplicationDomain();//new app domain//--SubApp1swfLoader1SubApp1 =new SWFLoader();swfLoader1SubApp1.loaderContext =loaderContext;panel1.addChild(swfLoader1SubApp1);//--SubApp2swfLoader2SubApp2 =new SWFLoader();swfLoader2SubApp2 .loaderContext = swfLoader1SubApp1.loaderContext;panel2.addChild(swfLoader2SubApp2);When I try to change values in each other's values, only SubApp1 one can change the value of the property on SubApp2. SubApp
the page at:http://opensource.adobe.com/wiki/display/flexpmd/FlexCPDhas an error in the pathelementit has<pathelement location="${flexpmd.libs}/as3-parser-api${flexpmd.version}.jar" />it should be (adding a dash):<pathelement location="${flexpmd.libs}/as3-parser-api-${flexpmd.version}.jar" />
Revision: 13729Revision: 13729Author: gauravj@adobe.comDate: 2010-01-22 17:23:33 -0800 (Fri, 22 Jan 2010)Log Message:***********Updating the EULA files in the SDK zip. QE notes: None.Doc notes: None.Bugs: SDK-24585Reviewed By:Tests run: Is noteworthy for integration: NoTicket Links:*********** http://bugs.adobe.com/jira/browse/SDK-24585Modified Paths:************** flex/sdk/branches/4.0.0/build.xml flex/sdk/branches/4.0.0/collateral/en_US/license-adobesdk.htmAdded Paths:*********** flex/sdk/branches/4.0.0/collateral/fr_FR/license-adobesdk-fr.htmRemoved Paths:************* flex/sdk/branches/4.0.0/collateral/fr_FR/Adobe_Flex_Software_Development_Kit-fr_FR-20090807_1505.doc flex/sdk/branches/4.0.0/collateral/fr_FR/license_Adobe_Flex_Software_Development_Kit-fr_FR-20090807_1505.html
I would like to be able to build Request objects that are coupled with a parameter. This parameter would then be provided to the constructor of the test class or as a parameter to the test method.<br/> Please correct me if I'm missing an alternate solution, but it looks to me that I'll need to extend FlexUnit in order to accomplish this. I am willing to do this work and try to contribute it back to the project. Before I start running amok in the code, has there been any discussion of adding a feature like this before? Is there an ideal implementation method I should use in order to make sure it can be contributed back?<br/> Thanks!Brian Thomas
Revision: 13717Revision: 13717Author: gauravj@adobe.comDate: 2010-01-22 09:44:20 -0800 (Fri, 22 Jan 2010)Log Message:***********SDK 4 BOM Cleanup: SDK contains extra bundles folders for automation projects.Cleaned up the build.xml files. I did not delete the bundles folder from svn but instead I excluded them from the packaged zip file. QE notes: None.Doc notes: None.Bugs: SDK-25207Reviewed By:Tests run: Is noteworthy for integration: NoTicket Links:*********** http://bugs.adobe.com/jira/browse/SDK-25207Modified Paths:************** flex/sdk/branches/4.0.0/build.xml flex/sdk/branches/4.0.0/frameworks/projects/automation_air/build.xml flex/sdk/branches/4.0.0/frameworks/projects/automation_dmv/build.xml flex/sdk/branches/4.0.0/frameworks/projects/automation_flashflexkit/build.xml flex/sdk/branches/4.0.0/frameworks/projects/automation_spark/build.xml
Hello,is there any way of setting the local timezone of my Flex application to UTC?I am aware of all the UTC related functions in the Date class, so that's not what I am interested in.Cheers!Tom
Revision: 13708Revision: 13708Author: gauravj@adobe.comDate: 2010-01-21 21:16:04 -0800 (Thu, 21 Jan 2010)Log Message:***********Fixes the some SDK BOM clean up tasksQE notes: None.Doc notes: NoneBugs: SDK-25178, SDK-25197, SDK-25198, SDK-25199Reviewed By: will be JimTests run: Is noteworthy for integration: NoTicket Links:*********** http://bugs.adobe.com/jira/browse/SDK-25178 http://bugs.adobe.com/jira/browse/SDK-25197 http://bugs.adobe.com/jira/browse/SDK-25198 http://bugs.adobe.com/jira/browse/SDK-25199Modified Paths:************** flex/sdk/branches/4.0.0/build.xml
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.