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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 19, 20262026-05-19T16:59:21+00:00 2026-05-19T16:59:21+00:00

HI, I am getting an issue, that might be simple to solve it, but

  • 0

HI,
I am getting an issue, that might be simple to solve it, but I`m stuck in it, so….

here is my code:

<mx:SWFLoader source="@Embed('assets/games/memory.swf')" includeIn="memory" trustContent="true"/>

I am loading a swf file, which I did, but the think is, in this swf file I am doing URL request to get an image file, when I open the swf it works fine, but when I loaded using the code above, I`m getting a error:

Error #2044: Unhandled IOErrorEvent:. text=Error #2035: URL Not Found.

everything loads fine, just the image which I am getting externally it`s not loading!

Someone know how to solve that?

thanks!

EDIT:

if I run as debug mode, I got this message in console:

[SWF] Machine.swf/[[DYNAMIC]]/1 - 277,632 bytes after decompression
SharedObjectExample() loaded
SharedObject loaded...

loaded value: undefined

EDIT2:
Interesting think, I got working using a BulkLoader, and the interesting think is, when I use the BulkLoader and running in debug mode, I got:

[SWF] assets/games/memory.swf - 277,632 bytes after decompression
SharedObjectExample() loaded
SharedObject loaded...

loaded value: undefined

It might be PATH issue, the question is:
When I load using SWFLoader, does it load in a different context path?

  • 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-19T16:59:22+00:00Added an answer on May 19, 2026 at 4:59 pm

    I found out the solution, the trick is, if I load the swf files as ‘Embed’ all the relative path(inside the swf) will be my main app(mais swf), so I was getting this trace:

    [SWF] Machine.swf/[[DYNAMIC]]/1 - 277,632 bytes after decompression
    

    If I want to use realtive paths inside my ‘child’ swf, I cannot load as ‘Embed’!

    so, to solve that I just change my code to:

    <mx:SWFLoader id="loader" source="assets/games/memory.swf" includeIn="memory"/>
    

    EDIT:

    I posted a thread in my blog explain it as well: http://arthurnn.com/blog/2011/02/03/trick-using-swfloader-to-load-a-swf-file/

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

Sidebar

Related Questions

I'm having an issue getting some code to work. Is there a way to
This might be a super simple bug, but my eyes are practically bleeding from
PHP Uploading issue Getting Error 0 but move_uploaded_file() is returning false. When I print
I'm getting a weird threading issue inside a SharePoint workflow that I'd like to
I'm getting a Variable TMP_1 might not have been initialized error. Here's the snippet:
I'm having a WinForms performance issue that might be related to the fact that
Here is my failing code. I'm stil getting familiar with syntax so I'm guessing
Might not be a JSF issue but JSF experts would know this possibly more
Due to weird domain/subdomain cookie issues that I'm getting, I'd like to know how
I'm getting an issue with the F# powerpack quotation evaluation. open Microsoft.FSharp.Linq.QuotationEvaluation let print

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.