multiaki
asked on
WYSIWYG editor in flex
I want to create a WYSIWYG editor for flex. I am not sure how to add images so user can move images and see how they look like in editor.
ASKER
I mean moving xy position, resizing. No need for cropping
Is this going to be used to output HTML? How do you want the WYSIWYG to output?
ASKER
My project saves data on mysql server. So the idea is to create a wyswyg editor to edit content and send to mysql database. Then player would parse html data.
I see, so if you want to change the x,y of an image in HTML, you would have to use a CSS property like position: absolute; left: 100px; top: 100px; or something like that. So, basically, you should create the wysiwyg editor here: http://krasimirtsonev.com/blog/article/creating-what-you-see-is-what-you-get-editor-wysiwyg-with-as3-flex-tutorial and then modify it to include images. When a user selects their image, they can enter x and y which would result in the following code:
<img src='my-image.jpg' style="position: absolute; top: 100px; left: 100px;" />
Does that make sense?
<img src='my-image.jpg' style="position: absolute; top: 100px; left: 100px;" />
Does that make sense?
P.S. At my company, we have suspended all Flex development because it can't be used on the iPhone and iPad and various other mobile devices...
ASKER
What about air?
ASKER
what did you move to? jquery?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
You said that you don't use flex anymore. what did you switch to? Flex 4.6 would have phone support i guess. I heard adobe was working on it hard.
As far as I know, iphone and ipad still don't support flash. Anything that you want to do in flex/ flash can be done in php/jquery/mysql, in my opinion. So, we use php/jquery(javascript)/mys ql; Whatever technolgies necessary, really.
ASKER
Ok i figured out how to do. I downloaded fck editor. and then found Iframe application on google docs. I linked mysql database to fck (not finished yet) and get fck page as an iframe.
it look fine. and a lot of functions.
So player would load pages from sql using amfphp.
it is awesome solution in my opinion.
Would do a simple tutorial later.
it look fine. and a lot of functions.
So player would load pages from sql using amfphp.
it is awesome solution in my opinion.
Would do a simple tutorial later.
http://krasimirtsonev.com/blog/article/creating-what-you-see-is-what-you-get-editor-wysiwyg-with-as3-flex-tutorial
For creating the image part, for "moving images and see how they look," I don't know how you mean? Do you mean scaling them and cropping them?