Discover Habbo's history
Treat yourself with a Secret Santa gift.... of a random Wiki page for you to start exploring Habbo's history!
Happy holidays!
Celebrate with us at Habbox on the hotel, on our Forum and right here!
Join Habbox!
One of us! One of us! Click here to see the roles you could take as part of the Habbox community!


Results 1 to 10 of 10
  1. #1
    DarrenToogood Guest

    Default Flash (Coding) Problems

    This thread is on behalf of someone else!

    Hi,

    I have a flash document that needs to dynamically load an XML file. At the moment, it loads it like:

    var myShowXML = new XML();
    myShowXML.ignoreWhite = true;
    myShowXML.load("feed.xml");

    Could anyone please tell me a way to convert that to reading from the HTML (param etc) for the XML feed. The URL of the feed will be input to HTML via PHP, but I just do not know how to get the variable from HTML to flash.

    If someone could post the above actionscript modified for flashvars, and the HTML, that would be great

    Thanks!

  2. #2
    Join Date
    Mar 2008
    Posts
    5,108
    Tokens
    3,780

    Latest Awards:

    Default

    That isn't HTML, it is XML.

    It will be input to HTML via PHP.. what the **** are you talking about?

    You are meaning to say the XML feed is dynamic, and processed by PHP.

  3. #3
    DarrenToogood Guest

    Default

    Reply on behalf of person:

    I am fully aware of what I am talking about, you must have mis-read my post =]

    PHP will not manipulate the XML feed itself. PHP will simply use $_GET[''] to get the number of the XML file.

    For example, the page URL is:

    page.php?x=4

    The XML file would then be 4.xml and the 4.xml would be put into a flashvar within a param tag, and then passed to flash to load that file.

    I am stuck with passing the variable from HTML to flash.

  4. #4
    Join Date
    Mar 2008
    Posts
    5,108
    Tokens
    3,780

    Latest Awards:


  5. #5
    DarrenToogood Guest

    Default

    Reply from person:

    I am fully capable of using google and obviously, I used google before coming here. The HTML bit isn't the problem to be honest, the problem is retrieving that variable inside flash via actionscript.

    I wasn't able to find the actionscript bit on google, just the HTML.

    Even the adobe site is no use: http://kb.adobe.com/selfservice/view...6417&sliceId=2

  6. #6
    Join Date
    Mar 2008
    Posts
    5,108
    Tokens
    3,780

    Latest Awards:

    Default

    Are you ******* stupid? 'The HTML bit isn't the..' the HMTL bit is easy as ****.

    Are you doing bla.swf?param=param or <param></param>


    EDIT:

    http://www.google.com/search?hl=en&c...rs&btnG=Search

    If you are capable of using Google, you would have found it by now.. I have found like 20 articlecs telling how to do it.

  7. #7
    DarrenToogood Guest

    Default

    Reply from person:

    Found out now. It appears the variables are avaliable via level0.

    If I were you, I would sort out your attitude, it won't get you very far in life.


    Matter resolved.

  8. #8
    Join Date
    Mar 2008
    Posts
    5,108
    Tokens
    3,780

    Latest Awards:

    Default

    My attitude is perfect, it is just people like you.

    We don't need the "Reply from person:", we know who the hell you are..

  9. #9
    DarrenToogood Guest

    Default

    Denta, it is not me who wanted to ask this question, I was doing it on behalf of a freind called Matt

    Problem resolved, and the website is near release.

  10. #10
    Join Date
    Mar 2008
    Posts
    5,108
    Tokens
    3,780

    Latest Awards:

    Default

    No one asked about the website near release.. not a single person, no one asked who asked the question.. no one at all.

    We don't care.

Members who have read this thread: 0

There are no members to list at the moment.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •