;

PDA

Click to See Complete Forum and Search --> : v7-AS3 XML and navigation security conflict?


mvivit
06-15-2009, 07:18 PM
I've finally had time to work on the dashboard gauges. I'm running into an issue I believe probably has to do with security setting upon .fun export to .swf. I've attached a zip file containing the .fun file and .xml file. (TweenMax libraries are required.)

In a nutshell, the fun file creates five animated "gas gauges" based upon values in the xml file. I also need to be able to link each of these gauges to another file, ultimately also on our network. I'm trying to test the resultant swf and html files located on a local disk using standard web browsers. Here are the results I get from the two different Export Options for local playback security via the Export Settings dialog:

Access network only: no animation, but the link works
Access local files only: animation works, but the link doesn't

The only link right now is the top left gauge.

I'm sure I've missed something very simple. And if you are kind enough to check the AS code, be gentle: I have a bunch of clean up to do, but I'm trying to be verbose right now. Thanks for any and all help!

Mary

blanius
06-15-2009, 09:38 PM
I think that is the way it's supposed to work. If you need to acces local files you might need to wrap it in AIR or make a projector out of it. You might try reading up on security in flash player to see if there is a solution. You could also ask on the AS3 forum.

mvivit
06-16-2009, 12:12 PM
Thanks, Bret. I'm going to have to give it a try from our intranet site. If the problem only occurs when testing on a local drive, it's a null issue. Thanks again for the help!

blanius
06-17-2009, 10:33 PM
Hey, check your email regarding the Koolexchange submission. the gauges look great

mvivit
06-19-2009, 02:54 PM
Thanks, Bret, for the kind words. It was a lot of fun to put together! I made the changes this morning and resubmitted it. I have a rudiments of the version with links, which worked fine once they were on our network (what I figured would happen).

blanius
06-19-2009, 11:01 PM
Approved and available.. Nice!

mvivit
06-22-2009, 03:25 PM
Boo-yah!! Thanks so much, Bret!