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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T06:04:52+00:00 2026-05-13T06:04:52+00:00

The Context of the Problem I’m working on a rotator banner in flash. I

  • 0

The Context of the Problem

I’m working on a rotator banner in flash. I use an external xml file to pass the banners info (like info-text, link, image-path, priority, etc). Everything is going well so far. I’m loading the xml something like this:

var bannersXML:XML = new XML();
bannersXML.ignoreWhite = true;
bannersXML.load("myBanners.xml");

The Problem itself

Now I need to construct this xml on-the-fly in php and somehow pass it to my flash object. So instead of read the external file I want my flash script receive an xml parameter it can work with.

Do you know if this can be done?

  • 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-13T06:04:53+00:00Added an answer on May 13, 2026 at 6:04 am

    Echo out the structure of the XML file with appropriate headers and tell Flash to load your PHP file:

    <?
        header("Content-type: text/xml"); 
        $xml_output = "<?xml version=\"1.0\"?>\n"; 
        $xml_output .= "whatever other xml tags"; 
        $xml_output .= "whatever other xml tags"; 
        $xml_output .= "whatever other xml tags"; 
        $xml_output .= "whatever other xml tags"; 
        echo $xml_output;
    ?>
    

    This is a bit simplified, but that’s the idea. Then just call:

    bannersXML.load("myBannersPHPfile.php");
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Problem Context: I am trying to persist a file, uploaded by the user, to
Problem Language: C# 2.0 or later I would like to register context handlers to
Context: I'm working on Project Euler Problem 23 using Matlab in order to practice
Many thanks for reading , Problem context: Use search function of spry in more
I have problem with context menu. I have got: @Override public void onCreateContextMenu(ContextMenu menu,
first i explain the context then the problem. I am using jstree to transform
My question is pretty much summed up in the subject.The context is a problem
My problem is how to switch from context menu to correct activity. I have
For context - read this . Problem: class Program { static void Main() {
I have a problem with a Context menu in JavaFx 2:it never disappers when

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.