PDA

View Full Version : Open External File in Flash Object


FoxLeader
10-12-2007, 01:12 PM
Hi!

I'm working on using the previously reffered Coverflow in flash. In order for it to run, it needs to be on a server since Flash prevents to acess local files.

So, the SWF needs to be acessed via "http://localhost/CoverFlow.swf".
Is it possible? There's no problems for the other files, since they use relative paths from the SWF and XML. I need it just for this.

I can't use a web object because AMS needs to interact directly with the SWF.

Thanks for your support!
FoxLeader

RizlaUK
10-12-2007, 03:34 PM
lol, i can answer that, in short..no, flash files have to be local....guess its back to square one

what about putting the swf file in a flash object and have it access files on a local server in the same folder....its a long shot...but it might work

FoxLeader
10-12-2007, 03:48 PM
Ok... well, I'll see if there's anything which can be done for it, like doing something using the Web Object and some Javascript... It might even be simpler than doing all with ams. I think have a good idea for this; I'll get back with something :)

longedge
10-12-2007, 04:29 PM
If I'm using flash objects I normally stick everything in the flash folder swf's, flv's, any html and the scripts folder with the run active content javascript.

No problems with referencing then, you just use the file name boo boom...