Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsGeneralPHPASPPerlColdFusionFlashHTML, CSS, ScriptsBrowsers

Webmaster Forum / Flash / Data Integration / April 2007



Tip: Looking for answers? Try searching our database.

XML Flash Calendar Problem

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
huiaaron - 24 Apr 2007 04:35 GMT
I have a flash xml calendar.  I am building a website all in Flash, but when I
try to use the loadMovie function to load the calendar's swf file into a movie
clip, the calendar shows up, but it couldn't load the XML data into it, anyone
knows of any solution to that?
MotionMaker - 24 Apr 2007 12:23 GMT
Wow you XML could not be loading for 1/2 dozen to dozen different reasons
everywhere from malformed XML, to capitalization of the XML file name, the file
not in correct folder path and so on.

Based on the one detail that you are using loadMovie perhaps the XML object is
not defined at the time you need it.

Is the XML object in the calendar swf? In the loader swf? Is it dependent on
the calendar swf being loaded first?
huiaaron - 24 Apr 2007 22:20 GMT
if I just run the calendar.swf alone, the XML will load and the calendar works
fine.  But when I try to load the calendar.swf as an external swf file within a
movie clip, e.g. calendar, in the index.swf, it won't work.
MotionMaker - 24 Apr 2007 23:06 GMT
It is probably a folder path problem. The relative path should be to the shell
(loading) swf's HTML document.

A trace statement tracing _url where you are doing the XML load will help
provide the needed info on relative pathing. You may need a temporary TextField
and instead of trace use the temporary dynamic TextField to provide the needed
information.

Another solution is to hard code the exact
http://www.yourdomain.com/pathtoXML.theFile.xml into the swf.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.