Go Back   Flashtory Support Forum > Flash Files Support > Other Flash Files > Horizontal News Ticker 01

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 08-14-2009, 06:27 PM
Junior Member
 
Join Date: Aug 2009
Posts: 1
Default Two SWFs, One XML

Hi,

I recently bought the ticker from FlashDen and have found it ok to use, although I did find the guide wasn't enough.

Nevertheless, I've implemented it on a website, but I also want to implement it on a forum too, which happens to be on a different directory, still the same domain though.

In any case, I was wondering whether it was possible for both SWF files to read the same XML file, so when the XML is updated, it can sync to both SWFs instead of having to update it for each one.

At the end of the guide you mentioned something about XML files, if that's similar to what I need help with, perhaps you could explain it a little more.

I'd appreciate any help you can give me.

Thanks!
Reply With Quote
  #2 (permalink)  
Old 10-12-2009, 06:08 PM
Flashtory Staff
 
Join Date: Feb 2009
Posts: 239
Default

Quote:
Originally Posted by LynxMukka View Post
Hi,

I recently bought the ticker from FlashDen and have found it ok to use, although I did find the guide wasn't enough.

Nevertheless, I've implemented it on a website, but I also want to implement it on a forum too, which happens to be on a different directory, still the same domain though.

In any case, I was wondering whether it was possible for both SWF files to read the same XML file, so when the XML is updated, it can sync to both SWFs instead of having to update it for each one.

At the end of the guide you mentioned something about XML files, if that's similar to what I need help with, perhaps you could explain it a little more.

I'd appreciate any help you can give me.

Thanks!


Hello, you could try something like:

Example directory structure:
- main and secondary
in the main folder you have one.swf and one.xml
and in the secondary you have two.swf ( which will load ../one.xml please modify this in the source code, open main.as and find xmlOb.load(_level0.xml == undefined ? "data.xml" : _level0.xml); change data.xml with something.xml, save and compile to generate a new swf which will use that xml file)

That's about it ! I hope you understand. If not, contact me by email, razvan@oxylus.ro and I will respond faster

Cheers !
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
based on a modified theme of CompleteGFX