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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T19:28:29+00:00 2026-05-28T19:28:29+00:00

I know nothing about flash. I only need to change a few variables in

  • 0

I know nothing about flash. I only need to change a few variables in a swf file. the swf file uses ../ for root directory, so, when I play this swf from other places than its designed directory, it will query wrong URL.

I can change to http://domain.com/ but it’s better I can use a proper expression for this. What’s that expression? Thanks!

Edit: the swf are in this directory:

root/domain/content/swf

the swf file has some ../url to query files under the content directory

root/domain/content/stuffs/items/files

If I play the swf in another directory, for example, root/domain/topics/stories/jokes/
then, the swf will query root/domain/topics/stories/jokes/files, this is wrong. So I want to use a fixed expression to replace ../

  • 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-28T19:28:30+00:00Added an answer on May 28, 2026 at 7:28 pm

    I’m not entirely sure what you are asking, but if it is about URL to the root of a web server, you can use / instead of the current ../. So URLs would for example be like “/myproject/myfile.xml”, if myproject is a directory directly under the root of the web server (this goes for URLs in general and is not Flash specific, URLs work the same way in Flash/ActionScript as elsewhere).

    Edit: OK, after reading your edit of the question, I still would recommend using URLs with the full path from the root (getting to the root using an initial /), like /domain/content/ for the content directory, and URLs like /somefile.xml for files directly under the root.

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

Sidebar

Related Questions

Well, I know absolutely nothing about the subject, so I really need help. I
I know almost nothing about actionscript. Is it possible for Flash Lite 3.1 to
I know nothing about PHP, but in my application I need to implement user
i know nothing about medical records but im sure there's great opportunity in it
I know nothing about Xcode, except it's a Developer interface from Apple that actually
I'm a Windows developer... I know nothing about Apple Mac OS X. In Windows
I know almost nothing about linq. I'm doing this: var apps = from app
I know almost nothing about cryptography, but I would like to figure out how
Here is my situation: I know almost nothing about Perl, but it is the
First off, I know next to nothing about language theory, and I barely know

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.