Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6033251
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T05:27:24+00:00 2026-05-23T05:27:24+00:00

Sorry – I know this has been covered before but I can’t get my

  • 0

Sorry – I know this has been covered before but I can’t get my flash file to locate and use my document class. This is my setup (from the root)

I have a /bin folder containing my published swf and html file (/bin/test.swf).

I have a /resources folder containing an XML file which is loaded (/resources/flar/flarConfig.xml).

I have a /src folder containing my fla (/src/test.fla), and a directory called examples containing the .as file I want to use for my document class (/src/examples/FLARManagerTutorial_2D.as). It looks like this:

package examples {

  public class FLARManagerTutorial_2D extends Sprite {

  this.flarManager = new FlarManager("../resources/flar/flarConfig.xml)

In my flash publish settings, the class path is just “.”

In my document class, if I input: FLARManagerTutorial_2D, I get the error:

The name of the package 'examples' does not reflect the location of this file.

What do I need to do to get it to recognize and reference this class correctly and load the XML file? I feel like no matter what combination of paths I try, I get the error – or else flash just adds its own blank document class and nothing happens. Thanks for the help.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T05:27:24+00:00Added an answer on May 23, 2026 at 5:27 am

    Try setting your document class to ‘examples.FLARManagerTutorial_2D’.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Sorry if this has been discussed before, but could nt find a suitable answer
Sorry if this has been addressed. I just can't get it to work. I
Sorry if this has been asked before, but I would like a concise answer
Sorry if this has been asked before. Is it possible to create class in
Sorry if this has been asked before - there's a question with a similar
Sorry if this has already been answered. I looked around but haven't found anything
Sorry if this is a repeat, but I've been looking for an answer to
sorry - I know this is dead easy stuff, but I'm just trying to
Sorry if this doesn't make any sence, but I'm trying my best to understand
Sorry, I can tell I don't entirely know what I'm talking about. For example,

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.