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 905855
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T16:17:26+00:00 2026-05-15T16:17:26+00:00

I´m having troubble positioning an externally loaded swf. It simply does not respond to

  • 0

I´m having troubble positioning an externally loaded swf. It simply does not respond to any settings of its x and y values.

The swf I´m loading is a pure as3 project created in FlashDevelop where the main class extends sprite. I´ve even tried modifying the x and y values afterwards using MonsterDebugger but with no luck.

The swf is loaded into a container on the right side of the stage but always end up at the top left corner. The loading is straight forward:

public var targetContainer:Sprite;
public function load(path:string):void {

    loader = new Loader();
    loader.contentLoaderInfo.addEventListener(Event.COMPLETE, successHandler);

    var movie:MovieClip = new MovieClip();
    movie.addChild(loader);
    targetContainer.addChild(movie);

    loader.load(new UrlRequest(pathToSwf));
}
private function successHandler(e:Event):void {    
    //this does nothing for the one file, but affect any other swf i load
    e.target.content.x = 300;
}

I don´t have this problem for other swf-files so I´m guessing it has to do with some code issue in my specific as3 project, I just can´t figure out what???

Thankful for any and every suggestion!

  • 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-15T16:17:27+00:00Added an answer on May 15, 2026 at 4:17 pm

    Once again I had the same problem… conflicting packages and class names… it´d be a great thing If one were warned by such things, but from now on I´ll have long and unrecognizable names that really do tell who they are 😉

    Strange thing though that it got the entire loaded swf to, firstly, sit in the top left corner, and , secondly, that it was not possible to change the position even via MonsterDebugger “in game”…

    Newb, it´s really in the air!

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

Sidebar

Related Questions

I am using a jqgrid but am having trouble positioning to a specific page.
I'm having some trouble with the positioning in an android listview, the next activity
Having trouble understanding. With the following css : .bloc .field:nth-last-child(2){ ...some values... } and
I'm having trouble positioning the layout elements. The AutoComplete in my TableLayout and the
Having trouble rewriting the name of a flash file: /flash/shell.1257347618.swf (the numbers are a
Having trouble getting my POST arrays to show all checkbox values from my form.
I am having trouble positioning a (div) element at the top right of a
I'm having trouble properly positioning some divs within a larger div and having them
having trouble deciding whether or not it makes sense to put paging information about
I'm trying to understand CSS positioning and I'm having trouble figuring out why a

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.