?
Solved

How can i Read/write Arabic in .AS File (ActionScript file)

Posted on 2006-11-02
8
Medium Priority
?
484 Views
Last Modified: 2008-01-09
I want to create the online quiz in Macromedia Flash 8 using Arabic as primary Language. In order to so, i used Actionscript file for getting the questions... I have done this only with English... not for other languages... but now i want Arabic text for this ... LIKE

Example in English
Section 1: Describe the image using the word هذا
Section 2: (Image of someone cooking)
Section 3: Options written in Arabic
1. Zainab is cooking
2. Zainab is washing the clothes
3. Zainab is cleaning the house
i.e. above options would all be written in Arabic

Example in Arabic
Question 1:  طويل
Options:
 قصير
بعيد
قريب
بيت

I have tried this by two ways, one from directly type arabic text and typ UNICODES. In both cases i get ???? marks instead of arabic text... Can anybody help me in this regards. How can i store/get arabic text in external actionscripte file

Regards
Naseer
0
Comment
Question by:hennanra3
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 3
8 Comments
 
LVL 13

Expert Comment

by:FLAASHER
ID: 17864747
open new file on  " NotePad " 
you MUST use note pad not other programs
save the file  and when u saving it chose the unicode option as " UTF-8 "
after doing this write what u want in arabic in the file and test

do this steps by the same order i wrote it

i think this will work

have fun

FLAASHER

0
 

Author Comment

by:hennanra3
ID: 17864765
Thanks for quick response...

Can you tell me how can i get multiple text entries in different textboxes....
Like we have question, optoin1, option2 etc textboxes on stage.... now how can i get the records from one file in all fields.

Regards
Naseer
0
 
LVL 13

Expert Comment

by:FLAASHER
ID: 17864786
send me the files and i will fix it to u


my email in my profile


FLAASHER
0
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 

Author Comment

by:hennanra3
ID: 17865243
Hi Flaasher,

i have mailed you the sample files.... with the subject : Experts-Exchange :: Need Help for Flash Arabic interaction...

Regards
Naseer
0
 
LVL 11

Expert Comment

by:ch2
ID: 17865649
if you create an xml file using iso encoding then those ascii chars would show up.

0
 

Author Comment

by:hennanra3
ID: 17872218
Can you give me some sample, how can i create XML file regarding this....

Regards
Naseer
0
 

Author Comment

by:hennanra3
ID: 17887194
i faced some problems while accessing the arabic text files created in Flash 8 online ...
"THE TEXT NOT JOINED"
this problem occurs I have the system without arabic and when arabic is enabled, text fine.
At home i have installed Arabic as language on my system so the text is fine... i have checked the same file ONLINE on my friend's computer there Arabic is not installed. it show me the single characters not the complete word.
SAMPLE LINK : http://www.purviewsolutions.net/test/TextFile/test.html ...

Can anybody tell me how can i overcome this problem

Regards
Naseer
0
 
LVL 13

Accepted Solution

by:
FLAASHER earned 2000 total points
ID: 17887272
this is the main provblem with arabic text i told u befor ....

sorry ... but no solutions for this problem till now

we hope ADOBE will solve it in the next version of FLASH

FLAASHER
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This is intended to introduce all collision detection principles in flash, their strengths, weaknesses and workarounds. The main method for Collision Detection in flash is using hitTestObject. But unless you'll be pushing rectangular shapes without …
I have found that much of my time doing support ends up being a constant repetition of the same steps to different people.  Early on I stated using web pages with Frequently Asked Questions (FAQs) to alleviate most of the burden.  Sometimes this jus…
The goal of the tutorial is to teach the user how to live broadcast using Flash Media Live Encoder and connecting it to YouTube to broadcast. Log into your Youtube account, choose live stream settings, start live stream from Flash Media Live Enc…
The goal of the tutorial is to teach the user how to select which audio input to use. Once you have an audio input plugged into the laptop or computer, you will go into the audio input settings and choose which audio input you want to use.
Suggested Courses
Course of the Month12 days, 17 hours left to enroll

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question