Jump to content


Load External SWF with external data( xml, .as files)

  • Please log in to reply
1 reply to this topic

#1 boss2000


    Young Padawan

  • Members
  • Pip
  • 1 posts

Posted 09 February 2011 - 03:57 AM

Good Day everyone,
I have a problem of loading external swf files which contain external data such as (xml files, .as - files)

I am understanding that I have to give path to this external resources to my main .fla

So please advice I would be very grateful for this help

#2 McbainGames


    Young Padawan

  • Members
  • Pip
  • 4 posts

Posted 17 September 2011 - 10:53 AM

.as files, it imports all the things in folder "folder2"-

import folder1.folder2.*

if you use class's in your .as file you import like this-

var newclass:YourClassName = new YourClassName();

i dont know xml but im guessing its the same as .as so try it :D

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users