Skip to main content
Participant
April 28, 2011
Question

InlineGraphicElement problem - Flex SDK 4.5/TLF2.0

  • April 28, 2011
  • 1 reply
  • 714 views

<?xml version="1.0" encoding="utf-8"?>

<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"

   xmlns:s="library://ns.adobe.com/flex/spark"

   xmlns:mx="library://ns.adobe.com/flex/mx" minWidth="955" minHeight="600" >

<s:Scroller width="400" height="400" verticalScrollPolicy="on">

<s:RichEditableText>

<s:textFlow>

<s:TextFlow>

<s:p><s:span>Text</s:span></s:p>

<s:p><s:img width="100" height="100" source="http://www.adobe.com/shockwave/download/images/flashplayer_100x100.jpg" /></s:p>

<s:p><s:span>Text</s:span></s:p>

<s:p><s:img width="100" height="100"  source="http://www.adobe.com/shockwave/download/images/flashplayer_100x100.jpg" /></s:p>

<s:p><s:span>Text</s:span></s:p>

<s:p><s:img width="100" height="100"  source="http://www.adobe.com/shockwave/download/images/flashplayer_100x100.jpg" /></s:p>

<s:p><s:span>Text</s:span></s:p>

<s:p><s:img width="100" height="100"  source="http://www.adobe.com/shockwave/download/images/flashplayer_100x100.jpg" /></s:p>

<s:p><s:span>Text</s:span></s:p>

<s:p><s:img width="100" height="100"  source="http://www.adobe.com/shockwave/download/images/flashplayer_100x100.jpg" /></s:p>

<s:p><s:span>Text</s:span></s:p>

<s:p><s:img width="100" height="100"  source="http://www.adobe.com/shockwave/download/images/flashplayer_100x100.jpg" /></s:p>

</s:TextFlow>

</s:textFlow>

</s:RichEditableText>

</s:Scroller>

</s:Application>

If I play with the scroller after some time images aren't displayed correctly.
If I try to enter texts and add new lines the images position is even worse.
Could someone please help me with this?

This topic has been closed for replies.

1 reply

Adobe Employee
April 28, 2011

I am using FlashBuilder 4.5 premium and its default SDK 4.5.

It's all right on my machine. Can you describe your problem in detail?

Blueice__Author
Participant
April 28, 2011

I have this problem with flex sdk 4.5.0.17689, textLayout 2.0.0.139 and Flash Builder Burrito Preview.

Adobe Employee
April 28, 2011

The TLF in my SDK is 2.0.0.232. I think you'd better get a new SDK. Flex sdk 4.5.0.17689 is just a nightly build.