Advertisement

09.24.2008 at 07:07PM PDT, ID: 23761107
[x]
Attachment Details
[x]
The Solution Rating System

With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.

  • The Grade of the Solution
  • The Zone Rank of the Expert Providing the Solution
  • The Number of Author and Expert Comments
  • The Number of Experts Contributing
  • The Feedback of the Community

Your Input Matters
Because of the way the system is set up, the most important variable in this equation is you. As a member of Experts Exchange, you are able to cast your vote on the quality of the solutions in regard to how complete, accurate, helpful and easy to understand each solution is. When you provide your feedback, each rating is adjusted accordingly. So, if you see a solution that has a poor rating that you think is a good solution, let us know by rating it. As you do, the rating will be adjusted and will become more accurate for other members of our site.

If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support.

Thank you!

8.6

How do I read a file in Flex

Asked by tomlime in Adobe Flex, PHP and Databases, Microsoft Word

Tags: , ,

I am trying to import a MS Word dot file to my Flex application and replace certain key words with data from the application and then export the new file to the Client's PC.  When I upload the content of the dot file, the string of data is incomplete.  I have tried using PHP's urlencode() to encode the contents of the dot file and then using unescape() in Flex but I always get the truncated string.  

Here is an example of the dot file text:
ÐÏࡱá                >  þÿ                     I          K      þÿÿÿ    H   ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿ .....

But ÐÏࡱá  is the only part that gets pulled into the Flex application.
 
Start Free Trial
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
Flex code: 
 
// Called on upload complete
public function onUploadComplete(event:Event):void {
 _completeService = new HTTPService();
 _completeService.resultFormat = "text";
 _completeService.addEventListener("result", _resultFunction);
 _completeService.url = PATH + "php_MySQL/files/" + event.target.name;
 _completeService.send();
                
}
 
public function testdata(event:ResultEvent):void {
    //var encoded:String = unescape(event.result.toString());
    var data:String = _completeService.lastResult as String;
}
[+][-]09.25.2008 at 11:23PM PDT, ID: 22577013

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]09.26.2008 at 03:23PM PDT, ID: 22584318

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]09.26.2008 at 06:12PM PDT, ID: 22585132

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]09.27.2008 at 08:58AM PDT, ID: 22587573

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]09.28.2008 at 06:36PM PDT, ID: 22593350

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]09.28.2008 at 06:45PM PDT, ID: 22593377

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]09.29.2008 at 10:24AM PDT, ID: 22598513

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]09.30.2008 at 09:22AM PDT, ID: 22606920

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]10.01.2008 at 08:31PM PDT, ID: 22621182

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]10.02.2008 at 04:53AM PDT, ID: 22623200

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: Adobe Flex, PHP and Databases, Microsoft Word
Tags: Flex, PHP, Actionscript, FireFox 3.0, Microsoft Word dot files
Sign Up Now!
Solution Provided By: RQuadling
Participating Experts: 2
Solution Grade: A
 
 
[+][-]10.02.2008 at 04:54AM PDT, ID: 22623208

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
 
Loading Advertisement...
20081112-EE-VQP-42 / EE_QW_2_20070628