Support

Modules

News

Support Forums
Subject: Using XML file with Flash in DigFlash
Prev Next
You are not authorized to post a reply.

Author Messages
lawblank
Posts:2

02/07/2008 9:02 AM  

I have used digFlash in one of my DNN sites and loaded a gallery swf file that uses an xml document to build the gallery.  I am getting errors with the loading of the xml.

I assume this is either due to scope and where the xml is placed, or there is something with it being loaded with digFlash.

Does digFlash support using external files loading into a swf?  If so, what level or folder should the support files be placed?  Portal Root, Parent Portal Root?  I have placed my xml in every conceivable folder and still no success.

Any help would be greatly appreciated.

Cheers,
~Law Blank

Reference URL: http://www.blankgallery.com/b/vanclank/PhotoGallery/tabid/200/Default.aspx

digmike
Posts:275

02/07/2008 9:24 AM  

Hi Law,

It looks like the gallery module is using the current url to look for the xml file.  Analyzing your site it is looking for the following:

http://www.blankgallery.com/b/vanclank/PhotoGallery/tabid/200/film.xml

 

Most flash modules allow you to pass a variable to specify where your xml file is located.  You might want to look for that and enter it into the digFlash variables.

The only other solution would be to make a directory structure on your site that mimics the url structure, and put your xml file there.

Thanks,
Mike


lawblank
Posts:2

02/07/2008 11:27 AM  

Mike,

Thanks for responding so quickly.  After some trial and error, I got all the paths relative for the gallery and it is working like a champ.

Cheers,

~Law Blank

pfrauholle
Posts:1

02/16/2008 11:29 AM  
Hi Law, I've got a simular problem. Please can you explain me what you did exactly? I assume all the files (swf, xml, folder with images) are in the Portals/0 folder!? In my case, my flash movie comes up, but without loading any images from the xml file. Thanks for any help...

pfrauholle
stanleysct
Posts:1

04/22/2008 10:26 PM  

Could you explain more details as I also facing the same problem.

Thanks

Emit
Posts:15

04/24/2008 9:53 AM  

Hey stanleysct,

Thanks for using digFlash. I am thinking you are having some problems with your pathing. Flash has a set of security rules that determine what can be loaded into your Flash app depending on where your app is running. It is called the Security Sandbox. You can read more about the Flash play 8 sandbox here.

http://www.adobe.com/devnet/flash/articles/fplayer8_security.html

The security applied is based upon what player version you publish for. So player 7 has different security rules than 8, etc.....

So long story short, I would verify where you are trying to load your xml or other external objects from.

Let me know how it goes.

Emit

You are not authorized to post a reply.
Forums > Modules > digFlash > Using XML file with Flash in DigFlash



ActiveForums 3.7
Latest Requests Minimize
Urgent Play in Reverse Order, Sort options, Image Count Thu, 20 Nov 2008 18:12:10 GMT

video contest? Fri, 19 Sep 2008 13:08:55 GMT

user comments Fri, 19 Sep 2008 13:03:43 GMT

Hot or not style voting Thu, 03 Jul 2008 08:59:49 GMT

ability to change sort order on closed contests Fri, 30 May 2008 16:49:56 GMT

Pause on MouseOver Sun, 27 Apr 2008 10:53:00 GMT

add contest status on "open contests" page Wed, 02 Apr 2008 00:28:25 GMT

Contestant voting Wed, 26 Mar 2008 05:56:42 GMT

Previous and next links in the Entry Detail layout Sun, 23 Mar 2008 20:20:13 GMT

Lightbox support Tue, 26 Feb 2008 09:59:26 GMT

 Print