• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Reusing external loaded resources

Explorer ,
Feb 17, 2011 Feb 17, 2011

Copy link to clipboard

Copied

I need to load an external resource and be able to reuse it (create new objects based on that resource). I need to create multiple objects using that resource and I don't want to load it again over and over every time I need to use it. My question is:

How can I load a resource (in my case, it's a collada file ".dae") once and be able to reuse it again?

TOPICS
ActionScript

Views

562

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Guru , Feb 17, 2011 Feb 17, 2011

As far as I know a collada file is nothing else than an xml-object.

You could read the contents in a xml- or xml list object, create a class from that and simply with new instantiate it.

Votes

Translate

Translate
Guru ,
Feb 17, 2011 Feb 17, 2011

Copy link to clipboard

Copied

LATEST

As far as I know a collada file is nothing else than an xml-object.

You could read the contents in a xml- or xml list object, create a class from that and simply with new instantiate it.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines