Professional Web Applications Themes

XML Issue - Macromedia Flash Data Integration

I recently created a flash animation that calls the dynamic text from a XML file. The movie works when I use flash player, however when it is embeded in a webpage it does not load the XML. Any help would be great. Adrian Salvador Director of Information Technology Firelands Winery, Sandusky Ohio, 44870...

  1. #1

    Default XML Issue

    I recently created a flash animation that calls the dynamic text from a XML
    file. The movie works when I use flash player, however when it is embeded in a
    webpage it does not load the XML. Any help would be great.


    Adrian Salvador
    Director of Information Technology
    Firelands Winery, Sandusky Ohio, 44870

    Firelands_Tech Guest

  2. #2

    Default Re: XML Issue

    You probably don't have the xml file in the right directory. Make sure it's
    not a path problem.


    --
    Nancy Gill
    Adobe Community Expert
    BLOG: [url]http://www.dmxwishes.com/blog.asp[/url]
    Author: Dreamweaver 8 e-book for the DMX Zone
    Co-Author: Dreamweaver MX: Instant Troubleshooter (August, 2003)
    Technical Editor: DMX 2004: The Complete Reference, DMX 2004: A Beginner's
    Guide, Mastering Macromedia Contribute
    Technical Reviewer: Dynamic Dreamweaver MX/DMX: Advanced PHP Web Development


    "Firelands_Tech" <webforumsusermacromedia.com> wrote in message
    news:e5kneq$i7a$1forums.macromedia.com...
    >I recently created a flash animation that calls the dynamic text from a XML
    > file. The movie works when I use flash player, however when it is embeded
    > in a
    > webpage it does not load the XML. Any help would be great.
    >
    >
    > Adrian Salvador
    > Director of Information Technology
    > Firelands Winery, Sandusky Ohio, 44870
    >

    Nancy *Adobe Community Expert* Guest

  3. #3

    Default Re: XML Issue

    If the xml file is in the same folder, you may need to use the full absolute
    path to the file. You can get that with
    urlBase = _url.substr(0,_url.lastIndexOf("/")+1);
    trace (urlBase)

    then

    send_xml.sendAndLoad(urlBase + "theXMLFileName.xml", theResult_xml);

    --
    Lon Hosford
    [url]www.lonhosford.com[/url]
    Flash, Actionscript and Flash Media Server examples:
    [url]http://flashexamples.hosfordusa.com[/url]
    May many happy bits flow your way!
    "Firelands_Tech" <webforumsusermacromedia.com> wrote in message
    news:e5kneq$i7a$1forums.macromedia.com...
    I recently created a flash animation that calls the dynamic text from a XML
    file. The movie works when I use flash player, however when it is embeded
    in a
    webpage it does not load the XML. Any help would be great.


    Adrian Salvador
    Director of Information Technology
    Firelands Winery, Sandusky Ohio, 44870


    Motion Maker Guest

  4. #4

    Default Re: XML Issue

    is there anyway to protect xml file from the user.. i have questions and answer
    in the xml file.. its a flash quiz, once i delivered to the client they can
    open the xml file and see the answer.. i want to do something.. please suggest.

    Flash Dhana Guest

  5. #5

    Default Re: XML Issue

    1. You could place the XML or raw data in the Flash movie or in external
    Flash movies. In the latter case the main Flash movie would then load the
    external Flash movie and use the data. Again only a skilled ambitious person
    would attempt the decompiling and ysis process. If the external movie is
    played they would see nothing since it only has code.

    For desktop Flash implemented application you could deliver new quizzes via
    updated external Flash movies containing the quiz data.


    2. You could use a server side script that gets an XML structure from Flash
    that has a unlock value and then the script returns the XML. If the script
    does not get the correct lock value it returns a blank web page or a web
    page with whatever. You Flash movie XML would then use sendAndLoad to
    connect to the script and other than the send XML value(s) your Actionscript
    would be the same.

    Still a real ambitious person could get the unlock code from decompiling the
    Flash movie with third party tools. If that is an issue, then you could
    request the unlock code in your Flash movie and change it from time to time
    in the server side script.



    --
    Lon Hosford
    [url]www.lonhosford.com[/url]
    Flash, Actionscript and Flash Media Server examples:
    [url]http://flashexamples.hosfordusa.com[/url]
    May many happy bits flow your way!
    "Flash Dhana" <webforumsusermacromedia.com> wrote in message
    news:e689u5$g4v$1forums.macromedia.com...
    is there anyway to protect xml file from the user.. i have questions and
    answer
    in the xml file.. its a flash quiz, once i delivered to the client they can
    open the xml file and see the answer.. i want to do something.. please
    suggest.


    Motion Maker Guest

Similar Threads

  1. CSS Issue
    By rjmbeau in forum Macromedia Exchange Dreamweaver Extensions
    Replies: 1
    Last Post: May 16th, 12:13 AM
  2. Url Issue
    By Yunus Emre ALP÷ZEN [MCAD.NET] in forum ASP.NET Security
    Replies: 0
    Last Post: May 15th, 02:35 PM
  3. FRS issue
    By Monty Slayton in forum Windows Server
    Replies: 0
    Last Post: June 17th, 01:46 PM
  4. non-php issue
    By Wang Feng in forum PHP Development
    Replies: 1
    Last Post: September 22nd, 04:07 AM
  5. 4GL V7.32 issue
    By Malc P in forum Informix
    Replies: 1
    Last Post: August 26th, 09:02 AM

Bookmarks

Posting Permissions

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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139