Go Back   CodingForums.com > :: Client side development > Flash & ActionScript > Adobe Flex

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 07-21-2008, 11:32 AM   PM User | #1
nikos101
Senior Coder

 
nikos101's Avatar
 
Join Date: Dec 2006
Location: London
Posts: 1,004
Thanks: 58
Thanked 10 Times in 10 Posts
nikos101 is an unknown quantity at this point
Question Image to float inside a Flex text area

As far as I am aware, it is not possible to get an image to float inside a Flex textArea by applying css to htmlText code.

What do you think?
__________________

nikos101 is offline   Reply With Quote
Old 07-28-2008, 07:14 PM   PM User | #2
Ricky158
Regular Coder

 
Join Date: Aug 2002
Location: New York
Posts: 152
Thanks: 12
Thanked 0 Times in 0 Posts
Ricky158 is an unknown quantity at this point
Quote:
Originally Posted by nikos101 View Post
As far as I am aware, it is not possible to get an image to float inside a Flex textArea by applying css to htmlText code.

What do you think?
"Float" inside? Just overlay the image by using the Image component and place it over the TextArea component. If it needs to be placed a bit more dynamically, use the Constraints to bind it to the sides of the container.
__________________
Ricky158 is offline   Reply With Quote
Old 07-28-2008, 08:03 PM   PM User | #3
nikos101
Senior Coder

 
nikos101's Avatar
 
Join Date: Dec 2006
Location: London
Posts: 1,004
Thanks: 58
Thanked 10 Times in 10 Posts
nikos101 is an unknown quantity at this point
Yes but the image must interact with the text
__________________

nikos101 is offline   Reply With Quote
Old 07-28-2008, 08:37 PM   PM User | #4
Ricky158
Regular Coder

 
Join Date: Aug 2002
Location: New York
Posts: 152
Thanks: 12
Thanked 0 Times in 0 Posts
Ricky158 is an unknown quantity at this point
Quote:
Originally Posted by nikos101 View Post
Yes but the image must interact with the text
In what way? It's easier to receive help if you fully describe the context of your situation.
__________________
Ricky158 is offline   Reply With Quote
Old 07-29-2008, 08:36 AM   PM User | #5
nikos101
Senior Coder

 
nikos101's Avatar
 
Join Date: Dec 2006
Location: London
Posts: 1,004
Thanks: 58
Thanked 10 Times in 10 Posts
nikos101 is an unknown quantity at this point
it must displace text next to it in the textarea. Like how it works in html and css
__________________

nikos101 is offline   Reply With Quote
Old 07-29-2008, 02:37 PM   PM User | #6
Ricky158
Regular Coder

 
Join Date: Aug 2002
Location: New York
Posts: 152
Thanks: 12
Thanked 0 Times in 0 Posts
Ricky158 is an unknown quantity at this point
http://livedocs.adobe.com/flex/201/h...10.html#437591

You can use htmlText's <img> tag, which will displace the text around it.
__________________
Ricky158 is offline   Reply With Quote
Old 07-29-2008, 03:02 PM   PM User | #7
nikos101
Senior Coder

 
nikos101's Avatar
 
Join Date: Dec 2006
Location: London
Posts: 1,004
Thanks: 58
Thanked 10 Times in 10 Posts
nikos101 is an unknown quantity at this point
Yes I know but I want to apply style to the img to float it as in the OP
__________________

nikos101 is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 05:26 AM.


Advertisement
Log in to turn off these ads.