It is currently Thu Sep 09, 2010 8:32 am

All times are UTC + 6 hours [ DST ]


Forum rules


Don't submit any kind of erotic pics and links



Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: Programmers solution
PostPosted: Wed Jul 01, 2009 5:07 pm 
Offline

Joined: Wed Jul 01, 2009 4:57 pm
Posts: 4
Hi everyone,

I am a professional Sr. programmer. Any one can ask me any type of web related programming problem. I will try to give you proper solutions :P

Thanks

_________________
Pran Krishna Paul
Sr. Programmer
Light Beam Labs


Top
 Profile  
 
 Post subject: Re: Programmers solution
PostPosted: Wed Jul 15, 2009 7:52 pm 
Offline

Joined: Wed Jul 15, 2009 7:05 pm
Posts: 2
Hi Pran,

I have created a flash application and need to read an xml data from another domain.Now how can I get access to read xml data from another domain with flash as2 or as3 ?

Please help me ...


Regards,
Dheeman


Top
 Profile  
 
 Post subject: Re: Programmers solution
PostPosted: Wed Jul 15, 2009 8:07 pm 
Offline

Joined: Wed Jul 01, 2009 4:57 pm
Posts: 4
Hi Dheeman,

Thanks for your question.

You can run your flash application from any domain even from localhost of your pc. So you need to create/upload another xml file (crossdomain.xml) on your domain root directory or where is your xml file located. On crossdomain.xml paste following codes :

<?xml version="1.0"?>
<!DOCTYPE cross-domain-policy SYSTEM "http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd">
<cross-domain-policy>
<allow-access-from domain="*" secure="true" />
</cross-domain-policy>

Now your flash application will get to xml read access from that domain.

Hope this topic will be helpful ... :D
If any problem don't hesitate to knock me.

Thanks

_________________
Pran Krishna Paul
Sr. Programmer
Light Beam Labs


Top
 Profile  
 
 Post subject: Re: Programmers solution
PostPosted: Thu Jul 16, 2009 12:23 pm 
Offline

Joined: Wed Jul 15, 2009 7:05 pm
Posts: 2
WoW .... Great . it works fine now !

I got now proper solution from you.
Thank you so much .

Regards
Dheeman


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC + 6 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
All rights reserved @ electrosight.com