Go Back   kirupaForum > Flash > Flash IDE

Reply
 
Thread Tools Display Modes
Old 12-22-2009, 05:08 PM   #1
lorne17
Registered User
Pull in absolute path to actionscript

Hello there,

I have a flash file that is pulling in images from a folder and a .txt for text content.

The code for the .txt file:
Code:
descXmlData.load("boxdescriptions.xml");

When I change the "boxdescriptions.xml" to "http://www.website.com/boxdescriptions.xml"

It cannot find it? What am I missing I can't figure out how to get this to work, and I want absolute paths. I'm sure it's really simple, I just can't figure this out.

Thanks,
Lorne
lorne17 is offline   Reply With Quote

Sponsored Links (Guests Only) - Register | Need Help?

Old 12-27-2009, 08:32 PM   #2
Toiletfreak
AS3 coder
 
Toiletfreak's Avatar
Location S.I.S. - Somewhere In Singapore

Posts 134
Hi,

The problem lies with a crossdomain file (Flash security sandbox problem). See http://kb2.adobe.com/cps/142/tn_14213.html for more info

Rgds,
Joel tong

__________________
Visit my Flash Website @ www.joeltong.org
and Flash blog @ www.joeltong.org/blog/


Toiletfreak is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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 -4. The time now is 03:23 AM.

SHARE:

SUPPORTERS:

cdn
content delivery network (cdn)

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd. Copyright 2010 - kirupa.com Copyright 2010 - kirupa.com